vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Geek Advertising Banner system RC1 (https://vborg.vbsupport.ru/showthread.php?t=79791)

[email protected] vbmenu_register("postmenu_731204", true); 07-06-2005 01:07 AM

I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.

The Geek 07-06-2005 07:05 AM

Quote:

Originally Posted by mmcgann11@mac.c
I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.

The banners (images and flash files) will get uploaded into the gab folder as long as your settings are correct (i.e. the server path is correct and the url path is correct).

You also need to make sure that you have $GAB_ads[0] in your tempalte somewhere (i.e. the top of the navbar template) and make sure you moved over the edited files from gish/gab/rc1

IF still having problems, PM me an admin account to check it out.

sm00nie 07-06-2005 01:54 PM

Hiya,

I'm having a similiar prolbem as phillpf. The banner images are uploading to 'gab/0' . I have $GAB_ads[0] in my template aswell. Also, When I go to edit an image there is no image already displaying.

I've gone through your list and all looks checked off.
Any ideas ?

Thanks,
Shawn

The Geek 07-06-2005 03:43 PM

Hey Shawn, was this an upgrade from the earlier beta?

Can you check that the templates listed in settings->templates exist in your styles? (i.e. gab_item_image)

beatyourtruck 07-06-2005 05:37 PM

First off, I am a new Vbulletin user (former phpBB2) and an very pleased to find this mod! It is exactly what I am looking for (I have never liked phpAdsNew...too hard to operate). Thank you for all the hard work and effort The Geek!

Anyway, downloaded and installed the mod today. No errors, only had to do the save phrase thing to get the words to show in the GAB menu. All is cool with that. Also was able to upload a banner! Excellent.

Now the problem, my forum (brand new 3.0.7 install with only CSS style changes done to it) just comes up with a blank screen. I placed the old Global file back in the root and the forum comes up! Hmmm! So I uninstalled the mod...reinstalled and the same thing.

Any ideas? Something goofed with Global or......?

sm00nie 07-06-2005 06:14 PM

Yep, it shows in my default template ( as well as custom_custom1, custom_adsense, item_flash, item_image, rotating, wrapper_standard).
When I create another banner, and up another image it goes to the same folder (gab/0), could that be the problem ?

The Geek 07-06-2005 07:04 PM

Quote:

Originally Posted by sm00nie
Yep, it shows in my default template ( as well as custom_custom1, custom_adsense, item_flash, item_image, rotating, wrapper_standard).
When I create another banner, and up another image it goes to the same folder (gab/0), could that be the problem ?

The folder (in this case 0) is a structure based on the userid (in other words, userid 0).

Gimme a few - im looking into it.

The Geek 07-06-2005 07:04 PM

Quote:

Originally Posted by beatyourtruck
First off, I am a new Vbulletin user (former phpBB2) and an very pleased to find this mod! It is exactly what I am looking for (I have never liked phpAdsNew...too hard to operate). Thank you for all the hard work and effort The Geek!

Anyway, downloaded and installed the mod today. No errors, only had to do the save phrase thing to get the words to show in the GAB menu. All is cool with that. Also was able to upload a banner! Excellent.

Now the problem, my forum (brand new 3.0.7 install with only CSS style changes done to it) just comes up with a blank screen. I placed the old Global file back in the root and the forum comes up! Hmmm! So I uninstalled the mod...reinstalled and the same thing.

Any ideas? Something goofed with Global or......?

definatly sounds like a bad global.php edit. Try making the edits manually.

beatyourtruck 07-06-2005 07:38 PM

Thank you....I did try that earlier (several times) but I must have included some spaces or did something wrong?! I think sometimes it is good to walk away from this stuff for a couple of hours and then come back to it :)

It is working now.....I have banners uploaded and will now attempt to get them to show up on the board!

Thanks very much for the fast reply!!!

beatyourtruck 07-06-2005 08:06 PM

Is it possible to have specific banners appear only on specific forums? I think so if I am understanding the logic correctly (or maybe I am not understanding it):

If I wanted a specific banner to appear on a specific forum, could I create a new category (with for instance, "showthread", "forumdisplay") that only applied to that specific forum and then set the desired banner to that category? Then I would have to add "$GAB_ads[x]" ("x" being the Banner ID number) to my header template and it would only show when that forum came up? Am I thinking about this too hard or.......

One more thing.....I tried putting the $GAB_ads code into the navbar template but nothing happened. I just created a table <table width="100%" align="center"><tr><td>$GAB_ads[2]</td></tr></table> but I am thinking that is the wrong way to do it?

Please help! :)

Sorry for the stupid questions! I seem to know just enough to get myself in trouble :) And for what it is worth, I will be happy to donate some cash for this. It will be a GREAT tool!


All times are GMT. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01823 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete