Welcome Guest. Please Login or Register  


You are here: Index > Advanced Electron Forums > Mods > Topic : [Mod] ads in topics

A2 Hosting

News:

Group Message
Hello Guest,

Welcome to the AEF Board. AEF is getting better and better and is also becoming more popular.
Take a few seconds to Register, its free, and it inspires us to work harder and improve on whatever we can improve on.
Give us some feedback, and tell your buddies about AEF!

Thanks,
The AEF Team



Threaded Mode | Print  

 [Mod] ads in topics, [Mod] ads in topics by dreaken (6 Replies, Read 16517 times)
dreaken
Group: Member
Post Group: Newbie
Posts: 28
Status:
Here is a mod of my work which adds ad to the theme.
This mod adds advertising in end posts.

open: themes/{THEME}/post_theme.php
and find :
PHP Code

 <tr>
    <
td><img src="'.$theme['images'].'cbot.png" width="100%" height="10" alt="" /></td>
    
    </
tr>
    </
table>';
       
    
    } 



Add After:
PHP Code

 //Ads off=0/on=1
    
$status 1;
    if(
$status ==1){

         echo 
'<table border="0" width="100%" cellspacing="1"  cellpadding="4" class="cbor">
         <tr><td al ign="center" colspan="2" class="pcbg"><b><font style= "color: white">ADS</font></b>

</td></tr><tr><td> 
<td style="width:"100%" class="mifor">YOUR ADS</td> </table>  '
;



    } 




Mod in Polish here.
PHP Code

 //Ads off=0/on=1
    
$status 1;
    if(
$status ==1){

         echo 
'<table border="0" width="100%" cellspacing="1"  cellpadding="4" class="cbor">
         <tr><td al ign="center" colspan="2" class="pcbg"><b><font style= "color: white">Reklama</font></b>

</td></tr><tr><td> 
<td style="width:"100%" class="mifor">Twoja Reklama</t d></table>  '
;



    } 




Demo: anelectron.pl


Any suggestions, please write in the topick.

Thanks and regards Dreaken.

@edit
Screenshot:
Board Image

Edited by dreaken : July 30, 2009, 1:31 pm

-----------------------
:xd:
IP: --   

[Mod] ads in topics
Aymenbnr
Group: Member
Post Group: Working Newbie
Posts: 60
Status:
this is really nice thanks


-----------------------
Free advertising forum
Free articles directory
IP: --   

[Mod] ads in topics
ghazi119
Group: Member
Post Group: Working Newbie
Posts: 63
Status:
where i have to post my adsense code?

-----------------------
IP: --   

[Mod] ads in topics
cristrixy
Group: Universal Moderator
Post Group: Working Member
Posts: 211
Status:
Re ghazy119 i do not understand your question?

-----------------------
:D
IP: --   

[Mod] ads in topics
SAFAD
Group: Administrator
Post Group: Elite Member
Posts: 279
Status:
Code
<td style="width:"100%" class="mifor">YOUR ADS</td>

replace 'YOUR ADS' with your adsense code

-----------------------
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer
My Blog
IP: --   

[Mod] ads in topics
ghazi119
Group: Member
Post Group: Working Newbie
Posts: 63
Status:
Thanks SAFAD i got it and done it :) can you help me on this topic ?

http://anelectron.com/board/index.php?&tid=6819&title=Ne ed_Help_Notifications_Problume#p31623

-----------------------
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Members who read this topic
, jlhaslip, karlim, alkutob, nfsalon, raciloni, Haibara, hayyan, Ghadamyari, zenn, dreaken, VasiliyRS, REDSEW, dragonair, Pioneer, somerton101, Aymenbnr, ssdcommander, andiack, valandor, skinin, lupa, bozonessinc, moro, ghazi119, nisha93, Design, tinstone, InfernaL, Torrentspy, aLbdigital, azadbash, poiuyt, Alicomputers, tautvys92, SAFAD, mmsdown, zing, Styl, bazgroup, velias, topptcorg, applesfaceman, sedrata, darkenix, frytec, Prinel01, cristrixy, simonbalol, Ares, Dr.Manhattan, asdcxz, stephencurran, xfiles666, AlbEagle, subzero, vijayp4you, jewelanh, panaut, Randika, sachin, Lorataco, nexgenforum, yogeshvashist98, ezinna, samly, Ipay1, bosco, Pakos, arakov, EJMcGinley, antros


Users viewing this topic
1 guests, 0 users.

A2 Hosting

All times are GMT. The time now is December 8, 2019, 7:31 am.

  Powered By AEF 1.1.0 Preview © 2007-2011 AEF Group. All rights reservedQueries: 13  |  Page Created In:0.065