Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

3d browser Print

Tags: banners

Banners Admin


You can admin banners from those two places:
(1) "Admin > Admin home > Site Ads and Banners" (tiki-admin.php?page=ads)
to add a banner zone towards the header of your site.


(2) "Admin > Banners" (tiki-list_banners.php)
to create zones, define content, assign it to users, define time frames, etc...


A banner zone is a defined area in which to display a specific banner. You can define as many banner zones as needed for your site, then have different banners appear in each zone. For example, a typical site might have three banner zones:
  • A top zone, to display a banner ad at the top of every page
  • A side zone, to display an ad in the left column
  • A bottom zone, to display another banner at the bottom of the page


Creating a banner zone

Before creating a new banner, you must have a banner zone in which to place the banner.

To create a new banner zone:
  1. From the Admin menu, click Banners. The Banners page appears, showing the current banners.
  2. Click Create banner to create a new banner zone. The Edit or Create Banners page appears.
  3. In the Create Zone field, type a name for the new banner zone (such as TopZone) and click Create Zone.
  4. Tiki adds the new banner zone to the list of existing zones (at the bottom of the page).

Now that you have a banner zone, you're ready to create the actual banner.


Tiki can create the following types of banners:
  • HTML — Complete HTML/XHTML code of the banner. For example, if you belong to a banner exchange, you may receive a code snippet to display the banner.
    Note: Including a link (-+<A HREF...>+-) as part of your HTML will override the banner's URL to link field.
  • Image — You can upload any image (PNG, BMP, or GIF) to be used as the banner.
  • Fixed URL — You can link to a banner from a hosted location. For example, if you belong to a banner exchange that provides dynamic banners, you may have a URL to use (such as http://bannerserver/mybanner?id=foo).
  • Text-- A simple text-only ad. The text will be formatted using the bannertext CSS style.


Creating Banners

To create a new banner:
  1. From the Admin menu, click Banners. The Banners page appears, showing the current banners.
  2. Click Create banner to create a new banner. The Edit or Create Banners page appears.
  3. Use this table to complete each field on the page:
    Field Description
    URL to link the banner The fully qualified URL click-through for the banner, such as http://www.tikiwiki.org. The URL will open in a new browser window. If blank, the banner will not be clickable.
    Notes:
    * If you select an HTML banner type, you must include the URL in the HTML code — not in this field.
    * To track banner clicks, use:
    banner_click.php?id=XX&url=http://www.tikiwiki.org, where XX is the banner ID. The banner ID is shown on the Banners page.
    * Leave this blank if an HTML banner uses Javascript from a banner service such as AdSense because that code will make the banner clickable.
    Client Select a username as the "client" for this banner. Clients can display the stats for a specific banner.
    Max impressions The maximum number of times the banner will be displayed (default 1000). After reaching this number, the banner will no longer display.
    Hint: If your site has lots of traffic, increase this number.
    Zone Select the zone in which to display the banner. To create a new zone, in the Create Zone field, type a name for the new banner zone and click Create Zone.
    Show between dates To automatically turn this banner on and off at a specific date, select the Use dates option and then select a From and To date. For example, you can create a banner to display only for a specific holiday or event.
    If you do not select the Use dates option, the banner will be shown immediately, and continue to be shown until the Max impressions.
    Show between hours Select the time of the day that the banner will display. By default, the banner will display 24-hours-a-day. As of April 2009 and in Tiki 2.x sites, you may need to re-set the hours from the default ones, to "from 00:00 until 23:59h" in order to have your banners display properly.
    Show only on Select the specific days of the week that the banner will display. By default, the banner will appear 7-days-a-week. For example, you can create a banner to display only on weekends.
    Banners method Select a banner type: HTML, Image, URL, or Text.
  4. Click Save the banner.

Now that you have created a banner and assigned it to a zone, you're ready to display it.


Displaying Banners

To display a banner on your Tiki you simply add the following code {banner zone=XXXXX}
(where XXXXX is the name of the banner zone) to:
  • A Tiki template (TPL) file
  • A module

You can also use PluginBanner in a wiki page

For example:
  • To have a banner appear at the top of every page, add the banner zone to the header.tpl file:
    <body {if $user_dbl eq 'y' and $dblclickedit eq 'y' and $tiki_p_edit eq 'y'}...
    ...
    {banner zone=TopZone}
    ...
  • to have a banner appearing for some page in the top of the content block
You can activate in admin->look : shadow layer and in the Center shadow start insert some code like this
{if $section eq 'forums' and $smarty.request.forumId eq 2}
{banner zone='forum2'}
{elseif $section eq 'forums' and $smarty.request.forumId eq '6'}
{banner zone='forum6'}
{elseif $section eq 'blogs' and $smarty.request.blogId eq 4}
{banner zone='blog4'}
{* add your elseif *}
{/if}


  • To have a banner appear in the left column:
    1. Create a new module.
    2. Add the banner zone to the module.
In tikiwiki>=1.10, we have an additional parameter target to be able to open the link in a specific window. By default the banner clicks open a new window. If you want to open the banner in the same window, use target=_self. See possible values for target (external link)
    1. Assign the module.

Tikiwiki>=1.10 you can specify if the banner will open in the same window or in new window. The default is a new window
{banner zone=TopZone target=_self}



Viewing banner stats

Once banners are active on your site, you or clients can review the stats.

To create a new banner zone:
  1. From the Admin menu, click Banners. The Banners page appears, showing the current banners.
  2. Click Stats for the banner to review. The Banners Stats page appears.


From Here
Banners
Banner User
PluginBanner

Contributors to this page: SEWilco674 points  , marclaporte4508 points  , xavidp820 points  , sylvie3020 pistettä  , Xavi26262 points  , ricks994318 points  , edalton5 очков  , mose96 points  and system .
Page last modified on Friday 22 January, 2010 20:38:19 UTC by SEWilco674 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC