PDA

View Full Version : Urgent Help! Please


Jamie G
03-27-2010, 11:41 PM
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 1269737689 at 1269737689 ---------------

Got the forum back online, but still having problems with this code...can anyone help?

Lynne
03-28-2010, 01:43 AM
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.