Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[WIDGET] Slider Details »»
[WIDGET] Slider
Version: 1.00, by cory_booth cory_booth is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: vBulletin CMS Widgets - Version: 4.0.1 Rating:
Released: 01-22-2010 Last Update: Never Installs: 157
Re-useable Code Additional Files Is in Beta Stage  
No support by the author.

Widget Slider - Frontpage Slide Show.

Demo: http://demo.webdeveloperplus.com/fea...ontent-slider/

This is based on the demo above. OK this is my first mod and I know the coding really sucks! But I thought I would get this out and see if anyone want to improve on it.
This is one of those frontpage slide shows that pulls your attachment and data from specified forums.

I hope this works for you.

Install:

Edit slider.php and at line 100:

$forumid - set the forum to pull slides
$limit - set the number of posts
$chars - set the total number of characters
$words - set total number of words

Upload Files.

Create PHP Widget and inser the following code:

ob_start();
echo '<div>';
echo '<center>';
require_once './clientscript/slider/slider.php';
echo '</center>';
echo '</div>';
$output=ob_get_contents();
ob_end_clean();

Download Now

File Type: zip slider.zip (4.1 KB, 2467 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
SyRiAn BoY

Comments
  #272  
Old 06-12-2011, 09:00 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where actually would you like to place this at?
Reply With Quote
  #273  
Old 07-12-2011, 10:31 PM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's me again. Can u tell me how to remove the thumbnails completely, and which part of the CSS code controls the height and width of slider. Planning on making it a whole lot bigger thanks!
Reply With Quote
  #274  
Old 07-12-2011, 11:29 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you talking about the whole tab on the right hand side of the slider?
Reply With Quote
  #275  
Old 07-13-2011, 01:00 AM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep
Reply With Quote
  #276  
Old 07-28-2011, 12:31 AM
chabit77 chabit77 is offline
 
Join Date: Jul 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shri046 View Post
First off thanks to the author for this great mod! I installed this on our site with a little tweak to make it work with CMS articles. You can see an example here - http://sportsgamingcentral.com/forum/content.php

Upload the attached file to your clientscripts/slider folder. Just add the section ids to the file before uploading it. Then use this for the widget code. Hope this helps.

Code:
ob_start();
require_once './clientscript/slider/recent_section_articles.php';
$output=ob_get_contents();
ob_end_clean();
There is one suggestion I would like to make here. Instead of putting the init variables directly in the slider.php you can set them at the time of setting up the widget. This way you could use different widgets to act as sliders for different forums. I plan to make changes to the CMS article file for a similar use on our forums.
Thank you for this file. It works with articles from my CMS! thank you!
Only, I can not get a preview of the article ...
Can anyone help me?
http://www.alclrugby.fr
the file I use:
Attached Files
File Type: php slider4.php (5.2 KB, 29 views)
Reply With Quote
  #277  
Old 07-29-2011, 08:53 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have uploaded the slidermodule.php file setup and of coarse wanting to use the mod on vbadvanced CMPS. My main concern is pulling images from a specific forum, and only use this mod on my home page. After adding and doing everything nothing shows up on my vbadvanced home page. vbadvanced does not use words like widget, it uses words like modules and pages. Can somebody give some advice on what I'm doing wrong, or need to?

Thanks!

Btw, I can gladly send a paypal to anyone that can provide guidance with getting me setup as mentioned above.
Reply With Quote
  #278  
Old 07-29-2011, 09:16 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by psychobike View Post
I have uploaded the slidermodule.php file setup and of coarse wanting to use the mod on vbadvanced CMPS. My main concern is pulling images from a specific forum, and only use this mod on my home page. After adding and doing everything nothing shows up on my vbadvanced home page. vbadvanced does not use words like widget, it uses words like modules and pages. Can somebody give some advice on what I'm doing wrong, or need to?

Thanks!

Btw, I can gladly send a paypal to anyone that can provide guidance with getting me setup as mentioned above.
Have you edit line 20 of php file? make sure you edit that line to pull the information from that forum.
Reply With Quote
  #279  
Old 07-29-2011, 10:34 PM
1320Nation 1320Nation is offline
 
Join Date: Sep 2008
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for responding DS MrSinister. Prior to posting I Edited both lines 20 & 23. I think what I really need to know is like a step by step on what to do on the vbadvanced part.

I located this info, but there is no adding slidermodule.php or is it listed on the File to Include List. It's at this point when it all becomes a brickwall.
Quote:
if anyone is looking to make this work with vBadvanced CMPS. just download this attachment.
Don't forget to edit lines 20 to 23 to fit your needs.

add a new php module --> name what ever you want too --> File to Include slidermodule.php

---> Use Module Wrapper Template up to you. enjoy
Reply With Quote
  #280  
Old 08-03-2011, 04:24 AM
mmackinnon mmackinnon is offline
 
Join Date: Jun 2006
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to add thanks to Dr S. who has tireless supported a mod he did not even make.

Thank you dude.
Reply With Quote
Благодарность от:
DS MrSinister
  #281  
Old 08-05-2011, 08:03 PM
gabbariele gabbariele is offline
 
Join Date: Mar 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there, thank you for the mod!
I've added it, but nothing is showing out!
Website is: http://www.tera-italy.com/forums/content.php

Could you help me please? Thanks
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05181 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete