vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   help (https://vborg.vbsupport.ru/showthread.php?t=25571)

bargie 08-16-2001 07:18 PM

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

mjames 08-17-2001 12:36 AM

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...

bargie 08-17-2001 06:49 AM

yeah can it be done?

bargie 08-17-2001 06:36 PM

ok don't worry about this one! done it!

mjames 08-18-2001 02:15 AM

Quote:

Originally posted by bargie
ok don't worry about this one! done it!
How did you accomplish it? Please share.

bargie 08-18-2001 07:27 AM

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


All times are GMT. The time now is 06:50 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
  • Page Generation 0.01853 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete