Problem With Adding Advertisment..


Subject: Problem With Adding Advertisment..
Hello

first.. sorry for my poor english but i'll try my best to explain the problem

I'm using milky_way style and I am trying to add an advertisment "google adsense" after the first post only

I search phpbb.com and I found this

Quote:
Ads before or after the first post in a topic

If you want ads either before or after the first post in a topic, open styles/prosilver/template/viewtopic_body.html

For ads before the first post, find the line below and add the sample code after this line.


Code: Select all
<!-- BEGIN postrow -->

For ads after the first post, find the line below and add the sample code before this line.


Code: Select all
<!-- END postrow -->


I tried it on my style but when I add something before the <!-- END postrow -->

it didn't appear after the first post
it appeared after the first box of title in the head of page

so any idea how to fix it

and may you please tell me how to did it as the one in this forum " with a sponsor"

Thanks alot

Profile PM  
Subject: Re: Problem With Adding Advertisment..
I think you didn't edit your code properly, can you please try again?

Make sure to refresh the template in ACP after you edit the file.

If it is not working yet, try to post here the part of the code interested (use spoilers if the code is too much...).

Thanks.

Subject: Re: Problem With Adding Advertisment..
Thanks for reply

I tried it alot and alot

and yes I refreshed the templates from ACP

this is the code I added

Spoiler: [ Show ]


Thanks alot

Last edited by ch4ever on Fri 10 Oct, 2008 13:52; edited 1 time in total
Profile PM  
Subject: Re: Problem With Adding Advertisment..
Did you read this?

Mighty Gorgon wrote: [View Post]
(use spoilers if the code is too much...)


Fix your post... or I won't look at that. :P

Subject: Re: Problem With Adding Advertisment..
Mighty Gorgon wrote: [View Post]
Did you read this?

Mighty Gorgon wrote: [View Post]
(use spoilers if the code is too much...)


Fix your post... or I won't look at that. :P


I'm sorry I read it but didn't know what it mean :roll:

as i said i'm not good in english :oops:

What does "use spoilers" mean??

Profile PM  
Subject: Re: Problem With Adding Advertisment..
This is a spoiler example:

Spoiler: [ Show ]



Code: [Download] [Hide] [Select]
[spoiler]This is a spoiler example[/spoiler]


Spoiler avoids showing unneeded informations in posts unless you want to view them by clicking on the link.

This helps in keeping topics tidy avoiding too much vertical scrolling.

Subject: Re: Problem With Adding Advertisment..
Mighty Gorgon wrote: [View Post]
This is a spoiler example:

Spoiler: [ Show ]



Code: [Download] [Hide] [Select]
[spoiler]This is a spoiler example[/spoiler]


Spoiler avoids showing unneeded informations in posts unless you want to view them by clicking on the link.

This helps in keeping topics tidy avoiding too much vertical scrolling.


Thanks for explaining.. done..

Profile PM  
Subject: Re: Problem With Adding Advertisment..
The code you have provided seems to be modded fine.

Can you provide a link to check it live?

Did you also refresh the template in ACP?

Subject: Re: Problem With Adding Advertisment..
Mighty Gorgon wrote: [View Post]
The code you have provided seems to be modded fine.

Can you provide a link to check it live?

Did you also refresh the template in ACP?


actually I still didn't upload the moded files

I still testing it on the the local system

but check the following snap shot in the attachment

see where the advertisment apear

:roll:


advtest.JPG
Description:  
Filesize: 45.91 KB
Viewed: 177 Time(s)

advtest.JPG


Profile PM  
Subject: Re: Problem With Adding Advertisment..
any suggestions?

Profile PM  
Subject: Re: Problem With Adding Advertisment..
ch4ever wrote: [View Post]
any suggestions?


i m getting same with your code...
i m also tryed do something , but no lucky yet .., :(

anyway , do u instaled some mod for this adds ?

Subject: Re: Problem With Adding Advertisment..
Limun wrote: [View Post]
ch4ever wrote: [View Post]
any suggestions?


i m getting same with your code...
i m also tryed do something , but no lucky yet .., :(

anyway , do u instaled some mod for this adds ?


yeah I tried the advertisment managment mod

but the main problem is that in all mods you will need to edit viewtopic_body

and you have to post the edits in the right position to be show after the first post!

Profile PM  
Subject: Re: Problem With Adding Advertisment..
still waiting guys :(

Profile PM  
Subject: Re: Problem With Adding Advertisment..
ch4ever Have you fixed this ?
Or has anyone solved this ?

Ive had this problem for a few days now.

The problem is that it doesn't matter what you put above
Code: [Download] [Hide]
  1. <!-- END postrow --> 

you could put ads, images r even just words.
it always shows up above first post.

MG said that ch4ever's code above looks right, BUT if you try to put an image above
Code: [Download] [Hide]
  1. <!-- END postrow --> 
in that code it will not show after first post (only before first post.

Does anyone have a solution for this ?

Thanks

Subject: Re: Problem With Adding Advertisment..
Maybe there isn't only one of this:

Code: [Download] [Hide]
  1. <!-- END postrow --> 



Try to explore it further.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1171s (PHP: 32% SQL: 68%)
SQL queries: 14 - Debug Off - GZIP Enabled