vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add Usergroup as Moderator (https://vborg.vbsupport.ru/showthread.php?t=93543)

jesus likes pie 03-12-2010 05:59 PM

There's an annoying bug where SQL errors get spat out if a user is a member of 2 usergroups which are both moderators of a single forum.

Miras 03-24-2010 02:40 PM

has anyone seen an update for vb4 for this mod?

hoangminh 06-16-2010 01:05 AM

Quote:

Originally Posted by Miras (Post 2009419)
has anyone seen an update for vb4 for this mod?

Any port for vB 4.0 :(

walshymyster 08-27-2010 02:45 AM

yes please could do with one for version 4!!!
please :)

Avrojet 09-24-2010 02:30 PM

Nothing for VB4?

jluerken 10-02-2010 04:07 PM

Hi Andreas,

I am sure you are very busy but can you please reply if you will release a vb4 version?

/jluerken

mokonzi 10-17-2010 04:25 PM

I would be keen to see this in vB4 at some point :)

Faskis 11-21-2010 02:11 PM

I'm having a bit of an issue with making this work with vB4 (so if anyone can provide assistance, it would be greatly appreciated). It displays fine, for the most part, except that it adds extra spaces for names that are in the usergroup if you have more than one person in the usergroup (See also: attachment).


Here's the PHP code for the display:

PHP Code:

if ($moderator['moderatorusergroupid'])
{
    
$show['modgroup'] = true;    
    
$moderator['usergrouptitle'] = $vbulletin->usergroupcache["$moderator[modusergroupid]"]['opentag'] .''.$vbulletin->usergroupcache["$moderator[modusergroupid]"]['title'] . $vbulletin->usergroupcache["$moderator[modusergroupid]"]['closetag'].'';
    if (!isset(
$forum['moderators']))
    {
        unset(
$showmodgroups);    
    } 
    if (!
$showmodgroups["$moderator[moderatorusergroupid]"])
    {
        
$show['doshowmodgroup'] = true;
    }
    else
    {
        
$show['doshowmodgroup'] = false;
        
$forum['moderators'] .= '||';

    }
    
$showmodgroups["$moderator[moderatorusergroupid]"] = true;
}
else
{
    
$show['modgroup'] = false;    



Avrojet 03-01-2011 10:45 AM

Has anyone tested this in VB4.x?

Avrojet 03-05-2011 08:46 AM

Ok, I'm using this on VB4.1.1 and it works fine. :)


All times are GMT. The time now is 10:08 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.01634 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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