Big Ad Problem

Status
Not open for further replies.

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Big Ad Problem *Update1*

Hi

I am trying to install a Download Manager Called Olate Download (Some thing like that ) and I have BIG BIG Problems with putting the Ads on the PHP files :crying:. Is it ok if I e.g make a frame and put the ad? Because it will be easy for me :crying: Please Anwer this qushen. THe Problem that I am wroried about is that plople might start to buypass the frame :crying: e.g. Going directly to the PHP. THe Sad side is that the Download Manager does not have global elements :crying: Like in IPB :crying:.

Thank you:crying::crying::crying:,
Chirantha
 
Last edited:

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Frames are 100 percent ok but the ads code must be in the top frame only... Welcome to x10... i hope you have a great time here...

EDIT: I have seen the homepage of the script and seen the demo.. I think you do not need a frame.. I also think the ads can be placed near the logo... I will see if it will work tomorrow.. I am going to download it and upload it tomorrow and play around with the script... Like what i did to my directory...

Chirantha said:
Hi

I am trying to install a Download Manager Called Olate Download (Some thing like that ) and I have BIG BIG Problems with putting the Ads on the PHP files :crying:. Is it ok if I e.g make a frame and put the ad? Because it will be easy for me :crying: Please Anwer this qushen. THe Problem that I am wroried about is that plople might start to buypass the frame :crying: e.g. Going directly to the PHP. THe Sad side is that the Download Manager does not have global elements :crying: Like in IPB :crying:.

Thank you:crying::crying::crying:,
Chirantha
 
Last edited:

chaganlal1

New Member
Messages
2,014
Reaction score
0
Points
0
I know how to help you, Drop me an pm and i can help you fix it after lunch.
 

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Thanks I have another qushen as well, My home pages have 4 Frames. The Top one is for the site logo. THe secound is for the AD and a the side the Navegation and Beside that the Page. SO is it ok if the Ad come Secound place (It's visible when the site loads)
 

Matts

New Member
Messages
58
Reaction score
0
Points
0
I have been thinking about adding a PHP download system to my site, and I had decided on olate too. I haven't added it yet, because I wasn't sure if you would allow me to put the ads in a frame.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Auvee said:
chaganlal1 said:
I know how to help you, Drop me an pm and i can help you fix it after lunch.
Ok, now, why would he PM you, a non-staff member, to get assistance...?

-Auvee B.

Auvee, you have a point there!!! All he post seems to PM me there, where and here!!!

**************************************************************

Here is my tutorial on how to put ads in Olate!!!


You should be using file manager...

Go to the folder where you have installed Olate Download 3.2.1... I installed mine in download folder..

Now go to the templates folder...

Now go to Olate folder in the templates folder

Now go to the global folder in the Olate folder

Now go to the core.tpl.php...

Now edit the file.. we are supposed to put the ads code next to the Olate logo.. Now we need to find the logo... If you find the logo now put the ads code before the div

here is before i added the ads code...
Code:
	<div id="logo"><img src="templates/olate/images/logo.gif" width="190" height="68" alt="{lang:frontend:logo}"/></div>	
	
	{$page_content}

Here is after.. the ads code is for x10hosting Corporate Package..
Code:
	<div id="logo"><img src="templates/olate/images/logo.gif" width="190" height="68" alt="{lang:frontend:logo}"/><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>	
	
	{$page_content}

You can see my download site in action with the x10 Corp banner...
http://download.n4tec.com

No Frames at all!!!

I hope you have a happy downloading and whatever you want to do...
 

Chirantha

New Member
Messages
738
Reaction score
0
Points
0
Thanks I will try it now. And I was not stupied enough of sending hem a PM
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Chirantha said:
Thanks I will try it now. And I was not stupied enough of sending hem a PM

It will work but the code placement depends on the template.. Now for another template i added i put the ads code above {$page_content} command which would live us with the ads code btn the <body> and {$page_content} commands..

One more thing the banner will appear on all pages even the admin Control Panel..

@ Matts: It depends on how you bring out your frame site.. if there is a left and top frame put the ads code in the top frame and vice versa with the right and also with only a top frame...
 
Status
Not open for further replies.
Top