Announcement

Collapse
No announcement yet.

[RELEASE vb2.0] Show admin groups

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

  • #91
    im going to add my line 110 error

    Warning: Variable passed to each() is not an array or object in /home/sites/site60/web/forums/showmods.php on line 110


    i like this hack , except for that error that shows at the top of the page

    Comment


    • #92
      ok i seen in an erlier post that if you have no moderators that you will get the 110 error so i figured that

      now how can i get the tables to be wider than they are

      http://www.r-music.net/forums/showmods.php

      Comment


      • #93
        test this :

        search:
        PHP Code:
        while(list($user) = each($moderator)) {
            if ((
        $modcount++ % 2) == 0$backcolor "{secondaltcolor}";
            else 
        $backcolor "{firstaltcolor}";
            
        $forumbits $modforums[$user[userid]];
            
        douserinfo();
            eval(
        "\$moderatorbits .= \"".gettemplate("showmods_bit")."\";");

        replays with this:

        PHP Code:
        if ($moderator != "") {
        while(list(
        $user) = each($moderator)) {
            if ((
        $modcount++ % 2) == 0$backcolor "{secondaltcolor}";
            else 
        $backcolor "{firstaltcolor}";
            
        $forumbits $modforums[$user[userid]];
            
        douserinfo();
            eval(
        "\$moderatorbits .= \"".gettemplate("showmods_bit")."\";");
        }

        Comment


        • #94
          Hidden forums are shown! How can it be made so it doesn't show the hidden forums, and if a moderator is only a moderator in hidden forums, they aren't shown at all??
          Seriously! - The Definitive Home of All Things Serious
          Seriously! Forums

          To recieve support on these forums, enter your username here.

          Comment


          • #95
            Originally posted by Kier
            Simply add this somewhere in the showmods_bit template:
            Code:
            <img src="avatar.php?s=$session[sessionhash]&userid=$user[userid]" border=0>


            [edit] - full avatar functionality is now included.

            Good Hack ! Thanks !

            Comment


            • #96
              Originally posted by DarkReaper
              Hidden forums are shown! How can it be made so it doesn't show the hidden forums, and if a moderator is only a moderator in hidden forums, they aren't shown at all??
              Same over here, how to not show hidden forums?

              Apart of that: Great hack that really rocks!
              Especially the install func. is amazing.
              thx,
              -Tom
              www.MCSEboard.de
              German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

              Comment


              • #97
                Got the hack to work, but when i click on the link on the very right that says click here to send PM, it brings up an error page. Also it doesnt seem like any of the graphics are working in my showmods panel.....the image can be found here
                Last edited by GB; Sun 29 Jul '01, 8:36am.

                Comment


                • #98
                  Aarrgs!

                  [GB: please take the pic off or make it smaller, 1440055 bytes is way too big]
                  thanks
                  Had problems loading this thread on ISDN...
                  Tom
                  Thomas P
                  Senior Member
                  Last edited by Thomas P; Tue 31 Jul '01, 7:06am.
                  www.MCSEboard.de
                  German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

                  Comment


                  • #99
                    I'm still wondering how to add an email link. Actually now I'd like to add an email link, homepage link, findposts link, and also want to show the join date and post count. Yes: I'm trying to make it look very similar to the standard Memberlist.

                    I've got the formatting all worked out; that's a piece of cake. But I can't figure out how to actually get the guts in there.

                    Look: http://www.jjr512.com/forums/showmods.php?s=
                    -Justin "JJR512" Rebbert
                    JJR512.com: Chat about anything!

                    Comment


                    • great hack Kier .....

                      i wonder can anybody tell the way of adding custom user groups ... I noticed that Martz did it ...but the problem with his modification was .... the custom user groups adds up to the super moderator table which is not good

                      I hope somebody will tell me how to have the custom user group to a different table

                      Comment


                      • Good Hack !!

                        Each time upgrade the Vb ! I need to reinstall showmod again !!

                        any idea ?

                        Comment


                        • tnx alot
                          working excellent

                          Comment


                          • Problems...

                            Using 2.0.3. Worked fine before I added moderators and now we get these errors:

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 19

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 45

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 19

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 45

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 19

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 45

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 19

                            Warning: Cannot use a scalar value as an array in /forums/showmods.php on line 45

                            Help!
                            Steve_C
                            Senior Member
                            Last edited by Steve_C; Sun 26 Aug '01, 11:06am.

                            Comment


                            • Does this hack work for 2.0.3 and is the file updated and complete?
                              http://www.tchracing.com/forums/live...h_live_sig.jpg

                              Comment


                              • Hidden forums are shown...shouldn't be....
                                Seriously! - The Definitive Home of All Things Serious
                                Seriously! Forums

                                To recieve support on these forums, enter your username here.

                                Comment

                                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                                Working...
                                X