vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - United-Forum Nivo Slider Widget (https://vborg.vbsupport.ru/showthread.php?t=267024)

Mooff 08-11-2011 11:20 AM

I received a question via private message about slider timings. Since that might interest other site owners aswell.

How do I slow down the image timings, at the moment its a bit fast?

Answer:
That is a setting for the nivo slider: http://nivo.dev7studios.com/#usage
There you can see what you can change. I'll give an example for the timings.

Search:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider();
    });
    </script>

Replace with:
Code:

    <script type="text/javascript">
    $(window).load(function() {
        $("#slider").nivoSlider({
        pauseTime: 6000
        });
    });
    </script>

This changes the pause Time between slides from 3 seconds to 6 seconds.


@croft
please go through the faq and post the debug you get (last question) if the other questions do not help.
It does look like a combination of a jquery (either to many jquery files or old jquery version or no jquery at all) issue and some problems with saving the resized image to file. Debug will help with the last one. If you can't find the jquery problem a link to the site where the slider is implemented would help.

Cheers

CharlieDelta 08-11-2011 11:47 PM

Hi Mooff. I have this installed and looks good. I have one problem the link to the article when clicked takes me to my index page. When you hover over the link it shows the proper URL however.

CharlieDelta 08-12-2011 03:24 PM

Quote:

Originally Posted by CharlieDelta (Post 2232454)
Hi Mooff. I have this installed and looks good. I have one problem the link to the article when clicked takes me to my index page. When you hover over the link it shows the proper URL however.

I ran a debug and there were no errors.

Any ideas?

Mooff 08-12-2011 03:52 PM

Hi,

i need a live demo of that redirect bug. Doublecheck if the hover urls really are correct. If they are i can't think of a reason why it shouldn't work.

CharlieDelta 08-12-2011 04:47 PM

Quote:

Originally Posted by Mooff (Post 2232675)
Hi,

i need a live demo of that redirect bug. Doublecheck if the hover urls really are correct. If they are i can't think of a reason why it shouldn't work.

www.canadianriflesregiment.com. Bottom of content.php page.

I just checked the hover URL's and they are correct.

Thanks

Mooff 08-12-2011 05:01 PM

Links in the slider are:

http://www.canadianriflesregiment.co...?r=160-Welcome...
correct would be:
http://www.canadianriflesregiment.co...hp?160-Welcome...

You are missing the crrforums part, thus the link leads to nowhere and gets redirected.

search this part:
Code:

                $article_neu['description'] = '<h2 style="font-weight:bold; font-size: 14px">'. $article['title'].'</h2><span>'. $article['previewtext'] .'</span> <a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">read on</a>';
                $article_neu['htmlcaptionname'] = 'htmlcaption' . $i ;
                $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';

replace with:
Code:

                $article_neu['description'] = '<h2 style="font-weight:bold; font-size: 14px">'. $article['title'].'</h2><span>'. $article['previewtext'] .'</span> <a href="/crrforums/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">read on</a>';
                $article_neu['htmlcaptionname'] = 'htmlcaption' . $i ;
                $article_neu['picture'] = '<a href="/crrforums/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"><img src="'.$article['previewimage'].'" alt="" title="#htmlcaption'. $i . '" /></a>';

That should work. Cheers.

CharlieDelta 08-12-2011 06:51 PM

Mooff you are number ONE in my books!:up:

Thank you.

5 stars and nominated!

bandare 08-13-2011 01:28 PM

I managed to get the slider to show and an image in it, but it doesn't add text and it doesn't move from article to article.

Mooff 08-13-2011 02:32 PM

Sounds like a jquery problem. Can you link me to your (test)site where the slider is installed?

bandare 08-14-2011 11:49 AM

Thanks very much for the help Mr Mooff. This addition is a must and exactly what I've been waiting for. I can't believe it's taken so long for someone to do and I'm really grateful for all your efforts and help.

Thanks!


All times are GMT. The time now is 09:00 PM.

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.01350 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete