Using AJAX in MODs?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Using AJAX in MODs?

Postby igorw » 02 Oct 2006, 15:29

Have any of you used [url=http://en.wikipedia.org/wiki/Ajax]AJAX[/url] in a MOD? I havn't seen much of it used until now. What i've seen is "AJAXED", "AJAX Chat".

I myself have created one ajax MOD, nameley [url=http://phpbbmodders.org/viewtopic.php?t=604]Advanced admin user notes[/url], that includes an ajax search.

- we're poor!

User avatar
Noobarmy
Past Contributor
Past Contributor
Posts: 545
Joined: 02 Jun 2006, 11:19
Real name: Anthony Chu
Location: UK
Contact:

Postby Noobarmy » 02 Oct 2006, 16:57

nope, looking to do so though :) as it seems nice and easy with Dean's wonderful script :)

blazes816
Past Contributor
Past Contributor
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas
Contact:

Postby blazes816 » 07 Oct 2006, 03:55

I'm planning a MOD that makes all forums, threads, and the index ajax. IE, you can sit there and without refreshing if a new thread has been made it shows up at the top and the background changes to a user defined color then fades away.
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs:

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby igorw » 07 Oct 2006, 08:26

Sounds like it's gonna eat resources though. When doing something with AJAX, i'd always watch out that you don't overdo it. It may be a cool method to load data, but you don't want to kill the server ;)

- we're poor!

User avatar
Afterlife(69)
Member
Member
Posts: 175
Joined: 30 Jun 2006, 21:23
Real name: Dean
Location: Sydney, Australia
Contact:

Postby Afterlife(69) » 07 Oct 2006, 14:50

You guys need to make sure you are providing a backup method if js is disabled ;)
Life in the house :)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: No registered users and 5 guests