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 02-27-2014, 11:11 AM
Khoori7 Khoori7 is offline
 
Join Date: Apr 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Confused

So the other day I was looking at a forum I liked and I was wondering how'd they manage to do this..



Basically i know their using User Ranks for one of their things..
But how do they have 2 images at different places.

this one.. is probably the user rank?
http://i.imgur.com/43IZ890.png

but how do they have this
http://i.imgur.com/EaupZSZ.png

Basically im trying to copy what they've done.. but this is what happened...
http://i.imgur.com/MHuQQgd.png
Using user ranks.
Reply With Quote
  #2  
Old 02-27-2014, 12:07 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have the option to stack ranks
Reply With Quote
  #3  
Old 02-27-2014, 02:00 PM
Khoori7 Khoori7 is offline
 
Join Date: Apr 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
you have the option to stack ranks
I know that, but he has two types.
One for which rank they have[which is the down part]
one for the postcounts[the top one the halloween masks under the name]
Reply With Quote
  #4  
Old 02-27-2014, 02:07 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your first post the 2nd link you have there it just looks like he has replaced some default images but hard to tell without a live link
Reply With Quote
  #5  
Old 02-27-2014, 02:37 PM
Khoori7 Khoori7 is offline
 
Join Date: Apr 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
In your first post the 2nd link you have there it just looks like he has replaced some default images but hard to tell without a live link
http://www.battle-scape.com/showthre...578#post890578

Here you go, not sure if it's agaisnt the rules.
Reply With Quote
  #6  
Old 02-27-2014, 03:02 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I can tell...

This is done using IF conditionals






And this done using ranks

Reply With Quote
Благодарность от:
Lynne
  #7  
Old 02-27-2014, 07:04 PM
Khoori7 Khoori7 is offline
 
Join Date: Apr 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I do the If Statements, and where >.>
Sorry.
Reply With Quote
  #8  
Old 02-27-2014, 11:41 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like this in postbit template.

Code:
<vb:if condition="is_member_of($bbuserinfo, 6)"> IMAGE CODE HERE </vb:if>
Then the image will only show for this user group not for others.
Reply With Quote
  #9  
Old 02-28-2014, 08:27 AM
Khoori7 Khoori7 is offline
 
Join Date: Apr 2013
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Like this in postbit template.

Code:
<vb:if condition="is_member_of($bbuserinfo, 6)"> IMAGE CODE HERE </vb:if>
Then the image will only show for this user group not for others.
I tried.. this..

http://i.imgur.com/ZlXKqZi.png
It put the image in everyone's postbit.

http://i.imgur.com/e7IJ1ad.png and mine and everyone else.
Reply With Quote
  #10  
Old 02-28-2014, 09:27 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use $post instead if $bbuserinfo.

$bbuserinfo contains your userinfo, i.e. the info of the user currently browsing the forum, while $post conains the info of the user that owns the post.
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 02:14 AM.


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.04793 seconds
  • Memory Usage 2,253KB
  • 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_code
  • (3)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
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete