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 |
#322
|
|||
|
|||
We are using php 5.3.8 (that's the latest stable release).
Your link doesn't help btw. I'm not using include() anywhere in the code. And i can't rewrite it so that it looks for the files in a local path, cause well, not all of them are stored locally. Preview pictures can be anything from attachement, to local image, to external image. There *might* be a way getting around allowing url_open, which would be cURL, but finding out how cURL works involves a lot of time. And i'm not even sure it does work and i can't test it since we won't disable the allow_url_open setting on our box anyway. |
#323
|
|||
|
|||
I do not know why but no picture is showing up but just the default no picture. Is this pulling inline images or attachements ? I am confused on what it trying to pull or at this point not pull. I have checked the faq and still lost.
|
#324
|
|||
|
|||
Hi, the slider widget works fine for me :up: Great work
One more problem i cannot solve: I'm using this mod: VBCMS Threads promoted to articles link to forum thread no more article pages to link by clicking "Read more" to the original forum thread - not to the article! The code in "vbcms_content_article_preview" changes to this: Code:
<vb:if condition="$preview_chopped"> <span class="cms_article_readmore"><a href="{vb:raw vboptions.bburl}/showpost.php?{vb:raw session.sessionurl}p={vb:raw postid}">{vb:rawphrase read_more_phrase} <img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:rawphrase read_more_phrase}" /></a> </span> </vb:if> Code:
<vb:if condition="$preview_chopped"> <span class="cms_article_readmore"><a href="{vb:raw page_url}">{vb:rawphrase read_more_phrase} <img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:rawphrase read_more_phrase}" /></a> </span> </vb:if> Code:
<span>'. $article['previewtext'] .'</span> <a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">More</a>'; $article_neu['htmlcaptionname'] = 'htmlcaption' . $article['nodeid'] ; $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"> I would be thankful for your suggestions |
#325
|
|||
|
|||
Hi Moof,
I have checked through, an image is being generated in the folder /slider if I put an attachment in the article, I'm using the jquery by vbulletin in the clientscripts folder so that there was definately no double ups (it's the correct directory I checked the source and it links correctly). But something just isn't working correctly.. seems like a formatting issue, but we cannot see any of the images or functionality buttons. The directory is 777, I can see the .css file as per your test in the FAQ's to ensure the directory setting is correct. (img path). The directory is slider/ I have enabled debugging on the site for viewing to see if anyone else has a clue of what may be going on.. http://www.etozclan.com/vbulletin I've seen it in action on a few other peoples site it looks very nice, hoping we can get it succesfully configured and running. - I have also enabled show article with no image so the default image shows, but that also does not work, even though the directory is 777 the directory is accessible and jquery is linked.. it seems.. Regards |
#326
|
|||
|
|||
@jo8jo
this should work (untested code) search Code:
$article_get = vB::$db->query_read(' SELECT article.pagetext, article.previewimage, node.url, node.publishdate, node.parentnode, Code:
$article_get = vB::$db->query_read(' SELECT article.pagetext, article.previewimage, article.threadid, node.url, node.publishdate, node.parentnode, Code:
<span>'. $article['previewtext'] .'</span> <a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '">More</a>'; $article_neu['htmlcaptionname'] = 'htmlcaption' . $article['nodeid'] ; $article_neu['picture'] = '<a href="/content.php?r=' . $article['nodeid'] . '-' . $article['url'] . '"> Code:
<span>'. $article['previewtext'] .'</span> <a href="/showthread.php?t=' . $article['threadid'] . '-' . article['url'] . '">More</a>'; $article_neu['htmlcaptionname'] = 'htmlcaption' . $article['nodeid'] ; $article_neu['picture'] = '<a href="/showthread.php?t=' . $article['threadid'] . '-' . $article['url'] . '"> It's pulling whatever is stored by vbulletin as article preview picture. Please check the last FAQ question. @blackracoon everything looks fine coding wise, but firebug tells me that there is a jquery error when i open your site Code:
$("#slider") is null Line 355 |
#327
|
|||
|
|||
Hi Moof,
It seems to still be bugged. I have included jquery in the slider widget now but I believe the exact same thing is happening. Any other clues? Regards |
#328
|
|||
|
|||
Okay here is what my debug says
Also the no image pulls up fine. Code:
slider_img_filepath: http://www.wpcreations.net/vbbarefoot/slider/ width: 650 height: 250 Strech or Crop? show_articles_without_image: bool(false) fallback_img: http://www.wpcreations.net/vbbarefoot/slider/uf_fallback_slider.png #img: 10 description_length: 95 directory /home/mmoore/public_html/vbbarefoot Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_434.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/wildlifejohn1a.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_434.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_432.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/hennaback1.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_432.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_427.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/moreoddlooksartwork_sm.png directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_427.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_426.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/dirt50m1.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_426.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_424.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/stop-stretching.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_424.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_423.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/germany_dresden1.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_423.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_422.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/zen_circle.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_422.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_421.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/oxygenconsumption2.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_421.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_420.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/indianrunners_0.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_420.jpg Warning: imagejpeg() [function.imagejpeg]: Unable to open '[path]/http://www.wpcreations.net/vbbarefoot/slider/slide_411.jpg' for writing: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 200 Error occurred: imagejpeg failed. http://barefootrunners.org/sites/default/files/d_2b.jpg directory: /home/mmoore/public_html/vbbarefoot/http://www.wpcreations.net/vbbarefoot/slider/slide_411.jpg#articles - featured and databasepull int(10) int(20) |
#329
|
|||
|
|||
@Nmoore to resolve your issue please change in your php widget for your slider to $slider_img_filepath = 'slider/';
That should resolve your issue. Regards, Racoon. |
#330
|
|||
|
|||
wow amazing i did not even think of that. It is working great now. Thank you so much.
|
#331
|
|||
|
|||
Hi,
So after hours of scanning through I worked out the issue to having a white screen, all your directories are corrrect and you retrieve this error only in firebug - $("#slider").nivoSlider not found. FIX: Go to your widget you made, scroll to very end almost and edit this line: $("#slider").nivoSlider to JQuery("#slider").nivoSlider This is actually the correct way it should be called. a $ is the common way, it may not pick up the last imported library is JQuery especially if it isn't. Regards, and Good luck! |
Благодарность от: | ||
Mooff |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|