vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Placing a user rank UNDER the avatar (https://vborg.vbsupport.ru/showthread.php?t=296856)

Light Inspired 04-04-2013 06:18 PM

Placing a user rank UNDER the avatar
 
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/u...rsion=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

Quote:

Originally Posted by Lynne (Post 2414336)
To create a rank, just see the manual - http://www.vbulletin.com/docs/html/u...rsion=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 [DATE]1365796086[/DATE] at [TIME]1365796086[/TIME] ---------------

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
Screen Shot 2013-04-12 at 3.45.48 PM by FeliciaMcTernan~LightInspired, on Flickr

Lynne 04-12-2013 08:50 PM

Just move the rank code, which should be something like this:

HTML Code:

<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:
HTML Code:

                                <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
Screen Shot 2013-04-12 at 11.09.12 PM by FeliciaMcTernan~LightInspired, 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
Screen Shot 2013-04-12 at 11.09.12 PM by FeliciaMcTernan~LightInspired, on Flickr


All times are GMT. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02027 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete