Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-15-2005, 04:49 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Life sux... I'm a n00b :(

I just installed the Add User to Primary Usergroup Based on the Value of a Custom Profile Field at Reg. mod and it didn't work!

I registered a test account and chose the option "male" as directed in the in instructions, but it stayed in the same group

I uploaded this XML:
Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
<plugin active="1" product="vbulletin">
<title>Put User In User Group Based on Field Value</title>


<hookname>register_activate_process</hookname>
<phpcode><![CDATA[// Get the value for field 5
$user = $db->query_first("
SELECT field5
FROM " . TABLE_PREFIX . "userfield
WHERE userid = " . $vbulletin->userinfo['userid'] . "
");


if ($user['field5'] == 'male')
{
$userdata->set('usergroupid', 12);
}]]></phpcode>
</plugin>
</plugins>
Please help
Reply With Quote
  #2  
Old 07-15-2005, 04:51 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should post this in the actual hack thread, that is where support for hacks is given.
Reply With Quote
  #3  
Old 07-15-2005, 04:52 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
You should post this in the actual hack thread, that is where support for hacks is given.
The Devil guy told me to post for support here! so confused!!
Reply With Quote
  #4  
Old 07-15-2005, 04:59 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brinnie
The Devil guy told me to post for support here! so confused!!
No, he didn't.

He told you you ask your more generic question here. This is not the same question. This is a problem with a specific hack you have installed, and you therefore need support on. Nothing confusing, just common sense.
Reply With Quote
  #5  
Old 07-15-2005, 05:03 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
No, he didn't.

He told you you ask your more generic question here. This is not the same question. This is a problem with a specific hack you have installed, and you therefore need support on. Nothing confusing, just common sense.
no, it IS very confusing!!

I asked Amy if her mod did what I was trying to do and Devil told me I was posting in the wrong forum.

since i was asking about her mod and he sent me here, I ussumed all mod inquires went here.

Now you tell me that's not confusing!
Reply With Quote
  #6  
Old 07-15-2005, 05:04 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brinnie
The Devil guy told me to post for support here! so confused!!
There is no reply to your question there yet? How did you speak to this 'devil guy'?
Reply With Quote
  #7  
Old 07-15-2005, 05:07 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
There is no reply to your question there yet? How did you speak to this 'devil guy'?

take a wild guess!

thanks for nothin.
Reply With Quote
  #8  
Old 07-15-2005, 05:10 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brinnie
take a wild guess!

thanks for nothin.
Oh well, I can't be bothered if that's your attitude. Good luck, Bye.
Reply With Quote
  #9  
Old 07-15-2005, 05:20 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Oh well, I can't be bothered if that's your attitude. Good luck, Bye.
F.O.B.!!

You guys were giving me the run around anyway... Talk about "post in the right thread" and "hoo hoo, how did you speeak to teh devil guy?"... Like you we're gonna help me. You don't know or you would have posted it.

But unlike at invision, you guys are ++++ing pricks.

And you want to talk about my attitude? Look at yourself.

I never get this kind of runnaround on Invisionize. Now can you direct me to the n00b friendly vB support board where elitists don't MOCK people who need help for no reason?

I just find it increadibly amazing how yall can politely direct people to the correct forum, to the search feature, to vBulletin.com and to the FAQ, but that it...
Reply With Quote
  #10  
Old 07-15-2005, 05:36 AM
Guest190829
Guest
 
Posts: n/a
Default

Brinnie it's important to understand that we are giving our free time, trying to help you. Paul directed you to the right forum, because that's where you will get the answers to your question the fastest. How can some members help you on hack that they haven't installed, or even looked at? Don't you think it'd be reasonable to ask in the thread of the hack? I see that you already posted in the specific thread, now it's best to wait patiently untill Amykhar sees it, and helps you with your question.
Reply With Quote
Reply


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:39 AM.


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.04559 seconds
  • Memory Usage 2,263KB
  • 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
  • (8)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
  • (1)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
  • (9)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