Back to vBulletin 4.x Add-ons

Rhoov's News Slider
Mod Version: 1.00, by haincha

vB Version: 4.x.x Rating: (4 votes - 4.50 average) Installs: 43
Released: 04 Mar 2011 Last Update: Never Downloads: 456
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code  

Just to start out, this mod was not written by me. It was written by Rhoov from http://dutchfightplatoon.com. He gives his mod, as is.

He says
Quote 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
http://www.vbteam.info/vb-4-x-x-addons-and-template-modifications/55823-grapichal-news-slider.html

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.

http://www.zombiebutlers.com

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

File Type: %1$s rhoovslider_product.zip (133.0 KB, 549 downloads)

Screenshots

Click image for larger version
Name:	rhoovslider.jpg
Views:	2944
Size:	72.1 KB
ID:	127151   Click image for larger version
Name:	rhoovslideradmin.jpg
Views:	1685
Size:	111.1 KB
ID:	127152  

Similar Mods

vBulletin CMS Widgets [WIDGET] Slider vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024