Results 1 to 15 of 117
Page 1 of 8
FirstFirst 1 2 3 ... LastLast

Thread: [RELEASE vb2.0] Show admin groups

  1. #1
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    Updated to Version 2.0 16-3-2001
    (v2 includes bug fixes and full avatar support)

    This is a complete rewrite of my super-moderators listing hack for Me2Be...



    This new version shows all members of the Administrators, Super-Moderators and Moderators groups. Note that moderators do not have to be placed in a new usergroup for this hack to work.

    Users have their online status and location displayed, along with a PM link. Moderators also have the forums they moderate displayed. There is an option in the script to enable avatar support.

    Installation is almost completely automatic, through an install script (supplied). Upload showmods.php to your forums directory, and install_showmods.php to your forums/admin folder.

    If you want to disable avatars, open the showmods.php script and set $showavatars to "no". (If you have disabled avatars in the control panel, they will not be shown anyway).

    Then run the install script (admin/install_showmods.php) each time you upgrade your board to a new version of vbulletin, in order to add the necessary templates to the master template set.

    You should run the install script if you are upgrading from the previous version too, it will perform the necessary steps to upgrade the global templates.

    You can then add a link to "showmods.php?s=$session[sessionhash]" to any of your other templates.
    Last edited by Kier; Fri 16th Mar '01 at 2:14am.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  2. #2
    vBulletin Team Jake Bunce has a spectacular aura about Jake Bunce has a spectacular aura about Jake Bunce's Avatar
    Join Date
    Dec 2000
    Location
    Land of the In-N-Out Burger
    Age
    28
    Posts
    46,521
    *bows to Kier*
     

  3. #3
    Senior Member Sarge is on a distinguished road
    Join Date
    Oct 2000
    Posts
    282
    Ok if I want to include the moderaters avatar next to their name how would I do that?

    Great hack BTW
     

  4. #4
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    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.
    Last edited by Kier; Fri 16th Mar '01 at 2:25am.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  5. #5
    Senior Member Sarge is on a distinguished road
    Join Date
    Oct 2000
    Posts
    282
    that didn't work
     

  6. #6
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    That code will only work with custom avatars...

    I'll post a code snippet later for full avatar support, but now I gotta go to bed... PHP gets much more tricky to write after you've been up for 48 hours...
    Last edited by Kier; Thu 15th Mar '01 at 3:21am.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  7. #7
    Senior Member EXCHANGE is on a distinguished road
    Join Date
    Feb 2001
    Location
    Germany
    Age
    31
    Posts
    130

    Great Hack

    No problems to install it
    Solitude was never seen as loneliness
    And things need time
    And time leads to other things
    And playing roles
    Which are limited
    By the poor fund of knowledge

    exchange:board
     

  8. #8
    Senior Member jojo85 is on a distinguished road
    Join Date
    Jan 2001
    Location
    FRANCE
    Age
    24
    Posts
    916
    Will install it tonight !
    Best Regards,
    Geoffrey 'G3oW0RK' BALDET.
     

  9. #9
    Senior Member The_Sisko is on a distinguished road The_Sisko's Avatar
    Join Date
    Jun 2000
    Location
    Hamburg, Germany
    Age
    31
    Posts
    382
    YOU DA MAN!!

    Thanks for your help with this!
    The Sisko
    SciFi-Forum.de
     

  10. #10
    Member pipi is on a distinguished road
    Join Date
    Jan 2001
    Posts
    31
    i got problem is as below.
    Fatal error: Call to unsupported or undefined function foreach() in /web1/users/909090/docs/forums/showmods.php on line 78
     

  11. #11
    Senior Member chrispadfield is on a distinguished road chrispadfield's Avatar
    Join Date
    Aug 2000
    Location
    London, UK
    Age
    28
    Posts
    5,368
    wow! another brilliant hack!
     

  12. #12
    Senior Member EXCHANGE is on a distinguished road
    Join Date
    Feb 2001
    Location
    Germany
    Age
    31
    Posts
    130
    Originally posted by Ryan Little
    Forums that have administrative moderators are shown more than once under the moderators table. This could become very annoying if an administrator moderated more than one forum.

    Is there any way to prevent this from happening? See attachment.
    Got the same Problem
    Solitude was never seen as loneliness
    And things need time
    And time leads to other things
    And playing roles
    Which are limited
    By the poor fund of knowledge

    exchange:board
     

  13. #13
    Senior Member John Harrison is on a distinguished road
    Join Date
    Oct 2000
    Posts
    1,085
    cool
     

  14. #14
    Former Lead Developer, vBulletin Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier is a jewel in the rough Kier's Avatar
    Join Date
    Sep 2000
    Location
    Reading, UK
    Posts
    8,228
    Blog Entries
    6
    Originally posted by pipi
    i got problem is as below.
    Fatal error: Call to unsupported or undefined function foreach() in /web1/users/909090/docs/forums/showmods.php on line 78
    How did you get hold of that version? The version downloadable above does not use the foreach() function at all.
    Meh. | Twitter: @KierDarby | Web: KierDarby.com
     

  15. #15
    Senior Member The_Sisko is on a distinguished road The_Sisko's Avatar
    Join Date
    Jun 2000
    Location
    Hamburg, Germany
    Age
    31
    Posts
    382
    Got same prob with admin = mod and listing all forums x times.....

    and would also like the avatar thing and the title + posts
    The Sisko
    SciFi-Forum.de
     

Page 1 of 8
FirstFirst 1 2 3 ... LastLast

Similar Threads

  1. Show Groups
    By Roody in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 4
    Last Post: Fri 27th Feb '04, 7:40pm
  2. Show last thread for all groups, but show postīs just for registered user?
    By PcFreak in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 0
    Last Post: Sat 20th Dec '03, 4:16pm
  3. Replies: 35
    Last Post: Sat 6th Oct '01, 7:30am
  4. [RELEASE VB2] Show member activity
    By stefanh3 in forum Releases: Version 2.x
    Replies: 28
    Last Post: Wed 29th Aug '01, 5:01pm
  5. Replies: 0
    Last Post: Wed 9th May '01, 7:18pm

Bookmarks

Posting Permissions

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