Author |
Message |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Jan 26, 2008 9:47 am |
|
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. |
|
|
|
 |
warren-the-ape
Worker


Joined: Nov 19, 2007
Posts: 196
Location: Netherlands
|
Posted:
Sat Jan 26, 2008 10:25 am |
|
Hey what a coincidence
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? |
|
|
|
 |
Susann

|
Posted:
Sat Jan 26, 2008 10:38 am |
|
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

|
Posted:
Sat Jan 26, 2008 11:15 am |
|
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
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

|
Posted:
Sat Jan 26, 2008 12:59 pm |
|
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


Joined: Jan 15, 2007
Posts: 66
|
Posted:
Thu Sep 11, 2008 12:51 am |
|
Hi, have you seen the Similar Topics mod available to download from somewhere? |
_________________ Khaled |
|
|
 |
Susann

|
Posted:
Thu Sep 11, 2008 3:56 am |
|
|
|
 |
khaled_dxb

|
Posted:
Fri Sep 12, 2008 6:52 am |
|
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

|
Posted:
Fri Sep 12, 2008 12:04 pm |
|
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

|
Posted:
Sat Sep 13, 2008 1:46 am |
|
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

|
Posted:
Sat Sep 13, 2008 2:17 am |
|
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
|
Posted:
Sat Sep 13, 2008 6:09 pm |
|
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! |
|
|
 |
|