View Full Version : welcome message?
dreck
05-10-2005, 05:12 PM
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?
<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>
Reeve of shinra
05-10-2005, 05:18 PM
Here is a great article that shows you to do this and more.
http://theadminzone.com/forums/showthread.php?t=3560
dreck
05-10-2005, 06:24 PM
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.
ericgtr
05-10-2005, 06:33 PM
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):
<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>
dreck
05-10-2005, 09:56 PM
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 ?
Reeve of shinra
05-10-2005, 11:44 PM
Check out logicians template conditionals hack too
dreck
05-11-2005, 02:07 PM
wow.. thats a cool hack!
I will definally install it... But I may wait till i upgrade.
Thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.