The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I would like to create another welcome message for members that have say 0 to 25 posts. Is their something I can replace the "<if condition="$show['guest']">" in this code to make it work?
Code:
<if condition="$show['guest']"> <!-- welcome message2 --> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> </tr> <tr> <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"> <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message2]</phrase> </td> </tr> <!-- / welcome message2 --> </if> |
#2
|
||||
|
||||
![]()
Here is a great article that shows you to do this and more.
http://theadminzone.com/forums/showthread.php?t=3560 |
#3
|
||||
|
||||
![]()
Thanks for the quick reply!
Yes, that is very good info.. I have seen this same info on another site. But.. I would like to target users that have posts between 0 and 25.. I am not sure how to edit this code to work? This info targets users with no posts.. unconfirmed, and no posts for 14 days.. I wanted to add a message with alittle info to let users know how to use the forum. I have alot of problems with users not knowing how to post. Thanks. |
#4
|
||||
|
||||
![]()
How about setting up a group and then a promotion based on posts, then you can add a condition for that group, so it would look something like this (change x to the group id):
Code:
<if condition="is_member_of($post, x)"> <!-- welcome message2 --> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> </tr> <tr> <td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"> <phrase 1="faq.php?$session[sessionurl]" 2="register.php?$session[sessionurl]">$vbphrase[first_visit_message2]</phrase> </td> </tr> <!-- / welcome message2 --> </if> |
#5
|
||||
|
||||
![]()
Thats great idea...
Thank you! I have never used the promotion before? Reputation Comparison Type Greater or Equal to Less Than? Reputation Level ? Days Registered ? Posts ? Promotion Strategy ? |
#6
|
||||
|
||||
![]()
Check out logicians template conditionals hack too
|
#7
|
||||
|
||||
![]()
wow.. thats a cool hack!
I will definally install it... But I may wait till i upgrade. Thanks. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|