![]() |
Ive almost finished a page for the moderators control panel, which will enable moderators who have access to modify a certain style.
Its extremly messy, with lots of my code everywhere(im using the same style.php from the admincp, so i cannot just post the entire file). How many people ar einterested in such a hack? if there are enough people, ill tidy it up and release it. So yer! |
I changed my mind.
The only thing the mods will be able to modify is the colours. Since thats all my mods need to do, yadda, yadda, yadda. Is anyone still interested? |
I could really use a hack that would let a moderator modify the header in his forum. He keeps a scoreboard for a contest. On our old board it was in the header. Right now I have a link to an HTML page in his FTP folder. It was a lot better when the scoreboard was in the forum's header.
|
LOL! OK, how about letting him modify a replacement variable I could put in the header?
|
No problems with replacment variables, or even adding the ability to modify the header template.
If i release it, you just need to add a makeinputcode line to add more editablility. Ill hopefully release this in a few hours. |
I would be interested in a hack which allows the moderator of a particular forum to be able to edit the respective style sheet, i.e. if UserX is a moderator of ForumX they can edit the associated style sheet - or parts of it :)
That would be really cool :) |
I would love it if you'd extend it to allow modification of the replacement variables as well as the template set if they have one. For example, if they moderate a forum that uses a custom replacement set but the default templates, then they could only modify the replacement set. But if they have both custom templates and a custom replacement set they could edit both.
|
When i get home, i plan on trying to finish this script, but allow alot more configuration.
Im not sure on what people need, but i plan to add options to allow certain moderators to modify certain templates and replacment variables. Most of the replacment variables appear on the style editing window thingo, so i dont really need to add anymore of those. All i really need to know is, what templates do you fellas need your moderators to be able to edit? I plan on only allowing replacment variables, but posibly header and headinclude for 1 or 2 exlusive moderators. Super mods wont have access to it, since they dont have a single forum they look after. Any requests for more features in this before i write it? |
Well, what if you check what forums a moderator moderates, and then check the style/template settings for that forum, and then the moderator can edit those styles(as long as they're not default). If they are default, the mod can create a new style set and edit that.
Are you relying on the moderator user group or the moderator setting for users? Because vB doesn't use the mod user group anymore... |
Thats basically what i am doing.
I have a query that pulls the moderator records(in the moderator table), forumid, userid, caneditstyles. I then have another query that pulls styleid from forum, where forumid matches, blahblah... Im not really sure i want my mods creating new template/styles. I think ill just have 2 more options in each moderator thingo, that 'allow modify templates' and 'allow modify replacment vars'(this one is a bit useless for certain variables, cause most replacment variables actually appear in the style's main page. |
What I meant by having them create it is that if they're using the default template, they shouldn't be able to edit it, for obvious reasons, and when they click "Edit templates" it should transparently make a new template set and apply that to their forums, then they'd edit that one instead of the default. It would only have to be created once.
|
Quote:
|
Would'nt it be cool, to add a new usergroup, so that this usergroup can be edited and the admin can choose which options the moderator can use.
That would give the admin the ability to do a better co-brandig, so the co-branded sites could take care of the their forums for them self. Any comments ? |
This feature is planned for a future release of vBulletin, it is listed in the mod options. So you can just wait for it. It's not that hard to do anyway...
|
I dont think that this feature ist really planned for a future release. It is only on the "Already Suggested" list.
|
Quote:
|
But I don't want all of my moderators to change the style of their forums.
I want to specify a usergroup, that can edit the style and everything else of the forum, but only for the forum(s) that I specify. That would be a nice addition for co-branding. |
Not all of them can. When you go to a forum in the Admin CP and click Add Moderator, you can specify whether THAT moderator can edit the styles. This way you can make it so some moderators can and can't modify the styles.
|
Ahhh, ok ! :)
But what about the other features, that would make this to a co-branding hack ? Any comments ? |
Quote:
Just because its listed in the mod options means that they are coding it with priority. I just made use of that option in the mod panel. But im not sure if i want to release my hack, because of how much code ive changed, its too hard to document it all, and pasting the entire file is against my licence agreement. So looks like you can either work out how to do it yourself or wait :| |
Maybe this thread would be better in the request forum :)
|
Its not really a request, i have created it, just looking for ideas on what to add.
However, it turns out, i have modified too much code, its too hard to explain what to do, and if i tried, im quite sure that someone(well at least someone) will not follow the instructions, which isnt that great- i dont want to spend my time troubleshooting others errors :( |
You could release your hack, and anybody who is familiar with PHP and mySQL could continue with your good work.
Unfortunately I'm a PHP und mySQL noob |
At the moment, i dont plan to release it.
However i can provide some background into how i did it. Basically, i made a copy of 'styles.php' in the /mod/ folder of vB. I then hacked and hacked at most of the code, so there was no downloading features, or deleting features. I then proceded to run a SQL query that got for each forum, the current user's 'caneditstyles' field for that forum, if it returned a no result, or a false, the row was disabled(it was still there, but they couldnt click it). I just kept hacking and hacking, and the result was a page, where they could only edit the colours(replacment variables). I havent actually tested it much, and most of my hosted forums still havent asked about it. Give it a few more days, and if it works okay, ill make some instructions. |
Could you please post it? If you've modified a file a lot, you could say "delete from here to here, replace with this. delete everything after this, replace with this"
It would be great if you could post instructions on this, and tell people not to email or PM you about it and to post in the thread. That way others could support it. |
If i get the rest of my work done, ill release it tonight(being in australia, thats probably about 8-9 hours away).
|
Thank you so much! I'm running a hosted forums forum as are you, and this will really help(I'm sure you understand every bit of how much this will simplify things :)).
What other hacks do you have installed that would help with taking some of the load of hosted forums off of the admin? Thanks. |
I just finished then(still testing) a hack that will allow the moderators of the PRIVATE forums only to add access to any user they please.
Ill also be releasing this tonight. |
Quote:
|
Oh, i must have just assumed you run private forums ;)
I run clan hosting forums, one private and one public forum for each clan. I need to give access to each of their members manually, but now the mods of a specific forum can do it. Ill have a description when i release it ;) |
Funny, that's exactly what I do, but I allow them to have more than just a public and private forum. I can't wait! I'm glad we haven't gone public yet, this will make things easy from the start! :)
|
FYI DarkReaper, i just released the Moderator Accessmasks hack.
http://www.vbulletin.com/forum/showt...&postid=169092 |
I look forward to this release - I'm half way there with a modified moderators panel, however I can't seem to get the queries right just to show styles which are associated with the forums they moderate :(
The mod access hack you made is soon to be installed as well :) |
*bump* :)
|
Its still being tested, sorry.
Plus, there are heavy modifications on my part to complete still. Its only very basic at the moment, and if it is enabled for a mod, they can change the style regardless of which one is set, inc the default :| So, soon. |
I know with recent horrific events, time has sorta stood still, but I am wondering if any progress has been made on this? :)
|
Not much at all actually.
I havent had the time to test it, nor devlop it more. Just been really busy with work. Ill try my best, but atm im working on XML templates :| |
Looking forward to this one.... make my life a HELL of a lot easier, having to deal with Clan leaders at forums I host :)
|
All times are GMT. The time now is 06:20 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:
|