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)
-   -   Threadmins (https://vborg.vbsupport.ru/showthread.php?t=117483)

Snake 06-05-2006 02:57 PM

Wow thanks!

antialiasis 06-05-2006 07:36 PM

Is there some special reason (other than "If people don't trust their admins with administering threads, they won't want them to assign threadmins") for using can_administer as the permission check? That is, would there be any special reason for me not to edit it to check for membership of certain user groups instead, assuming I trust the people in said user groups?

Revan 06-06-2006 08:26 AM

By all means, replace the check. I just defaulted it to can_administer() because well I wouldn't want to make any assumptions :p

As for the ACP interface, Im having a burst of motivation to work on my RPG atm so this hack is on hold, but I won't abandon it :)

antialiasis 06-07-2006 11:44 PM

Okay, great. Can I make a suggestion? It would be nice if something indicated that a user is a threadmin in their postbit or something (like giving their name the moderator pre- and suffixes in their posts in that particular thread).

kopfnick 06-13-2006 08:29 AM

Maybe someone here can help me: i desperately needed such a mod and installed it today. Unfortunately, the rest of my site doesn?t work anymore as soon as i activate it. Forum and Mod work fine ;)

Here is the error:

Code:

Fatal error: Cannot redeclare print_cp_login() (previously declared in /forums/includes/adminfunctions.php:23) in /forums/includes/adminfunctions.php on line 21
I am using a very simple Login-Form throughout my site. All it does is include

Code:

chdir(path/to/forum);
require('./global.php');
include('./includes/adminfunctions.php');
chdir($_SERVER['DOCUMENT_ROOT']);

Any ideas?
Thanks,
kopfnick

Revan 06-13-2006 12:01 PM

Quote:

Originally Posted by kopfnick
Maybe someone here can help me: i desperately needed such a mod and installed it today. Unfortunately, the rest of my site doesn?t work anymore as soon as i activate it. Forum and Mod work fine ;)

Here is the error:

Code:

Fatal error: Cannot redeclare print_cp_login() (previously declared in /forums/includes/adminfunctions.php:23) in /forums/includes/adminfunctions.php on line 21
I am using a very simple Login-Form throughout my site. All it does is include

Code:

chdir(path/to/forum);
require('./global.php');
include('./includes/adminfunctions.php');
chdir($_SERVER['DOCUMENT_ROOT']);

Any ideas?
Thanks,
kopfnick

delete
Code:

include('./includes/adminfunctions.php');
from my threadmin.php file.
Should work then.

kopfnick 06-13-2006 12:50 PM

Quote:

Originally Posted by Revan
delete
Code:

include('./includes/adminfunctions.php');
from my threadmin.php file.
Should work then.

Thanks a bunch! Works :)

Neo_obs 06-27-2006 08:46 PM

any updates?

this is great but before we can start using it we would like to have a way to remember who is admin of what

ZeryabPhone 07-03-2006 11:27 AM

nice.. thank you

Pathor 07-06-2006 09:44 PM

Quote:

Originally Posted by Neo_obs
any updates?

this is great but before we can start using it we would like to have a way to remember who is admin of what

Me too. A simple overview would be really nice.:)


All times are GMT. The time now is 06:33 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.01182 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)bbcode_code_printable
  • (3)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