phpbb.addAjaxCallback - update a value in the DB

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

phpbb.addAjaxCallback - update a value in the DB

Post by 3Di » Sun May 20, 2018 4:56 am

Hi all,
I have a phpbb.addAjaxCallback working right so far.
I would like to add a function there, which updates a custom column's value in the TOPICS table, that's an INT.

Say +1 or -1.

I am looking for some example used by extensions (validated) so I can study the stuff.
My Ajax skills aren't enough, I have already tried without asking here - to no avail.

TIA. :)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
3Di
Registered User
Posts: 12685
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: phpbb.addAjaxCallback - update a value in the DB

Post by 3Di » Sun May 20, 2018 6:09 am

I think the Ideas extension is what I am looking for, is not using the Ajax callback though.
And I just I have only one button available, not 2.

Feel free pls to add some other links if any. :)

Edit: I was able to solve the issue. thx. :)
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests