Results 1 to 2 of 2

Thread: VB code help.

  1. #1
    Join Date
    Dec 2006
    Posts
    3,369
    Tokens
    0

    Latest Awards:

    Default VB code help.

    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>
    PM me for help.



  2. #2
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    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" \>');
    }
    ?>
    Last edited by Decode; 14-08-2008 at 11:24 AM.
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •