| Author |
Message |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Mon Aug 29, 2005 5:25 am |
|
Currently sponsor logo's/banners are selected from the admin area (radio buttons) - what happens if you have more than one sponsor?
We have a problem as we can only currently create 'one' sponsor logo/banner per newsletter.
Whilst the inclusion of a sponsors logo/banner is extremely useful for those running commercial sites who are perhaps making money from including a sponsores banner or even advertising the webmasters 'other' sites which are commercial - it would seem that multiple banners would therefore be much more appropriate and useful in these cases.
Granted, it is a simple matter to include additional banners within the newsletter content area but adding the appropriate html img code etc but perhaps this can be included in the roadmap?
As always, I tend to think both for those that 'do' and those that 'dont' want additional functionality so my personal view on how this might be implemented is as follows;
Assuming that the script is pulling 'banners' from the nuke 'banners' module..........
In the newsletter admin area the banners available are shown as they are at present with the addition of a 'check box' (instead of radio button) and text input box to define the banner TAG.
Template.php can then be edited to call the tags e.g. {BANNER1}, BANNER2}, {BANNER3} etc) - this allows maximum flexibility as template.php can be edited so that the correct BANNER tag can be placed wherever the webmaster thinks it is appropriate and also, by allowing the tag to be edited in the admin area, the sequence that the banners are displayed can be changed without having to edit template.php again.
e.g. The first banner might be small and the second banner quite big, so it make sense to have the big banner at the top of the newsletter. If for example we have already edited template.php to have a header banner, giving it the calling tag of {BANNER1}, we can simply change the second banner tag (the big one) listed in the admin area from the default {BANNER2} (as it is the second banner in the list) to {BANNER1}
But just to add complications, we would need to save this updated information into the DB so we dont have to change this sequence everytime we make a newsletter - only when we need to change the sequence because the sponsors have changed.
While we are looking at this particular area of the script we might as well consider the following;
An additional (optional) text area associated with the banner so some advertising blurb about the sponsor can be placed within the newsletter. This would need a new TAG to be created for template.php, lets call it {BANNERCONTENT1}, {BANNERCONTENT2} to make it easy to read.
Again, this would need an additional DB field to store the data so we didnt have to write it out everytime.
So in summary, we would have to;
check the DB and retrieve any data there
compare with current nuke banner module data and then add any banners that had been aded but not currently in the newsletter banner DB
echo data to admin page
option to edit each tag associated with each banner and include 'content area' - save data
Option to include specific banners on/off
check if banner is '0' that template.php doesnt try to echo a blank image which it probably would as the TAG is called in template.php but nothing is ther so perhaps an easier option would be to include a default 'Your Banner here' image and then the content area could contain something like "You can have your banner here for $X a month, email xxx@mydomain.com for details" - or something like that
Just thinking out loud hehehehe............ |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 945
|
Posted:
Mon Aug 29, 2005 9:44 am |
|
Guardian,
You don't want much do you!!! Looks like I could make a career out of this thing if only it would bring in $... Oh well... the joys of this "hobby".
Regards,
montego |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 307
|
Posted:
Tue Aug 30, 2005 8:54 pm |
|
What can I say?
Someone put up a 'feature request' forum so I thought I would make use of it.
I was just thinking out loud actually so it might possibly help with any future roadmaps you were planning. I might even have a go at this myself. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 945
|
Posted:
Tue Aug 30, 2005 10:01 pm |
|
 |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
|
|