Switch to full style
Support for phpbb3 & codemiles styles
Post a reply

Ad after first topic in a post in Skymiles_red

Wed Mar 26, 2008 5:15 pm

How do i do this.. it tried google and phpbb official website but they say it on prosilver.. but how do i do this in skymiles_red template.Please help.



Re: Ad after first topic in a post in Skymiles_red

Wed Mar 26, 2008 7:11 pm

Do you mean google ads ? i put the google scripts on over_all_header.html and on over_all_footer ?
this is what i did here ? :grin:

Re: Ad after first topic in a post in Skymiles_red

Thu Mar 27, 2008 11:21 am

yeah for google ads.. i have done in footer and header and its working but what about ad after first topic in a post... thats what i need...

Re: Ad after first topic in a post in Skymiles_red

Thu Mar 27, 2008 5:05 pm

Hi,
i didn't try this before , but what i know that you have to change in templates file that responsible for showing the topic s .When you made your change refresh the cash of the style from the administration control panel . you will know the file you want to change in from its name . there is an if conditions in these files like <!-- if something --> you have to follow it ,and put it there .

Re: Ad after first topic in a post in Skymiles_red

Fri Mar 28, 2008 5:16 pm

problem solved myself... if anyone want to how to do it... reply me or pm me....

Re: Ad after first topic in a post in Skymiles_red

Fri Mar 28, 2008 5:54 pm

Hi ,
Great..
Please; can you tell us how you did it ? :gOOd:

Re: Ad after first topic in a post in Skymiles_red

Sat Mar 29, 2008 4:34 am

Go to styles/skymiles_red/template/viewtopic_body.html/

Find this line:
Code:
<!-- END postrow -->


Add this code before that:
Code:
!-- IF postrow.S_FIRST_ROW -->
<class="post bg2">
<class="inner"><class="corners-top">

<class="postbody">
<div class="content" style="text-align: center;">
Insert your Ad Code here

<dl class="postprofile" id="profile0000">
<dt>
<strong>Sponsor</strong>
</dt>
</dl>

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

<hr class="divider" />
<!-- ENDIF -->


Change Insert your Ad code to Google Ad Code

That's it...

I would like to know how can i change Forum rules tab into Round Edges instead of square edges.... please help..

Re: Ad after first topic in a post in Skymiles_red

Sat Mar 29, 2008 2:42 pm

Hi ,
First , Thanks for the code...

If you want to change the border of the Forum rules
1- Open the file : theme/stylesheet.css
Inside the style folder
2- Go to

.forumrules {
background-color: #F9CC79;
border-width: 1px;
border-style: solid;
.....
Change in border style to the style you want :
border-style:dotted;
border-style:double;
border-style:groove;
border-style: hidden;
border-style: inherit;
border-style: solid;

I hope i helped
:wink:

Re: Ad after first topic in a post in Skymiles_red

Thu Feb 19, 2009 6:28 am

you can put your google ads from the coding files. just put the ad code wherever you want to run that ad on the page

Post a reply
  Related Posts  to : Ad after first topic in a post in Skymiles_red
 Problem with skymiles_red     -  
 Skymiles_red theme changes help?     -  
 I'd like to copy this Skymiles_red site     -  
 Topic Modeling using LDA in R     -  
 seminar topic     -  
 seminar topic     -  
 adding a button with link in skymiles_red     -