Advertisement:

Author Topic: Banner Mod  (Read 92388 times)

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: Banner Mod 3.0 Final
« Reply #40 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

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 #41 on: January 21, 2005, 10:32:36 PM »
it will work with other themes, but you must the code manually to other themes.
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: Banner Mod 3.0 Final
« Reply #42 on: January 21, 2005, 11:49:01 PM »
And how would I go about doing that?

-Dan The Man
« Last Edit: January 22, 2005, 12:14:13 AM by OIDanTheManIO »

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 #43 on: January 21, 2005, 11:59:54 PM »
since I just got my forums online I will tell you :P
Code: [Select]
<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>
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: Banner Mod 3.0 Final
« Reply #44 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

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 #45 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 :-\
« Last Edit: January 22, 2005, 12:30:45 AM by Jerry »
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline dtm.exe

  • SMF Hero
  • ******
  • Posts: 5,465
Re: Banner Mod 3.0 Final
« Reply #46 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
« Last Edit: January 22, 2005, 12:25:46 AM by OIDanTheManIO »

Offline ingmar

  • Jr. Member
  • **
  • Posts: 129
  • Gender: Male
    • Parkieten land Forum
Re: Banner Mod 3.0 Final
« Reply #47 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.

Offline Pause

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,623
  • Official Cheesecake
Re: Banner Mod 3.0 Final
« Reply #48 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

Offline webhigh

  • Semi-Newbie
  • *
  • Posts: 44
Re: Banner Mod 3.0 Final
« Reply #49 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

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 #50 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
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline gusto5

  • Semi-Newbie
  • *
  • Posts: 38
Re: Banner Mod 3.0 Final
« Reply #51 on: January 22, 2005, 08:10:47 PM »
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
« Last Edit: January 22, 2005, 08:15:50 PM by gusto5 »

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 #52 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 !


Wij ondersteunen SMF forums & safe mode staat uit.

Offline gusto5

  • Semi-Newbie
  • *
  • Posts: 38
Re: Banner Mod 3.0 Final
« Reply #53 on: January 22, 2005, 08:51:05 PM »
and by what means do i do that? ive never used phpMyAdmin before :S

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 #54 on: January 23, 2005, 02:25:32 AM »
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline gusto5

  • Semi-Newbie
  • *
  • Posts: 38
Re: Banner Mod 3.0 Final
« Reply #55 on: January 23, 2005, 09:23:53 PM »
Ive fixed the problem, but only registered users can see it :S

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 #56 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.
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

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

Offline gusto5

  • Semi-Newbie
  • *
  • Posts: 38
Re: Banner Mod 3.0 Final
« Reply #57 on: January 23, 2005, 09:33:07 PM »
OK. Im finally good with the mod. thanks alot./

Offline danking

  • Semi-Newbie
  • *
  • Posts: 16
Re: Banner Mod 3.0 Final
« Reply #58 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 [nofollow]

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 :)

Offline Pause

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,623
  • Official Cheesecake
Re: Banner Mod 3.0 Final
« Reply #59 on: January 26, 2005, 11:34:27 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.