I need this code to be able to display a different message to a user depending if they are logged in or not;
Code:<if> $bbuserinfo="member" {
<FLASH SRC="member.swf" \>
<else \>
<FLASH SRC="guest.swf" \>
</if>
Printable View
I need this code to be able to display a different message to a user depending if they are logged in or not;
Code:<if> $bbuserinfo="member" {
<FLASH SRC="member.swf" \>
<else \>
<FLASH SRC="guest.swf" \>
</if>
Ive never used vBulletin before and this proberbly isn't the correct way to do it but try this-
PHP Code:<?php
if ( $bbuserinfo == "member" ) {
echo ('<embed src="member.swf" width="x" height="x" \>');
}
else {
echo ('<embed src="guest.swf" width="x" height="x" \>');
}
?>