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 |
#142
|
|||
|
|||
Since the question came up some times allready:
Q: I want the slider without widget title - how to do that? Answer: create a new template (main style or all styles you have your slider running) Name: vbcms_php_no_title code: Code:
<div class="cms_widget"> <div class="block"> <div class="cms_widget_content widget_content"> {vb:raw output} </div> </div> </div> go to widget configuration of the slider widget, change template name to vbcms_php_no_title save. Reload slider. Title is gone. |
4 благодарности(ей) от: | ||
bandare, blackracoon, Scalemotorcars, sensimilla |
#143
|
|||
|
|||
Ok, so first off, THANK YOU!!!
I have been waiting for a long time for this mod, and this one does EXACTLY what I wanted!! It installed easily and works perfectly! Please view installation on my site at http://www.teamotec.net I have 3 ?????? 1. Earlier you showed how to change the image speed, but didn't specify what file to edit. Can you please clarify this for me, I want to slow mine to a 5 second pause. 2. How can you limit the sections that the slider displays? I only want to display articles from the sections "Event Coverage" "Featured Rides" & "Photography" 3. The dots that show that you are on slide 1 of 5 display in the middle of my image instead of at the top or bottom. How can I move them up or down? (I don't particularly care where they end up) Thanks again for this great mod!! 5 Stars, Nominated, and Marked as Installed!!! |
#144
|
|||
|
|||
1. Not a file. That's in the php widget code, close to the bottom.
2. I'll post code for both sections and categories, since i'll link that post in the FAQ. How to show only articles out of specific sections or categories: for sections find: Code:
WHERE node.setpublish = 1 AND node.publishdate > '. vb::$db->sql_prepare($time) .' -34560000 AND node.publishdate < '. vb::$db->sql_prepare($time) .' GROUP BY node.nodeid ORDER BY node.publishdate DESC LIMIT 20'); Code:
WHERE node.setpublish = 1 AND node.publishdate > '. vb::$db->sql_prepare($time) .' -34560000 AND node.publishdate < '. vb::$db->sql_prepare($time) .' AND node.parentnode IN ( 4, 5 ) GROUP BY node.nodeid ORDER BY node.publishdate DESC LIMIT 20'); Code:
WHERE node.setpublish = 1 AND node.publishdate > '. vb::$db->sql_prepare($time) .' -34560000 AND node.publishdate < '. vb::$db->sql_prepare($time) .' GROUP BY node.nodeid ORDER BY node.publishdate DESC LIMIT 20'); Code:
WHERE node.setpublish = 1 AND node.publishdate > '. vb::$db->sql_prepare($time) .' -34560000 AND node.publishdate < '. vb::$db->sql_prepare($time) .' AND category.categoryid IN ( 31, 1 ) GROUP BY node.nodeid ORDER BY node.publishdate DESC LIMIT 20'); Be careful not to miss the AND part In the Brackets the sections-Ids/ categories-Ids you want have to be included. In your case it would be ( 144, 145, 149 ) In general you can see the fitting ids in the links which lead to the section or category: For example: /content/category/31-esport.html Category esports on our site has the ID 31. ---- category/section part ends here - in case you followed the faq link ---- 3. In the nivo-slider_uf_theme.css file find: Code:
.theme-uf .nivo-controlNav a { background: url("nivo_slider_sprite.png") no-repeat scroll 0 -30px transparent; border: 0 none; display: block; float: left; height: 22px; margin-right: 3px; text-indent: -9999px; width: 22px; } Code:
.theme-uf .nivo-controlNav a { background: url("nivo_slider_sprite.png") no-repeat scroll 0 -30px transparent; border: 0 none; display: block; float: left; height: 22px; margin-right: 3px; text-indent: -9999px; width: 22px; top: -120px; } |
#145
|
|||
|
|||
Mooff, thank you again. I have wanted this on my site for ages and on one rainy sunday morning I was able to add it and have it completely working and customized to my wants in a matter of hours. Support like this is what makes VB great.
FYI in the css file my code looked like this Code:
.theme-uf .nivo-controlNav a { display:block; width:22px; height:22px; background:url(nivo_slider_sprite.png) no-repeat; background-position:0 -30px; text-indent:-9999px; border:0; margin-right:3px; float:left; } Code:
.theme-uf .nivo-controlNav a { display:block; width:22px; height:22px; background:url(nivo_slider_sprite.png) no-repeat; background-position:0 -30px; text-indent:-9999px; border:0; margin-right:3px; float:left; top: -120px; } |
Благодарность от: | ||
bandare |
#146
|
|||
|
|||
help, the only image showing is the UF fallback image,
and yes the slider folder is read and writable. the website is www.gamerschallenge.net if someone could please help. really need this slider so bad. thanx edit: I was the FAQ and I think it might be cause the guests can't view the attachments, can anyone tell me how do I change the permissions for that? I cant find anywhere. edit: changed the permissions settings for guest to view attachments, didnt fix the problem. |
#147
|
|||
|
|||
Are you sure you have given read and write permissions to the folder as it says in the instructions?
|
#148
|
|||
|
|||
very sure.
|
#149
|
|||
|
|||
I think the slider_img_filepath is wrong.
Can't confirm without the debug messages, but as a guess, change it to: $slider_img_filepath = 'slider/'; |
#150
|
|||
|
|||
thats what it is right now, it can't be wrong since the UF does show.
and thanx for the fast reply |
#151
|
|||
|
|||
I see. Please post the debug - last FAQ question.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|