PDA

View Full Version : Confused


Khoori7
02-27-2014, 11:11 AM
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
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
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/showthread.php?88448-Double-XP-This-Weekend!&p=890578#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.

<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
Like this in postbit template.

<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.

DemOnstar
02-28-2014, 02:31 PM
I too like the idea of 2 pics in the postbit but I think it elongates it just a tad too much.
Better if it was collapsible..