Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 09-08-2001, 10:36 PM
MaSTaKiLLaH MaSTaKiLLaH is offline
 
Join Date: Oct 2001
Location: Hannover, Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe this thread would be better in the request forum
Reply With Quote
  #22  
Old 09-08-2001, 10:39 PM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #23  
Old 09-08-2001, 11:23 PM
MaSTaKiLLaH MaSTaKiLLaH is offline
 
Join Date: Oct 2001
Location: Hannover, Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

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

If i get the rest of my work done, ill release it tonight(being in australia, thats probably about 8-9 hours away).
Reply With Quote
  #27  
Old 09-09-2001, 01:26 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

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

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
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:47 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.04707 seconds
  • Memory Usage 2,250KB
  • 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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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