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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2010, 11:41 PM
Jamie G Jamie G is offline
 
Join Date: May 2007
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Urgent Help! Please

Urgent HELP needed.

just tried installing a plugin as per the install guide, and it appears to have killed my forums.

Can't access Admincp to turn it off!

NOTE: The steps below were documented on the latest vBulletin version, vBulletin? v3.6.8 Patch Level 2, but should work on all 3.x versions of vBulletin.

1. After you purchase and download the main .zip file with all Frontpage Slideshow versions, extract it and upload the folder "fpss" found inside vBulletin - vBadvanced Version/mod_fpslideshow_1.6rev1_vbulletin/ to the root of your vBulletin site.
2. Login to Admin Control Panel (/admincp/index.php) of vBulletin.
3. Navigate to "Plugins & Products" (click to expand) >> Plugin Manager.
4. If you haven't already enabled the plugin system, do so by clicking on the related notice at the top. Click the "enable plugin system..." link and you'll be redirected to a new page where you'll need to select "yes" and save. Now the plugin system is enabled.
5. (Back to to "Plugins & Products" (click to expand) >> Plugin Manager) Click "[Add New Plugin]" and now let's add Frontpage Slideshow as a vBulletin plugin with the following info:

- Hook Location: init_startup
- Title: Frontpage SlideShow
- Execution Order: 5 (default, if you got other plugins as well, you might wanna choose another value depending on when you want FPSS to be initiated)
- Plugin PHP Code:
Code:
ob_start();
include('fpss/mod_fpslideshow.php');
$jwfpss = ob_get_contents();
ob_end_clean();
- Plugin is Active: Choose "Yes".

6. Click "SAVE" and now navigate to "Styles & Templates" >> "Style Manager". We're gonna add FPSS on our vBulletin template. Next to the style we've chosen (e.g. "Default style"), we click on "Go" (to edit all styles).

7. Say we want to add our Frontpage Slideshow in the header area of our vBulletin template. We look for the "header" block and there we simply add:
Code:
$jwfpss
...in the place where we want Frontpage Slideshow to appear. In the "default" template used in our demo site, the code edited in the "header" block looks like this:


followed that to the book, and now it comes up with.

Warning: require_once(/fpss/slideshows//configuration.php) [function.require-once]: failed to open stream: No such file or directory in [path]/fpss/mod_fpslideshow.php on line 11

Fatal error: require_once() [function.require]: Failed opening required '/fpss/slideshows//configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/risq/public_html/fpss/mod_fpslideshow.php on line 11

Was told this should work on vB4 but clearly hasn't!

Anyone, please HELP!

--------------- Added [DATE]1269737689[/DATE] at [TIME]1269737689[/TIME] ---------------

Got the forum back online, but still having problems with this code...can anyone help?
Reply With Quote
  #2  
Old 03-28-2010, 01:43 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You most likely cannot install a 3.6 plugin onto a 4.0 site unless you have upgraded the code. But, just looking at the error, the path to the files is wrong:
/fpss/slideshows//configuration.php

You can't have two // in there.

If you need further help, you will need to post in the modification thread as that is where support for modifications is given.
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 11:13 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.03787 seconds
  • Memory Usage 2,170KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete