![]() |
Right I did. In newthread template I have $der2 for example.
Then this is part of the code from earlier. Code:
$usergroupdata = array(); oh and the template jon I have: Code:
<label for="usergroups"> Hmm, changed it around cuz I found some issues with my code (idiot) doh. newthread form complete hook Code:
$usergroupdata = array(); Code:
<label for="usergroups"> Code:
$vbulletin->input->clean_array_gpc('p', array('groupID' => TYPE_ARRAY)); http://www.thecentralword.com/misc/f...usergroups.jpg --------------- Added [DATE]1239285415[/DATE] at [TIME]1239285415[/TIME] --------------- I think I got it to display all ID's that I check! My newthread post complete hook was wrong. This works. Maybe you can double check to make sure its written correctly though. Also, what if I needed to get all email address from users associated with each checkbox. Wouldnt' I just do a left join on that original query? Code:
$vbulletin->input->clean_array_gpc('p', array('groupID' => TYPE_ARRAY)); |
You're making it so complicated...
PHP Code:
HTML Code:
<label for="usergroups"> |
lol, ya I always do it seems :rolleyes:
So if I'm trying to pull all email address who are IN those $usergroupids Code:
$usergroups = $vbulletin->db->query_read(" UPDATE: ( 9:33pm) Ok I've been working on this. Instead of the query going in the form complete, I'm putting it in there newthread post complete: Here is my updated code. It wont work though. Code:
$vbulletin->input->clean_array_gpc('p', array('groupID' => TYPE_ARRAY)); |
Funny, I am kinda trying to do the same thing.. I want a page that shows the second membergroupids 'id' and tells me the title.
Johns Membergroup Ids is: 12, 31 I want it to pick up '31' and tell me the title for '31'. Any Ideas |
All times are GMT. The time now is 12:40 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|