Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #22  
Old 06-03-2006, 08:04 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great. Almost every board has a few perpetual threads and it would be nice to enlist help with them.
Reply With Quote
  #23  
Old 06-03-2006, 08:38 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,

Nice hack, I was going to write something like that but you were quicker.
Installed.

Suggestion:
Move the adder to the admin area, for greater security.
Reply With Quote
  #24  
Old 06-03-2006, 09:36 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
Uh no this is to ADD permissions, not REMOVE them.
Though I can always make another hack to remove permissions.
Since I will be using much of the same methods, I will put those hacks on hold until I finish this one, sound ok?
haha, wow, after re-reading it all I bet you wonder what I was thinking, cuz I sure am. (for some reason when I read the part about adding a user that hasn't posted in the thread yet I assumed it meant adding them to the ban list for the thread, so you could stop a user from posting in the thread before they've ever done it)

but yes, sounds great to me.. I've clicked install.
Reply With Quote
  #25  
Old 06-03-2006, 10:10 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 Psionic Vision
Hey,

Nice hack, I was going to write something like that but you were quicker.
Installed.

Suggestion:
Move the adder to the admin area, for greater security.
Including adminfunctions and can_administer('canadminthreads'); for all permission checking.
So if the user can make himself administrator with that permission then he can do pretty much anything else

imma get started on admincp bits now
Reply With Quote
  #26  
Old 06-04-2006, 12:18 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason it is potentially insecure is that adminfunctions is not intended for inclusion in front-end. I noticed that admincp functions have less error checks that front-end functions do.
Reply With Quote
  #27  
Old 06-04-2006, 09:47 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well my point still stands; if they can somehow get past can_administer() in the frontend, they can do much worse things than ruining a single thread
Maybe we should take this to the Coders Discussion forums instead of cluttering this thread, I'll go start the thread now
Reply With Quote
  #28  
Old 06-04-2006, 12:54 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The update addresses two bugs, one of a fairly critical nature.
To update, reupload threadmin.php to your forum directory.

No new features have been released as of yet, I am working on them though.
Reply With Quote
  #29  
Old 06-04-2006, 03:37 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Definatley a unique idea for a hack, thanks very much!
Reply With Quote
  #30  
Old 06-05-2006, 05:47 AM
whitetigergrowl whitetigergrowl is offline
 
Join Date: Jun 2004
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So I take it to add and take away abilities, you use the same 'Add Member to Threadmin' option? Add as you want, take away as you want?
Reply With Quote
  #31  
Old 06-05-2006, 08:00 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah. I am working on an AdminCP interface for managing permissions of all Threadmins in all threads, but for now you will have to add as you want and take away as you want.
Reply With Quote
Reply


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 03:56 PM.


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.05950 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
  • (2)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