PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 172

PostPosted: Sun Mar 18, 2007 12:08 am Reply with quote Back to top

I was wondering if is possible to add the "View previous topic :: View next topic" that appears at the top of each thread also at the botton of the page so you wouldn't need to go all the way up to click "Next" or "Previous" topic.

I notice on your forums these options do appear on top and also botton of the page and i just would like to know where should i change to make that available for my forums too.

I use nuke7.8 patached 3.3 and bbtonuke 2.0.22

Thanks,
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Mar 18, 2007 5:09 am Reply with quote Back to top

You need to edit modules/Forums/templates/subSilver/viewtopic_body.tpl. If you use a theme that has a forums folder then you will need to edit that also (themes/YOUR_THEME/forums/viewtopic_body.tpl).

Find code similar to this towards the bottom of the script.
Code:
<td class="gensmall" align="right" valign="top"><strong>{S_WATCH_TOPIC}</strong><br />
{S_AUTH_LIST}</td>


Modify it to this.
Code:
<td class="gensmall" align="right" valign="top"><strong>{S_WATCH_TOPIC}</strong><br />
<a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a><br />
<a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><br />
{S_AUTH_LIST}</td>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
shotokan
Worker
Worker


Joined: Aug 27, 2006
Posts: 172

PostPosted: Sun Mar 18, 2007 5:26 pm Reply with quote Back to top

I am using a third party theme like you said so the code really looks a little different but you gave me where to look.

I had to add this towards the end of the files

Code:

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
   <tr align="right">
      <td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a>  </span></td>
   </tr>
</table>


Thanks man,
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum