Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Re:how can I integrte googleads insde the frst pos (1 viewing) (1) Guest
TOPIC: Re:how can I integrte googleads insde the frst pos
#2240
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
that worked great
gringohh (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#4016
Re:how can I integrte googleads insde the frst post? 1 Year, 8 Months ago  
hey guys. I am very proud of my fellow countrymen on this team and everyone else for their excellent job!

I have sucessfully implemented google ads; however, I was wondering about centering the ads. I am not very CSS savvy and was wondering how I can center my ads instead of having them left aligned?

Secondly, is there a way to have google ads looking like a forum category in the board index? It would be an additional row under the last forum subject under a category?

TIA
punkie (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#5306
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
Hi guys!

dumb question: I couldn't find the file to change to add the code. Is it message.php? Where is that located?

Pietro


Ok... they are in the default template folder... sorry guys!

Post edited by: pietrogallo, at: 2007/05/06 21:35
pietrogallo (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
 
#5311
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
pietrogallo wrote:
Hi guys!

dumb question: I couldn't find the file to change to add the code. Is it message.php? Where is that located?

Pietro


Ok... they are in the default template folder... sorry guys!<br><br>Post edited by: pietrogallo, at: 2007/05/06 21:35


Add code BEFORE

[code:1] // --------------------------------------------------------------
// Legend to the variables used
// --------------------------------------------------------------
// $msg_id = Message ID#[/code:1]
greatpixels (Admin)
BoJ Team
Moderator
Posts: 461
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Best of Joomla! Location: USA Birthdate: 1978-10-31
Logged Logged
 
Project Manager : Lead Developer
 
 
#6308
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
New release has that features. You don't need to edit your original files.

You can assign all joomla module in fireboard.
Go to your joomla admin template module positions.

Add
fb_msg_t - After All Message Top
fb_msg_1 - After First Message
fb_msg_2 - After second Message
fb_msg_b - After All Message Bottom

Than assign your joomla modules .

I will add more module positions later. If you have an idea for new module position(where you need? - with screen shots), please tell me.

Post edited by: greatpixels, at: 2007/05/12 15:39
greatpixels (Admin)
BoJ Team
Moderator
Posts: 461
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Best of Joomla! Location: USA Birthdate: 1978-10-31
Logged Logged
 
Project Manager : Lead Developer
 
 
#6393
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
I had asked earlier in my post whether we could insert a google ad in between the forum subjects in the main index. I tried to whip up something visually. HTH.
[img=http://img221.imageshack.us/img221/3050/googleadju1.th.jpg][/img]

Post edited by: punkie, at: 2007/05/13 02:39

Post edited by: punkie, at: 2007/05/13 02:41
punkie (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#6415
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
I would like help, if possible, to take this one step further. I know its possible to create a module that is "Public Only" using:

[code:1] if ( !$my->id ) {
mosLoadModules( 'guests_only_position', -2 );
}
?>[/code:1]

(above code from [url=http://www.howtojoomla.net/content/view/7/2/]HowToJoomla[/url])

But I think it would be neat if we could hide the ads modules from a specific Joomla or FireBoard user group. e.g. Members who have donated to the site. Just an idea.
palebluedot (Moderator)
FB Documentation Team
Template Documentation Project
Moderator
Posts: 622
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Minneapolis, MN US Birthdate: 1973-01-12
Logged Logged
 
 
 
#6447
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
greatpixels wrote:

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 edited message.php and view.php as u wanted.

but i'm having some problem with the last step. can you please tell me exactly what i've to do? i'm using the rhuk_solarflare_ii template. do i have to go and edit the rhuk_solarflare_ii templates html? how should the code look like?

thank you so much for your help.
jason (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#6449
Re:how can I integrte googleads insde the frst pos 1 Year, 8 Months ago  
Jason;

The module positions are set from your Joomla! admin backend. Go to Site and template manager and there you should see the module positions add the four module position names there and you are done
xenous (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#6451
Ok implemented but have a little problem... 1 Year, 8 Months ago  
That hack is very cool and thank you for that... I implemented it but _b and _t are only showing for two times not after all posts i think that is not about the module positions but the google adsense. anyone has any idea to fix it?

Post edited by: xenous, at: 2007/05/13 13:52
xenous (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top