Announcement

Collapse
No announcement yet.

Administrator / Moderator Highlighting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Administrator / Moderator Highlighting

    How would one modify what vbulletin does to the actual highlighting?

    Is there an option to choose bold and italics, or red and bold, etc??

    What files would need editing?

  • #2
    believe that's in the templates or edit options?
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment


    • #3
      The only thing in Edit Options happens to be 'Highlight Admin'

      I will have a look through the templates.

      Comment


      • #4
        index.php and online.php

        Comment


        • #5
          hmmm

          i would like to know this as well. can anyone put this in lay-mans.
          i am lost so far, thanks

          Comment


          • #6
            index.php:
            Code:
                  	$username = "<b><i>$loggedin[username]</i></b>";
                  } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
                  	$username = "<b>$loggedin[username]</b>";
                  } else {
            	    $username = $loggedin['username'];
            	  }
                  eval("\$activeusers = \"".gettemplate('forumhome_loggedinuser')."\";");
                }
            
                while ($loggedin=$DB_site->fetch_array($loggedins)) {
                  $numberregistered++;
                  $invisibleuser = '';
                  if ($loggedin['invisible']==1 and $bbuserinfo['usergroupid']!=6) {
                    continue;
                  }
                  $numbervisible++;
                  $userid=$loggedin['userid'];
                  if ($loggedin['invisible'] == 1) { // Invisible User but show to Admin
                    $invisibleuser = '*';
                  }
                  if ($loggedin['usergroupid'] == 6 and $highlightadmin) {
            	    $username = "<b><i>$loggedin[username]</i></b>";
            	  } else if (($mod["$userid"] or $loggedin['usergroupid'] == 5) and $highlightadmin) {
            	   	$username = "<b>$loggedin[username]</b>";
            online.php:
            Code:
                      $userinfo["$key"]['username'] = "<b><i>$user[username]</i></b>";
                    } else if (($mod["$key"] or $user['usergroupid'] == 5)and $highlightadmin) {
                      $userinfo["$key"]['username'] = "<b>$user[username]</b>";
            Chen Avinadav
            Better to remain silent and be thought a fool than to speak out and remove all doubt.

            גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

            Comment


            • #7
              easy huh?
              :: Always Back Up Forum Database + Attachments BEFORE upgrading !
              :: Nginx SPDY SSL - World Flags Demo [video results]
              :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

              Comment


              • #8
                ok,

                so i open index.php and online.php in like notepad and just add the changes and reupload? sorry. i can see from the post you left this is common knowledge. I am really new at this

                Comment


                • #9
                  well

                  i opened the index.php, and mine looks different. there are less $username values:

                  Please don't post full files from vBulletin. - Chen.
                  Last edited by Chen; Fri 2 Nov '01, 12:05pm.

                  Comment


                  • #10
                    Just open your index.php in notepad, find the code I posted, and change the red parts I highlighted.
                    Chen Avinadav
                    Better to remain silent and be thought a fool than to speak out and remove all doubt.

                    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                    Comment


                    • #11
                      This topic belongs on another site I do believe. We can not turn this forum into a "well let's do a little hacking here and there" forum.

                      Comment


                      • #12
                        ok

                        thank you and sorry i posted things against the rules.
                        sorry

                        Comment

                        Related Topics

                        Collapse

                        Working...
                        X