Runescape Bits & Bytes https://www.rsbandb.com/forums/ |
|
Hiding the rank title from viewtopic https://www.rsbandb.com/forums/viewtopic.php?f=14&t=66343 |
Page 1 of 1 |
Author: | Kirby [ April 23rd, 2008, 8:34 pm ] |
Post subject: | Hiding the rank title from viewtopic |
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? |
Author: | Adbot [ April 23rd, 2008, 8:34 pm ] |
Post subject: | Register and login to get these in-post ads to disappear |
Author: | jrdgames [ April 28th, 2008, 1:48 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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. |
Author: | Kirby [ April 28th, 2008, 6:37 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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. ![]() I'm using phpBB3.0.1 if that means anything. |
Author: | jrdgames [ April 30th, 2008, 3:01 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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? |
Author: | Kirby [ May 6th, 2008, 8:00 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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. |
Author: | Evelyn [ May 6th, 2008, 8:47 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
Kirby wrote: I don't exactly know how to center it perfectly. <div align="center"><img src="image url here" /></div> |
Author: | Adbot [ May 6th, 2008, 8:47 pm ] |
Post subject: | Register and login to get these in-post ads to disappear |
Author: | jrdgames [ May 12th, 2008, 3:52 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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. |
Author: | Kirby [ May 12th, 2008, 6:33 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
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) |
Author: | jrdgames [ May 13th, 2008, 7:00 pm ] |
Post subject: | Re: Hiding the rank title from viewtopic |
It is still off-center. (for me anyway, FF2) Yes we are off-topic but the original question has been answered. |
Page 1 of 1 | All times are UTC - 7 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |