The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how would i add the member rank to a sig
Like on this site http://www.realsportstalk.net/forums...6298#post66298 you see this image on the bottom right of every sig . How would I add my member rank to that exact area .
|
#2
|
|||
|
|||
Go in your Postbit code, and search [rank]
Cut the rank code and search for signature. The put the code there with these around it "<right></right>" |
#3
|
||||
|
||||
Are you sure thats a rank and not just a postbit background?
You can do something like Code:
.posts { background: #EEEEEE; background-image: url(path/to/image.png); background-repeat: no-repeat; background-position: bottom right; } If you want the custom ranks to appear over there, you'll have to search the postbit template for the ranks code and use a floating div probably to set it Code:
<div style="float:right; padding: 3px;"> Rank code </div> |
#4
|
||||
|
||||
That image is part of the background of the postbit. They used this CSS to align it bottom right:
Code:
.post1 { background: #EEEEEE; background-image: url(images/styles/2009/postbg.gif); background-repeat: no-repeat; background-position: bottom right; } |
#5
|
|||
|
|||
Yes but I would like my member rank to be in that area so how would I do this .
HTML Code:
<div style="float:right; padding: 3px;"> <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></div> |
#6
|
||||
|
||||
The $post[rank] variable is output as image code, for example: <img src="path/to/your/user/ranks" /> and what you want to do requires it be displayed as an inline style. That might not be possible without doing some core code changes.
|
#7
|
||||
|
||||
<div class="background: url($post[rank]);"></div>
If you have text ranks though that won't work and will cause issues. |
#8
|
||||
|
||||
That won't work either, because, as I just mentioned, $postrank turns into IMG code, not the image URL. You'll get broken HTML if you try that.
|
#9
|
|||
|
|||
Quote:
I've tried alot so help is appreciated to all , but still need more . |
#10
|
||||
|
||||
Quote:
You can always ditch the idea of it being a background, and just having it serve up the image inside the floating div other wise you'll have to edit the file You'll probably need to modify the includes/functions_ranks.php file Code:
$userrank .= "<img src=\"$rank[i]\" alt=\"\" border=\"\" />"; Code:
$userrank .= "$rank[i]"; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|