This tutorial is based on a recent experience of trying to get banners working under PostNuke v.750.
I would like to thank InvalidResponse for all the help he provided me in making my banners work at http://www.neociscoug.org.
PLEASE NOTE: This tutorial is based on the default Xanthia theme PostNukeBlue which comes with PostNuke v.750. This tutorial will not work with non-Xanthia themes.
CREATING THE BANNERS: Note: You must be an administrator to complete the following.
Main Menu - Administration --> Banners
First, you need to create the client that will be responsible for the banner/advertisement. This is usually the company or person paying for the banners.
Enter in all relevant information about the client and note that the "Extra information" is optional but helpful for future reference.
O.K., Now that we have a client to work with we need to create the banner/advertisement.
You will have a new section called "Add New Banner".
1) Using the pulldown menu, choose your client's name
2) "Purchased impressions" are supposed to be how many times the banner is displayed but I have yet to figure out how to make it stop without going into the negative numbers. I just set this to "0" which is "unlimited".
3) "Banner Type" or "ID" is any number you desire. This is a grouping number that your banners will use when displayed. Example: Should you have 3 banners that you would like to have displayed than you would set all of them with the same "Banner Type".
By setting all three banners to the same type or number, this will allow them to ramdomly display in the banner area. Meaning, everytime you refresh the page you should see a different banner.
4) "Image URL" is the web address of where the image or picture you would like to use in the banner. Make sure that you use the complete URL. Example: http://www.yourwebsite.com/image.gif
5) "Click URL" is where you want to redirect someone when they click on the banner. Example: http://www.mywebsite.com
Once you have all the information correctly inputted, click "Add Banner".
You should now see the new banner appear at the top under "Active Banners".
Here you will see the "Banner Type" which you will use later in this tutorial. So make note of it, as it will be referred to as an "ID number".
Testing your banner image, click on the "Edit" link on the right, under "Actions". If the "Image URL" is correct you will see the image you what to display in the banner area. Otherwise, you can correct it here.
Moving on.... Here we we will be directly editing files....
EDITING FILES:
There are two files that will need to be edited.
NOTE: Do not use the built-in editor with the Xanthia Control Panel.
Open these files in any text editor (i.e., Notepad, UltraEdit, etc...).
Find the following:
and replace it with:
Note: The ID number (id="#") will be the same a the "Banner Type" when setting up your banner. Use the number you assigned the "Banner Type" in place of the #.
Do this with both the master.htm and home.htm so the banners will appear throughout the entire site.
Once you have made your changes you will need to reload the template files master.htm and home.htm.
Note: You must be an administrator to complete the following.
Under the Main Menu - Administration --> Xanthia --> Edit Theme --> Theme Templates --> Reload Template.
Well, as far as I know, that is it.
I hope this help anyone needing assistance in .750 banners.
Posted: 06.02.2005, 07:21
rank:
Registered User
registered:
February 2005
Status:
offline
last visit:
06.02.05
Posts:
1
Thanks! This was the one that did the trick!
Posted: 13.02.2005, 17:55
rank:
pnFreshman
registered:
July 2003
Status:
offline
last visit:
17.02.05
Posts:
7
Does anyone know if this is fixed in 7.6? Might be easier if I simply upgrade..
Posted: 02.04.2005, 17:11
rank:
pnFreshman
registered:
December 2003
Status:
offline
last visit:
04.04.05
Posts:
7
plz help me edit the function "clickbanner" to Open A New Window when click the banner .
I don't want it's redirect to the Click URL in header .
How can I do it ?
Posted: 19.05.2005, 22:05
rank:
pnProfessional
registered:
September 2003
Status:
offline
last visit:
21.10.07
Posts:
2423
what's broken?
..it's not recommended, but if you open pnBanners.php in ./includes and find the links (ie:
----- http://www.invalidresponse.com
Posted: 26.11.2007, 02:16
rank:
pnHelper
registered:
August 2003
Status:
offline
last visit:
10.12.07
Posts:
124
Does anyone have the missing information this post should of had to help me with adding the banner rotation to the bottom of my Xanthia themes?
Hi im running PostNuke-0.800-RC2-FULL ,sorry i have a new big problem :important: HOW do you make the (impressions to showup in admin and client admin ?)in the admin pannle :it dosenot count impressions at all and dosenot show clients name in no active banners
also you cannot delet client. you have to reinstall mobual to get rid of them geta message saying
message says,sorry deletion failed ,,
ID Impressions Imp. left Clicks % clicks Client name Options
edited by: gmdistributor, Jan 15, 2008 - 12:57 AM
Posted: 15.01.2008, 23:58
rank:
pnFreshman
registered:
December 2007
Status:
offline
last visit:
22.01.08
Posts:
33
trying to install banners and Formicula on 764pn and get these two erros?????
Fatal error: Class 'DBUtil' not found in /home/content/g/m/d/gmd1036/html/modules/Banners/pntables.php on line 23
Fatal error: Class 'DBUtil' not found in /home/content/g/m/d/gmd1036/html/modules/formicula/pntables.php on line 30
edited by: gmdistributor, Jan 15, 2008 - 11:58 PM
Posted: 16.01.2008, 11:09
rank:
pnProfessional
registered:
March 2003
Status:
offline
last visit:
07.05.08
Posts:
806
You're using the wrong versions. PostNuke 0.7.6.4 comes with a core 'Banners'.
You have to use Formicula 1.x, not version 2 [this is only for the 0.8.x version].
Hi im now running PN 764 with seabreeze theme and on settings where you have to put info for footer i put banner display code and dose not showup i also put same in homehtm and master htm still nothing what do you think??
Nevermind, found the missing link... You need to add...
Code
<!--[pnbannerdisplay id=0]-->
to the Xanthia theme to get the banners to show up!