Important

IamShipon1988

New Member
Messages
942
Reaction score
0
Points
0
my friend encountered a problem when adding the x10hosting ads,

when you add the x10hosting ads, please use the following code (if you got the x10corporate plan)

if you want to center your text use the <div> tags, do not use <p> tags. it oddly does not center your text, here is a sample of the code,

add the following to forum/templates/template_name/overall_header.tpl
:)excl:forum name and template name may differ:excl:)


Code:
 <div align="center">
<script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
	if (!document.phpAds_used) document.phpAds_used = ',';
	phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
	
	document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
	document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
	document.write ("&amp;what=zone:1&amp;target=_blank");
	document.write ("&amp;exclude=" + document.phpAds_used);
	if (document.referrer)
		document.write ("&amp;referer=" + escape(document.referrer));
	document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>
</div>

to see a sample visit http://iamshipo.x10hosting.com/forum/index.php :homestar:

:excl:importantly, leave the codes as the way it is, do not try to minimize the spaces, or increase the line break, if you do change it, the code might not work:excl:
 

haqzombie

New Member
Messages
104
Reaction score
0
Points
0
Hey thanks...I'm workin on configuring my own phpbb forum right now, and although I don't use the xcorporate(depends....maybe sometime down the line I'll upgrade, but now I don't need that much space)it's good info to have later.
 

IamShipon1988

New Member
Messages
942
Reaction score
0
Points
0
well if you want someone to advertise on your site, you can use the procedures above... (the codes will differ). i set up an ads server, so that we get paid for people advertising on our site. you can ad stuff like google ads, or something like that, and if you use advanced plan, then you must the text link ads, just change the codes around and wallah you got it



ADMINS CAN U MOVE THIS TO THE TUTORIAL SECTION...TNX
 
Last edited:
Top