This is a Hitskin.com skin preview
Install the skin • Return to the skin page
5 posters
I want to display advertisement of my choice on my forum. How?
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
I want to display advertisement at the top of my forum, How can i do it? And also I want to display ad after first post. But how?
Guest- Guest
What is your forum version?
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
my forum version is phpbb2
www.moneyzone.forumsmotion.com
www.moneyzone.forumsmotion.com
Guest- Guest
I don't think that for first post work, try for the last:
For first as I said, I don't belive the code works, but try:
This codes are not checked for phpBB2.
- Code:
$(function() {
$('.post:last').after('<div class="post" style="background:#ddd"><span class="corners-top"><span></span></span><div class="postbody">Ad Text Info</div><div class="postprofile">Ad Poster Info</div><span class="corners-bottom"><span></span></span></div>');
});
For first as I said, I don't belive the code works, but try:
- Code:
$(function() {
$('.post:first').before('<div class="post" style="background:#ddd"><span class="corners-top"><span></span></span><div class="postbody">Ad Text Info</div><div class="postprofile">Ad Poster Info</div><span class="corners-bottom"><span></span></span></div>');
});
This codes are not checked for phpBB2.
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
but where to post this code and where i will put my ad code
MrMario- Helper
- Posts : 22186
Reputation : 1839
Language : test
Hello,
You can place them in a widget, HTML page, homepage message, and announcement. Its all up to you.
You can place them in a widget, HTML page, homepage message, and announcement. Its all up to you.
Guest- Guest
Since, you need to put this code in your Javascript management which is finded in Administration Panel => Modules => HTML & JAVASCRIPT.
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
Gassy wrote:Since, you need to put this code in your Javascript management which is finded in Administration Panel => Modules => HTML & JAVASCRIPT.
i don't know about javascript. can you tell me where i put those code in the javascript?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Gaasy just told you abaove.. lol
Admin panel>modules>
scroll down to java management, click create new page, be sure to have the settings as you wish then hit save.
Be sure to activate it there first as well.
Admin panel>modules>
scroll down to java management, click create new page, be sure to have the settings as you wish then hit save.
Be sure to activate it there first as well.
Richard.- Forumember
- Posts : 249
Reputation : 12
Language : English,Romanian
Location : Durham, NC - USA.
AP=>Modules HTML & JAVASCRIPT => Javascript codes
management
management
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Richard E wrote:AP=>Modules HTML & JAVASCRIPT => Javascript codes
management
yeah
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
i put this code in the javascript but nothing happend. Is there somthing wrong in the code or i am doing mistake?
Richard.- Forumember
- Posts : 249
Reputation : 12
Language : English,Romanian
Location : Durham, NC - USA.
Did u Enable Javascript code management : Yes , u did that ?
Well , is a way u can do that , but im not sure about " to see it after the first post " ..
Well , is a way u can do that , but im not sure about " to see it after the first post " ..
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
didn't work. any new code please
robot_boy18- Forumember
- Posts : 107
Reputation : 7
Language : English
Location : Greenville, South Carolina, USA
It works for me Maybe his overall_header doesn't have jquery in there
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
are these your own ad's or forumotions ad's?
also i thought the $ symbol was not compatible on forumotion.
Forumotion may have changed it i am not sure?
also i thought the $ symbol was not compatible on forumotion.
Forumotion may have changed it i am not sure?
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
My own adskirk wrote:are these your own ad's or forumotions ad's?
also i thought the $ symbol was not compatible on forumotion.
Forumotion may have changed it i am not sure?
promits89- Forumember
- Posts : 35
Reputation : 0
Language : English
thanks it's now working.
Guest- Guest
Ok, glad your problem is solved. You're welcome.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Since the problem is solved i will now mark,lock and ad to archives.