The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

5 posters

Go down

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

Post by promits89 November 9th 2011, 5:03 pm

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?
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by Guest November 9th 2011, 5:08 pm

What is your forum version? Smile
avatar
Guest
Guest


Back to top Go down

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

Post by promits89 November 9th 2011, 5:11 pm

my forum version is phpbb2
www.moneyzone.forumsmotion.com
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by Guest November 9th 2011, 5:17 pm

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
avatar
Guest
Guest


Back to top Go down

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

Post by promits89 November 9th 2011, 5:31 pm

but where to post this code and where i will put my ad code
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by MrMario November 9th 2011, 7:20 pm

Hello,

You can place them in a widget, HTML page, homepage message, and announcement. Its all up to you.
MrMario
MrMario
Helper
Helper

Male Posts : 22186
Reputation : 1839
Language : test

Back to top Go down

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

Post by Guest November 9th 2011, 8:03 pm

Since, you need to put this code in your Javascript management which is finded in Administration Panel => Modules => HTML & JAVASCRIPT. Wink
avatar
Guest
Guest


Back to top Go down

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

Post by promits89 November 10th 2011, 2:52 am

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?
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by kirk November 10th 2011, 3:05 am

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

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

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

Post by Richard. November 10th 2011, 3:06 am

AP=>ModulesI want to display advertisement of my choice  on my forum. How? Html HTML & JAVASCRIPT => Javascript codes
managementI want to display advertisement of my choice  on my forum. How? Untit121
Richard.
Richard.
Forumember

Male Posts : 249
Reputation : 12
Language : English,Romanian
Location : Durham, NC - USA.

http://forum.phpbbonline.com/

Back to top Go down

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

Post by kirk November 10th 2011, 3:25 am

Richard E wrote:AP=>ModulesI want to display advertisement of my choice  on my forum. How? Html HTML & JAVASCRIPT => Javascript codes
managementI want to display advertisement of my choice  on my forum. How? Untit121

yeah banana
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

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

Post by promits89 November 10th 2011, 3:37 am

i put this code in the javascript but nothing happend. Is there somthing wrong in the code or i am doing mistake?
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by Richard. November 10th 2011, 3:38 am

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 " ..
Richard.
Richard.
Forumember

Male Posts : 249
Reputation : 12
Language : English,Romanian
Location : Durham, NC - USA.

http://forum.phpbbonline.com/

Back to top Go down

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

Post by promits89 November 10th 2011, 3:53 am

didn't work. any new code please
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by robot_boy18 November 10th 2011, 7:46 pm

It works for me Smile Maybe his overall_header doesn't have jquery in there bwi
avatar
robot_boy18
Forumember

Male Posts : 107
Reputation : 7
Language : English
Location : Greenville, South Carolina, USA

http://en.fmvi.org/

Back to top Go down

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

Post by kirk November 10th 2011, 8:10 pm

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?
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

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

Post by promits89 November 11th 2011, 11:26 am

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
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by promits89 November 11th 2011, 12:40 pm

thanks it's now working.
avatar
promits89
Forumember

Posts : 35
Reputation : 0
Language : English

Back to top Go down

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

Post by Guest November 11th 2011, 1:32 pm

Ok, glad your problem is solved. You're welcome. Wink
avatar
Guest
Guest


Back to top Go down

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

Post by kirk November 11th 2011, 6:04 pm

Since the problem is solved i will now mark,lock and ad to archives.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum