SMF Support > SMF 2.0.x Support
Help me to add ads in wap2
pkrack:
It isnt necessary that the footer of your site comes at the end of your site. At least read the code. Each line has a comment describing the its function, so search the footer and place the code. I again recommend that dont put your ad code directly in wireless.template.php , save it some where else and call it in wireless.template.php . It will be very beneficial because if in future you wana change the code , then you can simply edit the ad file while your wireless.template.php will also remain clean.
Moreover wireless.template.php contains three versions , so for sure , the end of one will be the begining of other.
Kevin1:
--- Quote ---I again recommend that dont put your ad code directly in wireless.template.php , save it some where else and call it in wireless.template.php .
--- End quote ---
Please tell in details how can i do that.
pkrack:
Create a file name it as myads.php the put your code in that file and save it.
In your wireless.template.php file add the kind
--- Code: ---include('myads.php');
--- End code ---
where you want to display your ads, although yoshi is wants to give you some other solution but i think he is busy
Yoshi:
--- Quote from: pkrack on March 05, 2012, 02:38:27 AM --- Create a file name it as myads.php the put your code in that file and save it.
In your wireless.template.php file add the kind
--- Code: ---include('myads.php');
--- End code ---
where you want to display your ads, although yoshi is wants to give you some other solution but i think he is busy
--- End quote ---
Yeah I'm having health issues and I'm having some other project going.
Don't expect any code for me in a while, sorry.
Kevin1:
@yoshi
get well soon.
@pkrack
ya i did that bt nt work no ads is displaying.. I hav created the ads php file n uploaded in the public_html directory.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version