Total members 11895 |It is currently Fri Dec 27, 2024 12:49 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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.




Author:
Newbie
User avatar Posts: 8
Have thanks: 0 time

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:

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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...


Author:
Newbie
User avatar Posts: 8
Have thanks: 0 time

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 .

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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


Author:
Newbie
User avatar Posts: 8
Have thanks: 0 time

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

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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..


Author:
Newbie
User avatar Posts: 8
Have thanks: 0 time

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:

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

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


Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time
Post new topic Reply to topic  [ 9 posts ] 

  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     -  
 seminar topic     -  
 Topic Modeling using LDA in R     -  
 seminar topic     -  
 adding a button with link in skymiles_red     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com