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
Moderator Template Editor Details »»
Moderator Template Editor
Version: 1.00, by blackice912 blackice912 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-13-2002 Last Update: Never Installs: 4
Is in Beta Stage  
No support by the author.

Hello!

This is my first hack and so far, so good

This hack is a Moderator Template Editor. It will allow your moderators to edit their own template on your vb. It's also setup so they can not edit other templates as it only shows theirs.

If you have any questions or have a problem/idea, please post in this thread as I will check it often!

I still plan to addon to this hack with the style and replacements stuff too

Oh, and please hit install if you plan on using it

[UPDATE] Security issue fix with Xenon's "Mods can edit users" included for those who use it so that means there are no security issues as far as I know when it comes to non-admins. [/UPDATE]

[UPDATE 2] Changed some code to increase security against people disabling javascript - Change the following to update this hack if you have it installed:

1. Open template.php

2. Find:

if ($expandset=$bbuserinfo[fieldID]) {
echo "";
} else {
echo "<script language=\"javascript\">
<!--

alert(\"You are not authorized to view this area\")
location.replace(\"http://www.yoursite.net/forums/mod/index.php?s=&action=home\");

//-->

</script>";

}

3. Between the } and the </script>"; - add:

die;

[/UPDATE 2]

Pictures will be attached after this thread...

Please visit this thread for the latest version of this hack!

Show Your Support

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

Comments
  #12  
Old 09-14-2002, 03:44 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

true but i dont want to give them this much power anyway....

still a wicked hack !

Regards

- Mist
Reply With Quote
  #13  
Old 09-14-2002, 03:46 PM
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Location: Tacoma, WA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Not bad for my first hack I think
Reply With Quote
  #14  
Old 09-14-2002, 04:11 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me agrees :thumbsup:

- Mist
Reply With Quote
  #15  
Old 09-14-2002, 04:24 PM
SZ|TalonKarrde SZ|TalonKarrde is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty damn nifty.
Reply With Quote
  #16  
Old 09-14-2002, 04:39 PM
Marshalus's Avatar
Marshalus Marshalus is offline
 
Join Date: Nov 2001
Location: Lawrence, KS
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by blackice912
Well you can give it to certain mods

I designed this because I know one site who has wanted this for certain groups that have forums on their site as well as my site so my clients can edit their forum to how they see fit.
Gee, I wonder who he could be talking about?

[high]* Marshalus coughs "Federation Studios"[/high]
Reply With Quote
  #17  
Old 09-14-2002, 04:41 PM
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Location: Tacoma, WA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gee...I think he's right!
Reply With Quote
  #18  
Old 09-14-2002, 04:42 PM
SZ|TalonKarrde SZ|TalonKarrde is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by blackice912

Hey I know you....you're on the Myacen forums!
Yep. Another genious who decided myacen was the best host in the world.

Marsh, it's also for SD1. Our clients need to edit their own forums as well =P
Reply With Quote
  #19  
Old 09-14-2002, 04:45 PM
blackice912's Avatar
blackice912 blackice912 is offline
 
Join Date: Jun 2002
Location: Tacoma, WA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I said that in my post
Reply With Quote
  #20  
Old 09-14-2002, 04:46 PM
SZ|TalonKarrde SZ|TalonKarrde is offline
 
Join Date: Jun 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by blackice912
I said that in my post
I didn't see the and in there, lol.
Reply With Quote
  #21  
Old 09-14-2002, 05:58 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excelent first hack blackice912! I'm sure many people will benifit from this. Thanks for sharing with the community
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 08:23 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.08586 seconds
  • Memory Usage 2,306KB
  • 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
  • (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
  • (3)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