Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 08-16-2001, 08:18 PM
bargie bargie is offline
 
Join Date: Dec 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does anyone know if i can make say another signup page, but this one makes them an moderator automaticly, but dosen't asign them to a fourm, but so they can see invisable categories.

??

bargie
Reply With Quote
  #2  
Old 08-17-2001, 01:36 AM
mjames's Avatar
mjames mjames is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you're asking for the choice of having people sign-up and being automatically moved to a certain user group? That is actually a good idea...
Reply With Quote
  #3  
Old 08-17-2001, 07:49 AM
bargie bargie is offline
 
Join Date: Dec 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah can it be done?
Reply With Quote
  #4  
Old 08-17-2001, 07:36 PM
bargie bargie is offline
 
Join Date: Dec 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok don't worry about this one! done it!
Reply With Quote
  #5  
Old 08-18-2001, 03:15 AM
mjames's Avatar
mjames mjames is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by bargie
ok don't worry about this one! done it!
How did you accomplish it? Please share.
Reply With Quote
  #6  
Old 08-18-2001, 08:27 AM
bargie bargie is offline
 
Join Date: Dec 2001
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the file register.php find the line $newusergroupid=2; it about ln 248 all you have to do is replace that number,
the ones i know

1=unregistered guest
2=normal user
3=coppa (i think)
4=moderated coppa i think
5=supper moderator
6=admin
7=moderator

this would then put them straight into the user group using the normal register page.

i however copyed the adultregister and adultsignup template and then renamed them to modsignup and modregister, then done a find and replace in register.php of "adult" to "mod" saved file as registermod.php went back into the custom templates and changed the register.php forms to registermod.php no problems as of yet, there probably is a quicker and better way to do this hack, and if anyone knows then post.

you may need to add stuff to make a coppa one. (more templates)

oh then made a link to the new file registermod.php?s=$session[sessionhash]&action=signup

happy hacking
hope it works
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 05:04 PM.


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.04233 seconds
  • Memory Usage 2,190KB
  • 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
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete