Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Hiding the rank title from viewtopic
PostPosted: April 23rd, 2008, 8:34 pm 
Rsbandb Donor
Offline

Joined: July 20th, 2007, 11:19 am
Posts: 1697 cr
RS Name: Kirbiy
RS Status: P2P
Hey, I'm trying to get the rank title off my 'phpBB3.0.1' forum for rank images. I tried getting rid of a code line of <!-- IF postrow.RANK_TITLE --> that ended up giving the whole forum a syntax error. Can anybody give me some kind of code to remove the title?

_________________
Image
SOTW Trophy: {148} {186} {241} :: SOTW Signature: {148} {186} {241}
Guest of RSBANDBUpdate! on Episode: {183} {197} {210}


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: April 23rd, 2008, 8:34 pm 
Rsbandb Donor

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: April 28th, 2008, 1:48 pm 
Dragon Member
User avatar
Offline

Joined: March 17th, 2005, 11:44 pm
Posts: 1197
Location: Georgia, USA us
RS Name: Deborahone
RS Status: P2P
Clan Name: Elven Alliance
That is because phpbb3 translates some html comments into php and removing that line made the if syntax invalid.

You want rank images but not titles? Or do you not want the ranks to show up at all?

A link can sometimes be helpful for things like this.

If you don't want the ranks to show up at all then don't have any ranks.

If you want the images and not the titles, I don't think theres a setting for this but you can edit viewtopic_body.html:

Find:
Code:
         <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->


Replace with:
Code:
         <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->


If you want the rank titles without an image then don't set an image.

Hope this helps.

_________________
Image
Image
Image
Image
SOTW Judge (Sep 14, 2005 1:38 pm - Feb 06, 2009 8:58 pm)
Spoiler for Everything else:

Image
A Kid asked Jesus, "How much do you love me?" and Jesus said. "This much."
And spread his arms out on the cross and died.
If you believe that he did this for you put this in your signature.


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: April 28th, 2008, 6:37 pm 
Rsbandb Donor
Offline

Joined: July 20th, 2007, 11:19 am
Posts: 1697 cr
RS Name: Kirbiy
RS Status: P2P
Thanks for your help. Although I couldn't find the exact code you told me to find in that viewtopic_body.html. Also for the link, it can't hurt to look down. :wink:
I'm using phpBB3.0.1 if that means anything.

_________________
Image
SOTW Trophy: {148} {186} {241} :: SOTW Signature: {148} {186} {241}
Guest of RSBANDBUpdate! on Episode: {183} {197} {210}


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: April 30th, 2008, 3:01 pm 
Dragon Member
User avatar
Offline

Joined: March 17th, 2005, 11:44 pm
Posts: 1197
Location: Georgia, USA us
RS Name: Deborahone
RS Status: P2P
Clan Name: Elven Alliance
The easiest way to find the code would be to select all (ctrl+a) the contents of the file and paste it into something like notepad or wordpad and use the find feature then paste everything back into the file and save it.

btw Did you know that your header isn't centered?

_________________
Image
Image
Image
Image
SOTW Judge (Sep 14, 2005 1:38 pm - Feb 06, 2009 8:58 pm)
Spoiler for Everything else:

Image
A Kid asked Jesus, "How much do you love me?" and Jesus said. "This much."
And spread his arms out on the cross and died.
If you believe that he did this for you put this in your signature.


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: May 6th, 2008, 8:00 pm 
Rsbandb Donor
Offline

Joined: July 20th, 2007, 11:19 am
Posts: 1697 cr
RS Name: Kirbiy
RS Status: P2P
jrdgames wrote:
The easiest way to find the code would be to select all (ctrl+a) the contents of the file and paste it into something like notepad or wordpad and use the find feature then paste everything back into the file and save it.

btw Did you know that your header isn't centered?

Okay thanks, and yes I did know. I don't exactly know how to center it perfectly.

_________________
Image
SOTW Trophy: {148} {186} {241} :: SOTW Signature: {148} {186} {241}
Guest of RSBANDBUpdate! on Episode: {183} {197} {210}


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: May 6th, 2008, 8:47 pm 
Dragon Member
Offline

Joined: May 13th, 2005, 7:51 pm
Posts: 3099
Location: Arizona us
RS Name: Evalithia
RS Status: P2P
Kirby wrote:
I don't exactly know how to center it perfectly.

<div align="center"><img src="image url here" /></div>

_________________
Image
2014.3.28
[size=70]Steam


Top
 Profile  
 
 Post subject: Register and login to get these in-post ads to disappear
PostPosted: May 6th, 2008, 8:47 pm 
Dragon Member

Joined: September 9th, 2004, 1:47am
Posts: 9047
Location: In your web browserz


Top
  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: May 12th, 2008, 3:52 pm 
Dragon Member
User avatar
Offline

Joined: March 17th, 2005, 11:44 pm
Posts: 1197
Location: Georgia, USA us
RS Name: Deborahone
RS Status: P2P
Clan Name: Elven Alliance
I looked through your source and css and don't see any offending code. Did you make this theme yourself or did you get it from somewhere? If you got it from somewhere then you may want to ask that source why your header is messing up.

_________________
Image
Image
Image
Image
SOTW Judge (Sep 14, 2005 1:38 pm - Feb 06, 2009 8:58 pm)
Spoiler for Everything else:

Image
A Kid asked Jesus, "How much do you love me?" and Jesus said. "This much."
And spread his arms out on the cross and died.
If you believe that he did this for you put this in your signature.


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: May 12th, 2008, 6:33 pm 
Rsbandb Donor
Offline

Joined: July 20th, 2007, 11:19 am
Posts: 1697 cr
RS Name: Kirbiy
RS Status: P2P
I'm pretty sure I just fixed it 2 days ago. Check it again. I made it match with the index logo. (This topic got really off topic, but still something I need to know)

_________________
Image
SOTW Trophy: {148} {186} {241} :: SOTW Signature: {148} {186} {241}
Guest of RSBANDBUpdate! on Episode: {183} {197} {210}


Top
 Profile  
 
 Post subject: Re: Hiding the rank title from viewtopic
PostPosted: May 13th, 2008, 7:00 pm 
Dragon Member
User avatar
Offline

Joined: March 17th, 2005, 11:44 pm
Posts: 1197
Location: Georgia, USA us
RS Name: Deborahone
RS Status: P2P
Clan Name: Elven Alliance
It is still off-center. (for me anyway, FF2)
Yes we are off-topic but the original question has been answered.

_________________
Image
Image
Image
Image
SOTW Judge (Sep 14, 2005 1:38 pm - Feb 06, 2009 8:58 pm)
Spoiler for Everything else:

Image
A Kid asked Jesus, "How much do you love me?" and Jesus said. "This much."
And spread his arms out on the cross and died.
If you believe that he did this for you put this in your signature.


Top
 Profile  
 
Display posts from previous:  Sort by  

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

Jump to: