![]() |
[How To] Admin Donate from Postbit
ok i want to add Admin Donate to the Postbit so what i was thinking is wrap an <if> statement around this code for the donate, but im unsure of what to put in the if statement to call the usergroups that i want to be able to do this action...plz help ty
Code:
<a href="vbplaza.php?do=donate&userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br /> Code:
<if condition="USERGROUP=6"> |
nobody knows? c'mon this should be easy..lol
|
Use "is_member_of"
Something like: Code:
<if condition="is_member_of($vbulletin->userinfo, 6)"> |
and multiple groups would i add , then usergroup like below? or have to use a whole nother if statement?
Code:
<if condition="is_member_of($vbulletin->userinfo, 6,9)"> thanks CF |
Where are u using it at?
If u r using it from the postbit, it should enter the Userid properly. Code:
<a href="vbplaza.php?do=action&itemid=12&userid=$post[userid]">Admin Donate</a> -CMX |
that is what im using, what you have in the code box and not pulling the userid...hmmm
|
U r editing it for the postbit template right?
-CMX |
Anyone ever figure this out? I cant get it to fill in the username for admin donate.
|
no i cant get it too either and i have played with it a lil bit
it must be the admin donate page not recognizing the $post[userid] part or something |
never mind.
|
All times are GMT. The time now is 08:27 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:
|