![]() |
Some one help fix??
Can some one fix this for vBulletin please. It seems to work on a normal website, but not in vBulletin Style Manager.... It's a code that shows adsense only to people that come to my site through search engines.
Code:
<? |
Templates cannot contain raw PHP code, use this instead:
Code:
<if condition="preg_match('/^http:\/\/(\w+\.)?(google|msn|yahoo|aol)\./',$_SERVER['HTTP_REFERER']) == 1"><!-- Google AdSense HTML --></if> |
Quote:
preg_match is not allowed..... The following functions are allowed in template conditional expressions: in_array() is_array() is_numeric() isset() empty() defined() array() can_moderate() can_moderate_calendar() exec_switch_bg() is_browser() is_member_of() |
All times are GMT. The time now is 08:23 PM. |
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:
|