PDA

View Full Version : Placing a user rank UNDER the avatar


Light Inspired
04-04-2013, 06:18 PM
Hello,
I'm new to the forums so please excuse if there is a thread with an answer. I've searched but haven't found anything, many of the terms are new to me.

I would like to add a user rank which I do know how to do. But I would like for it to show up UNDER the avatar as opposed to above it.

Any help would be hugely appreciated. Thanks

Ba'al
04-04-2013, 11:30 PM
Can you post a link so we can see what you have so far.

Lynne
04-05-2013, 01:33 AM
To create a rank, just see the manual - http://www.vbulletin.com/docs/html/user_ranks?manualversion=40200603 To move it below the avatar, you would just move the code in the postbit_legacy (or just postbit, you didn't say which you use) to beneath the avatar.

Light Inspired
04-08-2013, 03:29 PM
To create a rank, just see the manual - http://www.vbulletin.com/docs/html/user_ranks?manualversion=40200603 To move it below the avatar, you would just move the code in the postbit_legacy (or just postbit, you didn't say which you use) to beneath the avatar.

Thanks.

Where do I find the post bit_legacy or postbit? And how do I know which I have?

Lynne
04-08-2013, 05:12 PM
If your userinfo is on the left, you are using the postbit_legacy. If it's on the top, you are using the postbit template. Both are found in Styles & Templates > Style Manager > find style > Edit templates > go down to Postbit Templates > double-click and the templates should show.

Light Inspired
04-12-2013, 06:04 PM
Thanks so much!

--------------- Added 1365796086 at 1365796086 ---------------

So I found the correct area but I'm not positive what I'm supposed to be moving and where. I've attached a screen shot. Thanks



https://vborg.vbsupport.ru/external/2013/04/29.jpg (http://www.flickr.com/photos/55001833@N02/8643943888/)
Screen Shot 2013-04-12 at 3.45.48 PM (http://www.flickr.com/photos/55001833@N02/8643943888/) by FeliciaMcTernan~LightInspired (http://www.flickr.com/people/55001833@N02/), on Flickr

Lynne
04-12-2013, 08:50 PM
Just move the rank code, which should be something like this:

<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
to within the <div> under the avatar code, which should be something like this:
<vb:if condition="$show['avatar']">
<a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
avatar stuff here.....
</a>
</vb:if>

Light Inspired
04-13-2013, 02:11 AM
Lynne,
I really appreciate the help. I thought that I had placed the code in the correct spot but it was totally wacky when I check it. Can you show me exactly where on this it should be placed? Thanks
https://vborg.vbsupport.ru/external/2013/04/28.jpg (http://www.flickr.com/photos/55001833@N02/8644725418/)
Screen Shot 2013-04-12 at 11.09.12 PM (http://www.flickr.com/photos/55001833@N02/8644725418/) by FeliciaMcTernan~LightInspired (http://www.flickr.com/people/55001833@N02/), on Flickr

Lynne
04-13-2013, 03:02 AM
Your flickr image is not available.

Did you make sure to put it in the <div> *after* the avatar code I quoted (you never said which template you are using so I could not be exact)?

Light Inspired
04-13-2013, 02:17 PM
Here is the screenshot. I wasn't sure where the avatar section ended.


https://vborg.vbsupport.ru/external/2013/04/26.jpg (http://www.flickr.com/photos/55001833@N02/8644725418/)
Screen Shot 2013-04-12 at 11.09.12 PM (http://www.flickr.com/photos/55001833@N02/8644725418/) by FeliciaMcTernan~LightInspired (http://www.flickr.com/people/55001833@N02/), on Flickr

Lynne
04-13-2013, 03:27 PM
I would guess you could just put it here:

avatar stuff here.....
</a>

<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
</vb:if>