Addition to viewtopic page

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Addition to viewtopic page

Post 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 381 times
Thanks in advance
User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post 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
User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post by scorpio4646 »

ahh I think I got that from a MOD installation
User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post by Lumpy Burgertushie »

link to your board please.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post by scorpio4646 »

User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post by scorpio4646 »

thanks for that will try it tomorrow
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post 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 ???
User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post 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
User avatar
Lumpy Burgertushie
Registered User
Posts: 68175
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Addition to viewtopic page

Post 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
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post by scorpio4646 »

I do have notepad++ and filezilla so I will take your advise

Thanks once again
scorpio4646
Registered User
Posts: 85
Joined: Wed Dec 30, 2009 5:19 pm

Re: Addition to viewtopic page

Post by scorpio4646 »

Ok all sorted now thanks for your help
Locked

Return to “[3.0.x] Support Forum”