Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Add Multiple Ranks And Staff View
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2, 3  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: Add Multiple Ranks And Staff View
PostPosted: 09/27/2006 6:14 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
australC_1xa.gif
Thanks NR. Couldn't have done it without your help.

I've asked this question over at phpbb but have had no response

Do you know of the code that you type into the the text box when setting up a rank that will not allow the rank title to show? I did see it mentioned a long time ago on phpbb but can't find anything about it now.
At the moment it shows like it is in the screen shot below. I want to remove the text that says "Golden Wing Club Member" and just have the image. There is a short code you type into the box but I can't remember what it is. Any ideas?

Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/27/2006 10:18 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:26 AM
Location: St Pete, FL
peace.gif
I don't know anything about typing in a code to remove the text, but if you remove the following from the viewtopic_body.tpl, it will remove the text permanently...

Code:
{postrow.POSTER_RANK2}

It might be this one instead...

Code:
{postrow.POSTER_RANK3}

So if it isn't the first, try removing the second instead.  As always, make sure you are modifying the current version of your viewtopic_body.tpl and that you create a backup of the file just in case...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Add Multiple Ranks And Staff View
PostPosted: 09/27/2006 10:48 PM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
australC_1xa.gif
It was the first one  sunny

Looks ok, but not sure about the gap in between the two ranks. Will be interesting to see how long it takes for the members to notice.
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/27/2006 11:23 PM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
texasC.gif



Not bad.  But if there is a way to fix that space I'm sure Nightrider will come up with it.   That board looks real nice, Aussie.  Been a while since I visited.  


Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 12:01 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:26 AM
Location: St Pete, FL
peace.gif
Ok, do this:

OPEN
viewtopic.php

FIND
Code:
$rank2_image = ( $ranksrow[$j]['rank_image'] ) ? '<br /><img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank2 . '" title="' . $poster_rank2 . '" border="0" /><br />' : '<br />';

REPLACE WITH
Code:
$rank2_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank2 . '" title="' . $poster_rank2 . '" border="0" /><br />' : '<br />';

FIND
Code:
$rank2_image = ( $ranksrow[$j]['rank_image'] ) ? '<br /><img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank2 . '" title="' . $poster_rank2 . '" border="0" /><br />' : '<br />';

REPLACE WITH
Code:
$rank2_image = ( $ranksrow[$j]['rank_image'] ) ? '<img src="' . $ranksrow[$j]['rank_image'] . '" alt="' . $poster_rank2 . '" title="' . $poster_rank2 . '" border="0" /><br />' : '<br />';

Save and upload to your messageboard folder.  Make sure to have a good current backup of the file before overwriting it...

Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 1:17 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
australC_1xa.gif
Thanks RB

Do you think it would look ok with the space removed or not?
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 1:51 AM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
texasC.gif
Yes, I think it would look better with the space removed.  You can try it and see how you like it.  If you don't, go back to the space.  LOL, nothing like experimenting.


sunny
Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 2:00 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
australC_1xa.gif
Removed it and it does look better  headbang
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 2:28 AM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
texasC.gif
Yes it does!








Applause  Applause  Applause
Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: Add Multiple Ranks And Staff View
PostPosted: 09/28/2006 3:04 AM Reply with quote
Citation
Glenn I
Citation
Posts 2152
Word Cnt. 78,257
BDay Jun 15
Sign Gemini
Sex Sex:Male
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
australC_1xa.gif
Couldn't have done it without the very patient master

prayer
Back to Top
View user's profile Find all posts by Glenn I Send private message   Visit poster's website Phoogle Map
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

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
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2, 3  Next
Page 2 of 3


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0798s (PHP: 66% - SQL: 34%) - SQL queries: 57 - GZIP disabled - Debug on