Jump to content


View All ProductsRandom Products

Example PM

Auto Anniversary Greeter



IP.Board: IPB 3.2.x
Price: $ 10.00
Add Edit Custom Page

Global Messages



IP.Board: IPB 3.2.x
Price: $ 21.95
Birthday PM

Auto Birthday Greeter



IP.Board: IPB 3.2.x
Price: $ 10.00
Manage Donation Settings

Donation Tracker



IP.Board: IPB 3.2.x
Price: $ 35.00
Manage Makes and Models

Garage System



IP.Board: IPB 3.2.x
Price: $ 35.00

Front Page Slideshow


  • You cannot reply to this topic
1 reply to this topic

#1 bosss

    Member

  • Customers
  • 10 posts
  • IP.Board Version:IPB 3.0.x

Posted 12 July 2010 - 06:02 PM

Hello!

Need some help with Front Page Slideshow - how integrate this on ipb 2.3.6

will explain:

have front page slideshow - ver. 2
fpss is uploaded in my forum directory and there is no problem.

i maked one file - test_slide.php (and uploaded also in my forum directory

this is code for test_slide.php
<?php
// START of "Frontpage Slideshow" settings
	$nameOfSlideshowToDisplay = "demoslideshow"; 					// Enter the name of your slideshow. Slideshows are in folders inside /fpss/slideshows/.
	$URLofyoursite = "http://www.mysite.com"; 					// Enter your site's URL.
	$AbsoluteServerPathofyoursite = "/home/user/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
?>

now is step 2 (make plugin) and here is my problem (how make plugin to ipb?)
plugin must be like this
ob_start();
     include('test_slide.php');
     $jwfpss = ob_get_contents();
ob_end_clean();

and finaly put the code
$jwfpss
in template ...

my problem is how get this to work on ipb 2.3.6 and how make plugin or some to get that to work?

i get that to work without plugin on my ipb 2.3.6 - just put first code on my index.php page but slideshow looks much better and work better with plugin and $jwfpss in template (skin).
Thanks and hope will get some help!

i maked that for my vbulletin board and works fine - you can see here - http://www.newlibar.com (only guests see that) - will also that posibility for ipb 2.3.6 (hope)

regards

bosss

Edited by bosss, 12 July 2010 - 06:06 PM.


#2 bosss

    Member

  • Customers
  • 10 posts
  • IP.Board Version:IPB 3.0.x

Posted 17 July 2010 - 09:26 AM

Hello!

My another question is how modificated "$jwfpss" this variable to get work on ipb templetes (skins)?

I get slideshow on index page and will put slideshow in portal block (portal system 3.0.4) for ipb 2.3

regards

Bosss





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users