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

Reply
 
Thread Tools Display Modes
  #11  
Old 10-13-2002, 09:29 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the fieldid you'll get when you highlight the edit profilefield link and look into the status bar.

you must use the right numbers or it cannot work
Reply With Quote
  #12  
Old 10-13-2002, 10:20 AM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, used the correct numbers. Have you tried it on your site? Maybe I have a conflicting hack interfering with it? .....don't know. Either way, thanks for your help
Reply With Quote
  #13  
Old 10-13-2002, 10:43 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes i've tried it on my testboard now and it works perfectly.

you must have made a small mistake while hacking...

an normally there shouldn't be a conflicting hack, because it just uses a form value if the hack doesn't empty this val it should work...
Reply With Quote
  #14  
Old 10-13-2002, 11:40 PM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, let's see if I did this wrong. Here's the steps I did.

1. Went to ACP and went to ACP > User Groups > Add ( under Title, I gave it DVD ), then clicked Save

2. I placed my cursor over the EDIT link for the newly created DVD group. It showed a number of 13

3. Went to Forums & Moderators > Add. I created a private group (maybe this is the problem - it being private?) called DVD. Then clicked on Save Forum.

4. Ran my cursor over the newly created Forum and got a number of 35.

For the code, I put this:

if($field13=="test") $newusergroupid=35;

Then I went to my board as an unregistered user. I registered with a random username and put the password as "test" (w/o quotes). Then I replied to the user authentication email.

However, now when I go into my ACP and look at the newly created user, they are placed in the "Registered" category instead of the "DVD" category.

Was this correct? Thanks again for your help.
Reply With Quote
  #15  
Old 10-14-2002, 04:17 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ahh no i see what you've made wrong, you've missmatched some general vb terms.

step 1 and 2 are ok, usergroupid=13
step 3 and 4 are completly wrong for the instructions i meant:
section User Profile Fields > Add
add a new field lenght what you want, editable by user yes, hidden for other users in profile
after creating this field get the id and then chage the ifclause to:
if($fieldX=="test") $newusergroupid=13;
Replace the x with profilefield id
Reply With Quote
  #16  
Old 10-15-2002, 12:11 PM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfectly! Thank you

Do you know if there is a way to send the DVD subscribers a different User Confirmation Email once they subscribe? Something that is different than the normal "Registered" users?

If that's not possible, then maybe this:

I signed up on a board once, replied to the user confirmation email, and once I signed into the board, I got a pop up box saying I had a private message. The message was just greeting me to the board. I noticed that the PM Popup button is always set to NO when my subscribers sign up. Is there any way to get it to default to YES?
Reply With Quote
  #17  
Old 10-15-2002, 04:16 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to edit the registeroption templates to set defaults from YES to NO or the other way

yes, as i say most of the time: Nearly everything is possible, but a secound email isnt as easy as this hack here, because you have to edit more than just one file
Reply With Quote
  #18  
Old 10-15-2002, 04:29 PM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. Well, i really appreciate your help.
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 02:57 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.06421 seconds
  • Memory Usage 2,221KB
  • 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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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