vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Using PHPadsnew 2 with Vbulletin 3. (https://vborg.vbsupport.ru/showthread.php?t=75475)

mikexxx 08-02-2005 12:43 PM

Is there a manual to do this in 3.5 with the hook system? The phpinclude_start is not in the vbulletin 3.5 version, but I can’t get it to work with hook > global_start.

Sidewindr 08-19-2005 04:55 AM

This appears to be broken now with phpAdsNew v 2.0.6 and vBulletin 3.0.7

Get errors regarding ..

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount
FROM forum AS forum

mysql error: Table 'ls1ads.forum' doesn't exist

mysql error number: 1146

Date: Friday 19th of August 2005 03:51:53 PM
Script: http://www.ls1.com.au/forum/showthread.php?t=43313
Referer: http://www.ls1.com.au/
Username: Unregistered
IP Address: xxx.xxx.xxx.xxx
The table 'ls1ads.forum' does not exist and the phpAdsNew database is called ls1ads and the forum DB is called ls1 so it appears the new version of phpAdsNew is screwing with something where vBulletin is concerned.

flstreetscene 09-09-2005 02:26 AM

I get the following error with vb 3.5.0 RC3

Code:

Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:

                SELECT
                        user.username, (user.options & 512) AS invisible, user.usergroupid,
                        session.userid, session.inforum, session.lastactivity,
                        IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
                FROM session AS session
                LEFT JOIN user AS user ON(user.userid = session.userid)
                WHERE session.lastactivity > 1126235465
                ORDER BY username ASC;

MySQL Error  : Table 'florida_phpads.session' doesn't exist
Error Number : 1146
Date        : Thursday, September 8th 2005 @ 11:26:05 PM
Script      : http://www.floridastreetscene.com/testforums/index.php?
Referrer    : http://www.floridastreetscene.com/testforums/admincp/index.php?do=head
IP Address  : 68.223.209.100
Username    : zeno
Classname    : vb_database


Pulsorock 09-09-2005 02:39 AM

That used to happen to me too. The fix is found goin to Settings > Main Settings > In Database optimisations, check the option that reads: "Use database compatibility mode"

flstreetscene 09-09-2005 03:43 AM

Quote:

Originally Posted by Pulsorock
That used to happen to me too. The fix is found goin to Settings > Main Settings > In Database optimisations, check the option that reads: "Use database compatibility mode"

Thanks, you PulsoROCK! :speechless:

Pulsorock 09-09-2005 03:50 AM

Quote:

Originally Posted by flstreetscene
Thanks, you PulsoROCK! :speechless:

You are welcome... ;)

Chris 96 WS6 09-09-2005 12:44 PM

So how do I run 2 zones on one page? I have set up the 2nd zone and put the invocation code in phpincludes_start...but what tag do I put on the page (footer)? Right now I have the same tag on both places and so the zone 1 ad shows in both places.

mikexxx 09-09-2005 02:08 PM

Just put $phpAds_raw2[html] in any template ;)

flstreetscene 09-12-2005 06:15 AM

question:

Right now I have the '$phpAds_raw[html]' in my navbar template. How come when vbulletin message comes up (you just logged out, or you dont have permission to this page) the banner disappears? What do I edit so that it's visible there too?

Thanks.

kafi 09-18-2005 08:29 AM

PHP Code:

PhpAdsNew

Warning
Cannot modify header information headers already sent by (output started at /home/www/>>>>>>/www/includes/adminfunctions.php:222in /home/www/>>>>>>/www/adserver/libraries/lib-cache.inc.php on line 16

Warning
Cannot modify header information headers already sent by (output started at /home/www/>>>>>>/www/includes/adminfunctions.php:222in /home/www/>>>>>>/www/adserver/libraries/lib-cache.inc.php on line 17

Warning
Cannot modify header information headers already sent by (output started at /home/www/>>>>>>/www/includes/adminfunctions.php:222in /home/www/>>>>>>/www/adserver/libraries/lib-cache.inc.php on line 18

Done 

I am getting this errror after manual run of PhpAdsNew cron job on Vbulletin.

Please advise.
Thank you


All times are GMT. The time now is 11:31 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02947 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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