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, BETA TESTERS NEEDED! (https://vborg.vbsupport.ru/showthread.php?t=28546)

merk 09-20-2001 10:00 PM

Thats right!

Ive _almost_ finshed the hack, however, it needs to be tested a bit more than what ive done before i can release it.

Im looking for 2/3 beta testers, preferably regulars here, etc,etc

If you think ill want you, pls PM me, or reply here :)

PS. I would have to say tommorow for the hack, its really only needing some mod testing!

Martz 09-21-2001 07:23 AM

Sign me up :) I got my own version of the panel working now, but I am very keen to see your version and how you have gone about it differently. If possible, I'll beta test the style hack on a fresh forum on my Intranet and check everything is hunky-dorey :)

merk 09-21-2001 07:53 AM

Sure.

Youll need to email me, so i can send you the file.

Im curious, how did you go about it, and what features did you cut?

Basically, ive set it up, so that each mod has a different level of access, depending on what you set.

Some are allowed to edit the same that an admin can, or some cant edit templates, some cant edit the doctype / body tag, and some cant edit the widths.

Pretty simple a guess.

I cut the downloading features, and didnt bother setting up the template/replacment variable stuff.

Martz 09-21-2001 09:19 AM

Firstly - I don't know your e-mail address, I'm hoping I can find your address on your site.

Anyway, what I have done is to copy the styles.php into the /mod directory, and clamped it down by running querys to check which forums the user moderates and has [b]caneditstyles[b] set to 1. If this is the case, the user/moderator may edit the associated style of the forum.

I also put some checks in the modifystyles function, and changed all the "typos" of canmodifystyles to caneditstyles in the admin cp.

It works ok, however I am not confident in my rather dodgy php skills, so I want it to be secure and unhackable. Have you considered people may enter html or php (i dont think its parsed in templates?) which could allow mallicious activity?

Regards,

Martin

DarkReaper 09-21-2001 10:59 AM

The way you did it sounds like the only reasonable way to do it, check if they have the variable "canmodifystyles" set to 1. I'm assuming you did it this way also merk? :)

Quote:

Have you considered people may enter html or php (i dont think its parsed in templates?) which could allow mallicious activity?
Youn could not allow them to use phpinclude, which would thwart almost anything malicious they could do.

Admin 09-21-2001 11:38 AM

Contact me if you wish:
firefly@poolie.net

merk 09-21-2001 12:01 PM

1) The security, is a big issue. So heres what ive done:-

I changed the system for the database storing either 0 or 1 for caneditstyles, to store 0/1/2/3/4. 0= no access, 1= colours, fonts only, 2= table widths+1, 3= DOCTYPE and BODY tags+1+2, 4=templates plus all.


Basically thats how it works :)

Now, i just have to make my modification to the admincp to allow this, and ill distrobute to you fellas, give me about 30 mintues.

Snake~eyes 11-01-2001 06:40 PM

I'd be interested and willing to be a beta tester. I have been looking for somthing like this for awhile.

Thx

SharkY-GA 11-03-2001 07:05 PM

As would I... This would make my life a whole lot easier! Hosting team forums is a strain on ya...

Snake~eyes 11-04-2001 12:20 PM

i know what ya mean!

Merk! please help! :D

Martz 11-09-2001 04:35 PM

I did get a copy from Merk a while ago of this, but I didn't have time to try it out properly. My applogies. I hope you are still continuing this, I haven't had an answer from Jelsoft about their future addon packages which may offer something like this. :(

Keep up the good work. :)

TWTCommish 11-09-2001 04:50 PM

What the heck does this hack do, anyway? :)

Snake~eyes 11-09-2001 05:52 PM

Would it be possible for you to send it to me?

---

What this hack does is allow moderators of forums to edit the style of the forum they moderate.

It's great when you host forums for people.

Bitmap 11-19-2001 07:58 PM

is this hack still in beta? is it going to be released soon? i can really use a hack like this, hope it will be available soon.
if it is still in beta, can i test it, too? or am i not qualified enough (well, i'm no frequent poster here ... :( )

Shakron 11-23-2001 07:23 PM

Yeah that hack would be perfect because I am hosting clans and the clan-mods would love to be able to control their layout by themself without always having to send me all stuff ... So is still Beta?

SharkY-GA 11-24-2001 09:21 AM

The guy posted that and disapeared...

Bitmap 11-24-2001 04:58 PM

hmm ... that's stupid. i really need a hack like that :(
well, thanks for the info.

merk 11-25-2001 08:39 PM

My appologies.

Real life has steped in, and because of that, i dont actually have time to work on this hack.

The hack i orginally wrote, was extremly buggy, and didnt support inheritance.

Now i dont even know if i have a copy of it anymore.


However! I have almost finished writing a system for the forum permissions which is needed for my forums, and after that, i should start work again on this hack.

I cant promise you anything for the time being, but i can give you a few hints as to how to write one yourself if you wish.

I might have one done by christmas, but dont hold your breath :(

Planned features if i ever write it:

-Moderators able to modify styles, depending on their access they may be able to modify certain templates, or colours, etc.
-Moderators able to modify styles of subforums they moderate
-Easy install script, so i wont get calls for help
-Posible access masks features, which i released a hack before, but aparently it was a bit buggy.


I will post here again, when i start, keeping you all up to date.

Bitmap 11-25-2001 09:56 PM

great :) thanks for the info

Snake~eyes 11-26-2001 02:26 PM

thx merk. I hope you have the time to get this hack our and it would be a great christmas present if you do. hehe...

If you need testers I'd be willing to test.

thx

merk 11-26-2001 10:35 PM

No problems..

And dont you worry, i will be needing testers :)

Just keep your head out, ill ask when its almost done

Snake~eyes 11-27-2001 02:21 AM

Don't worry I am subscribed to this thread.. When ya need testers I'll be here for ya

Fuitad 02-19-2003 10:26 PM

well this is months later but id be interested


All times are GMT. The time now is 02:45 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.01091 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete