PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Susann
Moderator


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

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

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 Visit poster's website
warren-the-ape
Worker
Worker


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

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

Hey what a coincidence Cool

Yesterday I was looking here for a topic about this mod but only found this;
Only registered users can see links on this board!
Get registered or login to the forums!


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
Moderator


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

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

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.
View user's profile Send private message Visit poster's website
warren-the-ape
Worker
Worker


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

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

Mjah the only one I could find was this one;
Only registered users can see links on this board!
Get registered or login to the forums!


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.
View user's profile Send private message
Susann
Moderator


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

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

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);
View user's profile Send private message Visit poster's website
khaled_dxb
Hangin' Around


Joined: Jan 15, 2007
Posts: 43

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

Hi, have you seen the Similar Topics mod available to download from somewhere?
View user's profile Send private message
Susann
Moderator


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

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

The download link you will find here:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
khaled_dxb
Hangin' Around


Joined: Jan 15, 2007
Posts: 43

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

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?
View user's profile Send private message
Susann
Moderator


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

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

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.
View user's profile Send private message Visit poster's website
khaled_dxb
Hangin' Around


Joined: Jan 15, 2007
Posts: 43

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

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...
View user's profile Send private message
Susann
Moderator


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

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

I use it in a previous version of RavenNuke and I used it in standard Nuke. Maybe try it with an other theme.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4852

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

I believe it requires table modifications, and initially there won't be any similar topics until the similar topics data is populated.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum