Webmastersite.net
Register Log In

Advertising banner not working

Comments on Advertising banner not working

Tariq2009
Member

Usergroup: Customer
Joined: Aug 08, 2005

Total Topics: 21
Total Comments: 46
Posted May 12, 2006 - 12:29 PM:

Advertising Banner HTML Code not showing in front page
the code i am using is below and it was working fine before and it is still working perfect on forum thanks
<SCRIPT TYPE="text/javascript" LANGUAGE="Javascript" SRC="http://xxxxxxx"></SCRIPT>

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 12, 2006 - 6:40 PM:

"on forum"?
Tariq2009
Member

Usergroup: Customer
Joined: Aug 08, 2005

Total Topics: 21
Total Comments: 46
Posted May 13, 2006 - 11:18 AM:

Paul wrote:
"on forum"?


on wsnforum the banner ad link is working on wslink it is not working
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 15, 2006 - 3:19 AM:

Define "not working." What's showing up in the HTML source of the page?
Tariq2009
Member

Usergroup: Customer
Joined: Aug 08, 2005

Total Topics: 21
Total Comments: 46
Posted May 15, 2006 - 8:20 AM:

Paul wrote:
Define "not working." What's showing up in the HTML source of the page?

On main page it is not showing anything but in admin panel in setting you can see the advert code bening saved but acticating it to show in main page http://tshoppingdirectory.co.uk
Wraper Code is below

<html>
<head>
<title>{PAGETITLE}</title>
<script language="JavaScript" type="text/javascript" src="templates/default/javascriptheader.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset={LANG_CHARSET}">
<link rel="stylesheet" href="[IFADMIN../]templates/styles/{STYLESHEET}.css" type="text/css">
<link rel="alternate" type="application/rss+xml" title="{SITETITLE}" href="{DIRURL}/rssfeed.php">
{MAINMETA}
{CATHEADERINFO}
</head>

<body>

<a href="{DIRURL}"><img src="templates/default/images/logo.gif" border="0" alt="{SITETITLE}"></a>

<div class="main">
<table width="100%">
<tr>
<td align="left">
<IF {SWITCH_STYLESELECT}><form action="[IFADMIN../]index.php?action=setstyle" method="post">
<input type="hidden" name="returnto" value="{CURRENTHTMLURL}">
<select name="style">{STYLEOPTIONS}</select>
<input type="submit" value="{LANG_GENERAL_GO}" class="button">
</form></IF>
<IF {SWITCH_TEMPLATESELECT}><form action="index.php?action=settemplatesdir" method="post"> <input type="hidden" name="returnto" value="{CURRENTHTMLURL}"><select name="templatesdir">{TEMPOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}" class="button"></form></IF>
<IF {SWITCH_LANGUAGESELECTOR}>
<form action="[IFADMIN../]index.php?action=setlanguage" method="post">
<input type="hidden" name="returnto" value="{CURRENTHTMLURL}">
<select name="languagegroup">{LANGOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}" class="button"></form>
</IF>
</td>
<td align="right" valign="top">
<IF {SWITCH_MEMBERS}>
<IF {THISMEMBERISGUEST}>
<div class="login">
<form action="index.php?action=userlogin&filled=1" method="post">
<input type="text" name="username" size="10" value="{LANG_REGISTRATION_USERNAME}" onfocus="this.value=''"> <input type="password" name="userpassword" size="10" value="" onfocus="this.value=''"> <input type="submit" value="{LANG_LOGIN_LOGIN}" class="button">
<br><a href="register.php">{LANG_REGISTRATION_REGISTER}</a> | <a href="index.php?action=userlogin">{LANG_LOGIN_FORGOTPASS}</a>
</form>
</div>
<OTHERWISE>
<div class="navbutton" style="background: url('https://www.webmastersite.net/forums/templates/default/images/buttonbg.png') repeat-x;">
<a href="profile.php?action=memberhome&id={MEMBERID}">{LANG_NAV_OPTIONS}</a> | <IF {SWITCH_PM}><a href="privatemessaging.php">{LANG_PROFILE_PM}</a> | </IF> <IF {THISMEMBERGROUPCANUSESEARCH}><a href="search.php">{LANG_MAIN_SEARCH}</a> | </IF> <IF {SWITCH_MEMBERS}><a href="members/">{P_LANG_GENERAL_MEMBERS}</a> | </IF> <a href="newposts.php">{LANG_NAV_NEWLINKS}</a> | <IF {SWITCH_HELP}><a href="help/">{LANG_NAV_HELP}</a> | </IF> <a href="index.php?action=userlogout">{LANG_NAV_LOGOUT}</a>
</div>
<IF {SWITCH_PM}><br><br>{LANG_NAV_PENDINGPMS}</IF>
</IF>
</IF>
</td>
</tr>
</table>

<IF {SWITCH_IMS} and {THISMEMBERNEWIMS}>
<p align="center"><span class="important">{LANG_MAIN_NEWIMS}</span></p>
</IF>

<!-- BODY GOES HERE -->

<div style="clear:both;"></div>

<form action="index.php">
<p align="right">
<input type="hidden" name="action" value="displaycat">
<select name="catid">
<option value="0">{LANG_HEADER_CHOOSECATEGORY}</option>
{CATOPTIONS}
</select>
<input type="submit" value="{LANG_GENERAL_GO}" class="button">
</p>
</form>

</div>

<IF {SWITCH_CONTACT}><p align="center"><a href="contactform.php">{LANG_CONTACT_LINK}</a></p></IF>

<IF {THISMEMBERISREGISTERED} and {SPONSORUSEUG} is yes><p align="center"><a href="membersponsor.php">{LANG_SPONSOR_UGAD}</a></p></IF>

<IF {THISMEMBERISREGISTERED}>
<p align="center"><b><IF {THISMEMBERISADMIN}><a href="[IFADMINadmin/]index.php">{LANG_ADMINPANEL}</a> | <a href="[IFADMIN../]modcp.php">{LANG_TITLE_MODCP}</a></IF><IF {THISMEMBERUSERGROUP} is {MODUSERGROUP}><a href="[IFADMIN../]modcp.php">{LANG_TITLE_MODCP}</a></IF></b></p>
</IF>

<p align="center"><a href="sitemap.php">{LANG_TITLE_SITEMAP}</a></p>

{LOADSTATS}

<IF {SWITCH_IMS} and {THISMEMBERNEWIMS}>
<script language="JavaScript"> alert("{LANG_IM_NEWALERT}") </script>
</IF>
<IF {THISMEMBERPMPOPUP}><script language="JavaScript">alert("{LANG_PM_NEWALERT}");</script></IF>
</body>
</html>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 16, 2006 - 3:45 AM:

That's very simple then -- you don't have the ad banner code in your wrapper. Presumably you're using a wrapper from an old version before the option was added. Things don't show up when they're not in your templates.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.