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-22-2011 04:12 PM

Quote:

Originally Posted by LOGECT (Post 2236612)
Thanks for your reply, uninstalled but i'm still getting the same error, i can't access the widget section anymore.

run this

Code:

DELETE FROM cms_widget where widgettypeid = 25

You Are Getting This Error
Because you Uninstall the mod before deleting old widgets..


In New Version 2.1 i have applied fix for it..

LOGECT 08-22-2011 04:32 PM

Quote:

Originally Posted by Sherif (Post 2236614)
run this

Code:

DELETE FROM cms_widget where widgettypeid = 25

You Are Getting This Error
Because you Uninstall the mod before deleting old widgets..


In New Version 2.1 i have applied fix for it..

Solved, thank you.

Badshah93 08-22-2011 04:46 PM

Quote:

Originally Posted by LOGECT (Post 2236623)
Solved, thank you.

Glad to know that..

Actually this mod has new coding which no other mod in vbulletin.org has.. generally widgets of cms are not uninstalled, but when u uninstall this mod then Content Slider widget is uninstalled..

in 1.0 and 2.0, there was no uninstall code to delete content slider widgets which were created by user..

But in 2.1, i have applied the fix which delete all content slider widgets when mod is uninstall.


Thanks

deverill2010 08-22-2011 05:46 PM

I have this installed and it's great but I would really appreciate a way to select specific articles to be shown for. Couple of reasons.

I have a few articles that I'd like to show but they are not specifically the latest or the most popular, and I have some articles with really long titles that don't show properly in the caption so want to avoid adding these to the slider.

Is this something you'd be willing/able to do?

I'd appreciate it. Jade

Badshah93 08-22-2011 06:00 PM

Quote:

Originally Posted by deverill2010 (Post 2236657)
I have this installed and it's great but I would really appreciate a way to select specific articles to be shown for. Couple of reasons.

I have a few articles that I'd like to show but they are not specifically the latest or the most popular, and I have some articles with really long titles that don't show properly in the caption so want to avoid adding these to the slider.

Is this something you'd be willing/able to do?

I'd appreciate it. Jade

See

if you want some specific articles to display for u, then u can make a new category and add those articles in that category..

and then make a content slider widget and select that category only..

so this will fetch only selected articles which u want..


About length of title i have not added any function yet, but

if u want to trim the title..


Open cmsfcs.php file in packages/vbcms/widget

Find

PHP Code:

fetch_trimmed_title(strip_bbcode($getarticles['preview'], falsetruetruetrue),
            
100))); 

Add After it

PHP Code:

$getarticles['title'] = fetch_trimmed_title($getarticles['title'], 30); 


deverill2010 08-22-2011 07:28 PM

Great thanks I've managed to get the articles I want to show, to show. I've trimmed the title but is there anyway of trimming the text under Neath the title too? My box is quite small you see :)

Ty

Ahmet Turan 08-22-2011 07:32 PM

Quote:

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.
Can you tell I do not know how to do here

I dont see this page
https://vborg.vbsupport.ru/external/2011/08/14.jpg

Badshah93 08-22-2011 07:36 PM

Quote:

Originally Posted by Ahmet Turan (Post 2236702)
Can you tell I do not know how to do here

I dont see this page
https://vborg.vbsupport.ru/attachmen...1&d=1313852001

You need to create CMS Featured Content slider widget in Vbulletin CMS -> Widgets -> Create New Widget

Then After creating widget go to

Vbulletin CMS -> Widgets

Find The widget which u created and click on configure at right side.. you will get that page..
Configure it.

To show that widget in page, you can add that widget in Vbulletin CMS -> Layout Manager

Badshah93 08-22-2011 07:39 PM

Quote:

Originally Posted by deverill2010 (Post 2236701)
Great thanks I've managed to get the articles I want to show, to show. I've trimmed the title but is there anyway of trimming the text under Neath the title too? My box is quite small you see :)

Ty

Open cmsfcs.php file in packages/vbcms/widget

Find

PHP Code:

fetch_trimmed_title(strip_bbcode($getarticles['preview'], falsetruetruetrue),
            
100))); 

Changed that 100 to something lower (as u like)..

100 means 100 character will show..

Ahmet Turan 08-22-2011 07:44 PM

1 Attachment(s)
I dont click configure bea. it not open.

https://vborg.vbsupport.ru/external/2011/08/14.jpg


All times are GMT. The time now is 09:39 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.01662 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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