Firefox PHP

Module: Banner Manager

Posted by Maurice Makaay 
Re: Module: Banner Manager
October 06, 2008 09:23AM
Thanks Maurice

OH just use html tags....

and I assume php would just be like
<?php
code
code
?>

How can I remove the default Phorum logo and green background that it sits in?

I manipulated the css file and it works on the home page only.
Re: Module: Banner Manager
October 06, 2008 09:26AM
Which template files do I go into to positon the banner using {MOD_BANNER_MANAGER} ?

I know header.tpl but what are the others?

using lightweight template
Re: Module: Banner Manager
October 06, 2008 09:36AM
Quote

How can I remove the default Phorum logo and green background that it sits in?

I manipulated the css file and it works on the home page only.

This is not really related to the banner manager. That is a bit of code in header.tpl. You can change that. If it changes on the home page but not on other pages, you should go into the settings for the individual forum(s) and change the template to your modified template. Each forum can have a different template, so the forum might be using a different template than your index page.

Quote

Which template files do I go into to positon the banner using {MOD_BANNER_MANAGER} ?

The standard ones would be header.tpl and footer.tpl. Those are template that are used for all pages. You can use the template variable in all other templates too. I'm not going to list them here. This page might give you some ideas on what template file does what.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Banner Manager
February 04, 2009 07:46AM
On this moment i have on my forum the next configuration, i'm new to phorum.

Announcements

Google ads

Forum

Ik want to swap position Announcements and google ads

So on the forum it wil show like, just like here.
I con not vindt in wat template i can change the position so i need a little help.
Can some one explane how i can change place from google ads and Announcements

Google ads

Announcements

Forum



Edited 1 time(s). Last edit at 02/04/2009 08:12AM by Mr Evil.
Re: Module: Banner Manager
February 04, 2009 08:43AM
Try adding this line to the info.txt file for the Banner Manager module:
priority: run module before *
That will force the module to run before the Announcements and hopefully above them on the page.


Joe Curia (aka Azumandias)
Modules: l0Admin Mass Email00000000l000000Automatic Time Zones000ll.l00000Enhanced Custom Profiles0.00Google Calendar0000l.l000000Post Previews
000000000Admin Security Suite000000000000Check Modules for Upgrades0000External Authentication000000Group Auto-Email00000.00000Private Message Alerts
000000000Attachment Download Counter0000Custom Attachment Icons000ll.ll00Favorite Forums000000.00000Highlighted Search Terms0000Self-Delete Posts Option
000000000Attachment Watermarks0l00000000Custom Language Database00l.l.0Forum Lockdown00000.00000Ignore Forums0000000000000Threaded Tree View
000000000Automatic Message Pruning00.llll.00Easy Color Scheme Manager0l.l00Forum Subscriptions0000lll000Moderated User Group
Templates:lGeneric Integration000000000 0000Simple Rounded000000 00000000Tabbed Emerald
Re: Module: Banner Manager
February 04, 2009 08:51AM
This did not help.

This is the forum were i talk about. I don not like the view that Announcements come before the google ads. I want to change the position of them.



Edited 2 time(s). Last edit at 02/04/2009 10:35AM by Mr Evil.
Re: Module: Banner Manager
February 04, 2009 09:25AM
After doing the change as suggested above, did you go to the admin page? You need to do so, to make Phorum reload its module information. This information is cached and will not be automatically updated when changing an info.txt file.

If that doesn't help, then try the following more specific priority rule for mods/banner_manager/info.txt

priority: run hook after_header before announcements


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Banner Manager
February 04, 2009 09:31AM
OK the tip to reload to go to the admin page did the job. So the tip from Joe did work.
How can i ad extra space between the google ad and announcements thay are now touching.
Do i have to a line brake?
I also want more space between announcements en the forum



Edited 1 time(s). Last edit at 02/04/2009 09:32AM by Mr Evil.
Re: Module: Banner Manager
February 04, 2009 10:26AM
You can add something like this to your css.tpl:

Language: CSS
table.announcements { margin-top: 2em; margin-bottom: 2em; }

I think that should do the trick.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Banner Manager
February 04, 2009 10:35AM
Thanks for the tips, it look much better now
Sorry, only registered users may post in this forum.

Click here to login