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
  #282  
Old 08-06-2011, 01:31 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gabbariele View Post
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
Are you trying to pull the information from CMS or the forum id.

The one in the first post pulls the information from the forum id.

If you want to pull the information from the your CMS download this one.

https://vborg.vbsupport.ru/showpost....&postcount=200

Sin
Reply With Quote
  #283  
Old 08-06-2011, 05:58 AM
gabbariele gabbariele is offline
 
Join Date: Mar 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
Are you trying to pull the information from CMS or the forum id.

The one in the first post pulls the information from the forum id.

If you want to pull the information from the your CMS download this one.

https://vborg.vbsupport.ru/showpost....&postcount=200

Sin
Hi, thanks for your reply. Yes I'm using the forum mod, and the forum id I've chosen should be ok.

Edit: I've tried to switch to the CMS mod, and now I see a big black widget, instead of a little black widget Still empty!
Reply With Quote
  #284  
Old 08-06-2011, 07:54 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gabbariele View Post
Hi, thanks for your reply. Yes I'm using the forum mod, and the forum id I've chosen should be ok.

Edit: I've tried to switch to the CMS mod, and now I see a big black widget, instead of a little black widget Still empty!

Looks like you got it working.
Reply With Quote
  #285  
Old 08-10-2011, 07:17 PM
dkikuchi dkikuchi is offline
 
Join Date: Jun 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm hoping someone here might be able to help me troubleshoot this mod. I've modified the CSS a bit and have it just about how I want it... the problem: It's not actually "sliding". While you can't see the tabs, when I unhide them you can see there are 2 currently and clicking on the second forces a page reload (instead of an ajax event) and the layout is not correct.

As you may be able to see, the top of the 2nd image is also visible under the widget for some reason (all images have been re-sized and cropped to fix the 700x250 dimensions exactly).

I'd greatly appreciate any help you can give. My current slider.php is attached.

Link to site

Edit: Nevermind... forgot that the countdown script was also including jQuery and that was apparently causing a conflict!
Reply With Quote
  #286  
Old 08-11-2011, 07:48 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i wish i could get the slider to look like this:
http://www.bet.com/shows.html
that is the best slideshow i've seen thus far.


Mr Sinister, can you help me?

i'm trying to get this to work, but am having serious difficulties.

when i upload the default slider or the last slider you posted (700) the slide ends up over the 3 thumbsnails and text.

i have a 835px space, and want it to show the slide image and text on the left side and on the right side the thumbnails, but i cannot get that to work.
Reply With Quote
  #287  
Old 08-11-2011, 10:20 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wordplay View Post
i wish i could get the slider to look like this:
http://www.bet.com/shows.html
that is the best slideshow i've seen thus far.


Mr Sinister, can you help me?

i'm trying to get this to work, but am having serious difficulties.

when i upload the default slider or the last slider you posted (700) the slide ends up over the 3 thumbsnails and text.

i have a 835px space, and want it to show the slide image and text on the left side and on the right side the thumbnails, but i cannot get that to work.
I will try my best to help you.

what is your URL to hr slider?

Sin
Reply With Quote
  #288  
Old 08-12-2011, 10:25 AM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks sinister, what do you mean by hr slider?

you mean my slider? i only have a live site, so i can't afford to have it show up there all messy, so i leave it deactivated until i have it working right? will a screencap of it do?
Reply With Quote
  #289  
Old 08-12-2011, 07:36 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wordplay View Post
thanks sinister, what do you mean by hr slider?

you mean my slider? i only have a live site, so i can't afford to have it show up there all messy, so i leave it deactivated until i have it working right? will a screencap of it do?
Opps sorry type O.. lack of sleep.

hr should be *your..

screen shot would do! link to your website would help also. if you don't feel like posting it just PM it.

Sin
Reply With Quote
  #290  
Old 08-12-2011, 08:21 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh no error
Reply With Quote
  #291  
Old 08-12-2011, 09:59 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

find

Code:
$centerhtml .="<img src='".$imagepath."' alt=''/>";
replace it

Code:
$centerhtml .= "<img src='".$imagepath."' width='830px' height='320px' alt=''/>";
edit the width and height to meet your needs. hope this helps.

Sin
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 05:38 AM.


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.05311 seconds
  • Memory Usage 2,341KB
  • 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
  • (2)bbcode_code
  • (5)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
  • (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
  • (1)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