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

Quote:
Originally Posted by gamerzhope View Post
Thanks I'll keep trying..
I'm guessing to change the height/width of the slider display is also located in the CSS.

But what is the default size that the images should be for the slider?

I read 400px... I'm guess that's 400px for width. But what about in Height?


Thanks Alot!
i have change few things as you can see here


Quote:
Originally Posted by nestaron View Post
I'm using the slidermodule.php file for vBadvanced. The issue I'm having is that it will not parse the bbcode.

Code:
if (!is_object($bbcode_parser)){
	require_once('./includes/class_bbcode.php');
	$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
I am guessing that you have forum root in a folder called maybe its forums or another name. if so replace it with this code below. just change the word community to your forum root folder name. hope this helps.

Code:
// vBulletin: Parse BBCode
if (!is_object($bbcode_parser)){
	require_once('../community/includes/class_bbcode.php');
	$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
Reply With Quote
  #253  
Old 06-08-2011, 12:31 AM
nestaron nestaron is offline
 
Join Date: Jun 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
I am guessing that you have forum root in a folder called maybe its forums or another name. if so replace it with this code below. just change the word community to your forum root folder name. hope this helps.

Code:
// vBulletin: Parse BBCode
if (!is_object($bbcode_parser)){
	require_once('../community/includes/class_bbcode.php');
	$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
You are correct that it is in a forums directory, but the change you suggested did not fix the issue. I did try this earlier thinking it might be the issue, but it did not fix it. I also tried the full path to the file, but that also did not work.

I'm using version 4.0.4 of vb forums; and 4.1.0 of vBadvanced CMPS. Any other suggestions?

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

I think the problem lies with in this code. I can't figure it out yet. I am not a great coder.

Code:
$pic['pagetext'] = $bbcode_parser->do_parse($pic['pagetext'],false,false,false,false,false,false);
Reply With Quote
  #255  
Old 06-08-2011, 08:46 PM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
i have change few things as you can see here



Okay?

Still doesn't answer my question lol. Are you going to share that css?
Reply With Quote
  #256  
Old 06-08-2011, 10:47 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gamerzhope View Post
Okay?

Still doesn't answer my question lol. Are you going to share that css?
here you go sir.. I just uploaded my file it also resize the image when its scrolling thru the slider on the front page. Don't forget to edit the lines like 21 for forum ID's etc enjoy
Attached Files
File Type: php slidermodule.php (6.7 KB, 25 views)
Reply With Quote
  #257  
Old 06-08-2011, 10:56 PM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DS MrSinister View Post
here you go sir.. I just uploaded my file it also resize the image when its scrolling thru the slider on the front page. Don't forget to edit the lines like 21 for forum ID's etc enjoy
Thanks but will it work for cms? I don't have vbadvance? And my forum is the root of my site.
Reply With Quote
  #258  
Old 06-08-2011, 11:26 PM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This one should work for CMS.
Attached Files
File Type: php slidermodule.php (6.7 KB, 48 views)
Reply With Quote
  #259  
Old 06-09-2011, 12:47 AM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks its works really well for my site. www.callmegamer.com

The images adjust themselves! Why don't you update this in the first thread? I uploaded, my forum is on the root of my site, or you can take out Community and the extra "." period that's what I had to do to get it working.


Thanks Again!!!
Attached Files
File Type: php slider.php (6.6 KB, 21 views)
Reply With Quote
  #260  
Old 06-09-2011, 12:56 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not my mod. can't edit the first post. also don't forget to download the image i posted like 3 or 4 post back.. If you edit 700px and few others CSS code you can resize the boxes.

Your Welcome.

PS

this for the sections that you having the info your using for the slider. aka forum IDs

Under Forums & Moderators --> Forum Permissions --> Unregistered / Not Logged In change to yes -->Can Download Attachments and Can See Thumbnails so people that not register with you forum can see the images.
Reply With Quote
  #261  
Old 06-09-2011, 01:07 AM
gamerzhope gamerzhope is offline
 
Join Date: Oct 2008
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just realized it wasn't lol, though it should be you've been a big help for alot of people and the creator hasn't been on since febuary. Thanks for the help!
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 07:29 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.04968 seconds
  • Memory Usage 2,349KB
  • 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
  • (6)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
  • (4)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