Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2013, 06:18 PM
Light Inspired Light Inspired is offline
 
Join Date: Apr 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 04-04-2013, 11:30 PM
Ba'al's Avatar
Ba'al Ba'al is offline
 
Join Date: Oct 2010
Posts: 283
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post a link so we can see what you have so far.
Reply With Quote
  #3  
Old 04-05-2013, 01:33 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 04-08-2013, 03:29 PM
Light Inspired Light Inspired is offline
 
Join Date: Apr 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Reply With Quote
  #5  
Old 04-08-2013, 05:12 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 04-12-2013, 06:04 PM
Light Inspired Light Inspired is offline
 
Join Date: Apr 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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




Screen Shot 2013-04-12 at 3.45.48 PM by FeliciaMcTernan~LightInspired, on Flickr
Reply With Quote
  #7  
Old 04-12-2013, 08:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #8  
Old 04-13-2013, 02:11 AM
Light Inspired Light Inspired is offline
 
Join Date: Apr 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Screen Shot 2013-04-12 at 11.09.12 PM by FeliciaMcTernan~LightInspired, on Flickr
Reply With Quote
  #9  
Old 04-13-2013, 03:02 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)?
Reply With Quote
  #10  
Old 04-13-2013, 02:17 PM
Light Inspired Light Inspired is offline
 
Join Date: Apr 2013
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the screenshot. I wasn't sure where the avatar section ended.



Screen Shot 2013-04-12 at 11.09.12 PM by FeliciaMcTernan~LightInspired, on Flickr
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09390 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete