Ajax in phpbb 3.1

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
idiotnesia
Registered User
Posts: 29
Joined: Thu May 22, 2008 2:46 am

Ajax in phpbb 3.1

Post by idiotnesia »

I think it's a good idea to implement ajax in phpBB 3.1. There are some places need to consider so user can gain the benefit of ajax.

- Inline editing (in posting)
- Drag and drop forum order (in admin panel)
There are a lot of places in admin panel that use moving up and moving down button. It's better to replace this function with drag and drop.
- Check user availability in registration menu
- Inline moderation tools
- quick reply ;)
idiotnesia wuz here

User avatar
Dog Cow
Registered User
Posts: 271
Joined: Wed May 25, 2005 2:14 pm

Re: Ajax in phpbb 3.1

Post by Dog Cow »

idiotnesia wrote: - Drag and drop forum order (in admin panel)
I like this idea.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: Ajax in phpbb 3.1

Post by imkingdavid »

Dog Cow wrote:
idiotnesia wrote: - Drag and drop forum order (in admin panel)
I like this idea.
This.

Also, I think pagination could use ajax, although that would bring up the issue of how to link to a specific page. Maybe allow the AJAX to go to whatever page, but if there is a hardcoded page number in the URL, default to that when the page loads initially?
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Ajax in phpbb 3.1

Post by nickvergessen »

If the URL shown in the URL-Bar does not link to the page you actually visit, I would not like that. :P
We have one of this bad behaviour already on board with the view=unread. don't think we need more of this.
Member of the Development-TeamNo Support via PM

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Ajax in phpbb 3.1

Post by Oleg »

imkingdavid wrote:I think pagination could use ajax
I really don't understand the reasoning behind this request. Displaying page 2 of anything compared to page 1 still requires the code to do authentication, authorization, etc. and often times the only common thing in html output between page 1 and page 2 is the header. In this sense navigating from one page to another is no different from navigating to another area of the site.

I can understand using ajax to change a small part of the page or for actions which are lightweight and perhaps asynchronous. Navigating paginated result set does not fit any of these criteria.

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: Ajax in phpbb 3.1

Post by MichaelC »

I like the idea of AJAX but it would be big and I think it would be better to put AJAX into phpBB 4 rather than 3.1 otherwise alot of core files would need almost total rewrites.
Formerly known as Unknown Bliss
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
No unsolicited PMs please except for quotes.

igorw
Registered User
Posts: 500
Joined: Thu Jan 04, 2007 11:47 pm

Re: Ajax in phpbb 3.1

Post by igorw »

Unknown Bliss wrote:I like the idea of AJAX but it would be big and I think it would be better to put AJAX into phpBB 4 rather than 3.1 otherwise alot of core files would need almost total rewrites.
It is possible to introduce it in an unobtrusive way, but it would require some code duplication.

Ballresin
Registered User
Posts: 1
Joined: Thu Mar 25, 2010 7:19 pm

Re: Ajax in phpbb 3.1

Post by Ballresin »

I am developing a commercial web application that is 100% Ajax. I decided to use phpBB instead of inventing the wheel. The problem is that the phpBB Forum is a far less elegant user experience than my pure Ajax application. I plan to deal with this inconvenience for a short time while I focus on key development goals.

I plan on hacking up the phpBB code to facilitate Ajax calls and I would gladly share or collaborate on this goal if there are interested parties.

B

indiefan23
Registered User
Posts: 1
Joined: Fri Mar 18, 2011 11:48 am

Re: Ajax in phpbb 3.1

Post by indiefan23 »

Ballresin wrote:I am developing a commercial web application that is 100% Ajax. I decided to use phpBB instead of inventing the wheel. The problem is that the phpBB Forum is a far less elegant user experience than my pure Ajax application. I plan to deal with this inconvenience for a short time while I focus on key development goals.

I plan on hacking up the phpBB code to facilitate Ajax calls and I would gladly share or collaborate on this goal if there are interested parties.

B
Hey, I'm very interested. Did you do this?

Post Reply