Advertisement:

Author Topic: Banner Mod  (Read 92399 times)

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #20 on: January 09, 2005, 10:13:56 PM »
anyone?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #21 on: January 10, 2005, 12:49:38 AM »
Under Edit Permissions, I have Unregistered Guest and Ungrouped Members, but not unregistered members both groups can view the forum.

I think you need to give them whatever permission there is for viewing *banners*.... either click modify, or scroll to the bottom and select "add permission"...

-[Unknown]

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #22 on: January 10, 2005, 02:45:06 AM »
I don't see *banners* in permission, what am I missing, should I reinstall maybe something is corrupt(see pic)


Link to Full Size Pic

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #23 on: January 10, 2005, 02:52:21 AM »
interesting...

i guess this problem from Banner.english.php file... you should be copy-paste from Banner.english.php to ManagePermissions.english.php

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #24 on: January 10, 2005, 03:27:09 AM »
Thanks, one question though where to add it i.e. beginning, end, middle, ... and what do you think is the cause of this not happening automatically, should I add every thing or part of it.

Quote
// Version: 1.0; Banner

// Banner Management
$txt['banner_banners'] = 'Banners';
$txt['banner_currently'] = 'Currently Banners';
$txt['banner_currently_desc'] = 'Your forum\'s banners';
$txt['banner_enabled'] = 'Advertisement enable';
$txt['banner_add_banner'] = 'Add New';
$txt['banner_add_banner1'] = 'New Banner';
$txt['banner_add_banner2'] = 'Add an new banner';
$txt['banner_add_banner_desc'] = 'Bu alanda aþaðýdaki kutucularý doðru biçimde doldururak yeni bir banner yüklemeniz mümkün.';
$txt['banner_add_banner_desc'] = 'You can create an banner on these page.';
$txt['banner_modify_banner'] = 'Modify Banners';
$txt['banner_modify_banner_desc'] = 'You can modification banners on these page.';
$txt['banner_delete_banner'] = 'Delete Banner';
$txt['banner_delete_banner_desc'] = 'Do you want delete an banner? You can delete an banner on these page.';
$txt['banner_stats'] = 'Statistics';
$txt['banner_stats_desc'] = 'Statistical information page. Click and View counts.';
$txt['banner_filename'] = 'Image URL:';
$txt['banner_filename_desc'] = 'Your banner images\'s URL address<br/>Ex. http://www.simplemachines.org/banner.gif';
$txt['banner_description'] = 'Description:';
$txt['banner_description_desc'] = 'ALT text of Banner Image';
$txt['banner_url'] = 'Click URL:';
$txt['banner_url_desc'] = 'Advertise\'s address<br/>Ex. http://www.simplemachines.org';
$txt['banner_add'] = 'Add';
$txt['banner_update'] = 'Update';
$txt['banner_replace'] = 'Delete Selected';
$txt['banner_target'] = 'On Click, Open in:';
$txt['banner_target_desc'] = 'Target window choose on click';
$txt['banner_target_new_window'] = 'New Window';
$txt['banner_target_same_window'] = 'Parent Window';
$txt['banner_zone'] = 'Banner Zone:';
$txt['banner_zone_desc'] = 'Location of Banner into Page';
$txt['banner_zone_top'] = 'on Top of Page';
$txt['banner_zone_bottom'] = 'on Bottom of Page';
$txt['banner_zone_logo'] = 'The Powered Logo';
$txt['banner_zone_main'] = 'Only for SSI.php';
$txt['banner_click_count'] = 'Click count:';
$txt['banner_view_count'] = 'View count:';
$txt['banner_blank'] = 'No banner...';
$txt['banner_remove'] = 'Remove';
$txt['permissiongroup_banners'] = 'Advertisement Banner Images';
$txt['permissionname_can_see_banners'] = 'Can See';
$txt['banner_stats_alt_text'] = 'ALT Text:';
$txt['banner_stats_added_date'] = 'Added Date:';
$txt['banner_powered_by'] = 'Powered by';
$txt['banner_powered_logos'] = 'Powered Logos';

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #25 on: January 10, 2005, 03:36:16 AM »
$txt['permissiongroup_banners'] = 'Advertisement Banner Images';
$txt['permissionname_can_see_banners'] = 'Can See';

this lines

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #26 on: January 10, 2005, 03:53:05 AM »
Thank you, but I just found out something weired

At my work computer there were options under New Banner>Add New but at my home PC there is nothing (see pic) tried IE, FireFox and Opera haven't changed anything, any suggestions?

maybe that's why 'Advertisement Banner' was missing from permission panel.



Link to Full Size Pic

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #27 on: January 10, 2005, 03:58:23 AM »
I've try, please wait reply from me.

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #28 on: January 10, 2005, 04:11:06 AM »
Aravot, i've try this... But, it's working on me, without problem...

I dunno this problem... Sorry

Offline TarantinoArchives

  • Full Member
  • ***
  • Posts: 442
  • Gender: Male
  • Call it, friendo
    • The Quentin Tarantino Archives
Re: Banner Mod 3.0 Final
« Reply #29 on: January 10, 2005, 08:15:36 AM »
Thank you, i fixed this problem, on next release...

nice. i just replaced the
Quote
$target
variable in the SSI.php with "_parent" so it works now. i am looking forward to the next release of your very excellent mod. i use it on tarantino.info now and i love it.

can you integrate a method to export statistics to a txt or xml file to save for harddisk or a method to select a banner "only ssi, only forum, or both", so that you dont have to create an extra banner for SSI.

be cool

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #30 on: January 10, 2005, 12:39:21 PM »
Aravot, i've try this... But, it's working on me, without problem...

I dunno this problem... Sorry

Very weird, I am back at work and it works on my work PC but not my home, I guess I need to reinstall windows or is it possible firewall (Norton) is blocking it from opening, I'll try once I get home.

Offline Aravot

  • Sophist Member
  • *****
  • Posts: 1,057
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #31 on: January 10, 2005, 06:10:25 PM »
$txt['permissiongroup_banners'] = 'Advertisement Banner Images';
$txt['permissionname_can_see_banners'] = 'Can See';

this lines

Adding the code worked, thank you very much.

SilentNoise

  • Guest
Re: Banner Mod 3.0 Final
« Reply #32 on: January 12, 2005, 04:19:32 AM »
I haven't downloaded this yeat, so forgive if it's a dumb question, but I was wondering:

If you've got more than 1 banner to be displayed, can it be set up to randomly load them, whenever a page is refreshed?

Offline Jerry

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,903
  • Gender: Male
  • What? I can't hear you over my awesomeness!!
    • PlanetSMF
Re: Banner Mod 3.0 Final
« Reply #33 on: January 12, 2005, 04:20:30 AM »
it already randomly selects a banner if you have more than 1 :)
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final
« Reply #34 on: January 12, 2005, 04:21:22 AM »
You are really faster... Thanks :D :D

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Re: Banner Mod 3.0 Final (Spanish Translate)
« Reply #35 on: January 12, 2005, 04:42:57 AM »
Code: [Select]
<?php
// Version: 1.0; Banner

// Banner Management
// Spanish Translation by Antonio Melé http://www.ciberseleccion.com

$txt[&#39;banner_banners&#39;] = &#39;Banners&#39;;
$txt[&#39;banner_currently&#39;] = &#39;Banner actual&#39;;
$txt[&#39;banner_currently_desc&#39;] = &#39;Los banners del foro&#39;;
$txt[&#39;banner_enabled&#39;] = &#39;Anuncios permitidos&#39;;
$txt[&#39;banner_add_banner&#39;] = &#39;Incluir nuevo&#39;;
$txt[&#39;banner_add_banner1&#39;] = &#39;Nuevo banner&#39;;
$txt[&#39;banner_add_banner2&#39;] = &#39;Incluir un nuevo banner&#39;;
$txt[&#39;banner_add_banner_desc&#39;] = &#39;Bu alanda aşağıdaki kutucuları doğru biçimde doldururak yeni bir banner yüklemeniz mümkün.&#39;;
$txt[&#39;banner_add_banner_desc&#39;] = &#39;Puedes crear un banner en esta página.&#39;;
$txt[&#39;banner_modify_banner&#39;] = &#39;Modificar banners&#39;;
$txt[&#39;banner_modify_banner_desc&#39;] = &#39;Puedes modificar banners en esta página.&#39;;
$txt[&#39;banner_delete_banner&#39;] = &#39;Borrar banner&#39;;
$txt[&#39;banner_delete_banner_desc&#39;] = &#39;¿Quieres borrar un banner? Puedes borrar banners en esta página.&#39;;
$txt[&#39;banner_stats&#39;] = &#39;Statistics&#39;;
$txt[&#39;banner_stats_desc&#39;] = &#39;Estadísticas de los banners. Clicks e Impresiones.&#39;;
$txt[&#39;banner_filename&#39;] = &#39;URL de la imágen:&#39;;
$txt[&#39;banner_filename_desc&#39;] = &#39;La URL de tu banner <br/>Ex. http://www.simplemachines.org/banner.gif&#39;;
$txt[&#39;banner_description&#39;] = &#39;Descripción:&#39;;
$txt[&#39;banner_description_desc&#39;] = &#39;Texto ALT del banner&#39;;
$txt[&#39;banner_url&#39;] = &#39;Click URL:&#39;;
$txt[&#39;banner_url_desc&#39;] = &#39;Dirección del anuncio<br/>Ex. http://www.simplemachines.org&#39;;
$txt[&#39;banner_add&#39;] = &#39;Añadir&#39;;
$txt[&#39;banner_update&#39;] = &#39;Actualizar&#39;;
$txt[&#39;banner_replace&#39;] = &#39;Borrar seleccionados&#39;;
$txt[&#39;banner_target&#39;] = &#39;Al hacer click, abrir en:&#39;;
$txt[&#39;banner_target_desc&#39;] = &#39;Ventana Target seleccionar al hacer click&#39;;
$txt[&#39;banner_target_new_window&#39;] = &#39;Nueva ventana&#39;;
$txt[&#39;banner_target_same_window&#39;] = &#39;Ventana Parent&#39;;
$txt[&#39;banner_zone&#39;] = &#39;Zona Banner:&#39;;
$txt[&#39;banner_zone_desc&#39;] = &#39;Localización del Banner en la página&#39;;
$txt[&#39;banner_zone_top&#39;] = &#39;en la zona superior de la página&#39;;
$txt[&#39;banner_zone_bottom&#39;] = &#39;en la zona inferior de la página&#39;;
$txt[&#39;banner_zone_logo&#39;] = &#39;El logo Powered&#39;;
$txt[&#39;banner_zone_main&#39;] = &#39;Sólo para SSI.php&#39;;
$txt[&#39;banner_click_count&#39;] = &#39;Contador de Clicks:&#39;;
$txt[&#39;banner_view_count&#39;] = &#39;Contador de impresiones:&#39;;
$txt[&#39;banner_blank&#39;] = &#39;Ningún banner...&#39;;
$txt[&#39;banner_remove&#39;] = &#39;Eliminar&#39;;
$txt[&#39;permissiongroup_banners&#39;] = &#39;Imágenes de banners de los anuncios&#39;;
$txt[&#39;permissionname_can_see_banners&#39;] = &#39;Puede ver&#39;;
$txt[&#39;banner_stats_alt_text&#39;] = &#39;Texto ALT:&#39;;
$txt[&#39;banner_stats_added_date&#39;] = &#39;Añadido el:&#39;;
$txt[&#39;banner_powered_by&#39;] = &#39;Powered by&#39;;
$txt[&#39;banner_powered_logos&#39;] = &#39;Powered Logos&#39;;
?>

Translated by Antonio Melé

Thank you Antonio - Regards...

Offline Midgard

  • Jr. Member
  • **
  • Posts: 271
  • Gender: Male
Banner Mod 3.2 Released
« Reply #36 on: January 14, 2005, 08:01:42 AM »
for SMF 1.0.1

Offline xtremecruiser

  • Jr. Member
  • **
  • Posts: 375
    • GolfDiscussions.com
Re: Banner Mod 3.0 Final
« Reply #37 on: January 14, 2005, 01:44:25 PM »
Will it work with 1.01 ?  I am having issues with the upgrade and this mod.
Thanks
Plus the file is missing from the DL area now ?
« Last Edit: January 14, 2005, 01:46:08 PM by xtremecruiser »

Offline Bullcat Webhosting

  • Sophist Member
  • *****
  • Posts: 1,245
  • Gender: Male
  • Ooit was ik programeur, nu gelukkig weer hobby'ist
    • Bullcat Webhosting
Re: Banner Mod 3.0 Final
« Reply #38 on: January 17, 2005, 12:01:53 PM »
Hello ******, i was fixing my index.template and wish to 2 2 banners on the same row. when i put the folowing code in my index i get 2 the same banners, so that will work fine. when 1 use the folowing code i get only one picture !
I have banners in the table with top and bottom ! what do i wrong ??
Code: [Select]
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td>
<p align="center">';
      showBanner($zone = 'top');
     echo' </td>
<td>
<p align="center">';
      showBanner($zone = 'bottom');
     echo ' </td>
</tr>
</table>


Wij ondersteunen SMF forums & safe mode staat uit.

Offline TarantinoArchives

  • Full Member
  • ***
  • Posts: 442
  • Gender: Male
  • Call it, friendo
    • The Quentin Tarantino Archives
Re: Banner Mod 3.0 Final
« Reply #39 on: January 17, 2005, 05:08:06 PM »
if you need a German language file for the mod, please send the English language file by PM to me and I send you the German language translation by tomorrow