The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
United-Forum Nivo Slider Widget Details »» | ||||||||||||||||||||||||||||||||
Based on the Nivo Slider - all credit for slider awesomeness goes to them.
vB4 implementation goes to me. What it is: A slider for cms articles, it gets the articles via database, uses (if possible) the previewimage there and resizes it to slider size *update 1.1.0 cropping function included. Livedemo on a Big Board (>2.000.000 posts) the nivo slider on our site is customized to fit our heavily customized cms. Default look of this addon is shown in the picture below facts about the nivo slider Quote:
Custom settings: Support:
Slider not working. No idea why?
The widget here is completely free. No charge, no branding. But, we do not mind donations either. If you want to give us something. Since we are advertising free and fan based we are happy about every small donation. ( On Forumhome bottom right paypal button: http://www.united-forum.de/forum.php ) That's all Hope it works for you. Regards Mooff Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
13 благодарности(ей) от: | ||
AaronMiller, Aramist, doctorsexy, Gemma, LOGECT, mitch84, nacaruncr, owning_y0u, RaSa, Sage Knight, The Rocketeer, YkudzA |
Comments |
#282
|
|||
|
|||
Most Welcome
I had something strange happen to me today. After days of the slider working perfectly, this morning the fall back image was showing. I enables/disabled any different products that I had fiddled with lately though I could not get it to show the correct pulled images. I cleared the cache many times until I went into the 'slider' folder and deleted the images it had pulled previously. Now it works again Any thoughts on what may have caused that? site |
#283
|
|||
|
|||
Quote:
|
#284
|
|||
|
|||
For those that have issues with images not show correctly f.e. Wrong image is placed in the slider.
Make sure that those images are imported to you web server. External images wont be fetched |
#285
|
|||
|
|||
I'll try to answer some questions now, still no time to do some heavy debugging though - we just moved to another server like two days ago and still have to fight some bugs which are included for free with every change. In addition our heavy cms customization is finally ready and live - but that of course also needs some love, polishing and bugfixing.
But it's a nice showcase what can be done with the nivo slider engine. http://www.united-forum.de/news/ Questions: @hyperviperx99 I think you switched to another mod. Am i right? @Kr33p3r Sorry totally forgot about the version with more debug - for starters a small bit to improve that error you are getting: find this part Code:
else { //resiziing did not work - we are using the fallback image. $article['previewimage'] = $fallback_img; echo '<span style="color:red">Error occurred:</span> picture is not readable.' . $article['previewimage']. '<br /> '; } Code:
else { //resiziing did not work - we are using the fallback image. echo '<span style="color:red">Error occurred:</span> picture is not readable.' . $article['previewimage']. '<br /> '; $article['previewimage'] = $fallback_img; } 1) How do I remove the text from the slider? I would like to have only the images pulled from the articles. ---------------------- quick and dirty: Code:
<script type="text/javascript"> $(window).load(function() { $("#slider").nivoSlider(); }); </script> Code:
<script type="text/javascript"> $(window).load(function() { $("#slider").nivoSlider({ captionOpacity: 0, }); }); </script> --------------------- you prolly have included two jquery files on the site. Put the jquery in your headinclude and remove that line from both sliders: Code:
<script type="text/javascript" src="' .$slider_img_filepath. 'jquery-1.6.1.min.js"></script> Quote:
Wrong images showing is due to a browser caching error. A fix would be here: https://vborg.vbsupport.ru/showpost....&postcount=195 Hope i haven't missed a question. Cheers guys. |
#286
|
|||
|
|||
I don't get it. I have uploaded files and created widget. Edited path and put the widget into layout. Where it should appear as I don't see it anywhere?
I would like to put it on the bottom of forums home. If that is possible? Please PM me if you have solution for me. Thank you. |
#287
|
|||
|
|||
Quote:
|
Благодарность от: | ||
Mooff |
#288
|
|||
|
|||
Quote:
Good luck |
#289
|
|||
|
|||
Will this work with vBadvanced?
|
#290
|
|||
|
|||
@thecore762
Quote:
(untested) The catch: The simple version needs your pictures to be bigger than the result. Can be worked around though i think. Without someone actually wanting it i won't check into it more though - simply cause we do not need it right now anyway, for cropping find Code:
$img_width = $imageinfo[0]; $img_height = $imageinfo[1]; imagecopyresampled($sprite, $image, 0, 0, 0, 0, $maxwidth, $maxheight, $img_width, $img_height ); imagedestroy($image); Code:
$img_width = $imageinfo[0]; $img_height = $imageinfo[1]; if($img_height > $maxheight AND $img_width > $maxwidth) { $cropy = $img_height - $maxheight; $cropx = $img_width - $maxwidth; imagecopyresampled($sprite, $image, 0, 0, $cropx, $cropy, $maxwidth, $maxheight, $img_width, $img_height ); } else { imagecopyresampled($sprite, $image, 0, 0, 0, 0, $maxwidth, $maxheight, $img_width, $img_height ); } imagedestroy($image); |
#291
|
|||
|
|||
If you leave my slider (at http://www.bordersdown.net/) going for a while, eventually it goes weird (pics seem out of sync with text or text disappears) and firefox asks you if you want to the stop the script that is running on the page. Anyone else noticed anything like this?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|