Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 10-06-2005, 08:17 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone explain how to "upgrade" phpadsnew to use the new 3.5 modules/addon system? I have 3.0.7 with phpadsnew working fine, and I upgraded a test system to 3.5 and now my banner ad doesn't run.

I'm not too familiar with the 3.5 hooks so I was wondering if someone could explain what changes need to be done.

Thanks!
Reply With Quote
  #12  
Old 10-07-2005, 02:59 PM
pguy pguy is offline
 
Join Date: Feb 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana
Can someone explain how to "upgrade" phpadsnew to use the new 3.5 modules/addon system? I have 3.0.7 with phpadsnew working fine, and I upgraded a test system to 3.5 and now my banner ad doesn't run.

I'm not too familiar with the 3.5 hooks so I was wondering if someone could explain what changes need to be done.

Thanks!
I need help too... hope to hear about vB 3.5 and phpadsnew integration so that I can get it into place.

Thanks
Reply With Quote
  #13  
Old 10-11-2005, 01:46 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrWee
Yes, like i said above, i literally copy and pasted the code that in used in the phpinclude_start template under 3.0.8. It worked fine in that version.

First i added it as a plugin wit hte global_start hook, then i tried adding it directly to global.php like you said.

Does the mysql error give anyone any ideas? it seem to be looking for a db table that doesn't exist, what in the code would cause this?

EDIT:

I found the solution in another thread:

https://vborg.vbsupport.ru/showpost....0&postcount=74
Thanks for posting the solution, that fixed it for me.
Reply With Quote
  #14  
Old 10-11-2005, 02:16 PM
tgreer tgreer is offline
 
Join Date: Oct 2005
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vbulletin.com/forum/showthread.php?t=156877" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=156877</a>
Reply With Quote
  #15  
Old 10-11-2005, 02:24 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I paste the invocation code in my header is this ok?

www.localracechat.com
Reply With Quote
  #16  
Old 10-11-2005, 04:49 PM
tgreer tgreer is offline
 
Join Date: Oct 2005
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can place the invocation code anywhere it makes sense to place it. Do this via a hook. I place mine in the "global_start" hook.

Then, you place the variable created by the invocation code, wherever you like. Header is fine. If you user the variable within a template used by a function (like the postbit template), you'll first have to declare the variable as global, also via the appropriate hook.

I explain all this in the link I provided.
Reply With Quote
  #17  
Old 10-11-2005, 06:47 PM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forgive the ignorant question, however, is there a benefit to using local invocation versus remote? I have the remote version in my header and it works fine??

www.atvpros.net

Thanks!
Reply With Quote
  #18  
Old 11-15-2005, 06:45 PM
Sergio7889 Sergio7889 is offline
 
Join Date: Apr 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, i don't get any errors, but no banners show up!! Please help!
Reply With Quote
  #19  
Old 12-08-2005, 06:15 AM
Zilvia's Avatar
Zilvia Zilvia is offline
 
Join Date: Apr 2002
Location: Denver, CO
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone willing to give any support on this?

I have one setup of this working great on a web host company for my website Boostaholic.org.

I set it up correctly and tried what seemed every other possible way to configure it on my hosted computer that runs my large website Zilvia.net and I cant get it to display. Any ideas?

Thanks!
Reply With Quote
  #20  
Old 01-10-2006, 12:59 AM
Runner Runner is offline
 
Join Date: Oct 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

if you still didn't know why it's not working when adding the code to global.php or as a plugin:

Set $phpAds_config['compatibility_mode'] to true in your config.inc.php of your phpadsnew installation.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:25 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.04175 seconds
  • Memory Usage 2,257KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete