![]() |
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 ... :) |
Mind tellin the rest of us what this does? :D
|
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 ... |
great hack :)
|
This is an excellent hack, working so far! Thanks for sharing. :)
|
Quote:
has someone checked the securiy-stuff? |
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!. |
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. :/
|
Quote:
|
Great stuff :)
I haven't noticed anything else yet so far. |
Hello, i am the friend that Bitmap talked of. And I?m the creator of this little Hack. Nice to hear that you like it.
Here are some changes that should make cheating it impossible and make the hack more secure. Hope it works well ;) ATTENTION: You need both, the FIRST VERSION AND THIS ONE. It?s just an expension ;). |
Thanks Big Chief - I'll implement this tonight and see how it goes! Many thanks for your efforts. :)
|
OK, I've been playing around with this for a while. A few bugs to be found - I've tested the install of this 3 times now.
Code:
// ###################### Start styles ####################### The security thing is a bit weird too. I'm not sure if the above made a difference. If the user cannot edit the style (i.e. no permission in the control panel) - the list of styles shows they can edit the default style. When you click the link its lets you edit the style associated with the forum you moderate (which is supposed to happen, but only if you have the permission) I've really busy with RL stuff at the moment, but I'll try and track down where this might be going wrong. :) Thanks again, Martz |
Hm ..... here it works perfectly. And Bitmap also used my Hack.txt to install the hack herself ..... also no probs.
But i know, that the expension is pretty complicated. I?ll try to make everything a bit easier to install by creating a new function. If this works, i?ll create a new hack.txt with both parts above in it. I?m sorry about it, but i don?t have much time ...... cause I have to code another script for my friend?s SWG-Homepage. I?m her "PHP-Slave" as she calls me :D |
No problems mate. :)
I'll give it another shot and see if I can come up with the requried result. :) |
OK I've got it installed great - I'll always be a newbie :frus:
Testing this now, live - so no bugs I hope! Obviously if the user is a moderator of 2 forums with different styles, they can only edit one of them (the style associated with the first moderator id) - which may be a draw back, but it isn't the case at the moment. Maybe an improvment in the future if your Mistress of php lets you. ;) Great job though. :pleased: |
Quote:
|
Quote:
|
Martz, let me know when you are using this hack officially on your boards. Because then i'm going to. lol..
|
I am live with it now :)
I have around 10 community moderators editing styles and their own templates. So far so good, however helping them out with vB templates is great fun :P |
alright. that's cool. I think I'm going to install it then. Hopefully it works out.
Anything I should know? lol |
@Martz (and all others ;) ), i already solved this little problem.
Let me some more time and i?ll post a complete new hackfile for you. Because it would be quite ununderstandable for you, if i tried to explain the newest changes in here :) Plz be patient :D |
Cool... Very cool hack, will wait till the new revision to install it, but VERY interested in letting my moderators customize their forums styles... thanks guy... ;)
|
Quote:
At the moment it seems secure anyway. |
I havn't seen it yet, Can someone that has the current version installed tell me how it works, where would a moderator go to modify their forums style, or how it works... thanks...
|
I installed the first version but not the "patch" It told me to serach for somthing and I wans't able to find it. The first part in the template area
This hack is great so far! Moderators log in to forums/mod. And they can only edit the forums that you allow editing access and only the forum they have access to. Hope that made sense :confused: |
ok at last there is a new version of this hack available. i updated the attachment in the first post. it's very easy to install, pretty secure (i think) and the "bugs" are removed (well ... i hope so ;) ).
if everything works out fine i can release the hack soon. but for now it would be better to just test it. |
Ok, I feel like I am going blind :p
I see the file from Bitmap's friend with the modified file, but I do not see the orignal or updated file? |
All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|