Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Slide Show 1.10 Details »»
vBulletin Slide Show 1.10
Version: 1.00, by J98680Bxxxxx J98680Bxxxxx is offline
Developer Last Online: Oct 2011 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 12-18-2009 Last Update: Never Installs: 22
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

About
This mod was commissioned by "The Land of Fu" and approved for release at vbulletin.org. The original goals for developing this mod were:
  • To reduce the growing size of vbulletin database;
  • To allow members to posts series of images not limited in size, but kept at images hosting sites like photobucket.com, imageshack.com, tinypic.com, etc...;
  • To allow continuing discussions within those threads displaying slide shows.

Acknowledgement
The basis codes used in this mod originate from SINA?s, an online media company and MVAS provider in the People's Republic of China and the global Chinese communities, and have been modified to suit the needs of "The Land of Fu". The basis templates have been adapted from the vBulletin Album templates.

What this mod does

It adds a Flash "Slide Show" system to your community, a slide show been a display of a series of chosen pictures, which is done for artistic, instructional or discussion purposes.

How To Use The Slide Show In Your Threads

Open/Create a thread describing the content of your slides (Pictures, Covers, Posters, Lobby Cards, etc...). Once the thread has been successfully created, click on the "Thread Tools" menu and select "Add Slide Show". Follow the instructions afterwards. To edit the content of your slide show, click on the "Thread Tools" menu and select "Edit Slide Show".

Features:
  1. Create a slide show from images/pictures kept anywhere on the internet.
  2. No limitations in images/pictures sizes.
  3. No uploading and storage of images/pictures in your mysql database.
  4. Fully phrased to allow (language translation)
  5. Displays a flash slide show to the main post of threads.
  6. Displays a button for selection of the flash playing speed mode.
  7. Displays a button for forward, backward display of images/pictures
  8. Displays a button for viewing of images/pictures in flash full screen mode.
  9. Displays a button for viewing images/pictures in tabulation mode.
  10. Displays a link in the ?Thread Tools? for adding/editing slide shows.
  11. Option to add a ?Slide Shows? link on the navigation menu, for displaying all slide shows created.
  12. Option to add a quick link to the "Quick Navigation" menu, for displaying all slide shows created.
  13. Option to disable the mod on selected forums
  14. Option to ban selected usergroups from using the mod.
  15. Displays user?s slide show mini-block on user?s profile.
  16. Displays user?s slide show statistics on user?s profile.
  17. Option to display user?s slide show statistics on postbit.
  18. Option to display a mini slide show on forum home.

Installation instructions - Version 1.10.
  1. One (1) manual template modification. Perform the following manual template modification (I failed to have it automated).
    Code:
    In SHOWTHREAD template, search for:
    <tr>
    	<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mysticky.gif" />
    	<if condition="in_array($thread['threadid'], $personalstickys)">
    		<a href="showthread.php?$session[sessionurl]do=unpersonalsticky&amp;t=$threadid">$vbphrase[personal_unsticky]</a>
    	<else />
    		<a href="showthread.php?$session[sessionurl]do=personalsticky&amp;t=$threadid">$vbphrase[personal_sticky]</a>
    	</if>
    	</td>
    </tr>
    
    Insert the following right after:
    
    <!-- Slide Show Link -->
    	$slideshow_threadtool_link
    <!-- / Slide Show Link -->
  2. Uncompress the archive
  3. Upload the content of the "upload" folder into your forum root/main directory
  4. Import the "product_slideshow.xml" product via your ACP:
    ACP -> Plugins & Products -> Manage Product -> Add/Import Product
  5. Adjust the mod settings as you see fit.
    ACP -> vBulletin Options -> vBulletin Options -> vBulletin Slide Show
  6. Save the specified settings.

Working well on vb3.7x - 3.8x

If for some reasons the database columns required by this mod on the "thread" and "user" tables have not been automatically created during this mod installation, please do add those columns manually using the ALTER table command.

Code:
ALTER TABLE `thread` ADD `slideshowid` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE `user` ADD `slideshows` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;
Enjoy

Live demo at: http://www.fuflixbulletin.net
It?s a members only discussion forum and registration is required.

If you have a public board and have installed this mod, please provide a demo link for other users..

Update in v.1.01

1.
In the installation section of the XML:

`cover` varchar(250) NOT NULL),

changed to

`cover` varchar(250) NOT NULL,

Parenthesis removed just after the NULL.

2.
Option not to display the slideshow on forumhome added and checked.

Update in v.1.02

The following piece of code in the XML and PHP files:
Code:
query_write("DELETE FROM `". TABLE_PREFIX ."slideshow` WHERE `slideshow`.`slideshowid`=
has been replaced by
Code:
query_write("DELETE FROM `". TABLE_PREFIX ."slideshow` WHERE `slideshowid`=
as it affect databases with prefixed tables.


Update in v.1.10
  • Option to download active picture on slideshow
  • Option for slideshow owner to select/change the background color of its slideshow display
  • Option for users to add descriptive text per slide show pictures.


If for some reasons the database new column 'slideshow_bgcolor' required by this mod on the "thread" table has not been automatically created during this mod installation/upgrade, please do add that column manually using the ALTER table command.

Code:
ALTER TABLE `TABLE_PREFIXthread` ADD `slideshow_bgcolor` VARCHAR(50) DEFAULT '#fff' NOT NULL

Replace TABLE_PREFIX by your actual table prefix. If you have none, then use the instruction:

ALTER TABLE `thread` ADD `slideshow_bgcolor` VARCHAR(50) DEFAULT '#fff' NOT NULL

Get the attachment from this thread in the vb3.7x section:
https://vborg.vbsupport.ru/showthread.php?t=230476

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 12-21-2009, 06:42 AM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus1 View Post
OK, when I attempt to delete a slideshow I get this database error:

Database error in vBulletin 3.8.4:

Invalid SQL:
DELETE FROM `vbslideshow` WHERE `slideshow`.`slideshowid`='1' LIMIT 1;

MySQL Error : Unknown column 'slideshow.slideshowid' in 'where clause'
...

Thank you for the feedback. It has been implemented.

Update in v.1.02

The following piece of code in the XML and PHP files:
Code:
query_write("DELETE FROM `". TABLE_PREFIX ."slideshow` WHERE `slideshow`.`slideshowid`=
has been replaced by
Code:
query_write("DELETE FROM `". TABLE_PREFIX ."slideshow` WHERE `slideshowid`=
as it affects databases with prefixed tables.
Reply With Quote
  #33  
Old 12-21-2009, 08:45 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will test it now. Thanks! I just want to ask something else here! If my members enter, well, let's say 10 wallpapers to the slideshow. If other members want to download the wallpaper, how do they do that from within the slideshow?

EDIT: Also, is there a way to change the white background?
Reply With Quote
  #34  
Old 12-21-2009, 09:46 AM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taurus1 View Post
I will test it now. Thanks! I just want to ask something else here! If my members enter, well, let's say 10 wallpapers to the slideshow. If other members want to download the wallpaper, how do they do that from within the slideshow?

EDIT: Also, is there a way to change the white background?
At the current state, there is no option to download from within the slideshow. I will add that option to a forecoming version. :up:

The background color is defined in the css style sheets associated with the mod. In a forecoming version, I will add an inline style option to overwrite it and allow a user defined background color. :up:
Reply With Quote
  #35  
Old 12-21-2009, 10:18 AM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by J98680B2423E View Post
At the current state, there is no option to download from within the slideshow. I will add that option to a forecoming version. :up:

The background color is defined in the css style sheets associated with the mod. In a forecoming version, I will add an inline style option to overwrite it and allow a user defined background color. :up:
Thank you! I can confirm that the delete slideshow is now working properly. I hope to see those added features soon! Those are really very important to me, and I guess others too.
Reply With Quote
  #36  
Old 12-21-2009, 08:47 PM
Megatr0n Megatr0n is offline
 
Join Date: Jul 2007
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about an option to enable a slide show at the top of the forum index page?

That'd be awesome!
Reply With Quote
  #37  
Old 12-21-2009, 09:15 PM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Megatr0n View Post
How about an option to enable a slide show at the top of the forum index page?

That'd be awesome!
There is already an option included for displaying, above the forums on the index page, a small slideshow window containing as pictures 5 randomly selected covers from existing slideshows.

If you mean something else, please be specific.
Reply With Quote
  #38  
Old 12-22-2009, 08:34 AM
thevette thevette is offline
 
Join Date: Oct 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working well.

How/where do I change/remove the text ".A total of 16 pictures. Current set, picture." at the top of the slide show?

Thanks!
Reply With Quote
  #39  
Old 12-22-2009, 12:15 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O.k., we got it working! Once again thanks for this fine mod!
Reply With Quote
  #40  
Old 12-22-2009, 12:44 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One question, is it possible to get this to work with the vb albums?
Reply With Quote
  #41  
Old 12-22-2009, 06:07 PM
J98680Bxxxxx J98680Bxxxxx is offline
 
Join Date: Jan 2008
Location: Bridge - Enterprise
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thevette View Post
Installed and working well.

How/where do I change/remove the text ".A total of 16 pictures. Current set, picture." at the top of the slide show?

Thanks!
You can change/empty the content of the phrases variables x_eTitle and xy_eTitle
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 05:16 AM.


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.04746 seconds
  • Memory Usage 2,344KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete