vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > vBa CMPS v3.x & 2.x > Add-On Modules (version 3.x & 2.x)

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2008, 11:03 AM
belai123's Avatar
belai123 belai123 is offline
Junior Member
 
Join Date: Aug 2005
Location: California
Posts: 3
Talking Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

This works for VBAdvanced CMPS v3.0.1 using Joomla Works Slideshow v1.7.2
http://joomlaworks.gr/index.php

Use the Vbulletin pack

I have figured out how to add this to VBAdvanced:
See it in action here: http://menopause911.com
This assumes your VBAdvanced is in root and your forum is in a folder in root.


Follow the instructions here:
1. Upload the entire mod_fpslideshow folder to the root of your forum (ex : /forumfolder/mod_fpslidehow/

2. now, open the mod_fpslideshow.php file

a. change the path to >>>> '/forumfolder/mod_fpslidehow/'
b. add the forum ids you will be using ex: (119,80,22)
make sure you already have test threads created in these forums prior to adding this to your modules folder with thumbnails already attached to those threads and allowing guest downloading access via the admincp forum permissions.

b. find in mod_fpslideshow.php

Code:
$use_mootools = 1; change the "1" to 0; if you get java errors. I didn't have to change this.

3. THIS IS IMPORTANT:

a. Change require_once('./includes/class_bbcode.php');
to require_once('forumfolder/includes/class_bbcode.php');

b. Change all references to: <?php echo $fpssfolder;?>/mod_fpslideshow/...... to
<?php echo $fpssfolder;?>/........ In otherwords: Delete any reference to the /mod_fpslideshow/ folder throughout the code in mod_fpslideshow.php



4. Upload the mod_fpslideshow.php to your forum/modules folder via ftp.

now, in your admincp cmps
>>modules >> add module >> php file
add the mod_fpslideshow.php

title = news
1. identifier = fpslideshow
2. clean file output? = yes
3. use module wrapper? = no

save, then activate the file on your cmps.

Good Luck

Last edited by belai123; 06-03-2008 at 02:13 PM. Reason: update
Reply With Quote
  #2  
Old 06-01-2008, 02:27 PM
vitoreis vitoreis is offline
Member
 
Join Date: Nov 2005
Posts: 31
Default Re: Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

Thanks belai. Just one question: what version in pack? "Static PHP Version"?
SLIDESHOW.JPG

Thanks, the hook from vbulletin version cause problems with new attachments (vBulletin 3.7.x) and this is the solution to that problem

Last edited by vitoreis; 06-01-2008 at 06:32 PM.
Reply With Quote
  #3  
Old 06-01-2008, 03:39 PM
wickedstangs wickedstangs is offline
Junior Member
 
Join Date: Mar 2007
Location: San Diego
Posts: 24
Default Re: Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

How much is 22 Euros to Dollars
Reply With Quote
  #4  
Old 06-01-2008, 04:53 PM
vitoreis vitoreis is offline
Member
 
Join Date: Nov 2005
Posts: 31
Default Re: Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

Quote:
Originally Posted by wickedstangs View Post
How much is 22 Euros to Dollars
Today: 34.2605 USD
Reply With Quote
  #5  
Old 06-03-2008, 02:10 PM
belai123's Avatar
belai123 belai123 is offline
Junior Member
 
Join Date: Aug 2005
Location: California
Posts: 3
Default Re: Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

Quote:
Originally Posted by vitoreis View Post
Thanks belai. Just one question: what version in pack? "Static PHP Version"?
Attachment 4445

Thanks, the hook from vbulletin version cause problems with new attachments (vBulletin 3.7.x) and this is the solution to that problem
Use Vbulletin version
Reply With Quote
  #6  
Old 06-05-2008, 07:44 AM
pcoskat pcoskat is offline
Senior Member
 
Join Date: Feb 2006
Posts: 102
Default Re: Instructions on adding Slideshow to VBAdvanced CMPS v3.0.1

Belai,

Thank you for the detailed tutorial!!

How many queries (if any) does Joomla slideshow add?
Reply With Quote
  #7  
Old 09-02-2008, 01:33 AM
jackd jackd is offline
Junior Member
 
Join Date: May 2006
Posts: 12
Default

Has anyone got this working on the portal.

I have had no luck following the above.

Thanks.
Reply With Quote
  #8  
Old 09-02-2008, 10:59 AM
jackd jackd is offline
Junior Member
 
Join Date: May 2006
Posts: 12
Default

Never mind the above.

I got this working using the latest version of VBAdvanced CMPS with vBulletin 3.7.3 and fpss v 1.6 which is packed for vBulletin.

The above does not work at all for me.

Give me a little time and I will make a new post with detailed instructions if anyone wants to know how to get this to work.
Reply With Quote
  #9  
Old 09-03-2008, 08:49 PM
thebands thebands is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Default

Quote:
Originally Posted by jackd View Post
Never mind the above.

I got this working using the latest version of VBAdvanced CMPS with vBulletin 3.7.3 and fpss v 1.6 which is packed for vBulletin.

The above does not work at all for me.

Give me a little time and I will make a new post with detailed instructions if anyone wants to know how to get this to work.
I've got this working fine in vBulletin 3.7.2 perfectly, my only problem is when I install in vbadvanced as a module the links are not working and the images do not show.

My forum files are located at "mysite.com/forums", so, for instance, the "Read More" link is missing the forum/ path.
Reply With Quote
  #10  
Old 09-03-2008, 09:13 PM
jackd jackd is offline
Junior Member
 
Join Date: May 2006
Posts: 12
Default

In mod_fpslideshow.php...

Find this...
Line number 195 and 196

PHP Code:
$link "showthread.php?t=".$threadid."";
        
$imagepath "attachment.php?attachmentid=".$pic['attach']; 
Replace with this...
Just add "forums/" in front of showthread.php and attachment.php

PHP Code:
$link "forums/showthread.php?t=".$threadid."";
        
$imagepath "forums/attachment.php?attachmentid=".$pic['attach']; 


And the same for line number 294 and 295
Find

PHP Code:
$navlink "showthread.php?t=".$threadid."";
            
$imagepath "attachment.php?attachmentid=".$pic['attach']; 

And replace as above with this...

PHP Code:
$navlink "forums/showthread.php?t=".$threadid."";
            
$imagepath "forums/attachment.php?attachmentid=".$pic['attach']; 

Hope this helps...
Reply With Quote
  #11  
Old 09-06-2008, 07:12 AM
jim6763nva jim6763nva is offline
Senior Member
 
Join Date: Oct 2005
Location: Manassas, Virginia
Posts: 139
Default

Quote:
Originally Posted by vitoreis View Post
Today: 34.2605 USD

got mine today for 32.12
Reply With Quote
  #12  
Old 09-06-2008, 07:16 AM
jim6763nva jim6763nva is offline
Senior Member
 
Join Date: Oct 2005
Location: Manassas, Virginia
Posts: 139
Default

I got mine working on vb3.7.3 pl1 vba3.0.1 with no changes in code except for pointing it to my forum ids.

Where do we get images large enough to display in the slideshow?
Reply With Quote
  #13  
Old 09-18-2008, 12:56 PM
VGPelega VGPelega is offline
Junior Member
 
Join Date: Jul 2007
Posts: 1
Default

Anyone got a better manual to get this working on the vbulletin front page? (vBa v3.0 vB v3.7.2)

I have tried their installation instructions (which only loads the slideshow in the forums) and I have tired these instructions and still no joy in making this a module in vBa.

Any one know where to go with this one? Any help would be greatly appreciated.
Reply With Quote
  #14  
Old 09-18-2008, 10:37 PM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

Well, I have set up the slideshow these days here: http://www.feelinggood24.de

I have vbAdvanced installed in the website root: http://www.domain.com/
the forum is located in a subfolder: http://www.domain.com/forum/
The slideshow is located inside the forum-folder: http://www.domain.com/forum/fpss/

For a setup like this - and make the slideshow work at the vbAdvanced pages - you need to change the following in the file mod_fpslideshow.php :


------------------------------------------------------

$fpssfolder = 'fpss'; // Path to FPSS folder, relative to vBulletin root.
replace with:
$fpssfolder = '/forum/fpss'; // Path to FPSS folder, relative to vBulletin root.

require_once('./includes/class_bbcode.php');
replace with:
require_once('/path/to/your/forum/includes/class_bbcode.php');

$link = "showthread.php?t=".$threadid."";
replace with:
$link = "/forum/showthread.php?t=".$threadid."";

$imagepath = "attachment.php?attachmentid=".$pic['attach'];
replace with:
$imagepath = "/forum/attachment.php?attachmentid=".$pic['attach'];

$navlink = "showthread.php?t=".$threadid."";
replace with:
$navlink = "/forum/showthread.php?t=".$threadid."";

$imagepath = "attachment.php?attachmentid=".$pic['attach'];
replace with:
$imagepath = "/forum/attachment.php?attachmentid=".$pic['attach'];
------------------------------------------------------

... so you just have to adjust the paths to also work outside the forums folder. These changes are assuming, you are using the latest version of the slideshow.

larina
Reply With Quote
  #15  
Old 09-18-2008, 10:40 PM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

Quote:
Originally Posted by jim6763nva View Post
I got mine working on vb3.7.3 pl1 vba3.0.1 with no changes in code except for pointing it to my forum ids.

Where do we get images large enough to display in the slideshow?

http://us.fotolia.com/
Here is a big source of grafics, which you can buy for use at websites. One pic about 400x300 px costs about $1, just to give an example.

larina
Reply With Quote
  #16  
Old 09-18-2008, 10:47 PM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

Quote:
and still no joy in making this a module in vBa
I forgot this. To make a module out of it, follow the instructions in post #1, step 4. This is working.

If you whish to add some text to the module - like I did - just copy the code out of your module wrapper template, create a new template with this code, and add your text into it. Make than sure, that your module is using this template as module wrapper and set "use module wrapper?" to yes.
Reply With Quote
  #17  
Old 09-18-2008, 11:06 PM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

One last note ... the slideshow produces xhtml-errors when validating the page. I asked for support on this, but got no answer yet. If I will get an answer, I will post the solution here. Otherwise you also can load the slideshow via iframe (call the iframe from inside the template), that also prevents the page being xhtml-invalid. I don't like iframes, as search engines don't like them. But in this case I think I have to make an exception if there won't be any other solution.
Reply With Quote
  #18  
Old 09-20-2008, 05:02 AM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

Quote:
Originally Posted by larina View Post
One last note ... the slideshow produces xhtml-errors when validating the page. I asked for support on this, but got no answer yet. If I will get an answer, I will post the solution here. Otherwise you also can load the slideshow via iframe (call the iframe from inside the template), that also prevents the page being xhtml-invalid. I don't like iframes, as search engines don't like them. But in this case I think I have to make an exception if there won't be any other solution.
Oh well, iframe does not work, it looses functionality when called into an iframe.

And their support refuses to answer me
Reply With Quote
  #19  
Old 09-20-2008, 06:59 AM
larina larina is offline
Senior Member
 
Join Date: Mar 2008
Posts: 367
Default

oh my, hopefully I am not confusing you. I was again playing around with it, and found what was wrong ... I made myself a html-mistake in the module I have put it into.

Sorry for confusion, slideshow is xhtml-valid
Reply With Quote
  #20  
Old 09-23-2008, 05:03 PM
thebands thebands is offline
Junior Member
 
Join Date: Jul 2006
Posts: 10
Default

Quote:
Originally Posted by jackd View Post
In mod_fpslideshow.php...

Find this...
Line number 195 and 196

PHP Code:
$link "showthread.php?t=".$threadid."";
        
$imagepath "attachment.php?attachmentid=".$pic['attach']; 
Replace with this...
Just add "forums/" in front of showthread.php and attachment.php

PHP Code:
$link "forums/showthread.php?t=".$threadid."";
        
$imagepath "forums/attachment.php?attachmentid=".$pic['attach']; 


And the same for line number 294 and 295
Find

PHP Code:
$navlink "showthread.php?t=".$threadid."";
            
$imagepath "attachment.php?attachmentid=".$pic['attach']; 

And replace as above with this...

PHP Code:
$navlink "forums/showthread.php?t=".$threadid."";
            
$imagepath "forums/attachment.php?attachmentid=".$pic['attach']; 

Hope this helps...

sorry, forgot to thank you, that worked.

See it in action:

www.theblueandsilver.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
slideshow module ?? esleague Module & Modification Discussion & Requests 0 02-26-2007 02:03 PM
Adding a Rotating Banner/Ad to VBAdvanced CMPS Roms Add-On Modules & Modifications 29 07-25-2006 11:58 AM
Adding a Rotating Banner/Ad to VBAdvanced CMPS aaamaretto "How Do I..." Questions 1 07-11-2006 02:18 PM
Adding/Creating a custom PHP Page : Instructions jim6763nva "How Do I..." Questions 7 11-27-2005 09:14 AM
Adding in CMPS to vBadvanced Dee Troubleshooting / "How do I..." Questions 16 10-19-2004 05:27 PM


All times are GMT -4. The time now is 01:57 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.