advert box

Post any general problems, information or issues on ModphpBB3 in here.
Post Reply
johnd
Forum Member
Forum Member
Posts: 10
Joined: Tue Sep 16, 2008 7:01 pm

advert box

Post by johnd » Sun Oct 19, 2008 2:40 pm

how can i use the advert box at the bottom as an additional announcement box
or how to put my own adverts in it.Anyone any ideas please.

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: advert box

Post by LDM » Sun Oct 19, 2008 4:04 pm

Hello John,

Open styles/prosilver/ad_banner_footer.html, and change the text below 'ADD YOUR BANNER HERE'

Code: Select all

<!-- IF not S_HIDE_ADS -->
    <div id="stg_ads" style="text-align:center; margin: 10px 0;">
    	<div class="<!-- IF SCRIPT_NAME eq "viewtopic" -->navbar<!-- ELSE -->forumbg<!-- ENDIF -->" style="width:750px; margin:0 auto;">
            <div class="inner"><span class="corners-top"><span></span></span>
                ADD YOUR BANNER HERE
            <span class="corners-bottom"><span></span></span></div>
        </div>
    </div>
    <!-- ENDIF -->
or for subsilver2

Code: Select all

<!-- IF not S_HIDE_ADS -->
	<div style="text-align:center; width:100%;">
        <table class="tablebg" cellspacing="1" width="734" style="margin: 0 auto;">
            <tr>
                <td class="row1">
                    ADD YOUR BANNER HERE
                </td>
            </tr>
        </table>
    </div>
    <!-- ENDIF -->
Remember to add with html, not BBcode.

johnd
Forum Member
Forum Member
Posts: 10
Joined: Tue Sep 16, 2008 7:01 pm

Re: advert box

Post by johnd » Mon Oct 20, 2008 12:09 pm

thank you i will try it

johnd
Forum Member
Forum Member
Posts: 10
Joined: Tue Sep 16, 2008 7:01 pm

Re: advert box

Post by johnd » Mon Oct 20, 2008 1:10 pm

went to file manager and..havent got a clue.Am i supposed to delete what is there ie:

<!-- IF not S_HIDE_ADS -->

<div id="google{postrow.POST_ID}" class="post bg1 online">
<div class="inner"><span class="corners-top"><span></span></span>

<div class="postbody">

<p class="author">{postrow.MINI_POST_IMG}</p>

<div class="content"><script type="text/javascript"><!--
google_ad_client = "pub-1284728315041815"; // enter your google adsense publication ID
google_alternate_ad_url = ""; // enter an alternate ad URL (if any)
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = ""; // enter your ad channel ID (if any)
google_color_border = "CADCEB";
google_color_bg = "ECF3F7";
google_color_link = "105289";
google_color_text = "333333";
google_color_url = "DC2A4D";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

</div>

<dl class="postprofile" id="profile{postrow.POST_ID}">
<dt>
<a href="#"><img src="{T_THEME_PATH}/images/google.jpg" alt="google adsense" /></a><br />
<a href="#" style="color:#1845ad;">G<span style="color:#ad1400;">o</span><span style="color:#c69e00;">o</span>g<span style="color:#31b639;">l</span><span style="color:#ad1400;">e</span></a>
</dt>

<dd>&nbsp;</dd>

</dl>

<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>

<span class="corners-bottom"><span></span></span></div>
</div>

<hr class="divider" />

<!-- ENDIF -->

and replace it with what u gave me and what is the add your banner here mean.Do i have to make one to put my extra announcements in?If you plz clarify.Also when i use html editor in cpanel instead of code editor it isnt giving me the option of saving what i change.

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: advert box

Post by LDM » Mon Oct 20, 2008 1:30 pm

The most simplest way of doing it would be open notepad, and copy and paste the code in the second post depending on your template used. Add the html of your banner or text, then save in notepad as ad_banner_footer.html then overwrite the file on the server in it's location.

Go into admin and refresh template and you will see the new ad footer.

johnd
Forum Member
Forum Member
Posts: 10
Joined: Tue Sep 16, 2008 7:01 pm

Re: advert box

Post by johnd » Mon Oct 20, 2008 3:01 pm

that all seems beyond me unfortunately.is there no way i can just put announcements as adverts say on photobucket and have them shown instead of the ones that being shown.When u talk html it is quite
beyond me to understand a word you are saying.The advert box is there i just wanna put something of my own in.

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: advert box

Post by LDM » Mon Oct 20, 2008 3:04 pm

Alright enter your photobucket html code into where it says ADD YOUR BANNER HERE, leave the rest of the file how it is.

johnd
Forum Member
Forum Member
Posts: 10
Joined: Tue Sep 16, 2008 7:01 pm

Re: advert box

Post by johnd » Tue Oct 21, 2008 9:18 am

thank you :D

User avatar
LDM
Site Admin
Site Admin
Posts: 1794
Joined: Thu May 29, 2008 6:51 pm

Re: advert box

Post by LDM » Tue Oct 21, 2008 11:06 pm

Glad you got it sorted there john.

Post Reply