vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - vFCoders - Featured Content Slider Widget (https://vborg.vbsupport.ru/showthread.php?t=268817)

Badshah93 08-19-2011 10:00 PM

vFCoders - Featured Content Slider Widget
 
1 Attachment(s)
.::vFCoders - Featured Content Slider Widget::.

Content Slider Source: http://webdeveloperplus.com/jquery/f...ing-jquery-ui/

What is it?
=====================================

Featured Content Slider Widget for VBulletin CMS to feature latest (or popular) articles in a block that displays as a slideshow.

Features
=====================================

1. Fully Integrated With VBulletin CMS.
2. Option To Select Sections.
3. Option To Select Categories.
4. Option to Sort Articles by date or views.
5. No Template or File Edits.
6. Can Add Seperate Widget for Different Sections.
7. Can Add more than 1 Featured Content Slider Widget in a page.

8. Option To Set Width For Each Content Slider Widget New!





New Installation Instructions
=====================================


1. Upload all the files in "Upload" Folder to forumroot.
2. In the Product Manager in AdminCP, import the product XML file.
3. Then Go To -> Admincp -> vBulletin CMS -> Widgets

Widget Type: CMS featured Content slider
and enter other details and save it..

5. Then Rest of the things are as it is which you do for other widgets.

a): Configure The Widget in VBulletin CMS -> widgets
b): Add the widget in page through layout manager.


Upgrade Instructions
=====================================


1. Unzip the attachment and upload all files in upload folder to forumroot.
2. Upload the xml through product manager. (Overwrite)
3. Delete all the old content slider widgets and make new ones.


Uninstallation Instructions
=====================================


1. Delete all the Content Slider Widgets in vBulletin CMS -> Widgets
2. Uninstall the product through product manager.


Mod History:

v1.0 : 20 Aug 2011 : First Release.
v2.0 : 21 Aug 2011 : Width Feature Added.
v2.1 : 21 Aug 2011 : Fixed Uninstall Bug.
v2.2 : 26 Aug 2011 : Improved mouseover effect of content slider.
v2.3: 28 Aug 2011 : Fixed Package ID issue.
v2.4: 18 Apr 2011 : Fix typo in install code and Updated for vBulletin 4.1.x.



-> Click On Mark As Installed If You Have Installed This Mod.
-> You Can Nominate it also for Mod Of The Month.
-> If u like my work, you can Donate me also.

starman? 08-20-2011 02:29 PM

tagged - will look later, but if it's as good as it sounds then it could be a real winner.

nacaruncr 08-20-2011 02:32 PM

It will be awesome if you do it for CMPS too :D thanks, I love it XD
good job man :D

LOGECT 08-20-2011 02:43 PM

Great Mod, thank a lot.

starman? 08-20-2011 02:51 PM

I'm afraid I'm getting a database error with this mod. I'm using 4.1.5.

Badshah93 08-20-2011 03:07 PM

Quote:

Originally Posted by starman? (Post 2235772)
I'm afraid I'm getting a database error with this mod. I'm using 4.1.5.

hmm.. i didn't get any error during testing..

Go To -> Admincp -> vBulletin CMS -> Clear CMS Cache


if still error Persist, you can post error here or pm me.

starman? 08-20-2011 03:19 PM

Thanks for the offer of help. Cleared the cache - same error. Here's the DB error I'm getting;

Code:

Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT cms_article.contentid, cms_article.previewimage as image, cms_node.contentid, cms_node.userid, cms_nodeinfo.nodeid, cms_article.pagetext as preview, cms_node.nodeid, cms_node.parentnode,
          cms_nodeinfo.title, cms_node.url FROM cms_article as cms_article
          INNER JOIN cms_node as cms_node ON (cms_node.contentid = cms_article.contentid AND cms_node.contenttypeid = 24) INNER JOIN cms_nodeinfo as cms_nodeinfo ON cms_nodeinfo.nodeid = cms_node.nodeid
                 
            where cms_node.issection <> '1' AND cms_node.setpublish = 1
                AND cms_node.parentnode IN (5)
        ORDER BY cms_node.viewcount DESC LIMIT 0, 5;

MySQL Error  : Unknown column 'cms_node.viewcount' in 'order clause'
Error Number  : 1054
Request Date  : Saturday, August 20th 2011 @ 10:14:46 AM
Error Date    : Saturday, August 20th 2011 @ 10:14:47 AM
Script        : http://www.*******.com/content.php/5-News
Referrer      : http://www.********.com/content.php
IP Address    : ***************
Username      : ******
Classname    : vB_Database
MySQL Version : 5.1.58-community-log


LOGECT 08-20-2011 03:19 PM

Getting db error when i choose Popular


Code:

Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT cms_article.contentid, cms_article.previewimage as image, cms_node.contentid, cms_node.userid, cms_nodeinfo.nodeid, cms_article.pagetext as preview, cms_node.nodeid, cms_node.parentnode,
          cms_nodeinfo.title, cms_node.url FROM cms_article as cms_article
          INNER JOIN cms_node as cms_node ON (cms_node.contentid = cms_article.contentid AND cms_node.contenttypeid = 18) INNER JOIN cms_nodeinfo as cms_nodeinfo ON cms_nodeinfo.nodeid = cms_node.nodeid
                 
            where cms_node.issection <> '1' AND cms_node.setpublish = 1
                AND cms_node.parentnode IN (264,185,153,263,138,316,318,320)
        ORDER BY cms_node.viewcount DESC LIMIT 0, 5;

MySQL Error  : Unknown column 'cms_node.viewcount' in 'order clause'
Error Number  : 1054
Request Date  : Saturday, August 20th 2011 @ 12:17:44 PM
Error Date    : Saturday, August 20th 2011 @ 12:17:44 PM
Script        : http://www.xxxxx.com
Referrer      :
IP Address    : xxxxxxxxxx
Username      : xxxxxxxx
Classname    : vB_Database
MySQL Version : 5.0.92-community

Thanks :D

Badshah93 08-20-2011 03:27 PM

1 Attachment(s)
Quote:

Originally Posted by LOGECT (Post 2235790)
Getting db error when i choose Popular


Code:

Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT cms_article.contentid, cms_article.previewimage as image, cms_node.contentid, cms_node.userid, cms_nodeinfo.nodeid, cms_article.pagetext as preview, cms_node.nodeid, cms_node.parentnode,
          cms_nodeinfo.title, cms_node.url FROM cms_article as cms_article
          INNER JOIN cms_node as cms_node ON (cms_node.contentid = cms_article.contentid AND cms_node.contenttypeid = 18) INNER JOIN cms_nodeinfo as cms_nodeinfo ON cms_nodeinfo.nodeid = cms_node.nodeid
                 
            where cms_node.issection <> '1' AND cms_node.setpublish = 1
                AND cms_node.parentnode IN (264,185,153,263,138,316,318,320)
        ORDER BY cms_node.viewcount DESC LIMIT 0, 5;

MySQL Error  : Unknown column 'cms_node.viewcount' in 'order clause'
Error Number  : 1054
Request Date  : Saturday, August 20th 2011 @ 12:17:44 PM
Error Date    : Saturday, August 20th 2011 @ 12:17:44 PM
Script        : http://www.xxxxx.com
Referrer      :
IP Address    : xxxxxxxxxx
Username      : xxxxxxxx
Classname    : vB_Database
MySQL Version : 5.0.92-community

Thanks :D

Thanks for letting me know.. i added that sortthing later forgot to change cms_node.viewcount to cms_nodeinfo.viewcount


Anyway i have attached php file,

Upload it in packages/vbcms/widget (overwrite)

Note: i have added new zip file at main post, with this php file..

starman? 08-20-2011 03:28 PM

I chose 'popular' too. Will try the other option.


All times are GMT. The time now is 03:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02721 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete