PDA

View Full Version : implementing a plugin that uses AJAX



RossOliver
Fri 30th Dec '05, 8:25am
Hey,

I have a wiki that I'm trying to implement as best I can with my forum. So far I have displayed the recent wiki activity in the forums. What I want to do now is use AJAX to update the recent wiki activity in real-time.

You can see the recent wiki activity here (http://www.developersdigest.org/forum). I have integrated it by including it in global.php and then use the variables that the script outputs to show it in the styles & templates. I know this isn't the right way to go about it, but it works for me :rolleyes:

My question is, if I update it using AJAX in the script, so the variables in the script contain the latest activity, will the variables that I use in styles & templates update as well, or do I need to do something with those too?

It's a little difficult to explain, I will try again if you don't understand what I'm trying to do...hope I'm posting this in the right place, wasn't sure and I've tried vbulletin.org but they don't seem to be able to help...

Thanks for your time,

-Ross