Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-06-2001, 03:29 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #2  
Old 09-06-2001, 04:18 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 09-06-2001, 04:19 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 09-06-2001, 04:20 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL! OK, how about letting him modify a replacement variable I could put in the header?
Reply With Quote
  #5  
Old 09-06-2001, 04:57 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 09-06-2001, 11:38 AM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 09-06-2001, 06:18 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-06-2001, 11:07 PM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 09-06-2001, 11:37 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #10  
Old 09-07-2001, 01:07 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

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 09:19 AM.


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.04268 seconds
  • Memory Usage 2,247KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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