Help with Fronpage Slideshow on vb4

Discussion in 'vBulletin' started by judgejudy, Jun 11, 2010.

  1. #1
    Good Evening guys (and girls),
    I was hoping someone on here would be able to possibly help me out with something I am trying to do for my website.

    I currently have vBulletin Publishing Suite 4.0 installed for my website and things are working/going well (thanks for asking lol).

    I recently purchased: http://www.frontpageslideshow.net/ to use on my site mainly to advertise some of the bigger talking points on my website; and mainly assist in adding a little bit of color to the website to catch the eyes of our visitors.

    However on their website they claim it works well with vBulletin - however they don't state they mean vBulletin 3.8 and earlier and so it doesn't really work that great with vBulletin 4.0, they claim that I should input the following code in my index.php page (although we don't have one)
    <div style="position:relative; width:100%">
    <?php
    // START of "Frontpage Slideshow" settings
    	$nameOfSlideshowToDisplay = "sfslideshow"; 					// Enter the name of your slideshow. Slideshows are in folders inside /fpss/slideshows/.
    	$URLofyoursite = "http://www.xxxxxx.com"; 					// Enter your site's URL.
    	$AbsoluteServerPathofyoursite = "/home/xxxxx/public_html";	// Enter the root path of your site on the server.
    	
    	// do not edit below this line
    	include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");
    // END of "Frontpage Slideshow" settings
    ?>
    Code (markup):
    The issue is when you attempt to put it into a direct php widget on the cms it comes up with a santax error; however if you remove the < php > tags it does appear however it is outside the widget and at the top of the page (above the logo/navbar etc).

    What I am looking to do is have it just on my CMS page under the navigation bar but above the articles.

    I was wondering if anyone who uses this same system was able to get it working? Or others who are "in the know with vBulletin" could tell me what I have to edit to make this code work - and where I need to put it for it to appear on my CMS above the articles.

    Your help would be greatly appreciated.
     
    judgejudy, Jun 11, 2010 IP
  2. ChopSuey

    ChopSuey Peon

    Messages:
    843
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That is for Joomla, index.php would be your content.php (if you have the publishing suite.)
     
    ChopSuey, Jun 11, 2010 IP
  3. judgejudy

    judgejudy Member

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Yeah I know it is for Joomla but they have a Stand Alone version to use on non Joomla websites - I have attempted to put it on content and it doesn't show at all but thanks for attempting to help I really do appreciate it.
     
    judgejudy, Jun 11, 2010 IP
  4. ChopSuey

    ChopSuey Peon

    Messages:
    843
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Why not just use it in a custom page, like slideshow.php??

    (I know its a "Frontpage" thing but custom page would be better :D)
     
    ChopSuey, Jun 11, 2010 IP
  5. judgejudy

    judgejudy Member

    Messages:
    118
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Lol because it defeats the purpose of what I am trying to do :)
     
    judgejudy, Jun 11, 2010 IP