Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
create styles / templates / replacements through Mod CP by usergroup Details »»
create styles / templates / replacements through Mod CP by usergroup
Version: 1.00, by mx3 mx3 is offline
Developer Last Online: Apr 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-07-2003 Last Update: Never Installs: 2
Is in Beta Stage  
No support by the author.

/////

members can create styles/templates/replacements through Mod CP by usergroup

/////

By mx3

/////

Creds to Storm for partial hacking, help, and support.

/////

What this hack does is basically let anyone in the usergroup you
specify add/remove/edit styles, replacements, and templates through
the mod cp (obviously the member must have access to the mod cp, so
make sure the group you specify is either the mod group or super mod group)

/////

Files to edit:

mod/index.php

Files to add:

mod/style.php
mod/template.php
mod/replacement.php

/////
this is my first hack! i hope that you like it! please click the install button if you use it!

Show Your Support

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

Comments
  #2  
Old 03-08-2003, 01:42 AM
mx3's Avatar
mx3 mx3 is offline
 
Join Date: Nov 2002
Location: prescott valley, az
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

screenshot of mod cp

none others are really needed, its the same as in the admin cp only its now in the mod cp...
Reply With Quote
  #3  
Old 03-08-2003, 02:55 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack, a similar one came out in the past - but the problem that existed there also exists here, the user could delete your entire database with this kind of access. If you 100% trust your moderator not to do this then I guesse it's great, but then again if you 100% trust them, you might as well make them an admin.
Reply With Quote
  #4  
Old 03-08-2003, 02:57 AM
mx3's Avatar
mx3 mx3 is offline
 
Join Date: Nov 2002
Location: prescott valley, az
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see your point. i will try to revise this hack and fix that prob.


uh-oh...this hack worked for me before...for some reason i'm getting parse errors noww no one install! it is unstable! i'll try to fix, if a mod sees this delete this hack out of the DB and forum! i'll post it again when it is fixed!
Reply With Quote
  #5  
Old 03-08-2003, 10:24 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have deleted it out of the db and moved it to the beta hacks forum.

as for security: change the hack in a way that these mods CAN NOT edit phpinclude templates
Reply With Quote
  #6  
Old 03-08-2003, 01:36 PM
mx3's Avatar
mx3 mx3 is offline
 
Join Date: Nov 2002
Location: prescott valley, az
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, xenon, i will try. i'm still learning php, i did'nt even really know it when i made the hack. Storm helped a lot, as it says in the credits.
Reply With Quote
  #7  
Old 03-08-2003, 06:30 PM
SZ|TalonKarrde SZ|TalonKarrde is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad fixed his hack to remove the security hole, but then, as far as I know, he either lost interest in the hack and never updated it, or lost the data. I'll bug him about how to fix it later today.
Reply With Quote
  #8  
Old 03-09-2003, 10:36 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
..... AND title!='phpinclude' ......
Reply With Quote
  #9  
Old 03-10-2003, 06:10 AM
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Location: Tacoma, WA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SZ|TalonKarrde
Brad fixed his hack to remove the security hole, but then, as far as I know, he either lost interest in the hack and never updated it, or lost the data. I'll bug him about how to fix it later today.
I think I still have the files, but I don't think I ever fixed the hole.

Though all I use it for now is to allow stupid people that have hosted forums at Stardust One access to it with a very big warning/usage agreement that will make them not want to tamper with it.
Reply With Quote
  #10  
Old 03-10-2003, 11:52 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Link: you should also say where to put this
you have to make sure, that phpinclude wouldn't be displayed, and also cannot be edited through urlmodifications also
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:15 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.08228 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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