"Recent topics of a specific sub-forum" issue.
3 posters
Page 1 of 1
"Recent topics of a specific sub-forum" issue.
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari
Who the problem concerns : All members
Forum link : http://www.gasrforum.com
Description of problem
I've recently taken over the technician duties of our forum, and there are some things I'm trying to fix that were not resolved with the previous staff, so because I was not the one who added the script, I'm not 100% sure on how to fix it.We use the "Recent topics of a specific sub-forum" widget coding by @Ange Tuteur located here:
https://help.forumotion.com/t129060-widget-recent-topics-of-a-specific-sub-forum
We've modified it from the original to work as a staff update widget.
In the sub-forum we have it assigned to, we had two global announcements. When we removed those two announcements, the script decided to ignore the last two recently updated threads.
If you click the link of the forum, the first staff member that shows up under staff updates is user Fervent. However, if you go to the "Staff Updates" sub-forum, the section it pulls the threads from, there are two threads recently updated above Fervent's that should be showing, but aren't.
When I go into the Staff Updates section and add two threads, whether they be normal, stickies, announcements, or global announcements, the last two staff member threads do show up, but I don't see why we would have to keep two threads in there that aren't being used.
[Coding Removed - Seriously]
Last edited by Seriously on March 22nd 2017, 11:20 pm; edited 1 time in total
Re: "Recent topics of a specific sub-forum" issue.
Hey @Seriously,
I believe the issue is coming from the :gt() jQuery selector. It's pretty much used to skip X number of elements, where X is the starting node index. The script you're using also uses the :lt() jQuery selector, which selects the specified number of elements. When you combine these two selectors you can create a range to choose where your selection starts and how many elements you want to select.
For example, if you want to select the starting topics on the page, try removing :gt() completely, and if you want to increase the number of topics simply increment the number in :lt().
I believe the issue is coming from the :gt() jQuery selector. It's pretty much used to skip X number of elements, where X is the starting node index. The script you're using also uses the :lt() jQuery selector, which selects the specified number of elements. When you combine these two selectors you can create a range to choose where your selection starts and how many elements you want to select.
For example, if you want to select the starting topics on the page, try removing :gt() completely, and if you want to increase the number of topics simply increment the number in :lt().
Re: "Recent topics of a specific sub-forum" issue.
Hey @Ange Tuteur,
Thanks so much for responding! I'll go ahead and try out your suggestions and see if I can get a change. I'm not an expert with scripts but I think I understand what you explained. If not, I'll be back. (Sorry to bother you. The previous technician didn't really explain any of the customization she did.)
Edit: Yes! It worked! Thanks so much for explaining it to me!
Thanks so much for responding! I'll go ahead and try out your suggestions and see if I can get a change. I'm not an expert with scripts but I think I understand what you explained. If not, I'll be back. (Sorry to bother you. The previous technician didn't really explain any of the customization she did.)
Edit: Yes! It worked! Thanks so much for explaining it to me!
Re: "Recent topics of a specific sub-forum" issue.
Problem solved & topic archived.
|
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» Recent Topics of a specific forum
» Widget: Recent topics of a specific sub-forum
» More instances ->> Widget: Recent topics of a specific sub-forum
» Recent Topics Widget of specific forum with local storage management
» [Tutorial] Recent topics from specific forums
» Widget: Recent topics of a specific sub-forum
» More instances ->> Widget: Recent topics of a specific sub-forum
» Recent Topics Widget of specific forum with local storage management
» [Tutorial] Recent topics from specific forums
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum