The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by promits89 on 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?

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 on November 9th 2011, 5:08 pm

What is your forum version? Smile

Guest
Guest


Back to top Go down

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

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

my forum version is phpbb2
www.moneyzone.forumsmotion.com

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 on 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

Guest
Guest


Back to top Go down

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

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

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

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 on 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
Helper
Helper

Male Posts : 22186
Reputation : 1830
Language : test

http://test.com

Back to top Go down

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

Post by Guest on 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

Guest
Guest


Back to top Go down

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

Post by promits89 on 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?

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 on 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
Forumaster

Male Posts : 11037
Reputation : 651
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. on November 10th 2011, 3:06 am

AP=>Modules HTML & JAVASCRIPT => Javascript codes
management

Richard.
Forumember

Male Posts : 248
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 on November 10th 2011, 3:25 am

Richard E wrote:AP=>Modules HTML & JAVASCRIPT => Javascript codes
management

yeah banana

kirk
Forumaster

Male Posts : 11037
Reputation : 651
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 on 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?

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. on 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.
Forumember

Male Posts : 248
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 on November 10th 2011, 3:53 am

didn't work. any new code please

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 on November 10th 2011, 7:46 pm

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

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 on 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
Forumaster

Male Posts : 11037
Reputation : 651
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 on 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

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 on November 11th 2011, 12:40 pm

thanks it's now working.

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 on November 11th 2011, 1:32 pm

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

Guest
Guest


Back to top Go down

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

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

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

kirk
Forumaster

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

Back to top Go down

View previous topic View next topic Back to top


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