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 |
#22
|
|||
|
|||
Neither the fallback image nor an error? That's really strange.
Please link me to your test site - if that's not possible please include a var_dump here: old: Code:
//Randomize Array //shuffle($featured_articles); Code:
//Randomize Array //shuffle($featured_articles); var_dump($featured_articles); |
#23
|
|||
|
|||
Nice mod, can it be changed or modified easily to do the following. Pull the cms articles and display them on the forum home instead?
|
#24
|
|||
|
|||
After adding the var_dump, I get a browser error in FF5.0 -
Content Encoding Error - The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression. and a can't load page error in IE9. Thanks for your help so far. |
#25
|
|||
|
|||
@HellRZR, should be pretty easy.
Without testing the way it might/should work. Plugin Hook Location: i don't know, has to be an early one for FORUMHOME. maybe: process_templates_complete ? Create a plugin, insert the code, at the end of the code add: Code:
$templater = \vB_Template::create('nivo_slider'); $templater->register('output', $output); $template_hook['insertAsensibleHookHere'] .= $templater->render(); Then create a template named nivo_slider and insert Code:
{vb:raw output} @starman Damn. I'm kinda lost now. Without debug message it is basecially guesswork. Let's try this: Remove that var_dump again and send me the source code of your slider cms-page you get viewing it via firefox5.0 ( ctrl+u) starting at: " <link rel="stylesheet" href="' .$slider_img_filepath. '/nivo-slider.css" type="text/css" media="screen" /> ... until: <script type="text/javascript"> $(window).load(function() { $("#slider").nivoSlider(); }); </script> </div> Maybe i'll see something there. |
#26
|
||||
|
||||
Quote:
Sometimes when refreshing, I get this error: Code:
Parse error: syntax error, unexpected '&' in /packages/vbcms/widget/execphp.php(191) : eval()'d code on line 17 Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /packages/vbcms/widget/execphp.php(191) : eval()'d code on line 14 |
#27
|
|||
|
|||
thank you, work fine, installed in two minutes, great work!
|
#28
|
|||
|
|||
@mitch84
Thanks for the feedback. Allways nice to hear when it is working. @Alfa1 I have no idea what's broken there. Doesn't sound like a mistake in my code. Do you have other php widgets running? Do they produce similar errors? |
#29
|
|||
|
|||
PM sent
|
#30
|
||||
|
||||
I have one other php widget running, but that does not produce any error.
|
#31
|
|||
|
|||
Is it possible to make it work for 4.1.1? I followed your instructions, but all I get is the white background.
Edit: Nevermind, I just made it work. But, here is another problem. It shows only fallback image... |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|