I want to display advertisement of my choice on my forum. How?

promits89 at 17h03
09
Nov
2011
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?
1 Guest, on 09/11/2011 at 17h08
What is your forum version? Smile
2 promits89, on 09/11/2011 at 17h11
my forum version is phpbb2
www.moneyzone.forumsmotion.com
3 Guest, on 09/11/2011 at 17h17
I don't think that for first post work, try for the last:
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. Razz
4 promits89, on 09/11/2011 at 17h31
but where to post this code and where i will put my ad code
5 MrMario, on 09/11/2011 at 19h20
Hello,

You can place them in a widget, HTML page, homepage message, and announcement. Its all up to you.
6 Guest, on 09/11/2011 at 20h03
Since, you need to put this code in your Javascript management which is finded in Administration Panel => Modules => HTML & JAVASCRIPT. Wink
7 promits89, on 10/11/2011 at 02h52
Gassy wrote:Since, you need to put this code in your Javascript management which is finded in Administration Panel => Modules => HTML & JAVASCRIPT. Wink


i don't know about javascript. can you tell me where i put those code in the javascript?
8 kirk, on 10/11/2011 at 03h05
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.
9 Richard., on 10/11/2011 at 03h06
AP=>Modules HTML & JAVASCRIPT => Javascript codes
management
10 kirk, on 10/11/2011 at 03h25
Richard E wrote:AP=>Modules HTML & JAVASCRIPT => Javascript codes
management


yeah banana
11 promits89, on 10/11/2011 at 03h37
i put this code in the javascript but nothing happend. Is there somthing wrong in the code or i am doing mistake?
12 Richard., on 10/11/2011 at 03h38
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 " ..
13 promits89, on 10/11/2011 at 03h53
didn't work. any new code please
14 robot_boy18, on 10/11/2011 at 19h46
It works for me Smile Maybe his overall_header doesn't have jquery in there bwi
15 Guest, on 10/11/2011 at 20h00
Please read /t92693-new-update-javascript-code-management
16 kirk, on 10/11/2011 at 20h10
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?
17 promits89, on 11/11/2011 at 11h26
kirk 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?

My own ads
18 promits89, on 11/11/2011 at 12h40
thanks it's now working.
19 Guest, on 11/11/2011 at 13h32
Ok, glad your problem is solved. You're welcome. Wink
20 kirk, on 11/11/2011 at 18h04
Since the problem is solved i will now mark,lock and ad to archives.
Similar topics
ForumPromo Choice of Category: Computers and Internet Language: English Forum's Purpose: ForumPromo, is advertising forum which allows you too post your forums/websites and be able to post in our services which we
I propose that we have the ability to only show the widgets on the index or all pages. As well as placing them on the top and bottom of the index or other pages.
Hi ODROID team, I bought a ODROID -7 and the overall performance is very good! However, I would like to have a version with 10.1" display and I found that the ODROID-T is already sold out. Therefore I am now thinking to connect a 10.1" display to th
See also
more_less
Informations

20 Replies For the topic :
"I want to display advertisement of my choice on my forum. How?"

This topic has been viewed 684 times.

Last message :
09/11/2011 at 17h03 by "promits89"