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
  #202  
Old 10-14-2010, 05:55 AM
Clinotus Clinotus is offline
 
Join Date: Oct 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod and great modifications and assistance by DS MrSinister!

One question though, I've got this working with VBACMS, however the images are all HUGE. Anyone else using a similar setup run into the same? Should I only use posts that have adequately sized images?
Reply With Quote
  #203  
Old 10-14-2010, 12:33 PM
bongmatinhoc bongmatinhoc is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
try removing /forum in your file. then reupload the file see if that works.
I don't understand.
Reply With Quote
  #204  
Old 10-14-2010, 01:37 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bongmatinhoc View Post
I don't understand.
See if this one works for you.. i also attach a screen shot of the what the widget looks like.

use this widget code.

Code:
ob_start();
require_once './clientscript/slider/slider.php';
$output=ob_get_contents();
ob_end_clean();
Template Name: vbcms_widget_slider_page
Cache refresh time (minutes): 5 <-- This default setting.

Add new template Called - vbcms_widget_slider_page
template code
Code:
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
	<h3>{vb:raw title}</h3>
</div>
<div class="cms_widget_content">
<table align="center">
      <tr>
         <td>{vb:raw output}</td>
      </tr>
</table>
</div>
</div>
</div>
Attached Images
File Type: png widget.png (30.8 KB, 0 views)
Attached Files
File Type: php slider.php (6.6 KB, 28 views)
Reply With Quote
  #205  
Old 10-17-2010, 01:17 AM
bongmatinhoc bongmatinhoc is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
See if this one works for you.. i also attach a screen shot of the what the widget looks like.

use this widget code.

Code:
ob_start();
require_once './clientscript/slider/slider.php';
$output=ob_get_contents();
ob_end_clean();
Template Name: vbcms_widget_slider_page
Cache refresh time (minutes): 5 <-- This default setting.

Add new template Called - vbcms_widget_slider_page
template code
Code:
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
	<h3>{vb:raw title}</h3>
</div>
<div class="cms_widget_content">
<table align="center">
      <tr>
         <td>{vb:raw output}</td>
      </tr>
</table>
</div>
</div>
</div>
Thanks very much, but no work as same as demo
Link http://trentungcayso.net/forum
images att
Attached Images
File Type: jpg 1.jpg (88.5 KB, 0 views)
File Type: jpg 2.jpg (41.4 KB, 0 views)
Reply With Quote
  #206  
Old 10-17-2010, 01:24 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like the error is gone right?

EDIT

try this!

Login to your admincp --> under --> Vbulletin CMS click on clear CMS cache then click go back then click on verify and repair node table
Reply With Quote
  #207  
Old 10-17-2010, 03:15 AM
bongmatinhoc bongmatinhoc is offline
 
Join Date: Feb 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to have but not as demo
Reply With Quote
  #208  
Old 10-21-2010, 06:33 AM
bornoffire bornoffire is offline
 
Join Date: Apr 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got text to work but no pictures show up. Any suggestions?
Reply With Quote
  #209  
Old 10-21-2010, 05:58 PM
ravencr ravencr is offline
 
Join Date: Feb 2007
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's an example of how we modified it for our site: http://www.electricvehiclesforum.com

Chris
Reply With Quote
  #210  
Old 10-21-2010, 09:56 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bornoffire View Post
I got text to work but no pictures show up. Any suggestions?
for register members or Unregistered or both?
Reply With Quote
  #211  
Old 10-23-2010, 08:25 PM
Martyn1983 Martyn1983 is offline
 
Join Date: Nov 2008
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, having problems getting this to work - see www.fiat-scotland.com

Really not sure whats causing the breaks. Any help would be awesome!
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 04:54 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.07859 seconds
  • Memory Usage 2,347KB
  • 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
  • (4)bbcode_code
  • (4)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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