vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Nivo Slider on forum homepage (https://vborg.vbsupport.ru/showthread.php?t=299447)

Collectors 06-24-2013 10:12 AM

Nivo Slider on forum homepage
 
1 Attachment(s)
I would like to use the Nivo Slider on my forum homepage. I've read this installation tutorial but it's for the CMS.

What do I have to change from the tutorial so that it works on my forum home?

bbgun1 09-12-2013 06:59 PM

Have you had any luck figuring this out? I would like to do this as well.

fxdigi-cash 09-13-2013 08:32 AM

It should be a lot easier than what you think.

First, open your forumhome and place this code after <body> tage and change whatever necessary such as domain name and image url :

PHP Code:

<center>
        <
div id="slider-wrapper"
            <
div id="slider" class="nivoSlider"

<
a href="http://www.domain.com"><img src="http://www.image.com" title="Put a caption here."/></a>
<
a href="http://www.domain.com"><img src="http://www.image.com" title="Put a caption here."/></a>
<
a href="http://www.domain.com"><img src="http://www.image.com" title="Put a caption here."/></a>
<
a href="http://www.domain.com"><img src="http://www.image.com" title="Put a caption here."/></a>
<
a href="http://www.domain.com"><img src="http://www.image.com" title="Put a caption here."/></a>
            </
div
        </
div
    <
script type="text/javascript" src="http://www.yourvBulletinsiteurl.com/slideshow/js/jquery-1.6.1.min.js"></script
    <
script type="text/javascript" src="http://www.yourvBulletinsiteurl.com/slideshow/js/jquery.nivo.slider.pack.js"></script
 
<
script type="text/javascript"
$(
window).load(function() {
    $(
'#slider').nivoSlider({
        
effect:'slideInLeft'// Specify sets like: 'fold,fade,sliceDown'
        
animSpeed:250// Slide transition speed
        
pauseTime:8000// How long each slide will show
        
startSlide:0// Set starting Slide (0 index)
        
directionNav:false// Next & Prev navigation
        
directionNavHide:false// Only show on hover
        
controlNav:true// 1,2,3... navigation
        
controlNavThumbs:false// Use thumbnails for Control Nav
        
controlNavThumbsFromRel:false// Use image rel for thumbs
captionOpacity:1// Universal caption opacity
        
keyboardNav:true// Use left & right arrows
        
pauseOnHover:true// Stop animation while hovering
    
});
});
</
script>
</
center

2nd Step:

add this to your headinclude template:

PHP Code:

<link rel="stylesheet" href="http://www.yourvBulletinsiteurl.com/slideshow/css/nivo-slider.css" type="text/css" media="screen" /> 
    <
link rel="stylesheet" href="http://www.yourvBulletinsiteurl.com/slideshow/css/style.css" type="text/css" media="screen" /> 

Save your work and you are done. There is no need to install the plugin.

Remember to upload the necessary images and folders so it works correct...

And Last Step:

Copy your css files codes in your additional.css so style works...

And your are done!!

ANy questions, shoot this thread up again

Good luck :)

CAG CheechDogg 09-13-2013 11:11 AM

@ fxdigi-cash - Hey man thanks for posting how to add this slider, works great !

fxdigi-cash 09-14-2013 01:07 AM

glad it was helpful :)

CAG CheechDogg 09-14-2013 01:14 AM

Quote:

Originally Posted by fxdigi-cash (Post 2445467)
glad it was helpful :)

I have been trying to get the thumbs to work but no luck though, would you happen to know what to do there?

fxdigi-cash 09-14-2013 02:52 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2445468)
I have been trying to get the thumbs to work but no luck though, would you happen to know what to do there?

which thumb?? is it a mod?? if so, what version and what exactly want the help with? can you show me a snapshot or image...!!


All times are GMT. The time now is 10:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01018 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete