Warning: The author of this contribution does not provide support for it anymore.

Top Five

Top five display on viewforum and viewtopic? - Top Five

Top five display on viewforum and viewtopic?

by maxwell2 » Tue Jan 04, 2011 7:24 pm

TOP FIVE appears only in the index, how to display it in viewtopic and viewforum?
maxwell2
Registered User
Posts: 150
Joined: Fri Apr 10, 2009 1:43 pm

Re: Top five display on viewforum and viewtopic?

by RMcGirr83 » Tue Jan 04, 2011 7:36 pm

Look at the edits to index.php and index_body.html and apply the same logic to viewforum.php, viewforum_body.html, viewtopic.php and viewtopic_body.html.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22072
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: Top five display on viewforum and viewtopic?

by maxwell2 » Tue Jan 04, 2011 7:44 pm

I need only the latest topics and I put them in overall_header.html

I put in overall_header.html this code:

Code: Select all

<!-- BEGIN top_five_topic --><!-- IF top_five_topic.NO_TOPIC_TITLE-->{top_five_topic.NO_TOPIC_TITLE}<!-- ELSE --><li><a href="{top_five_topic.U_TOPIC}">{top_five_topic.TOPIC_TITLE}</a>&nbsp;{top_five_topic.USERNAME_FULL}&nbsp;{top_five_topic.LAST_TOPIC_TIME}</li><!-- ENDIF --><!-- END top_five_topic -->
maxwell2
Registered User
Posts: 150
Joined: Fri Apr 10, 2009 1:43 pm

Re: Top five display on viewforum and viewtopic?

by maxwell2 » Tue Jan 04, 2011 7:58 pm

OK, done :)
maxwell2
Registered User
Posts: 150
Joined: Fri Apr 10, 2009 1:43 pm