 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/27/2006 6:14 PM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
|

|
|
|
|
 |
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 |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/27/2006 10:18 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:26 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/27/2006 10:48 PM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
|

|
|
|
|
 |
It was the first one
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 |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/27/2006 11:23 PM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
|

|
|
|
|
 |
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.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 12:01 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 4:26 AM
Location: St Pete, FL
|

|
|
|
|
 |
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 |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 1:17 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
|

|
|
|
|
 |
Thanks RB
Do you think it would look ok with the space removed or not? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 1:51 AM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
|

|
|
|
|
 |
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.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 2:00 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
|

|
|
|
|
 |
Removed it and it does look better  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 2:28 AM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:26 AM
Location: Texas
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Add Multiple Ranks And Staff View |  |
Posted: 09/28/2006 3:04 AM |
|
|
|
|
|
| Citation |
| Posts |
2152 |
| Word Cnt. |
78,257 |
| BDay |
Jun 15 |
| Sign |
Gemini |
| Sex |
 |
|
|
|
Joined: Apr 22, 2005
Local time: 6:26 PM
Location: Upside down
|

|
|
|
|
 |
Couldn't have done it without the very patient master
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|