Hi i installed my ad manager pulgin and i added ads code in it and its displaying correctly but it also dispalying in mobile version gomobile.
So i want to know the code which is used for ads in different places or how to remove ads from mobile version gomobile
Plz help me
#which plugin are you using, provide the link to that plugin
#post the template of the page where ads are displayed in your mobile theme (most possibly header, footer or index)
#can we have your forum url
I am using My Ad Manager plugin http://www.mybbcentral.com/thread-7733.html
I am posting Header, Footer, Index, as well as headerinclude template.
Please check where is that codes
HEADER
<link rel="icon" type="image/x-icon" href="favicon.ico">
<a name="top" id="top"></a>
<div id="header">
<div id="panel">
{$welcomeblock}
</div>
<div id="logo">
<a href="{$mybb->settings['bburl']}"><img src="images/gomobile.png" alt="MOBILE VERSION"/></a>
</div>
<div id="menu">
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">New Posts</a>
<a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a>
<a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a>
<a href="{$mybb->settings['bburl']}/pspshoutbox.php">SBox</a>
</div>
</div>
{$yAnnounPro}<navigation><br><!--OUGC_ANNBARS-->
<div id="container">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}<!-- NotifyReplies -->
{$newreplies}<!-- /NotifyReplies -->
{$pending_joinrequests}
FOOTER
<div class="bottommenu">
<a href="#top" class="float_right">{$lang->bottomlinks_returntop} <img src="{$theme['imgdir']}/top.gif" class="middle" height="10" width="10" /></a>
<a href="{$mybb->settings['gomobile_homelink']}"><img src="{$theme['imgdir']}/home.gif" class="middle" height="10" width="10" /> {$mybb->settings['gomobile_homename']}</a>
</div>
</div>
<div id="copyright">
<!-- Do not remove. -->
{$lang->gomobile_copyrights}
<br /><a href="misc.php?action=switch_version&do=full&my_post_key={$GLOBALS['gmb_post_key']}">{$lang->gomobile_switch_full}</a>
{$task_image}
{$auto_dst_detection}
<!-- End Do not removes. -->
</div>
</div>
<debugstuff>
INDEX
<html>
<head>
<title></title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
{$boardstats}
{$footer}
</body>
</html>
Headerinclude
{$stylesheets}
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1603"></script>
<script type="text/javascript">
<!--
var cookieDomain = "{$mybb->settings['cookiedomain']}";
var cookiePath = "{$mybb->settings['cookiepath']}";
var cookiePrefix = "{$mybb->settings['cookieprefix']}";
var deleteevent_confirm = "{$lang->deleteevent_confirm}";
var removeattach_confirm = "{$lang->removeattach_confirm}";
var loading_text = '{$lang->ajax_loading}';
var saving_changes = '{$lang->saving_changes}';
var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
var my_post_key = "{$mybb->post_code}";
var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}
Dump Dump Dumps somebody reply man