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)

MikalMirkas 08-05-2011 03:01 AM

Test Site: www.teabagtheenemy.com/forum/content.php
Debug Mode Text:
Code:

DEBUG MODE is ON!
slider_img_filepath: slider/
width: 650 height: 250
show_articles_without_image:
fallback_img: slider/uf_fallback_slider.png
#img: 5
description_length: 95
directory /home/prknigh1/public_html/forum

array(0) {
}


Mooff 08-05-2011 08:09 AM

I see, thanks for the link. :)

First, the switch "show_articles_without_image is set to false" and you do not have articles with images (as far as i can see as a guest) so the slider does show nothing.
Another problem might be the default date range i included, this is set to 40 days. Any article older than that isn't shown. Can be changed easily though.

Secondly, you have 3 jquery files included in the source code of your page. jquery-1.6.1 / jquery.js and jquery-1.3.2min. That does cause problems and you do not need all 3. Reduce this to one (but be sure to use a version above 1.4)

Ramsesx 08-05-2011 08:21 PM

Great stuff Mooff, thanks for it, do you have a hint how I can get the slider aligned left?
See here. Thanks.

Mooff 08-05-2011 08:37 PM

search for this code in the nivo-slider_uf_theme.css file
Code:

.theme-uf #slider {
    height: 290px;
    margin: 0 auto;
    width: 470px;
}

replace with
Code:

.theme-uf #slider {
    height: 290px;
    width: 470px;
}


Ramsesx 08-05-2011 08:43 PM

That's it. Thanks for your outstanding support. :up:

MikalMirkas 08-06-2011 05:08 AM

Quote:

Originally Posted by Mooff (Post 2229579)
I see, thanks for the link. :)

First, the switch "show_articles_without_image is set to false" and you do not have articles with images (as far as i can see as a guest) so the slider does show nothing.
Another problem might be the default date range i included, this is set to 40 days. Any article older than that isn't shown. Can be changed easily though.

Secondly, you have 3 jquery files included in the source code of your page. jquery-1.6.1 / jquery.js and jquery-1.3.2min. That does cause problems and you do not need all 3. Reduce this to one (but be sure to use a version above 1.4)

So what size do I want the images to be?
Also, I ran a template search and couldn't find it.

Mooff 08-06-2011 08:34 AM

The slider does not care what size your images are.
Your articles either need to have a preview image - or you have to set "show_articles_without_image" to true in the options, then it will show a default image you can specify for articles without image.

What image size do you want the slider to use? That's a question only you can answer.

Template search? You mean for the other jquery files? You can see what they are called if you check the page via source code (in firefox ctrl+u).
You have this one:
<script type="text/javascript" src="/forum/arrowchat/includes/js/jquery.js"></script>
and that one:
<script type="text/javascript" src="steamprofile/jquery-1.3.2.min.js"></script>
and of course the slider one:
<script type="text/javascript" src="clientscript/jquery/jquery-1.6.1.min.js"></script>

As for guessing, the other ones come from a chat addon and a steam addon.

MikalMirkas 08-06-2011 08:37 AM

Quote:

Originally Posted by Mooff (Post 2230006)
The slider does not care what size your images are.
Your articles either need to have a preview image - or you have to set "show_articles_without_image" to true in the options, then it will show a default image you can specify for articles without image.

What image size do you want the slider to use? That's a question only you can answer.


Template search? You mean for the other jquery files? You can see what they are called if you check the page via source code (in firefox ctrl+u).
You have this one:
<script type="text/javascript" src="/forum/arrowchat/includes/js/jquery.js"></script>
and that one:
<script type="text/javascript" src="steamprofile/jquery-1.3.2.min.js"></script>
and of course the slider one:
<script type="text/javascript" src="clientscript/jquery/jquery-1.6.1.min.js"></script>

As for guessing, the other ones come from a chat addon and a steam addon.

So, is it a giant ordeal if I have all those jqueries there, or can I just use a higher jquery and remove all the other ones?

Mooff 08-06-2011 08:44 AM

Use a higher jquery and remove the other ones. Jquery is known to have conflicts if more than one file is included.

But, you need to load your jquery file above all your addons which need the jquery code.

MikalMirkas 08-06-2011 08:47 AM

Quote:

Originally Posted by Mooff (Post 2230010)
Use a higher jquery and remove the other ones. Jquery is known to have conflicts if more than one file is included.

But, you need to load your jquery file above all your addons which need the jquery code.

I got the Slider to work. Just need to make it resize with the box. If you resize the page, it'll clip into the red box...
hm.
derp.


All times are GMT. The time now is 09:00 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.01248 seconds
  • Memory Usage 1,753KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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