![]() |
My coding skills are crap, but you could create a usergroup for only the girls and then use either the search for user function based on the gender field (if it is a profile field I think) and then manually move all the girls over to the new usergroup. There is also a query you can run to return all users that have filled out a certain field. I can look that up and post it if it will help you. Good luck getting it automated though.
|
Quote:
I could of course move all women to a usergroup - then again this is exactly what I am trying to avoid - would take insanely long and require constant work on it. I think the postbit query is supposed to already query that profile field - just like the usergroup for the user. So I think there must be a variable for that. that post might still help me - if you could look it up that'd be great! |
It seems like you might be able to edit the code from the other mod to just call and post the CSS class from this mod... some deep searching around the net might yield you enough info to hack it yourself. If all else fells, you could hire someone to do it for you via the Rent A Coder site. I've personally had good luck there and the site really protects the buyer from getting ripped off from a coder.
Anyway, here is the link to the query I was talking about... not a lot there, but maybe some help. |
I managed it!!!
check out this post: https://vborg.vbsupport.ru/showpost....8&postcount=52 Don't forget the additional /if to close each group! This one: Code:
<if condition="is_member_of($post, 1)"> Code:
<if condition="$post[field5] == 'Girl'"> If you use boolean stuff like true false you should do it different. you can also use != for is not. btw this mod is marked as not working for 3.8.4 - it totally works on 3.8.4!!! |
Glad you got it worked out, thinking about this more, it might actually help me automate my setup. Thanks for posting your findings.
|
In order to get this to work with my setup, I need two profile fields filled in. Is it possible to string two if conditions together with some thing like "AND"
|
Found it! If you need it to check the condition of two fields, here is what you need...
Code:
<if condition="$post[field#] == 'Option'"> |
Plz how make it in VB 4.01 ?
|
thn
|
Quote:
|
All times are GMT. The time now is 09:28 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:
|