Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-17-2009, 12:30 PM
kleinschwanz kleinschwanz is offline
 
Join Date: Jan 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is very nice to see everywhere I look for this problem anyone tells people to disable hacks... well I knew it would work without hacks but now I am asking you how do I get my hacks working that have not been changed in the code yet - I mean I have boutgh a shoutbox that isn't supported anymore but it is the only one I want to use... so how can I get this thing to work with the new vbulletin? What is the necessary change I have to make when a plugin shows this nervous warning??? all it says there is the usual warning

Code:
Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3780
but there is no link or any description how to cmake these changes... I sure know how to use an editor and have seen several php files but this gives me some bad times. Any ideas how I can get the necessary files edited?

same it is in other addons... I can see the problem should be here:

Code:
eval('$navbar = "' . fetch_template('navbar') . '";');
but how the hell should I replace this? or am I completely wrong there?
Reply With Quote
  #12  
Old 11-17-2009, 02:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are a ton of blogs/articles posted over on vb.com about the new way to 'eval' templates and how to register variables. There are also a couple of articles here in our vB4 Articles forum.
Reply With Quote
  #13  
Old 11-24-2009, 07:26 AM
masons masons is offline
 
Join Date: Jan 2007
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hold on,

I got a new install, no mods no styles and all works fine... except the register page.
If I turn hooks and plyugins off it all works fine, but I like to use the cms and all ..

So...

How do I fix this then?


Code:
Warning: fetch_template() calls should be replaced by the vB_Template class in [path]/includes/functions.php on line 3796

Parse error: syntax error, unexpected T_STRING in /XXXXX/XXXXX/public_html/includes/class_bootstrap.php(277) : eval()'d code(7) : eval()'d code on line 1

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:4263) in [path]/includes/functions.php on line 4477

Parse error: syntax error, unexpected T_VARIABLE in /XXXXXX/XXXXX/public_html/includes/class_core.php(3805) : eval()'d code on line 16
Reply With Quote
  #14  
Old 11-24-2009, 02:00 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by masons View Post
Hold on,

I got a new install, no mods no styles and all works fine... except the register page.
If I turn hooks and plyugins off it all works fine, but I like to use the cms and all ..

So...

How do I fix this then?
You disable/delete ALL the plugins/products that are not the blog or cms.

See this sticky - Installation Issues / Questions or bug reports regarding default vBulletin 4.0
Reply With Quote
Reply


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 05:04 AM.


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.04308 seconds
  • Memory Usage 2,192KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_code
  • (1)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
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_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