Ajax question for a custom style

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
User avatar
nou nou
Registered User
Posts: 769
Joined: Sat Oct 29, 2016 8:08 pm

Ajax question for a custom style

Post by nou nou »

Hello phpBB wizards,


I have a custom style since forever and it has a snazzy looking menu on top with some numbers for notifications etc, the usual really.

But when I mark notifications as Read, the number doesn't automatically update - guessing that is Ajax.

I have looked through the template files and compared with Prosilver (the style was abandoned BTW, I'm updating it as best I can) and none of the Ajax code seems to be missing from any of the HTML...

Any pointers to where I might have to look to make this work?

Thanks!
how-to-ajax.png
You do not have the required permissions to view the files attached to this post.
User avatar
Mannix_
Registered User
Posts: 2118
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Ajax question for a custom style

Post by Mannix_ »

Maybe you are missing a class or an id in html for ajax to kick in when you mark notification as read ??
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!

Return to “phpBB Custom Coding”