subsilver2 hyper link usernames to profile?

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

subsilver2 hyper link usernames to profile?

Post by gorepitdotnet »

Im not sure if this is just my forum, but when im looking at in topics, you cannot click peoples usernames in posts to go their profile. It only ever works when you click their name on hte forum index as the last poster in a specific board.

Is there a MOD or anything to change this? Thanks!

User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: subsilver2 hyper link usernames to profile?

Post by oddfish »

Open viewtopic_body.html
Find

Code: Select all

<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
Replace with

Code: Select all

<a class="username-coloured" <!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF --> href="{postrow.U_PROFILE}">{postrow.POST_AUTHOR}</a>

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: subsilver2 hyper link usernames to profile?

Post by gorepitdotnet »

Thanks, but its still only a string of text, not a hyperlink :/

User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: subsilver2 hyper link usernames to profile?

Post by oddfish »

did you refresh your template - check my site to see the exact same code working.

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: subsilver2 hyper link usernames to profile?

Post by gorepitdotnet »

Yeah I did, its just showing up as text still though :/ Whats your site?

User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: subsilver2 hyper link usernames to profile?

Post by oddfish »

check the little globe thingie below my avatar.

I can check your forum from here if you supply the url.

It should be a simple and painless procedure followed by years of enjoyment (well, perhaps we'll see about that for subsilver2 in the future). ;)

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: subsilver2 hyper link usernames to profile?

Post by gorepitdotnet »

My forum url : http://www.gorepit.net/forum/ :)

And yeah thats what I want with the usernames! :)

User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: subsilver2 hyper link usernames to profile?

Post by oddfish »

well you've made the code change (you could put <b></b> around that line change if the usernames are not solid enough but lets get the board showing it first).

go to ACP -> STYLES .. Templates and hit | Cache | inline with subsilver2. tick the box next to ./../styles/subsilver2/template/viewtopic_body.html and hit Delete marked. You could check the cached time in there to see if refreshing your board template actually worked yesterday.

browse to a topic (refresh your browser as well) and see if that shows up. If not then I can only scratch the needed spot to think of why not.

gorepitdotnet
Registered User
Posts: 30
Joined: Sun Feb 08, 2009 3:49 pm

Re: subsilver2 hyper link usernames to profile?

Post by gorepitdotnet »

Didn't work :/

Thanks for all your help though! Im not sure why its not working :/

User avatar
RMcGirr83
Registered User
Posts: 360
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: subsilver2 hyper link usernames to profile?

Post by RMcGirr83 »

Go into your cahce folder via FTP and delete this file

tpl_subsilver2_viewtopic_body.html.php

then revisit a topic and see if it works then.
Do not hire Christian Bullock he won't finish the job and will keep your money

Locked