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)

The Geek 04-18-2005 11:13 AM

Quote:

Originally Posted by Lionel
yeah, give them points for clicking

oooo. I really dig that idea.

I was thinking people wanted to be able to sell ads for x amount of points. Didnt think of giving them points for clickthrus.

Lionel 04-18-2005 11:21 AM

Geek, I am having a hard time. On my site and on a friend site, I get the db error for packages

On my site, the javascript is preventing the gab_admin.php to display (blank page). I found a missing phrase that I had to insert manually: the admin phrase to add banner.

On my friend site, banner simply will not display.

geezzaa 04-18-2005 11:40 AM

Hi geek, i have checked it through to the best of my ability, still no luck
heres the file , could you take a look please

cyberdream 04-18-2005 11:46 AM

Quote:

Originally Posted by The Geek
for the missing phrase in the admincp:
add a phrase in the Control Panel Global section called 'GAB_add_ad' the value should be 'New Ad'

Sorry The Geek, I'm not a programmer and only now a little about adding hacks. Where & What actual code would i put into the admincp/global.php with the info you gave above.

The Geek 04-18-2005 12:15 PM

lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.

If you guys really having problems with $GAB_ad1 showing would like to send me admincp/ftp details - I will figure out what is happening. It seems to be working on most systems.

Cyberdream - go into admincp, expand the languages & phrases, click phrase manager, change Phrase Type to Control Panel Global, click Add new phrase, enter GAB_add_ad in the varname and 'New Ad' in the text. Then save.

I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)

The Geek 04-18-2005 12:22 PM

BTW: geezar - you are missing step 101 in the file chages for global.php

Thats why it isnt working ;)

geezzaa 04-18-2005 12:38 PM

Hi mate
Thats terrific, its now showing :)
But we arent out of the woods yet lol
Step 101 was showing as completed in the installer.
The banners are now showing but if you click on them you get

Warning: Cannot modify header information - headers already sent by (output started at /home/geezzaa/public_html/ukcultivator/global.php:708) in /GAB_redirect.php on line 24
Also the same line shows in the message box of the chatroom

geezzaa 04-18-2005 01:05 PM

i cant login to my site or admincp :cry:

All i get is Unable to add cookies, header already sent.
File: /xxx/xxxx/xxxx/xxxxxx/global.php
Line: 708

when i try to login

The Geek 04-18-2005 01:18 PM

Quote:

Originally Posted by geezzaa
i cant login to my site or admincp :cry:

All i get is Unable to add cookies, header already sent.
File: /xxx/xxxx/xxxx/xxxxxx/global.php
Line: 708

when i try to login

can you pm me ftp access - there must have been an error with applying that step.

Lionel 04-18-2005 01:26 PM

Quote:

Originally Posted by The Geek
lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.

Am able to display banner for my friend's site.

Test is blank page by me.

The Geek 04-18-2005 01:27 PM

Quote:

Originally Posted by Lionel
Am able to display banner for my friend's site.

Test is blank page by me.

do you have the latest gab_admin.php from the package?

Lionel 04-18-2005 01:29 PM

Yes I do. I downloaded a couple hours ago.
I forgot to mention. In my friend's site, I placed adv_index in the extra script space, but it does not display on that page.

Lionel 04-18-2005 01:31 PM

Geek, when you click on banner, it opens new page, but current page gives error
http://www.khwarriors.com/forums/index.php

The Geek 04-18-2005 02:29 PM

Quote:

Originally Posted by Lionel
Geek, when you click on banner, it opens new page, but current page gives error
http://www.khwarriors.com/forums/index.php

whats the URL? Make sure it doesnt start with http://

Lionel 04-18-2005 02:32 PM

ok, I removed http:// but I am observing a strange behavior: it's opening the new page behind.

geezzaa 04-18-2005 02:42 PM

i got admincp back, was my fault :(
Off to play with it now, be back shortly :)

venomx 04-18-2005 02:43 PM

Quote:

Originally Posted by The Geek
oooo. I really dig that idea.

I was thinking people wanted to be able to sell ads for x amount of points. Didnt think of giving them points for clickthrus.

If you add that please set it on a per ad or either on/off because some places would not like us oaying members to click the banners.

I too was just thinking about the X impressions for X points.

cyberdream 04-18-2005 04:22 PM

Quote:

Originally Posted by The Geek
lionel - made mention of this a few posts back. Dont worry about the packages for right now - it is for a portion of the system that isnt complete in this version. The phrase issue was mentioned too.
The js does seem to blank admincp's in rare instances - this is fixed in the next release.
Have you run a test? Does it produce anything.

If you guys really having problems with $GAB_ad1 showing would like to send me admincp/ftp details - I will figure out what is happening. It seems to be working on most systems.

Cyberdream - go into admincp, expand the languages & phrases, click phrase manager, change Phrase Type to Control Panel Global, click Add new phrase, enter GAB_add_ad in the varname and 'New Ad' in the text. Then save.

I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)

Sorry TheGeek. what did you mean by this:

Quote:

Originally Posted by The Geek
I think I would delete your global.php copy and paste. I think you may get chomped for pasting vb code publicly ;)


The Geek 04-18-2005 04:41 PM

Quote:

Originally Posted by cyberdream
Sorry TheGeek. what did you mean by this:

It was in reference to another user that pasted a copy of their global.php for troubleshooting ;)

Reeve of shinra 04-18-2005 05:30 PM

How does this stack up to say phpadnews which I hear is a pain to set up but is what I hear most often recommended? Also how well does this intergrate with say vbadvanced cmps, gallery and links and other vb-add on scripts?

Btw: You've put out some great hacks. Keep up the good work and thank you for sharing!

The Geek 04-18-2005 05:39 PM

Quote:

Originally Posted by Reeve of shinra
How does this stack up to say phpadnews which I hear is a pain to set up but is what I hear most often recommended? Also how well does this intergrate with say vbadvanced cmps, gallery and links and other vb-add on scripts?

Btw: You've put out some great hacks. Keep up the good work and thank you for sharing!

dont know - never used phpadnews ;)

Its designed to use on any page that uses global.php though you still have to cut it some slack - its still early beta ;)

Thanks!

H2k_Coder 04-18-2005 05:50 PM

Quote:

Originally Posted by stormblast
Ok I added:

PHP Code:

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array(); 

in GAB_redirect.php
Now a new window is being opened but the site cannot be displayed. Although the array.merge error is gone..

why u dont add options ads in the thread this will be nice also :)

The Geek 04-18-2005 07:40 PM

not sure what options ads are ;)

Are you putting http infront of the url? If so-dont. This current version doesnt like it :)

Reeve of shinra 04-18-2005 08:08 PM

Quote:

Its designed to use on any page that uses global.php though you still have to cut it some slack - its still early beta
Okay I guess if I have to ;)

geezzaa 04-18-2005 09:24 PM

Finished playing
Install clicked

geezzaa 04-18-2005 09:36 PM

Geek , Is the file name advertising.php correct. If i click on the link under the banner it links to advertise.php and i get a page not found ,
Advertise.php isnt in my directory

The Geek 04-19-2005 05:48 AM

Quote:

Originally Posted by geezzaa
Geek , Is the file name advertising.php correct. If i click on the link under the banner it links to advertise.php and i get a page not found ,
Advertise.php isnt in my directory

its supposed to be advertising.php but since that page wasnt even partially done - I wasnt going to worry about it (I suggested not to bother uploading it).
This has been fixed in the next release :)

geezzaa 04-19-2005 09:38 AM

Thanks mate, I am looking forward to the next release :)

JTyson 04-19-2005 02:00 PM

Nice work, I had to remove the javascript from Gab_admin to get rid of the blank pages, looking forward to future updates

gldtn 04-20-2005 11:18 AM

<i>Removed - please do not advertise your services on this forum</i>

LEAD_WEIGHT 04-20-2005 10:10 PM

Does it auto rotates banners and do u need to upload the image to your server or is it one of those Bandwidth stealer Banner system. I would like to know if I need to upload the image cause if I have to then I will install this Mod but if it is a bandwidth stealer thing then no. :ermm:

She Unlimited 04-21-2005 12:27 AM

Can this intergrate well with linkshare for example, where you can just upload or paste your code, and have the a banners rotate?

I would like to be on the mailing list when the new one is released...

sheunlimited@gmail.com

The Geek 04-21-2005 05:50 AM

Quote:

Originally Posted by She Unlimited
Can this intergrate well with linkshare for example, where you can just upload or paste your code, and have the a banners rotate?

I would like to be on the mailing list when the new one is released...

sheunlimited@gmail.com

lead - not sure what you mean exactly - but yes it does have the option to rotate and yes, you upload the banners (soon your users can upload their own)

She - most liekly not currently - I would need an example of the code that you would want displayed and I could incorporate that as an option too.

She Unlimited 04-21-2005 05:58 AM

Thank you for your quick reply.

Here is the code.

<div align="center"><a href="http://click.linksynergy.com/fs-bin/click?id=fByLJzuLIlQ&offerid=51678.10000561&type=4 &subid=0"><IMG width="160" height="600" alt="cyclo160x600" border="0" src="http://1800patches.com/banners/cosmetic/lepatch_160x600_2.gif"></a><IMG border="0" width="1" height="1" src="http://ad.linksynergy.com/fs-bin/show?id=fByLJzuLIlQ&bids=51678.10000561&type=4&sub id=0">
</div>

ChrisBaktis 04-21-2005 12:20 PM

Install seemed to go well but when I copy the new index.php to the admin folder I cannot access the admin page - just get a blank page.

The Geek 04-21-2005 01:10 PM

Quote:

Originally Posted by ChrisBaktis
Install seemed to go well but when I copy the new index.php to the admin folder I cannot access the admin page - just get a blank page.

If you mean the GAb_admin page - then you may have to remve the javascript in the begining of the file - if you mean the navigation pane to the left (with style manager, etc...) is blank - manually double check the file changes.

HTH's

Snow 04-21-2005 01:31 PM

Geek, I've just installed this on my test forum, but something has gone wrong...

1. I'm having mysql errors with the packages and add new packages in the adminCP and in advertising.php. I think it may be because of table prefixes but I'm not sure how to fix it
Code:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT * FROM tvb3_GAB_packages ORDER BY ordinal,title,id ASC
mysql error: Table 'aboho_crashforum.tvb3_GAB_packages' doesn't exist

mysql error number: 1146

2. I can't seem to be able to add any new ads in the adminCP
Code:

Warning: copy(./gab/aboho.gif): failed to open stream: No such file or directory in /admincp/GAB_admin.php on line 716
3. With the autoinstaller, it couldn't complete step 200 because of a previous modification that your GAS hack had made. The manual file change states this:
Code:

= false;
        // === GAB  ===
        construct_nav_option($vbphrase['GAB_settings'], 'GAB_admin.php?do=settings');
        construct_nav_option($vbphrase['GAB_display_ads'], 'GAB_admin.php');
        construct_nav_option($vbphrase['GAB_add_ad'], 'GAB_admin.php?do=add');
    construct_nav_option($vbphrase['GAB_display_packages'], 'GAB_admin.php?do=displaypackages');
    construct_nav_option($vbphrase['GAB_add_package'], 'GAB_admin.php?do=addpackage');
        construct_nav_option($vbphrase['GAB_display_frequency'], 'GAB_admin.php?do=displayfrequency');
        construct_nav_option($vbphrase['GAB_add_frequency'], 'GAB_admin.php?do=addfrequency');
        construct_nav_option($vbphrase['GAB_test'], 'GAB_admin.php?do=test');
        construct_nav_group($vbphrase['GAB_CP']);
        $printhr = true;
        $printhr = false;
        // === GAB ===
    $printhr = false;
        if (can_administer('canadminstyles'))
        {

Is that = false; supposed to be there?

4.
Quote:

for the missing phrase in the admincp:
add a phrase in the Control Panel Global section called 'GAB_add_ad' the value should be 'New Ad'
I found this phrase in Control Panel Stop Message Phrases. Since I've now added it to Global phrases, would it be safe to remove the original phrase from Control Panel Stop messages or is it a different phrase that is needed?

The Geek 04-21-2005 01:35 PM

Hey snow.

The package side of things is not really implimented yet so just dont bother to use it (I would recommend ditching the advertising.php too.) I was hoping to get the next version out before I head off for a few days but it isnt possible. In the meantime the rest of the system (ads) will work perfectly fine.

Remove the =false
Dont know what happened there ?

Make sure you have a folder called gab chmod to 0777 in your forums folder

You can remove the Control Panel Stop message - what happened is I stuck that phrase in the wrong area ;)

Gotta love a beta :)

Remember though - the ad side of things should be perfectly cool.

nJoy

Snow 04-21-2005 02:13 PM

Quote:

Originally Posted by The Geek
Hey snow.

The package side of things is not really implimented yet so just dont bother to use it (I would recommend ditching the advertising.php too.) I was hoping to get the next version out before I head off for a few days but it isnt possible. In the meantime the rest of the system (ads) will work perfectly fine.

Remove the =false
Dont know what happened there ?

Make sure you have a folder called gab chmod to 0777 in your forums folder

You can remove the Control Panel Stop message - what happened is I stuck that phrase in the wrong area ;)

Gotta love a beta :)

Remember though - the ad side of things should be perfectly cool.

nJoy


AWESOME! Thanks! :banana: :banana:

Issues 2 (I was missing the gab folder :o ), 3 and 4 fixed. I can't wait for the packages side to be finished... it looks like it's going to be another winner hack.

I've got another minor bug issue though..... In options > Record number of times shown? and in Ads > Track views .... I keep selecting YES and it keeps switching back to NO when I save :(

Snow 04-21-2005 02:37 PM

I was just wondering..... how easy would it be to integrate your autolinker hack with this hack in an intellitext sort of way of advertising? Would that be possible?


All times are GMT. The time now is 03:15 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.01821 seconds
  • Memory Usage 1,847KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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