vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   moderator / style hack (https://vborg.vbsupport.ru/showthread.php?t=33923)

Bitmap 01-07-2002 10:00 PM

hmm ... ok. because i needed it desperately i asked a friend of mine to write me this hack. and he wrote it :)
for me it works ok, but i am not quite sure if it is secure or if it has some errors in it. that's why i am attaching it in this forum.

well. if you find some errors feel free to fix them ... :)

-.valkyre 01-08-2002 11:21 PM

Mind tellin the rest of us what this does? :D

Bitmap 01-08-2002 11:25 PM

ooops ... sorry, i thought it was obvious :)

you can give your mods the permission to edit the styles of the forums they are mods in. this is pretty useful if you host some clans :D

oh. and it is really easy to install ...

bokhalifa 01-09-2002 06:25 AM

great hack :)

Martz 01-10-2002 12:12 AM

This is an excellent hack, working so far! Thanks for sharing. :)

Bitmap 01-11-2002 03:39 AM

Quote:

Originally posted by Martz
This is an excellent hack, working so far! Thanks for sharing. :)
thanks :) good to hear.
has someone checked the securiy-stuff?

Martz 01-11-2002 07:12 AM

A couple of issues, or what looks like bugs. First one I have seen is when you edit a template the top line which allows you to edit the style name, add a template or collapse is bringing through the wrong ID. However all the template links further down are correct, so I just removed the line :)


I also removed the PHP Parsed Code makefield code as I don't want my mods executing php stuff.

I'll let you know, but all-in-all its great!.

Martz 01-11-2002 07:14 AM

Some security checks need to be put into place as well for editing the styles. At the moment it only takes place to list the styles available. If you can edit, say, style ID 41 - the URL can be changed to any other ID and that style edited. Which obviously isn't good. :/

Bitmap 01-12-2002 02:59 PM

Quote:

Originally posted by Martz
Some security checks need to be put into place as well for editing the styles. At the moment it only takes place to list the styles available. If you can edit, say, style ID 41 - the URL can be changed to any other ID and that style edited. Which obviously isn't good. :/
yep ... we are working on this right now ... hope we can fix it :D

Martz 01-12-2002 03:31 PM

Great stuff :)

I haven't noticed anything else yet so far.


All times are GMT. The time now is 05:53 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.02635 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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