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
  #42  
Old 06-22-2011, 02:34 PM
Tri@de's Avatar
Tri@de Tri@de is offline
 
Join Date: Sep 2003
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerowolfe View Post
Hi, great tools, but I've a little problema, see the picture:



The background is white, the font is different and also. Can you help me?
modify the file
admincp\rhoovslider\slider_css.php
removing one of ../

Code:
<link href="../../cpstyles/global.css?v=410.css" rel="stylesheet" type="text/css" />
<link href="../../cpstyles/vBulletin_3_Silver/controlpanel.css?v=410.css" rel="stylesheet" type="text/css" />
in

Code:
<link href="../cpstyles/global.css?v=410.css" rel="stylesheet" type="text/css" />
<link href="../cpstyles/vBulletin_3_Silver/controlpanel.css?v=410.css" rel="stylesheet" type="text/css" />
Reply With Quote
  #43  
Old 11-06-2011, 03:51 PM
mohammed akaak mohammed akaak is offline
 
Join Date: Oct 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i find this (Table >>>>>>>.slider_img' doesn't exist ))
plzz some one help me
i want simple for complete the cod :
<?php
//###########RhoovSlider#######################
# Change hostname_rhoov_slider_db value in ip of your mysql server
# Change database_rhoov_slider_db in name of your DB
# Change username_rhoov_slider_db in the mysql user
# Change password_rhoov_slider_db in the mysql user password
//##############################################
$hostname_rhoov_slider_db = "0.0.0.0";
$database_rhoov_slider_db = "database";
$username_rhoov_slider_db = "mysql user";
$password_rhoov_slider_db = "mysql password";
$rhoov_slider_db = mysql_pconnect($hostname_rhoov_slider_db, $username_rhoov_slider_db, $password_rhoov_slider_db) or trigger_error(mysql_error(),E_USER_ERROR);
?>
Reply With Quote
  #44  
Old 04-08-2012, 04:50 AM
jeffand77 jeffand77 is offline
 
Join Date: Oct 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is my attempt in working the rhoov slider to match my site... http://brotherofwar.com/forum/
Reply With Quote
  #45  
Old 04-08-2012, 09:30 PM
haincha haincha is offline
 
Join Date: Jan 2011
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks really nice. What did you do to replace the left and right buttons?

Any luck on integrating it into the CMS at all, or do you still add them from the admincp?
Reply With Quote
  #46  
Old 04-10-2012, 10:13 PM
jeffand77 jeffand77 is offline
 
Join Date: Oct 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was a few months ago playing with it so I really dont remember. It was more trial and error but here is a copy of the coin-slider-styles.css

I never tried integrating into the CMS. Honestly I dont know much about it. So it runs through the admincp.


/*
Coin Slider jQuery plugin CSS styles
http://workshop.rs/projects/coin-slider

*/
html, body {
border: none;
padding: 0;
margin: 0;
border-radius: 0;
}

.sliderframe {
background: none repeat scroll 0 0 #000000;
height: 260px;
width: 100%;
margin: 0px;
padding: 0px;
}
.sliderframe body, body .bodySlider { padding: 0px; margin: 0px; width: 960px; height: 260px; }
#fslider {
background: none repeat scroll 0 0 #000000;
height: 260px;
margin: 0;
padding: 0;
width: 100%;
}
.coin-slider { overflow: hidden; zoom: 1; position: relative; }
.coin-slider a{ text-decoration: none; outline: none; border: none; }
#cs-navigation-apDiv1 {
width: 100%;
}
table, tbody, tr, td, th {
border: none;
padding: 0;
margin: 0;
border-radius: 0;
}

.cs-buttons {
background: url("../styles/bow/misc/skin/a-head4.png") no-repeat center center transparent;
bottom: 0 !important;
display: block;
float: left;
font-size: 0;
height: 30px;
left: 0 !important;
margin: 0;
padding: 2px;
position: absolute !important;
right: 0;
text-align: center;
width: 70%;
}
.cs-buttons a {
background: url("../styles/bow/misc/skin/ORB.png") no-repeat center center transparent;
border-radius: 20px 20px 20px 20px;
box-shadow: 0 0 4px #222222;
color: #B8C4CF;
display: inline-block;
height: 16px;
margin: 4px;
text-indent: -1000px;
width: 16px;
}

.cs-buttons a:hover {
background: url("../styles/bow/misc/skin/ORB2.png") repeat-x scroll center center transparent;
border: 0px solid #eee;
box-shadow: 0 0 32px 8px #ccc;
margin: 4px
}
.cs-active { background-color: #FF6600; color: #FF6600; }
.coin-slider #apDiv1 {
width: 100% !important;
}
.cs-title {
background: url("../styles/bow/misc/skin/sliderbg.png") no-repeat center center;
bottom: 0;
box-shadow: 0 0 12px #000000;
color: #CCCCCC;
display: block;
float: right;
font: 13px tahoma bold;
height: 220px;
left: auto !important;
opacity: 1 !important;
padding: 20px;
right: 0;
width: 260px;
}
.cs-title b {

color: #CCCCCC;
display: block;
font: 14px Tahoma bold;
padding: 0 0 8px;
text-shadow: -1px -1px 0 #222222;
}

.cs-prev {
background: url("../styles/bow/misc/skin/slider_cnt_left.png") no-repeat scroll left top transparent;
color: #FFFFFF;
font: bold 11px/122px Tahoma,Arial !important;
height: 122px !important;
padding: 0 10px;
text-transform: capitalize;
bottom: 20 !important;
width: 68px !important;
top: auto !important;
}
.cs-next {
background: url("../styles/bow/misc/skin/slider_cnt_right.png") no-repeat scroll right top transparent;
color: #FFFFFF;
font: bold 11px/122px Tahoma,Arial !important;
height: 122px !important;
padding: 0 10px;
right: 0;
text-align: right;
text-transform: capitalize;
bottom: 13 !important;
width: 68px !important;
top: auto !important;
margin-right: 0px;
}


Of course all images will have to be created for your own style and appearance for your site.
Reply With Quote
  #47  
Old 04-15-2012, 11:01 PM
skido's Avatar
skido skido is offline
 
Join Date: Mar 2012
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great! Thank you very much
Reply With Quote
  #48  
Old 04-17-2012, 07:54 AM
pesclub pesclub is offline
 
Join Date: Sep 2011
Location: Poland
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whether it is possible to insert this in the forum of the list for? CMS without a script? at the forum?
Reply With Quote
  #49  
Old 07-01-2012, 03:09 PM
LgsOfChampions's Avatar
LgsOfChampions LgsOfChampions is offline
 
Join Date: Feb 2011
Location: Leagues Of Champions
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just want to un-install this. Nothing personal, just going in a different direction and have no use for this anymore.

I deleted all the files in the upload file and removed the xml from admin panel and I get this

Quote:
Not Found

The requested URL /rhoovslider/rhoovslide.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
anyone know what I eed to do to fully remove this product?

Thanks
Reply With Quote
  #50  
Old 09-06-2012, 09:42 PM
gonzek's Avatar
gonzek gonzek is offline
 
Join Date: Jan 2008
Location: Szczecin, Poland
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by edyy View Post
I get this message "Table 'forum.slider_img' doesn't exist"

I think that the plugins think that the databasename is the same with the database prefix. Where do i change that ?
I have the same problem. Anyone know how to fix it?
Reply With Quote
  #51  
Old 01-25-2013, 10:58 AM
marccap's Avatar
marccap marccap is offline
 
Join Date: Feb 2012
Location: uk
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know where I can find this info to amend the php then I will let you know if its works for 4.2 as its showing a slider but need to amend the below-

//###########RhoovSlider#######################
# Change hostname_rhoov_slider_db value in ip of your mysql server
# Change database_rhoov_slider_db in name of your DB
# Change username_rhoov_slider_db in the mysql user
# Change password_rhoov_slider_db in the mysql user password
//##############################################
$hostname_rhoov_slider_db = "0.0.0.0";
$database_rhoov_slider_db = "database";
$username_rhoov_slider_db = "mysql user";
$password_rhoov_slider_db = "mysql password";
$rhoov_slider_db = mysql_pconnect($hostname_rhoov_slider_db, $username_rhoov_slider_db, $password_rhoov_slider_db) or trigger_error(mysql_error(),E_USER_ERROR);
?>
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 10:58 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.06734 seconds
  • Memory Usage 2,352KB
  • 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
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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
  • 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