Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Jan 26, 2008 9:47 am Reply with quote

I´m using this mod since a long time and I fiound it would be much better to have a button include "back to top".
Where would I add this exactly ?
Also I wish to know how I can show the link to the forum only for user which are logged in.
 
View user's profile Send private message
warren-the-ape
Worker
Worker



Joined: Nov 19, 2007
Posts: 196
Location: Netherlands

PostPosted: Sat Jan 26, 2008 10:25 am Reply with quote

Hey what a coincidence Cool

Yesterday I was looking here for a topic about this mod but only found this;
http://www.ravenphpscripts.com/posts9310.html

Unfortunately both those links in that topic are dead, so i wondered if there is another place to download this mod from?
 
View user's profile Send private message
Susann







PostPosted: Sat Jan 26, 2008 10:38 am Reply with quote

The original mod doesn´t have a back to top button I´m sure.
There are a lot of places to download this mod also from my own site. Just do a google search.
 
warren-the-ape







PostPosted: Sat Jan 26, 2008 11:15 am Reply with quote

Mjah the only one I could find was this one;
http://www.phpbbhacks.com/download/5163

but thats a phpbb specific mod. So if you could point me in the right direction that would be great Wink


And i think the easiest way to add a 'back to top' button would be to edit your theme's viewtopic_body.tpl (if i look at that phpbb mod).

And then add in the 'back to top' button from the replies themselves

Code:
<a href="#top"><img src="themes/themename/forums/images/icon_up.gif" alt="{L_BACK_TO_TOP}" width="16" height="18" title="{L_BACK_TO_TOP}" class="imgtopic" /></a>


Find

Code:
<td class="catHead" colspan="6"><span class="genmed"><b>{similar.L_SIMILAR}</b></span></td>


I suppose, to add it next to the 'Similar Topics' -title. Perhaps use a float or align to move it to the right side.
 
Susann







PostPosted: Sat Jan 26, 2008 12:59 pm Reply with quote

Thanks. My mod is a bit different but I think you are right something like this will show a button "back to top". I will check this out tomorrow.
There is no other version available beneed 1.0.1
Therefore you only need to change the prefix
So it looks like:

ALTER TABLE nuke_bbtopics ADD FULLTEXT (topic_title);
 
khaled_dxb
Regular
Regular



Joined: Jan 15, 2007
Posts: 66

PostPosted: Thu Sep 11, 2008 12:51 am Reply with quote

Hi, have you seen the Similar Topics mod available to download from somewhere?

_________________
Khaled 
View user's profile Send private message
Susann







PostPosted: Thu Sep 11, 2008 3:56 am Reply with quote

The download link you will find here:

http://www.ravenphpscripts.com/posts12592-highlight-similar+topics.html
 
khaled_dxb







PostPosted: Fri Sep 12, 2008 6:52 am Reply with quote

Ok, i downloaded this mod and made the required modifications... however, when i view the topic, a table shows up, with a single row that is completely empty!

If i do a debug of the page, i can see there is an array with 5 similar topics, but they just dont show in the webpage?! any ideas?
 
Susann







PostPosted: Fri Sep 12, 2008 12:04 pm Reply with quote

Maybe you missed a step ? Mine works since it was integrated years ago but I don´t know if it works without issues with the current forums version.
 
khaled_dxb







PostPosted: Sat Sep 13, 2008 1:46 am Reply with quote

Yeah, i think since it was not designed specifically for RN, probably needs some messing around with it to get it to work with Rn code...
 
Susann







PostPosted: Sat Sep 13, 2008 2:17 am Reply with quote

I use it in a previous version of RavenNuke and I used it in standard Nuke. Maybe try it with an other theme.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Sep 13, 2008 6:09 pm Reply with quote

I believe it requires table modifications, and initially there won't be any similar topics until the similar topics data is populated.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©