vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Show admin groups (https://vborg.vbsupport.ru/showthread.php?t=11425)

rmusic 07-12-2001 09:41 AM

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

rmusic 07-12-2001 09:59 AM

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

Marty 07-12-2001 10:00 PM

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")."\";");
}



DarkReaper 07-17-2001 10:44 PM

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??

Kengan 07-19-2001 04:11 AM

Quote:

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 !
:rolleyes:

ThomasP 07-28-2001 10:58 PM

Quote:

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

GB 07-28-2001 11:42 PM

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

ThomasP 07-29-2001 08:57 AM

[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

JJR512 08-06-2001 01:00 AM

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=

dxb 08-11-2001 12:19 AM

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


All times are GMT. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01276 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete