Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 09:02:52 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155482 Posts in 21708 Topics by 7733 Members
Latest Member: himagain
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: New module 'Randombanner'  (Read 1089 times)
snark
Guest
« on: March 20, 2009, 04:42:12 PM »

A banner module which shows a new banner with every reload


It allows you to manage your banners in a normal admin dashboard ( add banners, set them active/inactive, add a link etc)

The height and the width fields you can override these settings to place bigger banners


The weblink has to start with http://

in the targetfield you can specify a target for the link

The banners van be uploaded to the randombanner-banners folder on the media folder.



With some minor adjustments it could be a randomimage with caption or something like that

« Last Edit: March 20, 2009, 09:59:26 PM by snark » Logged
saiborg

Offline Offline

Posts: 101


WWW
« Reply #1 on: March 20, 2009, 08:52:33 PM »

Hi,

habe Dein neues Modul installiert, finde es aber nirgends, wie kann ich die Banner einstellen??

Danke
Dirk
Logged

schaut doch mal vorbei

http://www.microott.de
snark
Guest
« Reply #2 on: March 20, 2009, 09:54:08 PM »

Just upload them to the randombanner-banners folder on de media folder

Sorry for the missing info
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #3 on: March 20, 2009, 10:07:52 PM »

Hello Saiborg.

This is a "Page" Module.

Just create a new Page of Type "randombanner".

If you want to have this in a specific area of your template you will need to generate a template with multisections.

@Snark
What means "HTML Code is allowed"? Where to put it in?


Kindly Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
snark
Guest
« Reply #4 on: March 20, 2009, 10:23:18 PM »



@Snark
What means "HTML Code is allowed"? Where to put it in?


I do not have a clue.. It was left there from the module I used as base to create this one (Team)

I guess I better remove the line in a next version...



Logged
saiborg

Offline Offline

Posts: 101


WWW
« Reply #5 on: March 20, 2009, 10:29:06 PM »

Thank you,

it is fine.....I will test ist

Dirk
Logged

schaut doch mal vorbei

http://www.microott.de
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #6 on: March 20, 2009, 10:30:49 PM »

It was left there from the module I used as base to create this one (Team)

 grin Yeah, this was my first impression.
You may rename also the "Member" Field into "Banner".
Don't you think wink


Regards,
Stefek

P.S. I have some "reports" after putting the save button (options).
See attached file.
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #7 on: March 21, 2009, 04:56:16 PM »

This is a "Page" Module.
However nice as it is, for full flexibility and user friendliness I think this module should be a droplet really.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
snark
Guest
« Reply #8 on: March 21, 2009, 05:04:56 PM »

This is a "Page" Module.
However nice as it is, for full flexibility and user friendliness I think this module should be a droplet really.

I think not... you would have to insert too much text into the droplet

for instance if you want 20 banners you would have to insert 20 x name + link + width+height+target into the droplet... I think an average customer is going to call each time he wants to insert a banner because it "looks like coding the page and that looks scary" according to most of my customers.

They want a module whicht looks and works simple...


however, for only a couple of banners it could be a droplet

Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #9 on: March 21, 2009, 07:12:41 PM »

Very nice module !

Can you make some statistic for number of clicke or for eg. to record time/date and ip address ? or something like that...

Also, I saw some somewhere that random baners  have prev and next button, and "random" functions work if you have 5 baners it goes 1,2,3,4,5...not TRUE random..I hope you understand what I ment Smiley That way if you have 5 clients their banners will be displayed equaly, and with true random function you can have for eg 60:10:10:10:10 displays in 100 Smiley)

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
snark
Guest
« Reply #10 on: March 22, 2009, 12:27:44 PM »

Very nice module !

Can you ...

no, but maybe someone else can expand the possiblities of this addon
Logged
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #11 on: March 22, 2009, 12:33:46 PM »

This is a "Page" Module.
However nice as it is, for full flexibility and user friendliness I think this module should be a droplet really.

I think not... you would have to insert too much text into the droplet

for instance if you want 20 banners you would have to insert 20 x name + link + width+height+target into the droplet... I think an average customer is going to call each time he wants to insert a banner because it "looks like coding the page and that looks scary" according to most of my customers.

They want a module whicht looks and works simple...

however, for only a couple of banners it could be a droplet

You're right, I forgot that droplets don't have admins. So the code would be too complex and big for this. Which brings me to thinking: wouldn't it be nice to have a module type with backend AND easy drop in use with simple tags like droplets? So in this case a full admin based banner module, with output wherever you place a tag like [[RandomBanners]].
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
snark
Guest
« Reply #12 on: March 22, 2009, 01:10:37 PM »

You're right, I forgot that droplets don't have admins. So the code would be too complex and big for this. Which brings me to thinking: wouldn't it be nice to have a module type with backend AND easy drop in use with simple tags like droplets? So in this case a full admin based banner module, with output wherever you place a tag like [[RandomBanners]].

that would be mighty cool to have... I created this because a customer specifically asked for this module and have got not much time nor knowledge how to expand this module so if anyone does have an idea...
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!