The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
How can I add the table code to this please? Nice mod thankyou.
|
#12
|
|||
|
|||
How can I get the ads placed in a nice table as seen here? - http://forums.digitalpoint.com/showthread.php?t=28193
TIA |
#13
|
||||
|
||||
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(1))"> <if condition="!$GLOBALS['FIRSTPOSTID']"> $spacer_open <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center"> <tr> <td class="alt2" width="175" valign="top"> <span class="bigusername">Hey Guest!</span> <br /> <div class="smallfont"> Not Registered? <a href="http://www.mustangevolution.com/forum/register.php">Join today!</a> <br /> <br /> Registration allows you too: <br /> <br /> Post on our Forums. <br /> <br /> Host files in our <a href="http://www.mustangevolution.com/gallery/">Gallery</a>. <br /> <br /> Create a Member <a href="http://www.mustangevolution.com/garage.php">Page</a>. <br /> <br /> Get rid of this ad.... </div> </td> <td class="alt1"> <div align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-6510039177967027"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel ="6228185316"; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "910000"; google_color_url = "910000"; google_color_text = "00235D"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </td> </tr> </table> $spacer_close <div style="padding:$stylevar[cellpadding]px 0px 0px 0px; background-color: #FFFFFF;"> </div> </if> </if> The above if conditionals show it after the first post of every thread page and show it only to guests. What it looks like: http://www.mustangevolution.com/foru...ad.php?t=16230 |
#14
|
||||
|
||||
Ok we already scanned if its the first post and which usergroup the user has to display the ads.
I also want to have an IF clause which is checking the language the user is using. If its a guest or if the user has english selected a text should be shown in english. If he/she has german selected a text should be shown in german. Does anyone know the correct if clause for this? |
#15
|
|||
|
|||
Just use phrases. If you have a german translation, it would automatic show for people who selected german.
|
#16
|
|||
|
|||
Thank you very much Brent
|
#17
|
||||
|
||||
Quote:
quick question where do i paste this? Quote:
how can i fix that up? |
#18
|
||||
|
||||
Question, I want to show this to all members who are NOT part of "x" usergroup (Either listed as primary or secondary) So this way if a user is in a premium usergroup (Which is normally a secondary checkmark for them) that it doesnt show up. I know if they were in primary usergroup.. this is a easy thing..
But I have all users in the "Registered User" group, however those who have a paid subscription will convert to a "Secondary addition" premium usergroup. So any way to set something up like this so it doesnt show if a user is a part of "x" usergroup? |
#19
|
|||
|
|||
Quote:
Code:
<if condition="is_member_of($bbuserinfo, X)"> <else /> Ad Code Here </if> |
#20
|
||||
|
||||
Quote:
On 3.0.7 I wanted to disable the Triple triad from "x" usergroup by having the kind of code above to ensure they were a part of that premium usergroup.. sadly I never got the code right.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|