Log in

View Full Version : Few questions.


Carlos X
05-08-2008, 06:05 AM
I'm running VB3.7.0, have a few questions, this has been asked at official vb forums.

How do I remove "active members" from the "who's online" display on mainpage, only to guests...and registered members? The only ones to see it would be the admins.

I have Gamertag/PSN profile fields, but don't know how to apply them to postbit. So...

How do I add information that I added as profile fields to postbit? I asked a owner of another board about it, and he told me to use conditionals, but never which kinds of conditionals.

How can I turn on "users viewing this forum" and put them on top of the forum display? The same question can be asked for thread display.

Lynne
05-08-2008, 02:29 PM
Find these lines in FORUMHOME:
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>and change it to:
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']"><if condition="!is_member_of($bbuserinfo, array(x,y,z))">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if></if>where x.y.z are the usergroupids of the groups you do want to see Active Members.

As for profile fields in postbit, see this article: How To Add Custom Profile Field Information To The Postbit (https://vborg.vbsupport.ru/showthread.php?t=118896&highlight=field%2A)

Carlos X
05-09-2008, 09:11 PM
Thanks! I got them working last night, and am happy now. :)