Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Threadmins Details »»
Threadmins
Version: 1.1, by Revan Revan is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-02-2006 Last Update: 06-03-2006 Installs: 60
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

[high]
Threadmins v1.1
[/high]
Why did you code something with such a silly name?
I got bored of doing purely RPG work, so I thought I would whip up something else for a change. And thus, I bring you, Threadmins v1.1!

And what exactly am I looking at?
For those that wonder what a "Threadmin" is, it's a "Thread Admin". Basically, a Forum Administrator with Can Administer Threads will be able to delegate thread management permissions to select users. By default, this kind of administrator will be able to quickly access the Threadmin Management through an item in the dropdown menu you get when clicking an username, however the page variable string can be altered to allow management of users not having posted in the thread as of yet (example is threadmin.php?t=6&u=6 even if userid 6 didn't post in the thread).

What's the skinny on this hack? What will it be doing to my forums?
  • File Changes: 0
  • Template Changes: 1
  • Tables Added: 0
  • Tables Altered: 1
  • SQL Queries Added: 0
As you can see, it won't add any load to your forums, so you are perfectly safe using this mod

Why should I use this mod?
Maybe you want someone to be able to manage his own RolePlaying thread without giving him full moderator permissions over the entire RP section. Maybe you want to give someone a trial run as a full-fledged Moderator by seeing how he handles himself in a live thread.
Or maybe you are feeling nice and want to increase my ego by giving me more install clicks

So how do I get this up and running?
Simple
Extract the zip, upload the .php file to your forums directory, import the product through the AdminCP, edit the template as per the readme.
You are done

Will you add feature x?
Maybe
Post it and I will try to get back to you when I have the time.

Whoops, I need some help! Can you help?
I will try to, but I can't promise rapid replies because of time restrains. I don't see how this mod could require any support, but if your forums should self-destruct for no apparent reason, I will get back to you when I have the time

Thanks a lot for this mod Revan, do you want some PayPal money?
I don't require donations, but they are most appreciated

Please note that my Paypal account is Unverified, so I will not be able to accept Credit Card direct charges. Please "upload" some money to your Paypal account and send it to me from there if you wish to donate.
Thanks in advance

I don't have PayPal but I would like to show my support, what can I do?
Leave a nice message saying thanks and a click of the install button. Yep, that should do the trick

What's happened in the course of this mod?
  • 3rd June 2006 - v1.0
    Initital release
  • 4th June 2006 - v1.1
    • Fixed a security issue, thanks to Alan-CIT.
    • Fixed a bug where adding a Threadmin to multiple threads would cause permissions to be overwritten.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 06-05-2006, 02:57 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks!
Reply With Quote
  #33  
Old 06-05-2006, 07:36 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #34  
Old 06-06-2006, 08:26 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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
Reply With Quote
  #35  
Old 06-07-2006, 11:44 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #36  
Old 06-13-2006, 08:29 AM
kopfnick kopfnick is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #37  
Old 06-13-2006, 12:01 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 06-13-2006, 12:50 PM
kopfnick kopfnick is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
delete
Code:
 include('./includes/adminfunctions.php');
from my threadmin.php file.
Should work then.
Thanks a bunch! Works
Reply With Quote
  #39  
Old 06-27-2006, 08:46 PM
Neo_obs Neo_obs is offline
 
Join Date: Mar 2006
Location: Disneyland, CA
Posts: 363
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #40  
Old 07-03-2006, 11:27 AM
ZeryabPhone ZeryabPhone is offline
 
Join Date: Jun 2005
Location: Kuwait
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice.. thank you
Reply With Quote
  #41  
Old 07-06-2006, 09:44 PM
Pathor Pathor is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04720 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete