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
Rhoov's News Slider Details »»
Rhoov's News Slider
Version: 1.00, by haincha haincha is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 03-03-2011 Last Update: Never Installs: 43
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

Just to start out, this mod was not written by me. It was written by Rhoov from Dutch Fight Platoon. He gives his mod, as is.

He says
Quote:
Originally Posted by Rhoov
If there are people interrested in this product i can post the files and instructions, but maybe better if someone with real VB knowledge could take my code and make it completly VB and in the process i can learn some of it as well
here

I am posting this addon with the hopes that someone can take it a step farther. It is completely functioning and integrated into the vB Admincp. So, all works. I just would like to see an option to add slides from CMS Articles without having to be in the Admin CP.

But, here are the install instructions, pictures, and demo.

Code:
1. Edit the file Connections/rhoov_slider_db.php to match your Database settings
2. Upload all files in the upload folder to your VB root.
3. Install the product-rhoov_slider.xml product This will only create the 2 tables needed.
4. Go to your ACP and you will see a new menu called Rhoov's slider.
5. Here you can edit your slides and slider settings. As you will see there are some slides of my in there so you can see how it works.
6. Create a "static html" widget en insert the following.(the code is on the settings page as well)

<iframe src="./rhoovslider/rhoovslide.php" name="frame1" scrolling="no" frameborder="no" height = "235"  width = "100%">
</iframe>
 
7. Match the witdh and height with those of the slider, but make them a bit bigger to allow for the navigation.
8. Put the widget on one of your layout's
9. Add the widget to the page you want it on

This should do the trick

Remember this is not a real product but just a try out from me
Have fun
Cheers Rhoov
This can be put as a Widget on the main page. By creating a widget as stated above. Or, do similar to what I did.

Inside the vBulletin CMS template vbcms_page insert this.
Code:
<vb:if condition="$_GET['r'] == '1-your-page-name' OR !$_GET['r']">
<iframe src="./rhoovslider/rhoovslide.php" name="frame1" scrolling="no" frameborder="no" height = "300"  width = "100%">
</iframe>
</vb:if>
Above:
Code:
{vb:raw toolbar}
<div class="vbcms_content">
{vb:raw layout}
</div>
{vb:raw footer}
</body>
</html>
The if statement only allows the slider to be shown on the main news page, and not inside the articles themselves. Edit according to how you want it to be.

DEMO

I am not an expert in this slider. I just really liked it for my forum, it looks the best and works quite well for us. I thought I would share it. If anyone has any suggestions on how to make it better, let me know. I will be sure to update the files accordingly.

Download Now

File Type: zip rhoovslider_product.zip (133.0 KB, 547 views)

Screenshots

File Type: jpg rhoovslider.jpg (72.1 KB, 0 views)
File Type: jpg rhoovslideradmin.jpg (111.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-04-2011, 04:09 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for sharing.
Reply With Quote
  #3  
Old 03-04-2011, 04:16 PM
iask iask is offline
 
Join Date: Jan 2010
Location: Home
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

iframe bad for google
Reply With Quote
  #4  
Old 03-04-2011, 04:18 PM
haincha haincha is offline
 
Join Date: Jan 2011
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iask View Post
iframe bad for google
If you have a better solution, I would be willing to incorporate it. I am not the greatest coder.
Reply With Quote
  #5  
Old 03-04-2011, 05:16 PM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I going to install in my web... it like me

thanks men ... for the moment, it's only tagged

thanks
Reply With Quote
  #6  
Old 03-04-2011, 06:33 PM
daveaite's Avatar
daveaite daveaite is offline
 
Join Date: Jul 2009
Location: Florida
Posts: 1,890
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not bad
Reply With Quote
  #7  
Old 03-05-2011, 07:51 AM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange, I'm sure I uploaded everything correctly and made the changes to the php file but I can't see any of the options to make changes in the ACP!
Reply With Quote
  #8  
Old 03-05-2011, 08:13 AM
haincha haincha is offline
 
Join Date: Jan 2011
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe try again using the Overwrite button. Install as a product. For me, it shows up in the top of the menu under Forum Options tab.

I just reinstalled it on a test board. It worked fine.
Reply With Quote
  #9  
Old 03-05-2011, 01:36 PM
edyy edyy is offline
 
Join Date: Jul 2010
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For me didn't worked, i instaled the script but when i click the setinhs menu nothing apeares, just blank
Reply With Quote
  #10  
Old 03-05-2011, 04:00 PM
haincha haincha is offline
 
Join Date: Jan 2011
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't have the file in Connections/rhoov_slider_db.php match your db settings in includes/config.php it doesn't show up (It can't see your db).
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 09:35 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.05030 seconds
  • Memory Usage 2,323KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_code
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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