Total members 10262 | Gratitudes |It is currently Thu May 24, 2012 5:52 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 9 posts ] 
Author Question
 Question subject: Ad after first topic in a post in Skymiles_red
PostPosted: Wed Mar 26, 2008 5:15 pm 
Offline
Newbie
User avatar

Joined: Tue Mar 25, 2008 11:19 am
Posts: 8
Has thanked: 0 time
Have thanks: 0 time

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.


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Wed Mar 26, 2008 7:11 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 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:

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Thu Mar 27, 2008 11:21 am 
Offline
Newbie
User avatar

Joined: Tue Mar 25, 2008 11:19 am
Posts: 8
Has thanked: 0 time
Have thanks: 0 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...


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Thu Mar 27, 2008 5:05 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 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 .

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Fri Mar 28, 2008 5:16 pm 
Offline
Newbie
User avatar

Joined: Tue Mar 25, 2008 11:19 am
Posts: 8
Has thanked: 0 time
Have thanks: 0 time
problem solved myself... if anyone want to how to do it... reply me or pm me....


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Fri Mar 28, 2008 5:54 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 time
Hi ,
Great..
Please; can you tell us how you did it ? :gOOd:

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Sat Mar 29, 2008 4:34 am 
Offline
Newbie
User avatar

Joined: Tue Mar 25, 2008 11:19 am
Posts: 8
Has thanked: 0 time
Have thanks: 0 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..


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Sat Mar 29, 2008 2:42 pm 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2279
Location: Earth
Has thanked: 39 time
Have thanks: 61 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:

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: Ad after first topic in a post in Skymiles_red
PostPosted: Thu Feb 19, 2009 6:28 am 
Offline
Newbie
User avatar

Joined: Tue Jan 27, 2009 2:25 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 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


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 9 posts ] 
Quick reply


  

 Similar topics
 Java seminar topic with demo
 project topic in java
 Application for the post of Network Admin.
 [3.0.2] skymiles_red
 I could not see new topic or other buttons
 Problem with skymiles_red
 money pad seminar topic
 [3.0.8][3.0.7][3.0.6] &[3.0.5] skymiles_red (new Version)
 seminar topic
 Dissrtation topic for M.Tech

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team