vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Confused (https://vborg.vbsupport.ru/showthread.php?t=308958)

Khoori7 02-27-2014 11:11 AM

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

https://vborg.vbsupport.ru/external/2014/02/4.png

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.

ForceHSS 02-27-2014 12:07 PM

you have the option to stack ranks

Khoori7 02-27-2014 02:00 PM

Quote:

Originally Posted by ForceHSS (Post 2484049)
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]

ForceHSS 02-27-2014 02:07 PM

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

Khoori7 02-27-2014 02:37 PM

Quote:

Originally Posted by ForceHSS (Post 2484081)
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.

Seven Skins 02-27-2014 03:02 PM

As far as I can tell...

This is done using IF conditionals

https://vborg.vbsupport.ru/external/2014/02/2.png




And this done using ranks

https://vborg.vbsupport.ru/external/2014/02/3.png

Khoori7 02-27-2014 07:04 PM

How would I do the If Statements, and where >.>
Sorry.

Seven Skins 02-27-2014 11:41 PM

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.

Khoori7 02-28-2014 08:27 AM

Quote:

Originally Posted by Seven Skins (Post 2484190)
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.

cellarius 02-28-2014 09:27 AM

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.


All times are GMT. The time now is 03:35 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.01254 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (3)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