Page 1 of 1

Addition to viewtopic page

Posted: Sun Feb 17, 2013 3:21 pm
by scorpio4646
Hi guys
long time since I have been on here
Have started a new forum which is working fine. Now I would like some help with a few tweeks
I have searche the forum and found a few links but not the answer I am looking for
I have put a goto bottom of page link on my site but it is at the very top of page next to email buttom
I would like it to got next to the post count, page number etc.see attached jpg
I would also like the other features on this bar ie first unread post link could someone please help
navbar2.jpg
navbar2.jpg (15.72 KiB) Viewed 388 times
Thanks in advance

Re: Addition to viewtopic page

Posted: Sun Feb 17, 2013 3:25 pm
by Lumpy Burgertushie
havent' tested this:

viewtopic_body.html

find:

Code: Select all

<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
		
try putting your code inline at the beginning of that line.


luck,
robert

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 3:36 pm
by scorpio4646
sorry so long reading this but been away
Lumpy Burgertushie wrote:havent' tested this:

viewtopic_body.html

find:

Code: Select all

<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
		
try putting your code inline at the beginning of that line.

WHAT CODE DO YOU MEAN?????


luck,
robert

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 4:04 pm
by Lumpy Burgertushie
the code you said you added in the wrong place for your "go to bottom of page" link

move it from where you put it to where I showed you.

robert

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 5:26 pm
by scorpio4646
ahh I think I got that from a MOD installation

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 5:27 pm
by Lumpy Burgertushie
link to your board please.

robert

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 5:31 pm
by scorpio4646

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 8:36 pm
by Lumpy Burgertushie
download and open: index_body.html
find and remove:

Code: Select all

<li class="rightside"><a href="#bottom" title="bottom">{L_BACK_TO_BOTTOM}</a></li>
save and upload back.

download and open:
viewtopic_body.html
find:

Code: Select all

<!-- IF PAGINATION or TOTAL_POSTS -->
		<div class="pagination">
on a new line below that, add:

Code: Select all

<a href="#bottom" title="bottom">{L_BACK_TO_BOTTOM}</a> &bull; 
save and upload back
download and open:
viewforum_body.html

find:

Code: Select all

<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
		<div class="pagination">
on a new line after, add:

Code: Select all

<a href="#bottom" title="bottom">{L_BACK_TO_BOTTOM}</a> &bull; 
save and upload back

go to your admin panel, styles, click on templates in the left column
click on refresh for prosilver in the right column

go to your board, refresh your browser.

done.


robert

Re: Addition to viewtopic page

Posted: Thu Feb 28, 2013 9:16 pm
by scorpio4646
thanks for that will try it tomorrow

Re: Addition to viewtopic page

Posted: Fri Mar 01, 2013 12:47 pm
by scorpio4646
Ok had a go today and it almost works
I get this showing on page

{ BACK_TO_BOTTOM }

Instead of "bottom"

Have I done something wrong ???

Re: Addition to viewtopic page

Posted: Fri Mar 01, 2013 3:29 pm
by Lumpy Burgertushie
that would mean that the entry for it is not in the language file. however, it works in the overall_header.html file.

open your language/en/common.php file.

find this line:

Code: Select all

'BACK_TO_BOTTOM'			=> 'Bottom',
if you do NOT find that line, then add it after this line:

Code: Select all

'BOARD_UNAVAILABLE'		=> 'Sorry but the board is temporarily unavailable, please try again in a few minutes.',
be sure you are using a good text editor to open/edit the files and that you are only using ftp to upload/download them.

once done, you need to refresh the template and the theme for prosilver from the admin panel/styles section.

currently I see none of the changes to your html files has taken place or you have not refreshed the style yet.

robert

Re: Addition to viewtopic page

Posted: Fri Mar 01, 2013 4:11 pm
by scorpio4646
thanks a million will check it out later

I use Dreamweaver for all my site work


You guys are brilliant

10 out of 10

Re: Addition to viewtopic page

Posted: Fri Mar 01, 2013 4:35 pm
by Lumpy Burgertushie
scorpio4646 wrote:thanks a million will check it out later

I use Dreamweaver for all my site work


You guys are brilliant

10 out of 10
dreamweaver is a big no no for working with phpbb.

Dreamweaver and Frontpage are not good choices when it comes to file editors (find out why). Use a simple text editor such as Notepad++ with an FTP client such as FileZilla

take our advice and don't use it.


robert

Re: Addition to viewtopic page

Posted: Fri Mar 01, 2013 4:40 pm
by scorpio4646
I do have notepad++ and filezilla so I will take your advise

Thanks once again

Re: Addition to viewtopic page

Posted: Sat Mar 02, 2013 9:39 am
by scorpio4646
Ok all sorted now thanks for your help