Refresh content inside php block ONLY

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Refresh content inside php block ONLY
dotCOM
CZ Newbie
dotCOM has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 4
Points: 177
   
I've got a block on my website that shows my clans online status for America's Army. I didn't put it in a PHP file, I just loaded it in as content into the block itself so I just have to edit the HTML and I can do it through the admin panel, blocks.

What I'm trying to do is make it so ONLY that block refreshes, every 10 seconds, when someone is looking at the main page. I want to do this so that if someone is sitting at the main page, the online status for the members will be continually updated.

I had a meta tag in there but it refreshed the ENTIRE page. I want something that will refresh just that block every so many seconds. If needed, I can put it into a PHP file and load the block that way.

Anyone have any ideas? I've seen one or two topics about this but not this exact thing and wasn't able to come up with anything. If you can give code examples or things to do, I'd REALLY appreciate it!! icon_smile.gif

Thanks!



Back to top Reply with quote
#2   re: Refresh content inside php block ONLY
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
hi

see it in action ~~
[ Register or login to view links on this board. ] as right side block


download ~~
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: Refresh content inside php block ONLY
dotCOM
CZ Newbie
dotCOM has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 4
Points: 177
   
Which one do I download?? The search link didn't work ...



Back to top Reply with quote
#4   re: Refresh content inside php block ONLY
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#5   re: Refresh content inside php block ONLY
dotCOM
CZ Newbie
dotCOM has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Aug 25, 2005
0.00 posts per day
Posts: 4
Points: 177
   
So, if I take & use the PHP file with the refresh code in it, and then just link it up with my current PHP block, it should work just fine, right?

I'm going to try it tonight and I'll let you know how it goes icon_biggrin.gif



Back to top Reply with quote
#6   re: Refresh content inside php block ONLY
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 55
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.09 posts per day
Posts: 643
Points: 57,200
   
i just gave you en example refreshing block you should look at the code and work some for create what you need icon_cool.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum