Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org and other files
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
how can I integrte googleads insde the frst post?
TOPIC: how can I integrte googleads insde the frst post?
#1065
how can I integrte googleads insde the frst post? 10 Years, 5 Months ago  
First of all thanks for the component which is really the \"BEST OF JOOMLA!\"

my question is that how can I integrate the google ads inside the first posts of each thread? or are there any easy way to put some ads somewhere in the forum? Thanks very much
#1065
how can I integrte googleads insde the frst post? 10 Years, 5 Months ago  
First of all thanks for the component which is really the \"BEST OF JOOMLA!\"

my question is that how can I integrate the google ads inside the first posts of each thread? or are there any easy way to put some ads somewhere in the forum? Thanks very much
#1115
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
[b]tedmiller wrote:[/b]
[quote]First of all thanks for the component which is really the \"BEST OF JOOMLA!\"

my question is that how can I integrate the google ads inside the first posts of each thread? or are there any easy way to put some ads somewhere in the forum? Thanks very much[/quote]

Ok I added new module pozitions for next release.

Can you see bottom of the first message has a module.

i added 4 module pozitions.
fb_msg_t
fb_msg_1 -- this is for after first post
fb_msg_2 -- this is for after second post
fb_msg_b

Begin moderator edit.
As you can see this thread is VERY old. It is NO LONGER NECESSARY TO MODIFY ANY CODE!!! Go to your joomla admin template module positions.
Add
fb_msg_t
fb_msg_1
fb_msg_2
fb_msg_b

Than asign your joomla modules .

THAT\'S IT!!! Read the remainder of this thread and risk confusing yourself.

End moderator edit.
-------------------------------------
message.php
Add this code


[code:1]
























[/code:1]

BEFORE

[code:1]
--------------------------------------

// Legend to the variables used

// --------------------------------------------------------------
[/code:1]



AND

view.php

Find \"$k=0;\" on view.php add after \"$mmm = 0;\"

[code:1]

$k=0;
$mmm = 0;

[/code:1]

Find \"$k = 1 - $k;\" on view.php add after \"$mmm ++;\"
[code:1]

$k = 1 - $k;
$mmm ++;

[/code:1]


AND LAST STEP:

Go to your joomla admin template module pozitions.
Add
fb_msg_t
fb_msg_1
fb_msg_2
fb_msg_b

Than asign your joomla modules .


I hope you will like it :)

Post edited by: greatpixels, at: 2007/04/21 22:34
#1292
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
I\'ve been looking for this a long time. Great! :)

Only one problem. I can\'t get it to work...

I use default_gray template and inside that folder there are no message.php or view.php so I just assumed I should use the ones in the default folder, but no luck after adding the code. No ads displayed... :(

I have assisgne modules positions and published them, nothing.

What am I doing wrong?? :unsure:
#1296
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
Tested the other module positions now and fb_msg_t and fb_msg_b are working but they display the ad after every post. fb_msg_1 is the one that should display one ad after the very first post, right? But this is not working on my site. Not fb_msg_2 either...
#1304
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
Got it now :)

There were a typo in the code.

Look for fb_msg1 and fb_msg2, should be fb_msg_1 and fb_msg_2.

Working just excellent! B)
#1313
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
[b]magnus wrote:[/b]
[quote]I\'ve been looking for this a long time. Great! :)

Only one problem. I can\'t get it to work...

I use default_gray template and inside that folder there are no message.php or view.php so I just assumed I should use the ones in the default folder, but no luck after adding the code. No ads displayed... :(

I have assisgne modules positions and published them, nothing.

What am I doing wrong?? :unsure:[/quote]

You need to change the default template then, if none then it looks for it there ;)
#1515
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
it is workin excellent! thanks. I am using the gray template no problem occured. but dont forget to correct the little mistake in the code
#1541
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
[b]magnus wrote:[/b]
[quote]Got it now :)

There were a typo in the code.

Look for fb_msg1 and fb_msg2, should be fb_msg_1 and fb_msg_2.

Working just excellent! B)[/quote]

Thanks . I changed. :)
#1727
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
I noticed on this site, the area of space for showing the google ads is almost twice as big as the ads themselves, is it possible to minimise the vertical space of the module ?
#1734
Re:how can I integrte googleads insde the frst pos 10 Years, 5 Months ago  
Hopefully it will be available in the next FB release.
Page: 123... 12