Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
United-Forum Nivo Slider Widget Details »
United-Forum Nivo Slider Widget
Mod Version: 1.1.0, by Mooff (Member) Mooff is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

vB Version: 4.1.4 Rating: (19 votes - 4.89 average) Installs: 145
Released: 18 Jul 2011 Last Update: 19 Jul 2011 Downloads: 1274
Not Supported Additional Files  

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
Originally Posted by nivo slider homepage
- ~ 600.000 downloads
- 16 transition effects
- a ton of options
- different available themes
- ...
Installation
  • upload all files (attached zip file) in the folder where you do need them - this has to be the same folder you will set via $slider_img_filepath (see picture)


  • create a new php-widget and insert the following code:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  • set refresh time to something big!
  • save - add the widget to your layout - enjoy


Custom settings:

At the top of the php-widget code you can see the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you change $maxwidth and $maxheight you need to edit the nivo-slider_uf_theme.css file, here:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Width and height have to be the same value in your php-widget and in the css file.

In additon to these settings i also included a "value/relevance function". Meaning the slider doesn't show your latest 5 articles, but instead weights them based on age and comments.

As older an article is the less likely it will show up in the slider.
More comments make it more likely.

This behaviour can be easily changed. I didn't include an if condition cause every board has different needs and i don't know whats best for you.
In addition conditions like "articles just from this section - or these sections, or this category, with a minimum of 10 posts" can be included via one single if condition. Again, i don't know what your board needs or what your category names are.

You can also modify the preview length (more words, less words), the preview style (color fontsize, fontweight .... Again different forums different needs. It's highly customizable.
Support:

Support and requests for the slider itself should be asked here http://nivo.dev7studios.com/
Same goes for different slider themes - a lot is possible, even thumbnails - again this is part of the nivo slider and not the vb4 implementation.

If you have any questions regarding the settings - or want different settings (which have to do with vb4) - ask, and i'll try to come up with some code // show you where you have to put what.


Slider not working. No idea why?

You will find a FAQ in the first comment, which will be kept up to date:
FAQ


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

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	install.jpg
Views:	12986
Size:	90.8 KB
ID:	131195   Click image for larger version

Name:	uf_nivo_slider_promo.jpg
Views:	13451
Size:	119.2 KB
ID:	131394  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin CMS Widgets Slider Widget s3slider CrazyProgrammer vBulletin 4.x Add-ons 56 20 Aug 2015 18:00
vBulletin CMS Widgets [WIDGET] Slider cory_booth vBulletin 4.x Add-ons 318 11 Jun 2013 10:29

  #466  
Old 15 Aug 2012, 18:38
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Real name: Dana
I found and fixed my issue!! After running various queries based on the code, I figured out that it only shows articles with a Publish Date of the last 12-13 months. Since we are still building our Live site, we were testing with a few older articles, with Publish Dates in 2010.

Once I changed the dates to something more recent - voila! I have a slider.

Hope this helps someone else some day.
Reply With Quote
  #467  
Old 22 Aug 2012, 13:23
bintoro bintoro is offline
 
Join Date: Dec 2010
I give up after six month on how to figure out slider in cms. Uninstalled and thanks.
Reply With Quote
  #468  
Old 28 Aug 2012, 22:37
DemoVFW DemoVFW is offline
 
Join Date: Sep 2008
Real name: Blake
Can anyone make this work for 4.2? It's exactly what I need. I'll pay for help. PM me if interested. Thanks.
Reply With Quote
  #469  
Old 28 Aug 2012, 22:53
basilrath's Avatar
basilrath basilrath is offline
 
Join Date: Apr 2006
use the vf coders slide its effective
Reply With Quote
  #470  
Old 29 Aug 2012, 02:40
DemoVFW DemoVFW is offline
 
Join Date: Sep 2008
Real name: Blake
Originally Posted by basilrath View Post
use the vf coders slide its effective
Thanks for the suggestion, but I really prefer the look of this one. Thanks though.
Reply With Quote
  #471  
Old 31 Aug 2012, 06:13
MaxLiao MaxLiao is offline
 
Join Date: Dec 2010
So, my slider stopped working. For various reasons it took a while for me to discover this sad fact. After going through all of the troubleshooting steps I was about ready to remove this dang slider mod and try something else. As a last resort, I checked my php.ini file. Right away this jumped out at me: it was set to version 5.2.

Due to some other troubleshooting, my webhost changed my PHP version back to 5.2 (without telling me). I bumped that baby back up to version 5.3 and the slider is working great! I don't claim this will work for everyone, but if you're having troubles, check it out.

Originally Posted by MaxLiao View Post
I just updated to PHP 5.3 and made one php.ini config change allow_url_fopen = On and now this mod (and everything else) on my site seems to be working perfectly. I don't know if it will help anyone else, but that did the trick for me.
Reply With Quote
  #472  
Old 01 Sep 2012, 10:01
initiald initiald is offline
 
Join Date: Mar 2012
Yeah this work on 4.2. I have it going smoothly.
Reply With Quote
  #473  
Old 02 Sep 2012, 00:03
Jamie G Jamie G is offline
 
Join Date: May 2007
I cannot get this working on 4.2.0. I get the slider, the animation and the full bck image and the article text. However, I cannot get the images to display.

Additionally, the images link incorrectly. My site is stored in a folder, not root.

So, my installation is in root/V2. Article links point to domain.com/v2/content.php - but the slider points to domain.com/content.php - does this plugin not work unless the vB install is in the root?

Hopefully someone can help ASAP.
Reply With Quote
  #474  
Old 03 Sep 2012, 11:32
dormopoco dormopoco is offline
 
Join Date: May 2007
Not Working whit vbulletin 4.2.0 can't open attachment error. My code is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #475  
Old 26 Sep 2012, 19:26
JAnders JAnders is offline
 
Join Date: Oct 2007
try doing:

$slider_img_filepath = '/clientscript/slider/';
__________________
www.fifamexico.net and www.fifa-america.com
Reply With Quote
  #476  
Old 26 Sep 2012, 19:32
JAnders JAnders is offline
 
Join Date: Oct 2007
Originally Posted by Jamie G View Post
I cannot get this working on 4.2.0. I get the slider, the animation and the full bck image and the article text. However, I cannot get the images to display.

Additionally, the images link incorrectly. My site is stored in a folder, not root.

So, my installation is in root/V2. Article links point to domain.com/v2/content.php - but the slider points to domain.com/content.php - does this plugin not work unless the vB install is in the root?

Hopefully someone can help ASAP.
I have the same problem but a bit different in the img_dir I have

$slider_img_filepath = '/foros/slideshow/';

this works as it executes the jscript and displays the articles with the default image however the article images/attachments do not display when I look at the debug code the absolute path that it shows is incorrect as it shows /sitehomedir/foros/foros/slideshow/ and of course it doesn't find the images there.

if I change the img_filepath to remove the duplicate foros entry like this:

$slider_img_filepath = '/slideshow/';

then it doesn't find the rest of the script and only it looks worst.

this sounds like an easy fix but I just don't know where to specify the full server path even if I hardcode it in.
__________________
www.fifamexico.net and www.fifa-america.com
Reply With Quote
  #477  
Old 26 Sep 2012, 20:21
JAnders JAnders is offline
 
Join Date: Oct 2007
this is the output from my debug file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
www.fifamexico.net and www.fifa-america.com
Reply With Quote
  #478  
Old 27 Sep 2012, 16:17
JAnders JAnders is offline
 
Join Date: Oct 2007
alright after various trials and errors i got it to kinda work, never found how to fix the issue with attachments but I figured out a way around that

this is how it looks now:
www.fifamexico.net/foros
__________________
www.fifamexico.net and www.fifa-america.com
Reply With Quote
  #479  
Old 30 Sep 2012, 08:38
ar15dcm ar15dcm is offline
 
Join Date: Apr 2012
Real name: Dean
I didnt go through all 32 pages, but can the image be displayed as its original size to prevent distortion?
Reply With Quote
  #480  
Old 22 Jan 2013, 07:09
intruder intruder is offline
 
Join Date: Oct 2006
Php Info:
allow_url_fopen On

Vbulletin CMS > Permisions > Slider Specific Section > Can Download Attachments > All

Usergroups > Unregistred users > Forum Viewing Permissions > Forum Viewing Permissions > Can Download Attachments > YES

Unlogged www.mysite.com/attachment.php?attachmentid=494&cid=18 - attachment is working fine


EBUG MODE is ON!
slider_img_filepath: /slider/
width: 650 height: 351
Strech or Crop? 1
show_articles_without_image: bool(false)
fallback_img: /slider/uf_fallback_slider.png
#img: 2
description_length: 95
directory /home/raptor/html/www.mysite.com

Warning: getimagesize(attachment.php?attachmentid=494&cid=18): failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 135
Error occurred: picture is not readable.attachment.php?attachmentid=494&cid=18

Warning: getimagesize(attachment.php?attachmentid=487&cid=18): failed to open stream: No such file or directory in [path]/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 135
Error occurred: picture is not readable.attachment.php?attachmentid=487&cid=18
#articles - featured and databasepull int(2) int(14)

Slider folder:
Chown apache.apache
Chmod 775

$slider_img_filepath = '/slider/'; is correct

Still getting that error... any ideeas?

Last edited by intruder; 22 Jan 2013 at 07:14.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:10.

Layout Options | Width: Wide Color: