Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Midgard on January 08, 2005, 12:32:16 PM

Title: Banner Mod
Post by: Midgard on January 08, 2005, 12:32:16 PM
Support for this mod has stopped.
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 12:37:44 PM
i used the SSI but the problem is that i use it OUTSIDE smf, so the banner mod doesnt allow me to see the banner, because i am not registered, and not a guest, either
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 08, 2005, 12:45:06 PM
You should setting guest group permissions for seen SSI banners by guests. You must set "allow" to "can you see" for unregistered guest group. It's working on this shape.
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 12:50:00 PM
it does not work.
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 12:52:47 PM
and how can I update from 2.4 to 3.0 without losing my statistics and already on banners?
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 08, 2005, 12:56:21 PM
1 - Are you sure? It's still working on my site...

2 - This updates only html and php coding. Don't data losing.
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 12:59:47 PM
Quote from: Midgard on January 08, 2005, 12:56:21 PM
1 - Are you sure? It's still working on my site...
yes.
this is what i use:

Quote<?php
require("forum/SSI.php");
ssi_banners();
?>
correct?

Quote
2 - This updates only html and php coding. Don't data losing.

can i just upload through package manager? do i have to uninstall or delete the old package?
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 08, 2005, 01:03:29 PM
1- <?php ssi_banners(); ?> yes it's correct..

2- yes, you can
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 01:05:34 PM
Quote from: Midgard on January 08, 2005, 01:03:29 PM
1- <?php ssi_banners(); ?> yes it's correct..

2- yes, you can

thanks.
i forgot to create a "for ssi only" banner. it works now, thank you. great mod!!!
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 08, 2005, 01:08:40 PM
ur welcome
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 01:15:06 PM
i uninstalled the 2.4 and then i got this error when trying to continue surfing:

QuoteFatal error: Call to undefined function: showbanner() in /var/www/web2/html/forum/Sources/Load.php(1096) : eval()'d code on line 313

i searched Load.php and i really didnt find it... where's the problem? i cant install 3.0 now because i cant surf anymore
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 08, 2005, 01:17:12 PM
showbanner(); remove this function from index.template.php file
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 01:20:10 PM
Quote from: Midgard on January 08, 2005, 01:17:12 PM
showbanner(); remove this function from index.template.php file

found it. i was using a custom template. thats where the mistake came from.
works now.
thanks for the quick support. you rock!
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 08, 2005, 01:21:50 PM
damn.
Now I found another problem.

The banner I inserted by SSI does not open in Parent Window. But I have set parent window. It opens a new window.....
i think i'm gonna add this manually to SSI.php
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 09, 2005, 09:49:50 AM
Thank you, i fixed this problem, on next release...
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 09, 2005, 02:26:32 PM
Hi I just downloaded and installed the Banner Mode 3.0, but I can only see it when I login as Administrator, what am I missing.
I want all the members even guest to see the banner.
thanks
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 09, 2005, 02:30:08 PM
Did you setup member groups permissions?
You've set unregistered guest members permissions...

Regards, Midgard
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 09, 2005, 05:07:00 PM
I don't understand can you please elaborate, THX
Title: Re: Banner Mod 3.0 Final
Post by: Nidoking on January 09, 2005, 05:22:13 PM
I think, in order to allow everyone, even guests to see your banner, you have to allow unregistered members to view all your boards.
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 09, 2005, 05:40:42 PM
Under Edit Permissions, I have Unregistered Guest and Ungrouped Members, but not unregistered members both groups can view the forum.
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 09, 2005, 10:13:56 PM
anyone?
Title: Re: Banner Mod 3.0 Final
Post by: [Unknown] on January 10, 2005, 12:49:38 AM
Quote from: Aravot on January 09, 2005, 05:40:42 PM
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]
Title: Re: Banner Mod 3.0 Final
Post by: Aravot 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 (http://webpages.charter.net/osipof/smf/ungrouped.png)
Title: Re: Banner Mod 3.0 Final
Post by: Midgard 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
Title: Re: Banner Mod 3.0 Final
Post by: Aravot 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';
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 10, 2005, 03:36:16 AM
$txt['permissiongroup_banners'] = 'Advertisement Banner Images';
$txt['permissionname_can_see_banners'] = 'Can See';

this lines
Title: Re: Banner Mod 3.0 Final
Post by: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 10, 2005, 03:58:23 AM
I've try, please wait reply from me.
Title: Re: Banner Mod 3.0 Final
Post by: Midgard 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
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives on January 10, 2005, 08:15:36 AM
Quote from: Midgard on January 09, 2005, 09:49:50 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
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 10, 2005, 12:39:21 PM
Quote from: Midgard 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

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.
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on January 10, 2005, 06:10:25 PM
Quote from: Midgard on January 10, 2005, 03:36:16 AM
$txt['permissiongroup_banners'] = 'Advertisement Banner Images';
$txt['permissionname_can_see_banners'] = 'Can See';

this lines

Adding the code worked, thank you very much.
Title: Re: Banner Mod 3.0 Final
Post by: SilentNoise 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?
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 12, 2005, 04:20:30 AM
it already randomly selects a banner if you have more than 1 :)
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on January 12, 2005, 04:21:22 AM
You are really faster... Thanks :D :D
Title: Re: Banner Mod 3.0 Final (Spanish Translate)
Post by: Midgard on January 12, 2005, 04:42:57 AM
<?php
// Version: 1.0; Banner

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

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


Translated by Antonio Melé

Thank you Antonio - Regards...
Title: Banner Mod 3.2 Released
Post by: Midgard on January 14, 2005, 08:01:42 AM
for SMF 1.0.1
Title: Re: Banner Mod 3.0 Final
Post by: xtremecruiser 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 ?
Title: Re: Banner Mod 3.0 Final
Post by: Bullcat Webhosting on January 17, 2005, 12:01:53 PM
Hello Midgard, 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 ??

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>
Title: Re: Banner Mod 3.0 Final
Post by: TarantinoArchives 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
Title: Re: Banner Mod 3.0 Final
Post by: dtm.exe on January 21, 2005, 08:35:28 PM
I can't seem to get this to work ::)  Does it only work with the default SMF theme?

-Dan The Man
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 21, 2005, 10:32:36 PM
it will work with other themes, but you must the code manually to other themes.
Title: Re: Banner Mod 3.0 Final
Post by: dtm.exe on January 21, 2005, 11:49:01 PM
And how would I go about doing that?

-Dan The Man
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 21, 2005, 11:59:54 PM
since I just got my forums online I will tell you :P
<edit file>
$themedir/index.template.php
</edit file>

<search for>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
}
</search for>

<replace>
<td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
showBanner($zone = 'top');
}
</replace>

<search for>
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
</search for>

<replace>
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;

showBanner($zone = 'bottom');
</replace>
Title: Re: Banner Mod 3.0 Final
Post by: dtm.exe on January 22, 2005, 12:13:33 AM
OK, you're going to have to help me out here.  All I see is one big code, what file do I edit?!

-Dan The Man
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 22, 2005, 12:18:16 AM
in that code there are these tags

<edit file>
</edit file>

Those will tell you which file to edit.

<search for>
</search for>

Search for that in the file it told you to

<replace>
</replace>

will tell you what to replace what you searched for with.

Hopes that makes sense :-\
Title: Re: Banner Mod 3.0 Final
Post by: dtm.exe on January 22, 2005, 12:20:24 AM
Wow, I am such a n00b because all this stuff you're saying to me makes no sense at all...

-Dan The Man
Title: Re: Banner Mod 3.0 Final
Post by: ingmar on January 22, 2005, 03:47:10 AM
Unknown column 'WINDOW' in 'field list'
Bestand: /home/2445/parkieten-land.nl/HTML/smf/Sources/Banner.php
Regel: 362


This is what i getr, when adding a banner. what is going wrong.
Title: Re: Banner Mod 3.0 Final
Post by: Pause on January 22, 2005, 03:59:14 AM
Here's a suggestion - can the option be made to add in HTML code instead of the image? For example, if somebody wanted to put Google Adsense code
Title: Re: Banner Mod 3.0 Final
Post by: webhigh on January 22, 2005, 06:38:43 AM
Does the Banner mod allow you to attach banners to particular category forums of message boards. For example I have created a category for a particular group and within that group is their clients I'd like to be able to create a banner that just those clients see - an ad for the vendor that just their clients will see.

I don't know if I'm explaining this correctly.

Thanks
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 22, 2005, 08:06:28 AM
no, this mod only has one set of banners. But you can control which groups get to see banners
Title: Re: Banner Mod 3.0 Final
Post by: gusto5 on January 22, 2005, 08:10:47 PM
Quote from: ingmar on January 22, 2005, 03:47:10 AM
Unknown column 'WINDOW' in 'field list'
Bestand: /home/2445/parkieten-land.nl/HTML/smf/Sources/Banner.php
Regel: 362


This is what i getr, when adding a banner. what is going wrong.

i get the same thing: (when i try to add a new banner)
Unknown column 'WINDOW' in 'field list'
File: /home/gusto5/public_html/board/Sources/Banner.php
Line: 362
Title: Re: Banner Mod 3.0 Final
Post by: Bullcat Webhosting on January 22, 2005, 08:47:01 PM
You have to rename a fieldname TARGETWINDOW in your banners table to WINDOW you can do that with phpMyadmin !
Title: Re: Banner Mod 3.0 Final
Post by: gusto5 on January 22, 2005, 08:51:05 PM
and by what means do i do that? ive never used phpMyAdmin before :S
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 23, 2005, 02:25:32 AM
What is phpMyAdmin? (http://www.simplemachines.org/community/index.php?topic=21919.0)
Title: Re: Banner Mod 3.0 Final
Post by: gusto5 on January 23, 2005, 09:23:53 PM
Ive fixed the problem, but only registered users can see it :S
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on January 23, 2005, 09:27:52 PM
you have go on your Admin Panel -> Edit Permissions -> (the group you want) -> Allowed to View Banners.
Title: Re: Banner Mod 3.0 Final
Post by: gusto5 on January 23, 2005, 09:33:07 PM
OK. Im finally good with the mod. thanks alot./
Title: Re: Banner Mod 3.0 Final
Post by: danking on January 26, 2005, 12:01:06 PM
I would really like to use this in the xt enchanced theme

www.connexions.mfhosting.com/smf

I would like to be able to have small gifs that link to other sites where currently it says connexions arcade but dont no what to edit please help :)
Title: Re: Banner Mod 3.0 Final
Post by: Pause on January 26, 2005, 11:34:27 PM
Quote from: danking on January 26, 2005, 12:01:06 PM
I would really like to use this in the xt enchanced theme

www.connexions.mfhosting.com/smf

I would like to be able to have small gifs that link to other sites where currently it says connexions arcade but dont no what to edit please help :)
Look in the .mod file that comes in the package, and find the template.phip files that it mentions, and do those edits to the theme you wish it to appear on.
Title: Re: Banner Mod 3.0 Final
Post by: danking on January 27, 2005, 12:29:13 PM
Im very new to this and wouldnt no how to do it or where to start any help would be great :)
Title: Re: Banner Mod 3.0 Final
Post by: draker on January 27, 2005, 08:43:31 PM
Quote from: Mattitude on January 22, 2005, 03:59:14 AM
Here's a suggestion - can the option be made to add in HTML code instead of the image? For example, if somebody wanted to put Google Adsense code

I was wondering if this suggestion had been implemented.  I would prefer a better way to monitor my banners, but many of them are more then simple images, the are Banner Exchanges, which come with quite a bit of accompaning HTML code some times.
Title: Re: Banner Mod 3.0 Final
Post by: Pause on January 28, 2005, 02:52:26 AM
I don't think so - it's still at V 3.3
Title: Re: Banner Mod 3.0 Final
Post by: JayBachatero on January 28, 2005, 03:19:07 AM
Quote from: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)

i am havin the exact same problem.  how can i fix this i reuploaded the files.  and nothing
Title: Re: Banner Mod 3.0 Final
Post by: Zombie on January 28, 2005, 01:38:41 PM
Just wondering how I can display the banners using ssi in the board index.
I have the banners showing up on my site using the ssi function, but can't figure out how to display them in the forum at the same time.

Any help?
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 01, 2005, 04:30:42 PM
i don't see the banner as an admin and i don't if i logg off and gusts and ungrouped members should see the banner.  you ungrouped members have to see it for guests to see it, i would like the baners to be only if you don't register an account if possible too.
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 01, 2005, 04:58:49 PM
this is possible, please check the permissions of the groups.

Admin Panel -> Edit Permissions -> Modify the group you want -> and slect can view adds

(Thought this was posted before :-\)
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 01, 2005, 05:04:12 PM
i saw a post saying ungrouped members have to see it for guests to see it, but that still dosen't solve my problem, i don't see the ad, it's sposed to be at the top of the forum, and if i tell it to put munltipule banners at the top with it just keep switching though them everythime you load another page so it might show banner 1 then when you refresh banner 2 instead, ect.
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 01, 2005, 05:09:26 PM
it does automatically show random banners if you have more than one. Do you use a custom theme?
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 01, 2005, 05:12:51 PM
i am using the defualt theme.
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 02, 2005, 12:32:34 AM
do i have to add anything to the tamplate ???
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 02, 2005, 12:59:26 AM
check and make sure this code is in your theme:
http://www.simplemachines.org/community/index.php?topic=23761.msg199303#msg199303
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 02, 2005, 03:14:44 AM
yup that worked, thanks.  ;D
Title: Re: Banner Mod 3.0 Final
Post by: ryanbsoftware on February 02, 2005, 11:13:32 AM
suggestion for the next version:

make the permission does not see advert so when that is set to allow they don't see it, it has to be set to deny or all groups they are in to disallow then admins won't have to view the adverts cause all admin permissions are set to allow.
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 02, 2005, 12:00:02 PM
Quote from: RyanB on February 02, 2005, 11:13:32 AM
suggestion for the next version:

make the permission does not see advert so when that is set to allow they don't see it, it has to be set to deny or all groups they are in to disallow then admins won't have to view the adverts cause all admin permissions are set to allow.
that is really confusing :-X could you rephrase?
Title: Re: Banner Mod 3.0 Final
Post by: Little Wolf on February 04, 2005, 10:01:59 AM
I think what RyanB is trying to say is that admins should have the option not to see the ads as well. cos you see in the Permissions panel, admins have Allowed All permissions so you can't do anything to disable ad-viewing for admins.

and I also hope that in the next version we can include html code and not just images. :)

oh and first post too btw...   :D
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 04, 2005, 07:45:31 PM
Admins can see the adds....
Title: Re: Banner Mod 3.0 Final
Post by: Pause on February 06, 2005, 12:42:10 AM
Quote from: Jerry on February 04, 2005, 07:45:31 PM
Admins can see the ads....
But what they're trying to say Jerry, is that the Admins may not want to see them...
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 06, 2005, 02:16:46 AM
Quote from: Little Wolf on February 04, 2005, 10:01:59 AM
I think what RyanB is trying to say is that admins should have the option not to see the ads as well. cos you see in the Permissions panel, admins have Allowed All permissions so you can't do anything to disable ad-viewing for admins.

and I also hope that in the next version we can include html code and not just images. :)

oh and first post too btw...  :D
Quote from: Mattitude on February 06, 2005, 12:42:10 AM
Quote from: Jerry on February 04, 2005, 07:45:31 PM
Admins can see the ads....
But what they're trying to say Jerry, is that the Admins may not want to see them...
Sorry, I guess I misread ;) I thought you asked "what if admins wan't to see adds..." I am sure it would be easy for Midgard to add the option to turn off mods for admins in future versions :)
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on February 06, 2005, 05:23:49 AM
Quote from: Jerry on February 06, 2005, 02:16:46 AM
Quote from: Little Wolf on February 04, 2005, 10:01:59 AM
I think what RyanB is trying to say is that admins should have the option not to see the ads as well. cos you see in the Permissions panel, admins have Allowed All permissions so you can't do anything to disable ad-viewing for admins.

and I also hope that in the next version we can include html code and not just images. :)

oh and first post too btw...  :D
Quote from: Mattitude on February 06, 2005, 12:42:10 AM
Quote from: Jerry on February 04, 2005, 07:45:31 PM
Admins can see the ads....
But what they're trying to say Jerry, is that the Admins may not want to see them...
Sorry, I guess I misread ;) I thought you asked "what if admins wan't to see adds..." I am sure it would be easy for Midgard to add the option to turn off mods for admins in future versions :)

this option impossible... 'cause; "As an administrator, this member has all possible permissions."

;)
Title: Re: Banner Mod 3.0 Final
Post by: [Unknown] on February 06, 2005, 05:27:05 AM
[  ] Don't show banners to administrators.

if (!empty($modSettings['banners_no_admins']))

-[Unknown]
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on February 06, 2005, 06:04:50 AM
Quote from: [Unknown] on February 06, 2005, 05:27:05 AM
[  ] Don't show banners to administrators.

if (!empty($modSettings['banners_no_admins']))

-[Unknown]

if we make suchlike then Admins can't see banners in no case
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 06, 2005, 06:12:23 AM
you can make a checkbox on the banner page for settings that says "admins view banners" then you can check / uncheck the box and use the proper variable...sounds like it would work, but just theory.
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on February 06, 2005, 06:14:36 AM
Quote from: Jerry on February 06, 2005, 06:12:23 AM
you can make a checkbox on the banner page for settings that says "admins view banners" then you can check / uncheck the box and use the proper variable...sounds like it would work, but just theory.

Hmm.. Good idea. I'll try...
Title: Re: Banner Mod 3.0 Final
Post by: [Unknown] on February 07, 2005, 02:04:05 AM
That's what I said ::).

-[Unknown]
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 07, 2005, 02:11:44 AM
I think Midgard took it as adding it to change permissions for admins on the permissions page...
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on February 07, 2005, 09:22:25 AM
no, no...

I've be try. But, I can't. Don't work. This impossible.
Title: Re: Banner Mod 3.0 Final
Post by: Little Wolf on February 07, 2005, 06:48:14 PM
Well, I really wanted that feature so if it can't be done in the admin I guess we'll just have to hard code it. here's what I did...


Edit: index.template.php

Find:
showBanner($zone = 'bottom');

Change to:
if (!$context['allow_admin']) {
showBanner($zone = 'bottom');
}


That's if your banner is at the bottom like mine..  ;)
look for:

showBanner($zone = 'top');

if yours is at the top.  :)

no more ads for admins now!  8)
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 07, 2005, 07:04:05 PM
Quote from: Midgard on February 07, 2005, 09:22:25 AM
no, no...

I've be try. But, I can't. Don't work. This impossible.
it is possible :), I will try and tell you what I get ;)
Title: Re: Banner Mod 3.0 Final
Post by: JayBachatero on February 07, 2005, 09:14:33 PM
Quote from: LiL_J on January 28, 2005, 03:19:07 AM
Quote from: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)

i am havin the exact same problem. how can i fix this i reuploaded the files. and nothing
i dont know what to do.  i cant seem to see the add banner page correctly and i reuploaded the files any idea why?  i have been adding the banners manually through the database and modifying them in the forum.
Title: Re: Banner Mod 3.0 Final
Post by: dcantwell on February 09, 2005, 08:53:49 AM
guys this is a great mod and worked a dream with the default theme.
But I want to put it in the xtEnhanced theme but I have no idea what I need to change.  The line <td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
does not exist in the theme.

I want to put the banners in place of "style="background-image: url(', $settings['images_url'], '/xtHEAD.gif);" bgcolor="#83B3E0"><span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span></td>" on line 219 of the index.template.php.

Any help would be much appreciated.

Tip
Title: Re: Banner Mod 3.0 Final
Post by: Jerry on February 12, 2005, 08:31:57 PM
Quote from: dcantwell on February 09, 2005, 08:53:49 AM
guys this is a great mod and worked a dream with the default theme.
But I want to put it in the xtEnhanced theme but I have no idea what I need to change. The line <td id="bodyarea" style="padding: 1ex 20px 2ex 20px;">';
does not exist in the theme.

I want to put the banners in place of "style="background-image: url(', $settings['images_url'], '/xtHEAD.gif);" bgcolor="#83B3E0"><span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span></td>" on line 219 of the index.template.php.

Any help would be much appreciated.

Tip
Open index.template.php
Find
// The main content should go here.  A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left">';
}

Replace
// The main content should go here.  A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="left">';
        showBanner($zone = 'top');
}
for the part that didn't exist


Part #2
Find
<img src="', $settings['images_url'], '/xtLOGO.gif"  alt=""/>
Replace With
';
      showBanner($zone = 'top');
echo '
Title: Re: Banner Mod 3.0 Final
Post by: mennou on February 14, 2005, 12:55:56 AM
i have lil problem with my banner.....  it won't show up on the top of my forum and  another thing  it shows the banners twice on the bottom of my forum..  what should i do to fix  that?
Title: Re: Banner Mod 3.0 Final
Post by: Gandalf on February 14, 2005, 01:17:39 AM
Quote from: LiL_J on February 07, 2005, 09:14:33 PM
Quote from: LiL_J on January 28, 2005, 03:19:07 AM
Quote from: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)

i am havin the exact same problem. how can i fix this i reuploaded the files. and nothing
i dont know what to do. i cant seem to see the add banner page correctly and i reuploaded the files any idea why? i have been adding the banners manually through the database and modifying them in the forum.
it's really confusing me i tried on my test forum and on my REAL forum and i have on BOTH forum the same problem (i see nothing) so what could be the prob???
P.S: i didn't edit any file i just uploaded/applied the mod just like it is
thanks in advance
Title: Re: Banner Mod 3.0 Final
Post by: RDFT on February 14, 2005, 01:46:17 AM
Quote from: Gandalf on February 14, 2005, 01:17:39 AM
Quote from: LiL_J on February 07, 2005, 09:14:33 PM
Quote from: LiL_J on January 28, 2005, 03:19:07 AM
Quote from: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)

i am havin the exact same problem. how can i fix this i reuploaded the files. and nothing
i dont know what to do. i cant seem to see the add banner page correctly and i reuploaded the files any idea why? i have been adding the banners manually through the database and modifying them in the forum.
it's really confusing me i tried on my test forum and on my REAL forum and i have on BOTH forum the same problem (i see nothing) so what could be the prob???
P.S: i didn't edit any file i just uploaded/applied the mod just like it is
thanks in advance

I'm having the same problem.


Link to larger screenshot (http://www.arkansasprepsports.com/Graphics/screenshot.GIF)
Title: Re: Banner Mod 3.0 Final
Post by: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.
Title: Re: Banner Mod 3.0 Final
Post by: Gandalf on February 14, 2005, 03:21:31 AM
well there's nothing like this, it just tell us that here we add a banner, nothing else...
Title: Re: Banner Mod 3.0 Final
Post by: siggy on February 14, 2005, 05:44:42 PM
Having trouble with the database. I am assuming for this mod I am supposed to create another table in the existing database used for smf, but the code in the bannerpdb.php file keeps giving me errors. Can you give me the code for this table please? I am on mysql version 4.0.22-standard. thanks
Title: Re: Banner Mod 3.0 Final
Post by: RDFT on February 14, 2005, 07:45:28 PM
Quote from: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.

That's the problem! There's no "create a banner" option. The only thing on the page is "You can create an banner on these page."
Title: Re: Banner Mod 3.0 Final
Post by: RDFT on February 14, 2005, 08:51:37 PM
Quote from: RDFT on February 14, 2005, 07:45:28 PM
Quote from: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.

That's the problem! There's no "create a banner" option. The only thing on the page is "You can create an banner on these page."

The problem for me was my Firewall. Norton Internet Security was screwing it up.
Title: Re: Banner Mod 3.0 Final
Post by: mennou on February 14, 2005, 10:13:43 PM
i was trying to add  the banner mods  it couldn';t woork with the latest smt 102
here what it says 
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

is there any other way i can get it work ?? please help
Title: Re: Banner Mod 3.0 Final
Post by: Gandalf on February 15, 2005, 12:14:57 AM
Quote from: RDFT on February 14, 2005, 08:51:37 PM
Quote from: RDFT on February 14, 2005, 07:45:28 PM
Quote from: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.

That's the problem! There's no "create a banner" option. The only thing on the page is "You can create an banner on these page."

The problem for me was my Firewall. Norton Internet Security was screwing it up.
yeah that's right it's working after desactivating of Norton Internet Security :D
Title: Re: Banner Mod
Post by: Midgard on February 16, 2005, 03:11:07 AM
Mod Updated for SMF 1.0.2
Title: Re: Banner Mod
Post by: siggy on February 16, 2005, 05:09:08 AM
I just installed the smf update as well as the new banner mod update. i get the following error message when trying to access my site:
Notice: Undefined index: is_admin in /home/wwwwebm/public_html/Sources/Security.php on line 556

Notice: Undefined index: permissions in /home/wwwwebm/public_html/Sources/Security.php on line 563

Warning: in_array(): Wrong datatype for second argument in /home/wwwwebm/public_html/Sources/Security.php on line 563
session_start(): Cannot send session cache limiter - headers already sent (output started at /home/wwwwebm/public_html/Sources/Subs.php:1970)

Any ideas what i did wrong?
Title: Re: Banner Mod
Post by: jiminoregon on February 16, 2005, 01:12:52 PM
Release 3.4 works perfectly with smf 1.0.2 release...good work!   :D

Jim
Title: Re: Banner Mod 3.0 Final
Post by: jiminoregon on February 16, 2005, 01:17:44 PM
Quote from: RDFT on February 14, 2005, 08:51:37 PM
Quote from: RDFT on February 14, 2005, 07:45:28 PM
Quote from: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.

That's the problem! There's no "create a banner" option. The only thing on the page is "You can create an banner on these page."

The problem for me was my Firewall. Norton Internet Security was screwing it up.

Everyone that has Norton Internet security...pay attention to this post...if you do not disable...you will see nothing in the create banner area...Nice find RDFT!

Jim
Title: Re: Banner Mod
Post by: Gandalf on February 16, 2005, 10:15:36 PM
when i try to install this mod (i have already installed version 3.3) i get this message:
This package is already installed, and no upgrade was found!
all files editing is ok except:
./Sources/Subs.php
./Themes/default/index.template.php
what's wrong????
Title: Re: Banner Mod
Post by: Midgard on February 17, 2005, 03:22:11 AM
Before uninstall 3.3
Title: Re: Banner Mod 3.0 Final
Post by: jiminoregon on February 17, 2005, 04:30:18 AM
Quote from: Gandalf on February 14, 2005, 01:17:39 AM
Quote from: LiL_J on February 07, 2005, 09:14:33 PM
Quote from: LiL_J on January 28, 2005, 03:19:07 AM
Quote from: Aravot 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 (http://webpages.charter.net/osipof/smf/baner.png)

i am havin the exact same problem. how can i fix this i reuploaded the files. and nothing
i dont know what to do. i cant seem to see the add banner page correctly and i reuploaded the files any idea why? i have been adding the banners manually through the database and modifying them in the forum.
it's really confusing me i tried on my test forum and on my REAL forum and i have on BOTH forum the same problem (i see nothing) so what could be the prob???
P.S: i didn't edit any file i just uploaded/applied the mod just like it is
thanks in advance

The problem is more than likely your security...with my Norton Internet Security on blank page...turn it off page magically appears.

Jim
Title: Re: Banner Mod 3.0 Final
Post by: Aravot on February 17, 2005, 04:11:42 PM
Quote from: jiminoregon on February 16, 2005, 01:17:44 PM
Quote from: RDFT on February 14, 2005, 08:51:37 PM
Quote from: RDFT on February 14, 2005, 07:45:28 PM
Quote from: Midgard on February 14, 2005, 03:04:32 AM
It's not a problem. Because, you've don't be create an banner? Please look after create a banner.

That's the problem! There's no "create a banner" option. The only thing on the page is "You can create an banner on these page."

The problem for me was my Firewall. Norton Internet Security was screwing it up.

Everyone that has Norton Internet security...pay attention to this post...if you do not disable...you will see nothing in the create banner area...Nice find RDFT!

Jim

Nice find, thank you.
Title: Re: Banner Mod
Post by: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  i've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....
Title: Re: Banner Mod
Post by: Chadgqx on February 17, 2005, 07:59:38 PM
?

i am very new to php... there isnt any detailed instructions on how to install??  where can i find them?

Chad
Title: Re: Banner Mod
Post by: jiminoregon on February 17, 2005, 08:52:32 PM
Quote from: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  i've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....

I'm having the same problem...I can see the banner, in banner manager, but it doesn't display on the forum page....any ideas?

Jim
Title: Re: Banner Mod
Post by: Midgard on February 18, 2005, 04:42:18 AM
Quote from: jiminoregon on February 17, 2005, 08:52:32 PM
Quote from: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  i've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....

I'm having the same problem...I can see the banner, in banner manager, but it doesn't display on the forum page....any ideas?

Jim

Did you set permissions?
Title: Re: Banner Mod
Post by: Jerry on February 18, 2005, 04:53:12 AM
Quote from: jiminoregon on February 17, 2005, 08:52:32 PM
Quote from: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  i've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....

I'm having the same problem...I can see the banner, in banner manager, but it doesn't display on the forum page....any ideas?

Jim
do you use a custom theme?
Quote from: Chadgqx on February 17, 2005, 07:59:38 PM
?

i am very new to php... there isnt any detailed instructions on how to install?? where can i find them?

Chad
download the mod, upload the zip file to your /Packages directory, then navigate to your Admin Panel -> Package Manager, and find the mod on the list you uploaded and click apply mod, then click [proceed] on the next page if everything is sucessful.
Title: Re: Banner Mod
Post by: jiminoregon on February 19, 2005, 05:19:46 AM
Quote from: Midgard on February 18, 2005, 04:42:18 AM
Quote from: jiminoregon on February 17, 2005, 08:52:32 PM
Quote from: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  I've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....

I'm having the same problem...I can see the banner, in banner manager, but it doesn't display on the forum page....any ideas?

Jim

Did you set permissions?

By permissions...are you talking about chmoding the files?  If so...there's something weird happening there.  I set banner.php to 777...go back and check it...and it's 666...Any ideas...I saw no other permission settings.

Jim
Title: Re: Banner Mod
Post by: Midgard on February 19, 2005, 05:31:54 AM
My all files is 777 ;) (This is risky - I'm mod developer)
Title: Re: Banner Mod
Post by: jiminoregon on February 19, 2005, 06:07:32 AM
Quote from: Midgard on February 19, 2005, 05:31:54 AM
My all files is 777 ;) (This is risky - I'm mod developer)

I thought banner.php might need to be...because of this...but what do I know....lol  :-\

e20af09113a3b1e2a44320d3d2fcb94e 
http://www.protilt.com/forum/index.php?action=bannermod 
8: Undefined index: bimage
File: /home/hproti26/public_html/forum/Sources/Banner.php
Line: 390
Title: Re: Banner Mod
Post by: jiminoregon on February 19, 2005, 03:18:23 PM
Quote from: mennou on February 17, 2005, 06:06:03 PM
how come  my banner ain't display on my forum??  i've  uploaded the banner mod.. it seems nice but it won't appear on the main site.....

Still can't see...does this error code help?

422f72fb97c6042bcc0940588afacd2d 
http://www.protilt.com/forum/index.php?action=modifyModSettings;expand=71 
8: Undefined index: banner_enabled
File: /home/hproti26/public_html/forum/Sources/ModSettings.php
Line: 483

// Show the description... if a specific string wasn't passed, look for it... makes it easier ;).
      if ($config_id != '')
         $context['raw_data'] .= '
                     [<td class="windowbg2"><label for="' . $config_var[1] . '">' . (isset($config_var[3]) ? $config_var[3] $txt[$config_id]) . '</label></td>
                     <td class="windowbg2" width="50%">';


Jim

Title: Re: Banner Mod
Post by: richards on February 20, 2005, 05:19:17 PM
i want to use this mod but i am getting

   Execute Modification     ./Themes/default/index.template.php     Failure

even though is chmod 777
Title: Re: Banner Mod
Post by: Gandalf on February 20, 2005, 06:18:37 PM
hmmm. did you installed a mods before??? if yes try to edit it by hand
Title: Re: Banner Mod
Post by: richards on February 20, 2005, 08:30:56 PM
is there a way for it not to try and edit index.template.php so i just have to edit that file manualy?
Title: Re: Banner Mod
Post by: Jerry on February 20, 2005, 08:37:06 PM
should just have to click [proceed] ;)
Title: Re: Banner Mod
Post by: richards on February 21, 2005, 12:32:49 AM
when i click proceed it just goes back to the page that says failure for index.template.php and the FTP crap below it........

Title: Re: Banner Mod
Post by: Gandalf on February 21, 2005, 01:12:28 AM
i think you get this error bacause you've installed another modification that changed index.template.php so the banner.mod cannot find the search query, it's not so hard to do it manually, try...
Title: Re: Banner Mod
Post by: richards on February 21, 2005, 01:20:00 AM
nooooo not back to the phpBB days!!!!!!!!!! haha just kidding, i dont mind doing it manualy. Well thanks for the help.
Title: Re: Banner Mod
Post by: Gandalf on February 21, 2005, 02:02:46 AM
you're welcome :D
Title: Re: Banner Mod
Post by: RoCKeT-88 on February 21, 2005, 02:55:36 AM
Ok since I have no clue to what this means or how to go about fixing it, here is the deal.

Every since I went Banner Mod  3 I get this.

Unknown column 'WINDOW' in 'field list'

File: ..../Sources/Banner.php
Line: 412

If I try to set the banner for anything other than a top display.

I have BM 3.4 now and Im on SMF 1.0.2
Title: Re: Banner Mod
Post by: Midgard on February 21, 2005, 02:58:50 AM
Interesting...

This error not show on my display...
Title: Re: Banner Mod
Post by: RoCKeT-88 on February 21, 2005, 03:01:34 AM
I did not get this error on version 2 .........just once I went to v ersion 3................its about to drive me to drink............ok so it dont take much for me to want to have a drink ; )
Title: Re: Banner Mod
Post by: Midgard on February 21, 2005, 03:06:27 AM
I checked it. But not problem found.

Unknown, Please can you check it this mod?
Title: Re: Banner Mod
Post by: peterstannard on February 21, 2005, 03:36:37 PM
HI

I have just tried to add a banner to my site. The URL was quite long, it was an affiliate link, when i click submit everything seemed to work fine, but i noticed that some of the URL at the end had been "knocked off" and therefore the link didn't work.

Any ideas, suggestions?
Title: Re: Banner Mod
Post by: ryanbsoftware on February 22, 2005, 02:01:31 AM
http://snipurl.com/ will give you a shorter url that will redirect to the long url. ;)
Title: Re: Banner Mod
Post by: RoCKeT-88 on February 24, 2005, 04:54:26 AM
So any word on how I can get this too functiion properly?
Title: Re: Banner Mod
Post by: Chadgqx on March 01, 2005, 06:10:56 PM
only admins see banners... i looked at permissions, but no banner permissions??

Please help!

Chad
Title: Re: Banner Mod
Post by: Jerry on March 03, 2005, 03:11:24 AM
On the manage permissions page, search for:
"Advertisement Banner Images"
Title: Re: Banner Mod
Post by: friend on March 03, 2005, 09:38:54 AM
Can someone please help me

I have installed the banner mod, everything is fine, i have set all permissions so that everyone can see the banner, i can access the banner section in admin very nicely and upload banenr in that section easily but the problem is I see no banner on the forum! whats going wrong? Is there a code that i have to put in the indextemnplete so that the banner can be seen in the forum as currently i can do everytbg in admin but there is no banner showing in the forum?

this is my forum www.pakcricbuzz.com  do i have to put in a code in the index area for the banner to become visible on the forum?

please can u tell me the code and tell me where exactly i have to put it?

thanks
Title: Re: Banner Mod
Post by: JayBachatero on March 03, 2005, 01:12:10 PM
in you are using any theme besidd the default theme you will need to edit the index.template file for every theme you want with the banner.
Title: Re: Banner Mod
Post by: ryanbsoftware on March 03, 2005, 03:05:37 PM
an idea for the next version of the mods, use for where it shows the banner

first check to see if they are an admin, if so don't show the baner, if not then check their permissions, then only if both those are satisfied then show the baner, actually you could have two diffrent next versions, one will show banners to admin the other dosen't.  ;)
Title: Re: Banner Mod
Post by: Chadgqx on March 03, 2005, 09:28:16 PM
no permissions exsist!!!!


PLEASE HELP...


Chad
Title: Re: Banner Mod
Post by: Jerry on March 03, 2005, 10:12:01 PM
did the mod install completely?
And you are sure this doesn't show up on the permissions page?
QuoteAdvertisement Banner Images

If not, does this show up in your

Sources/ManagePermissions.php
'banners' => array(
'can_see_banners' => false,
),

if not you should try and reapply the mod..
Title: Re: Banner Mod
Post by: Chadgqx on March 04, 2005, 07:31:39 PM
only admins see the banners....

so da a search for the in my sourcesphp??

'banners' => array(
'can_see_banners' => false,

Chad
Title: Re: Banner Mod
Post by: Chadgqx on March 04, 2005, 07:34:28 PM
nope not their... :( :( :( :( :(


So what does this mean??


Chad
Title: Re: Banner Mod
Post by: Chadgqx on March 04, 2005, 07:36:20 PM
i get this when i tried to uninstall:

Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Failure
2. Execute Modification SSI.php Success
3. Execute Modification ssi_examples.php Success
4. Execute Modification ssi_examples.shtml Success
5. Execute Modification ./Sources/ManagePermissions.php Failure
6. Execute Modification ./Sources/ModSettings.php Success
7. Execute Modification ./Sources/Subs.php Success
8. Execute Modification index.php Success
9. Execute Modification ./Themes/default/index.template.php Success


Chad
Title: Re: Banner Mod
Post by: Jerry on March 04, 2005, 09:51:13 PM
Do you have any other mods installed Chad?
Title: Re: Banner Mod
Post by: RoCKeT-88 on March 06, 2005, 02:15:52 PM
Ok I got that issue solved with the error and fuxoring everything and having to have owdy fix my board then found the answer was already posted in this thread.............oh well anyways.

After adding a banner and setting it as top bottom etc modifying it will not work to change the display of it.  Have to delete the banner and add it again to change from top to bottom display.

Also I am not getting what the power logo banner is susposed to be doing I set a banner as that and I dont see it displaying anywhere.


Finally if one banner is set to top and one is set to bottom it only displays one in a random rotation?  Seem like it should be displaying both at tha same time one at the top and one at the bottom?
Anyways glad this mod is working now..
Title: Re: Banner Mod
Post by: Jerry on March 06, 2005, 03:29:15 PM
I will look into those issues, any one else having similiar problems?
Yes it does show banners randomly for zones also. I will e-mail midgard about the powered logo.
Title: Re: Banner Mod
Post by: Chadgqx on March 06, 2005, 10:42:10 PM
jerry,

here is a list of my mods:\


Mod Name Version   
1. Actions in Profile Display 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
2. Banner Manager 3.4   [ Uninstall ] [ List Files ] [ Delete ] 
3. Buddy List 1.21  [ Apply Mod ] [ List Files ] [ Delete ] 
4. Donations_Mod 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
5. Download Center 1.5  [ Apply Mod ] [ List Files ] [ Delete ] 
6. Locked Boards 1.1  [ Apply Mod ] [ List Files ] [ Delete ] 
7. Lots_o_Smileys 1.0  [ Apply Mod ] [ List Files ] [ Delete ] 
8. Message Icon Manager (Quick Reply) 1.2  [ List Files ] [ Delete ] 
9. OnLine Users Today 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
10. Topic Ratings 1.02   [ Uninstall ] [ List Files ] [ Delete ] 
11. SMFShop 1.0   [ List Files ] [ Delete ] 
12. TinyPortal 0.4  [ Apply Mod ] [ List Files ] [ Delete 



Thanks Jerry!!

Chad
Title: Re: Banner Mod
Post by: Jerry on March 07, 2005, 12:42:35 AM
does this exist in your ManagePermissions.php?
'pm' => array(
'pm_read' => false,
'pm_send' => false,
),
Title: Re: Banner Mod
Post by: Jerry on March 07, 2005, 03:45:40 AM
Quote from: `Z0mB|e` on March 06, 2005, 02:15:52 PM
Ok I got that issue solved with the error and fuxoring everything and having to have owdy fix my board then found the answer was already posted in this thread.............oh well anyways.

After adding a banner and setting it as top bottom etc modifying it will not work to change the display of it.  Have to delete the banner and add it again to change from top to bottom display.

Also I am not getting what the power logo banner is susposed to be doing I set a banner as that and I dont see it displaying anywhere.


Finally if one banner is set to top and one is set to bottom it only displays one in a random rotation?  Seem like it should be displaying both at tha same time one at the top and one at the bottom?
Anyways glad this mod is working now..
A powered logo is one that you call poweredBanner(); anywhere in a template or a page powered by SSI and it will return a banner defined as a powered banner :).
Title: Re: Banner Mod
Post by: dave on March 07, 2005, 11:04:01 AM
can you make the banners rotate every say 8 seconds?
;) ;) ;)

That would be sweet
I got the mod working no issues :)
Title: Re: Banner Mod
Post by: JayBachatero on March 08, 2005, 12:42:10 AM
i would like to know is there a way that i can include a banner in SSI and thhe forum itself?  Instead of having the same banner twice for diff locations.
Title: Re: Banner Mod
Post by: Jerry on March 08, 2005, 01:06:08 AM
Quote from: LiL_J on March 08, 2005, 12:42:10 AM
i would like to know is there a way that i can include a banner in SSI and thhe forum itself? Instead of having the same banner twice for diff locations.
That isn't currently possible, sorry. But can be possible soon.
Quote from: dave on March 07, 2005, 11:04:01 AM
can you make the banners rotate every say 8 seconds?
;) ;) ;)

That would be sweet
I got the mod working no issues :)

Not right now, that would require javascript + some other things. I will look into it for you.
Title: Re: Banner Mod
Post by: Chadgqx on March 09, 2005, 06:14:12 PM
Jerry,

Any ideas on mine?? I cant even un-install and re-intsall... please HELP!!



Chad
Title: Re: Banner Mod
Post by: DDT on March 13, 2005, 11:28:51 AM
You have probably been asked this before (love the banner manager and all works great,) but the error logs keep filling up just for me (admin) with:

Undefined index: banner_enabled
File: /home/xxxx/public_html/forum/Sources/ModSettings.php
Line: 494

(X's added in place of database name)

Like I said, everything works, I just can't count to 494 to figure our what needs to be defined (and wouldn't know how anyway) and only I get the error, seems like it's generated when I login to the admin panel.
Any easy clues?
Thanks for the great mod...was just what we needed.
Title: Re: Banner Mod
Post by: Jerry on March 13, 2005, 04:33:37 PM
yes I have noticed some errors with the mod as well, I will work on fixing those problems. :)
Title: Re: Banner Mod
Post by: Jonosss on March 20, 2005, 10:48:55 PM
hey im using the banner manager but my ssi advertisement is not showing up on the ssi
i have a banner at top of page that is showing up but my ssi one wont show up

can you help
Title: Re: Banner Mod
Post by: mennou on March 21, 2005, 02:00:51 PM
on the new  version can u add some more features
can u make the banners to display every5 second without refreshing the site?
Title: Re: Banner Mod
Post by: JayBachatero on March 21, 2005, 05:19:22 PM
also i dont knoow if its my board or the mod but the banner view for the ssi dont work.  also they outgoing link it the same.  i had to edit it and link directly tto the board in the ssi config.
Title: Re: Banner Mod
Post by: dave on March 30, 2005, 07:28:32 AM
i now notice  my banners wont rotate at all
hmm
and yes many many log errors as stated a few posts up
Title: Re: Banner Mod
Post by: PioneeR on March 30, 2005, 03:33:51 PM
Works fine on mine apart from one thing...

I have enabled it so unregistered guests can see the banner (but guests cant browse my forum).

If a user isnt logged in.. clicks a banner they get the "you are not allowed in this section" error message
Title: Re: Banner Mod
Post by: Midgard on March 31, 2005, 08:55:05 AM
Banner mod is paid now.

Price: 10$
Title: Re: Banner Mod
Post by: ^Raven^ on March 31, 2005, 03:15:22 PM
Ahh so now we gotta pay for the mod.  That's why it wouldn't install from the package manager.  Saw the mod on someone else's forum and remembered I wanted to re-install it.  Tried doing that and was told it wasn't compatible with my version of SMF (1.0.3).  So, came here to mention that but apparently now this is a paid mod.

I wonder if there's others like that here.
Title: Re: [PAID] Banner Mod
Post by: Ben_S on March 31, 2005, 06:06:16 PM
Just use something like phpAdsNew, it's what is used here.
Title: Re: [PAID] Banner Mod
Post by: ^Raven^ on March 31, 2005, 06:31:59 PM
Thanks for the heads up and the info.  I'm much obliged.
Title: Re: [PAID] Banner Mod
Post by: Midgard on April 01, 2005, 01:14:54 AM
Quote from: Midgard on March 31, 2005, 08:55:05 AM
Banner mod is paid now.

Price: 10$

(my Joke message)

Okay guys,

Banner Mod IV has been created.

New Features:
* Google AdSense controller

Changes:
* Removed: Zones
* Added: topBanner(), bottomBanner (Customizable)

no, It's not paid. That's only my joke... But SMF team has ...

Nevermind .

for download?
Please contact me via MSN: [email protected]
- or -
Please visit my develop site: http://www.eggheads.gen.tr

Thanks again.
Title: Re: [PAID] Banner Mod
Post by: Aravot on April 01, 2005, 02:47:46 AM
Quote from: Midgard on April 01, 2005, 01:14:54 AM
Quote from: Midgard on March 31, 2005, 08:55:05 AM
Banner mod is paid now.

Price: 10$

(my Joke message)

April fools day joke
Title: Re: [PAID] Banner Mod
Post by: Pause on April 01, 2005, 03:28:30 AM
Quote from: Aravot on April 01, 2005, 02:47:46 AM
Quote from: Midgard on April 01, 2005, 01:14:54 AM
Quote from: Midgard on March 31, 2005, 08:55:05 AM
Banner mod is paid now.

Price: 10$

(my Joke message)

April fools day joke
Although it was done early...
Title: Re: [PAID] Banner Mod
Post by: ^Raven^ on April 01, 2005, 06:23:26 PM
Just a little early.  Query, by directing us to your website and so forth does that mean this mod is no longer available via the Package Manager?
Title: Re: [PAID] Banner Mod
Post by: Midgard on April 03, 2005, 10:25:19 AM
yeah? i'm added again...
Title: Re: [PAID] Banner Mod
Post by: ^Raven^ on April 04, 2005, 03:22:59 PM
Ah okay so you're in the mod list again.  I'll have to DL the mod.  Many thanks!

BTW, did anyone actually send you money for the mod?
Title: Re: [PAID] Banner Mod
Post by: Midgard on April 05, 2005, 06:21:50 AM
Quote from: ^Raven^ on April 04, 2005, 03:22:59 PM
Ah okay so you're in the mod list again.  I'll have to DL the mod.  Many thanks!

BTW, did anyone actually send you money for the mod?

Raven, banner mod is not paid. That's was an joke...
Title: Re: Banner Mod
Post by: ^Raven^ on April 07, 2005, 02:39:23 PM
Quote from: Midgard on April 05, 2005, 06:21:50 AM
Quote from: ^Raven^ on April 04, 2005, 03:22:59 PM
Ah okay so you're in the mod list again.  I'll have to DL the mod.  Many thanks!

BTW, did anyone actually send you money for the mod?

Raven, banner mod is not paid. That's was an joke...

I realize it was a joke.  My question asks whether anyone sent you money for the mod without realizing it was a joke.
Title: Re: Banner Mod
Post by: emmaderijk on April 09, 2005, 12:53:15 AM
hi all,

I am using smf version 1.0.2

and want to install the mod, use to have the 3 version so uninstalled that version and installed the latest version (4). however I get this error message after all disriptions are Success.

Duplicate entry '' for key 1
File: /home/content/html/smf/Packages/temp/BannerPdb.php
Line: 78

Can somebody give me some help on this


Thanks
emma

Title: Banner Mod 4.0
Post by: Lo rei en jacme on April 10, 2005, 03:27:45 AM
How can I put AdSense with this mod?. Thanks.
Title: Re: Banner Mod 4.0
Post by: Midgard on April 10, 2005, 11:21:56 AM
Quote from: Lo rei en jacme on April 10, 2005, 03:27:45 AM
How can I put AdSense with this mod?. Thanks.

Did you look Google AdSense on Banner Management (in Administration Center)
Title: Re: Banner Mod
Post by: emmaderijk on April 11, 2005, 11:50:01 AM
small update:

Installing this package will perform the following actions:
   Type    Action    Description
1.    Extract File    ./Sources/Banner.php    
2.    Extract File    ./Themes/default/Banner.template.php    
3.    Extract File    ./Themes/default/languages/Banner.english.php    
4.    Execute Code    BannerPdb.php    
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Success
6.    Execute Modification    SSI.php    Success
7.    Execute Modification    ssi_examples.php    Success
8.    Execute Modification    ssi_examples.shtml    Success
9.    Execute Modification    ./Sources/ManagePermissions.php    Success
10.    Execute Modification    ./Sources/ModSettings.php    Success
11.    Execute Modification    ./Sources/Subs.php    Success
12.    Execute Modification    index.php    Success
13.    Execute Modification    ./Themes/default/index.template.php    Success

[ Proceed ]

Database Error
Duplicate entry '' for key 1
File: /home/content/html/smf/Packages/temp/BannerPdb.php
Line: 78

can somebody help me please?

thanks
emma
Title: Re: Banner Mod
Post by: Midgard on April 12, 2005, 08:43:48 AM
emma please drop table smf_banners, and again install.
Title: Re: Banner Mod
Post by: Cynthia Blue on April 24, 2005, 03:23:09 PM
When I delete a banner from the Delete Banner page, it actually clears out all the existing banners, even those I would like to keep. I have to re-enter the information, which is rather annoying.

Also, when I chose top, the banner also appears on the bottom as well. If I chose just bottom, it's only on the bottom.  Quite odd, the SQL query looks okay, but I don't know enough PHP to understand compeltely.

I'm running SMF 1.0.2, not sure if the version matters at this point. Also, I'd prefer to have the banner show in my portal's header, but I don't know how to get it onto the portal.

Thanks.

http://www.utahdogs.com
Title: Re: Banner Mod
Post by: NatakuARN on May 05, 2005, 03:15:26 PM
I can't get the Google Ad Sense feature to work, I input all my information but the ads are never displayed. Regular image banners work fine however.
Title: Re: Banner Mod
Post by: nubcakes on May 08, 2005, 05:34:30 PM
So, what's the deal... the download has been taken out and "the project has been ******ed?"
Title: Re: Banner Mod
Post by: dtm.exe on May 08, 2005, 07:59:29 PM
Quote from: nubcakes on May 08, 2005, 05:34:30 PM
So, what's the deal... the download has been taken out and "the project has been ******ed?"

Wow, I noticed that too.  Why was this mod removed and who removed it?

-Dan The Man
Title: Re: Banner Mod
Post by: torkil on May 13, 2005, 03:53:08 PM
Silly me upgraded to 1.0.3 before I found out that it killed my banner mod. :P
Title: Re: Banner Mod
Post by: Aravot on May 13, 2005, 04:14:23 PM
Try this link, I think someone has hacked his website http://www.eggheads.gen.tr
Title: Re: Banner Mod
Post by: bloc on May 13, 2005, 08:34:26 PM
heh..a screenshot of his login here..and he has put "no comment" on the top. ::)

He could at least support people that use his mods..but I guess that thing up there is more important to show.
Title: Re: Banner Mod
Post by: Thantos on May 13, 2005, 08:58:21 PM
It appears he uninstalled the SMF installation completly
Title: Re: Banner Mod
Post by: Gandalf on May 16, 2005, 02:49:28 PM
he hasn't been hacked nor uninstalled SMF, just closed the site himself!
Title: Re: Banner Mod
Post by: Owdy on May 16, 2005, 03:05:35 PM
*lock* (http://www.simplemachines.org/community/index.php?topic=23761.msg188129#msg188129)