![]() |
But Mooff, It is chmoded to 777, i even went in and set all the files and directorys(if any) inside that folder and made sure everything inside was also 777 and still didnt work :eek:
|
I added 2 additional lines of debug in the code below.
But before you try them i have an idea. Set: public_html/frontpage_nivo_slider/ To: frontpage_nivo_slider/ Code:
// DEBUG MODUS ! |
Quote:
|
It brought IE9 to a complete stop and it froze. Can someone else take a look using IE and see if it loads slow for them? The transitions don't seem to work as well either in IE. Here's a link to my forum.
|
Just checked on our 4.1.5 testboard.
Slider is running fine. The CMS changes do not affect it at all. I'll update the code tomorrow (to account for the different 4.1.5 jquery file) and probably also take a shot at the article id query. Sidenote: Sorry to all guys who tried out the livedemo link the last few days. We changed our cms rewrite rule from /content/ to /news/ and i forgot about the link in here, which unfortunally redirected you to our forum instead our cms page. Therefore not showing you the slider livedemo. It's fixed now, so if you want to take a look, feel free to do so. =) |
I'm sorry but I have to ask. I installed the widget and love the mod but I am struggling to get it to work properly. I turned the debug mode so it's on but yet still can't find the problem. This is the error message I'm getting with the debug mode on.
Code:
DEBUG MODE is ON! |
Hi, the addon can't write files via a http connection, so slider_img_filepath has to be local.
In your case uf_nivo_slider/ seems to be the right path for $slider_img_filepath instead of [url ]http://tokengaming.com/forums/uf_nivo_slider/[/url] |
Hello, I'm having an issue. It isn't pulling images from any articles... (even though there aren't any, still doesn't scroll through the articles)
Code:
// DEBUG MODUS ! Running on 4.1.5. Edit: Here's my Debug Code: Code:
DEBUG MODE is ON! |
Titles were removed via template edits. Find the template for the php execution widget (name starts with vbcms_widget_ ) you will find the right one then.
search and delete Code:
<div class="cms_widget_header"> You then have to rewrite your other widget to account for that and include the title there. (of course you also could create a new template for the slider, modify that to your needs and tell the slider executing php widget via the vbcms configuration in the acp to use the other template) As for borders and optical appearance of our cms. I think most of it can be done via stylevars. I'm not sure anymore since in some places i had to brutally take stabs at the vbcms.css file or include some custom css classes into the additional.css As for your problem, not sure. Everything looks fine, no debug errors given. I need additional debug and a link to a testsite would be great. search Code:
//Randomize Array Code:
//Randomize Array |
updated Version to 1.0.0
1.0.0 (4.08.2011)
@The Rocketeer As promised a query which does select specific articles - and nothing else. Just search and replace the top part of the php-widget code with this (you need to keep the bottom part in). Code:
// DEBUG MODUS ! then look for this part: Code:
//specific articles you want to show syntax is $articleids = '(id, id2, id3, id4)'; Number of Articles is dynamic, just include up to 20 ids (i can up that limit if need be). |
Test Site: www.teabagtheenemy.com/forum/content.php
Debug Mode Text: Code:
DEBUG MODE is ON! |
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) |
Great stuff Mooff, thanks for it, do you have a hint how I can get the slider aligned left?
See here. Thanks. |
search for this code in the nivo-slider_uf_theme.css file
Code:
.theme-uf #slider { Code:
.theme-uf #slider { |
That's it. Thanks for your outstanding support. :up:
|
Quote:
Also, I ran a template search and couldn't find it. |
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. |
Quote:
|
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. |
Quote:
hm. derp. |
Hey Mooff,
This is driving me crazy man. I've done just about everything I can think of and everything suggested here to get this working but after running in debug I get this; DEBUG MODE is ON! slider_img_filepath: /nivoslider/ width: 480 height: 320 show_articles_without_image: bool(true) fallback_img: /nivoslider/uf_fallback_slider.png #img: 5 description_length: 95 directory /home2/hzscenec/public_html Error occurred: picture is not readable./nivoslider/uf_fallback_slider.png Error occurred: picture is not readable./nivoslider/uf_fallback_slider.png Error occurred: picture is not readable./nivoslider/uf_fallback_slider.png #articles - featured and databasepull int(4) int(4) Clearly this has to do with the images not being readable, but how do I change it so that they are? Any ideas man? Cheers |
Finally worked it out. Yeahhhhhhhhhhhhhh! CMS Permissions need to be changed to make the content downloadable to the public. Please add this info to your instructions. Thanks for a great product. Cheers.
|
@MikalMirkas
The Nivo Slider doesn't support resizing on the fly. You can change the width and height or the slider in general though and add a minimum width to your slider php widget. @starman Great to hear. :) The information is allready in the faq ((cms)attachments need to be readable for guests). I changed the first post and included a link to the faq based on your feedback though. |
Must have missed that one. Thanks again.
|
Quote:
Then how come UF's resizes on the fly? D: |
Just spotted an anomaly. After about 5 mins the text disappears leaving just a black bar. My cache is set to 120 mins for this widget. Any idea why?
|
We don't? Our slider is fixed to width 650px height 250px and our cms width is fixed to 1000px.
@starman Sorry, no idea. That is a question for the nivo slider developers: http://nivo.dev7studios.com/ |
Okay no worries man. I guess it's not a problem as you wouldn't watch it for more than a minute anyway I guess.
|
I won't show up every time though. I had the slider once running > 20minutes in another browser i forgot to close - and the caption did not disappear.
But yes, you are right. Probably can be considored a minor bug. |
Hi,
Thanks for this awesome mod, I have 2 questions : 1- I want to dispaly the Slider only on the home page, not when I browse articles, like here : http://www.united-forum.de/news/ How to do this? 2- I use vbseo on my website, I want urls to be like this : http://www.united-forum.de/news/comm...rs-cc-229.html instead of http://www.united-forum.de/content.p...rs-cc-229.html |
1- depends. Works via different layouts on different sections.
two options a) you do not show articles on your homepage, only widgets. Then adding a subsection which shows the slider and telling vb in the acp to show that subsection instead of the main section will be enough. b) you do show articles on your homepage, then create a hidding second section below your newssection with a different layout without slider. Move all categories* and articles to that second section. Set the homepage to 'show all articles from subsections. 2- activate cms rewrite in the vbseo command panel. There look for extended options (or similar, haven't checked how it is called exactly) and follow the instructions for custom rewrites. *be careful here, moving categories via the acp is the buggiest piece of *** i have ever experienced in the vb_acp. If you can, i would strongly advise you to do it manually in the database. And backup your database before that! |
Quote:
doc_width? Edit: k set doc_width to 1000 but now it's aligned to the left side of the page. |
set doc_margin to 'auto' as said in the doc_margin stylevar description.
|
Beautiful work; I was waiting for long time unfortunately It is very slow!
|
Hi mooff !
I need your help. In your script, when someone reply an article, the slide goes to the front of the slider cycle. In my board I don't wanna show again older slides. How can I change this ? Ty in advance |
hmmm nvm....
I've removed Code:
+ (10 * $article['replycount']) It's how I need now...ty anyway. :D |
Can you make this work with: Article Forums v4.x?
https://vborg.vbsupport.ru/showthread.php?t=237116 I don't use VB CMS and already use this slider (but I use it manually) for it to work with Article Forums would be amazing and would solve all my problems! Thanks :D |
is it possible to have this work with forumposts rather than articles and have this load selected images to each slide?
that would make this so amazing. for my site i had to change the size to 830x320 for it to show up decently, i can't get it to load the article images right now, but even if i could most are 240x240 and wouldn't look right in 830x320. |
@Aramist
If you do not want the value sorting function you can remove the whole sorting part and therefore gain a bit in performance (not that much, but well a bunch of calculations are unnecessary then). (untested!) search for: Code:
/* my version of sorting the articles via relevance - i'll keep it in case someone is interested*/ Code:
$i = 0; @ Loversama I do not know what that mod does in terms of database changes and i do not have it installed and i cannot install it on our board, nor can i install it in our testboard (there we have 3 different unreleased projects right now which i can't risk to compromise). @ Wordplay Working with forumposts would need a database query rewrite. That beeing said. What can be done is showing title and description of threads and then using images based on the forum they are in. What can't be done is searching through the pagetext to find an image suited for the slider. (Well it can, but i can't debug that and it does need a lot of thinking and work. Work which will have no use on our board. Sorry.) As for article images not beeing suited for the slider. We do face the same problem on our board. Therefore we are using a highly customized version which does account for our needs. Like using section and category based images as fallbacks and resizeing images only for images which are at least 400px wide and have a width/height ratio between 2.5 and 2.8. Options i can not set as default for everyone. But as said in the first post, if one does need something fancy i might be able to help with some custom code for your board. No promises though. And i need to know exactly what one does want. Exactly. Like explaining it to your grandma exactly ;) |
well this is the best slide i've ever seen:
http://www.bet.com/shows.html i would like to impliment that into my site. is there really no way to make it just pick the first image attached to a thread? if there is no way to make it collect information from a specific forumthread, and that slide with thumbnails would work on articles, i'll just change my forum setup around to use articles rather than forumposts to post news. does the slider randomly pick an image from an article or does it pick out the first attachment in an article? right now i can't get it to display any images from the articles. it just shows my default fall back image on every news article. |
All times are GMT. The time now is 08:56 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|