We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] achrived topics do not show up on the portal
Topic Started: Oct 17 2011, 11:25 AM (334 Views)
SHS Pidgeot
Member Avatar
Member
[ * ]
Board Address: www.shadowstars.co.uk
Board Software: Zetaboards
Description: On our fourm, the way we clean up the forums is to use an auto tool to make a post saying "This topic has run its course and will now be archived. Any complaints can be PM'd to myself" and it is sent to the archive section of the forums where all the old topics are. Is there a way that the archiving autotool will not make the archived topic appear on the portal? It's really annoying when someone cleans out a whole section of the forums and the portal becomes cluttered with those topics.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Add a prefix to the topic title with the autotool such as [A] and use the following code.

Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board
Code:
 
<script type="text/javascript">
$('div.portal_box h4 strong a:contains([A])').parent().parent().next().remove();
$('div.portal_box h4 strong a:contains([A])').parent().parent().remove();
</script>
Offline Profile Goto Top
 
SHS Pidgeot
Member Avatar
Member
[ * ]
oh it is deleting topics in the portal that was already there. It had 10 topics in the portal, I archived a few topics, it's now at 7 topics
Edited by SHS Pidgeot, Oct 17 2011, 12:03 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Yeah, it will essentially remove archived topics. Removing archived topics and always having the same amount of latest posts display would probably require too many AJAX requests because you would have to grab that data from the forums and compare the dates to determine what the latest topics are, essentially rewriting the whole latest posts portal feature.
Offline Profile Goto Top
 
lightfire
Member Avatar
littlegraycloud
[ *  *  *  *  *  * ]
Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic