Loading


Advertisement:

Author Topic: OSC Slider Plugin Updated 3-jul-2013  (Read 40694 times)

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
OSC Slider Plugin Updated 3-jul-2013
« on: September 20, 2011, 05:14:18 pm »
Plugin updated 3-jul-2013

I am releasing version 2.0 of the slider plugin. This version has a lot of great new features.

New features:
    you can change the background color
    you can change the border color
    you can change the border width
    you can change the box shadow color
    you can also change the width and height of the slider
    enable & disable caption
    enable & disable caption
    enable & disable auto slide
    enable & disable pager
    enable & disable navigation
    you can change the speed of slider

Create



Settings



Slider



Note: Reinstallation required (table structure changed)
« Last Edit: July 14, 2013, 09:19:39 pm by RajaSekar »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4690
Re: OC Slider Plugin Beta2 testers wanted
« Reply #1 on: September 20, 2011, 06:35:29 pm »
Hi RajaSekar,


I was trying your plugin, there're a few things I didn't understand very well and some bugs I found.

BUGS :
- If no image is selected, it should not allow you to create a new slider
- Selecting an already existing image do nothing, just create a new slider without image!

Suggestions :
- Explain what is the image link url is for.
- Explain what formats of image you supported
- Explain what is a slider and how to create them (I mean, I feel like I was creating different sliders instead of slides)
- Use format/tab on the code (improve code maintenance)


If you agree on those points (we could help you), we could upload your plugin to the main repository/download locations of OSClass plugins (you will be the owner/author of the plugin, keep the copyright,... we only offer it for download and offer "official" support for it).


Thanks

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
Re: OC Slider Plugin Beta2 testers wanted
« Reply #2 on: September 22, 2011, 08:53:20 pm »
BUGS :
- If no image is selected, it should not allow you to create a new slider
- Selecting an already existing image do nothing, just create a new slider without image!

Suggestions :
- Explain what is the image link url is for.
- Explain what formats of image you supported
- Explain what is a slider and how to create them (I mean, I feel like I was creating different sliders instead of slides)
- Use format/tab on the code (improve code maintenance)

Hi _CONEJO

I just noticed that I forgot to do error checking if the user did not select an image.
I am going to work on the selecting existing image part.

I agree we should explain what the url link is for. I will restrict the file types down to just image types because right now you could upload any file. I agree we should change the create slider to create slide. I need to clean the code up a little.

Thanks for the suggestions.

Jay

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3644
  • osCanyon, the class of Osclass
Re: OC Slider Plugin Beta2 testers wanted
« Reply #3 on: October 06, 2011, 10:37:23 pm »
Hi helpubox

How many slides do you have in your slider. If it is just one then that will cause a problem like what you are experiencing.

Jay

Maine

  • Newbie
  • *
  • Posts: 1
Re: OC Slider Plugin Beta2 testers wanted
« Reply #4 on: October 16, 2011, 06:44:23 pm »
Thanks for creating this plugin. I was just a bit confused with "Create Slider", I think it'd be better if it's called "Create Slides" since all of the images uploaded will belong to only one slider. And like to confirm the above posters about the bug that occurs when you forgot/didn't select an image. Other than that, I'm delighted by this useful plugin.

irishrage

  • Full Member
  • ***
  • Posts: 132
Re: OC Slider Plugin Beta2 testers wanted
« Reply #5 on: October 18, 2011, 05:30:22 am »
Slider is a awsame idea. Plz keep me updated ;)

wuzopei

  • Newbie
  • *
  • Posts: 19
Re: OC Slider Plugin Beta2 testers wanted
« Reply #6 on: November 02, 2011, 03:18:50 pm »
It works, it's pretty good, though I'd like to know how to add links to articles and have a heading overlay on the slider's picture... that's be fantastic! Any idea?

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: OC Slider Plugin Beta2 testers wanted
« Reply #7 on: December 06, 2011, 08:15:30 pm »

plugin updated 7/12/12 download from first post
« Last Edit: December 07, 2011, 12:36:00 pm by RajaSekar »

komir

  • Jr. Member
  • **
  • Posts: 85
Re: OC Slider Plugin Beta2 testers wanted
« Reply #8 on: December 07, 2011, 03:52:45 pm »
The great plugin  ;).
Is it possible image to be link to some another page?

komir

  • Jr. Member
  • **
  • Posts: 85
Re: OC Slider Plugin Beta2 testers wanted
« Reply #9 on: December 12, 2011, 12:39:04 pm »
Stupid of me, it is under the picture upload  :P

Luen

  • Newbie
  • *
  • Posts: 16
Re: OC Slider Plugin Beta2 testers wanted
« Reply #10 on: January 27, 2012, 02:56:37 pm »
Please upload your plugin again. Thank you.

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: OC Slider Plugin Beta2 testers wanted
« Reply #11 on: January 27, 2012, 05:22:08 pm »

@Luen

you can download it here but is not the newer version

newer version of the plugin is lost due to technical problem on our site

I hope any one can have backup

http://forums.osclass.org/general-help/plugin-lost!/

BuySellAndSwap

  • Sr. Member
  • ****
  • Posts: 389
Re: OC Slider Plugin Beta2 testers wanted
« Reply #12 on: August 12, 2012, 10:02:11 pm »
Hi

i have installed the plugin on my new site but its in maintaince mode so you cant see but I have placed the code for the plugin as:

           <div class="content">
             <?php oc_slider(); ?>
                <h1><?php _e('Latest Motors', 'twitter') ; ?> </h1>

Im using the twitter theme with version 3 but the slider is not showing on my page at all i have added images to the slider please can anyone help?

I have also posted the code from my main.php file in my theme folder if that helps?

Thank you

Code: [Select]
<!DOCTYPE html>
<html dir="ltr" lang="<?php echo str_replace('_''-'osc_current_user_locale()); ?>">
    <head>
        <?php osc_current_web_theme_path('head.php') ; ?>
        <meta name="robots" content="index, follow" />
        <meta name="googlebot" content="index, follow" />
    </head>
    <body>
         <!-- fb -->   
    <div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=255991527836859";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
        <?php osc_current_web_theme_path('header.php') ; ?>
        <div class="container margin-top-10">
            <?php twitter_show_flash_message() ; ?>
        </div>
       
        <!-- content -->
        <div class="container container-fluid latest_ads">
            <div class="sidebar">
                            <div class="row">
                    <div class="span4 columns">
                        <h3><?php _e('Search''twitter_bootstrap') ; ?></h3>
                        <ul class="unstyled">
                                        <?php osc_current_web_theme_path('sidesearch.php') ; ?>
                         </ul>
                    </div>
                </div>                     
                <div class="row">
                    <div class="span4 columns">
                        <h3><?php _e('Popular Searches''twitter_bootstrap') ; ?></h3>
                        <ul class="unstyled">
                    <?php search_tags(); ?>
                        </ul>
                    </div>
                </div>
               
                 <div class="row">
                    <div class="span4 columns">
                        <h3><?php _e('Facebook''twitter_bootstrap') ; ?></h3>
                        <ul class="unstyled">
                    <div class="fb-like-box" data-href="http://www.facebook.com/placeformotors" data-width="250" data-show-faces="true" data-border-color="white" data-stream="false" data-header="true"></div>
                        </ul>
                    </div>
                </div>


<div class="row">
                    <div class="span4 columns">
                        <h3><?php _e('Advertisment''twitter_bootstrap') ; ?></h3>
                        <ul class="unstyled">
                           


<script type="text/javascript"><!--
google_ad_client = "ca-pub-8904652510322863";
/* skyscraper */
google_ad_slot = "4041724953";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
                        </ul>
                    </div>
                </div>

<div class="row">
                    <div class="span4 columns">
                        <h3><?php _e('Pages''twitter_bootstrap') ; ?></h3>
                        <ul class="unstyled">
<li><a href="http://motors.gb.net"><?php _e('Find & Sell Motors''twitter_bootstrap') ; ?></a></li>
<li><a href="http://sellrent.co.uk"><?php _e('Sell & Rent Property Free''twitter_bootstrap') ; ?></a></li>
                            <?php while( osc_has_static_pages() ) { ?>
                            <li><a href="<?php echo osc_static_page_url() ; ?>"><?php echo osc_static_page_title() ; ?></a></li>
                            <?php ?>
                            <li><a href="<?php echo osc_contact_url(); ?>"><?php _e('Contact''twitter_bootstrap') ; ?></a></li>
                        </ul>
                    </div>
                </div>
               
            </div>
            <div class="content">
             <?php oc_slider(); ?>
                <h1><?php _e('Latest Motors''twitter') ; ?> </h1>
                <?php if( osc_count_latest_items() == 0) { ?>
                <p>
                    <?php _e('No Latest Items''twitter') ; ?>
                </p>
                <?php } else { ?>
                    <?php while ( osc_has_latest_items() ) { ?>
                    <div class="line">
                        <div class="photo">
                            <?php if( osc_count_item_resources() ) { ?>
                            <a href="<?php echo osc_item_url() ; ?>">
                                <img src="<?php echo osc_resource_thumbnail_url() ; ?>" width="100px" height="75px" title="<?php echo osc_item_title(); ?>" alt="<?php echo osc_item_title(); ?>" />
                            </a>
                            <?php } else { ?>
                            <img src="<?php echo osc_current_web_theme_url('images/no_photo.gif') ; ?>" alt="" title=""/>
                            <?php ?>
                        </div>
                        <div class="description">
                            <h2><?php if( osc_price_enabled_at_items() ) { ?> <small><strong><?php echo osc_item_formated_price() ; ?></strong></small> &middot; <?php ?><a href="<?php echo osc_item_url() ; ?>"><?php echo osc_item_title(); ?></a> <span class="label"><a href="<?php echo osc_item_category_url(osc_item_category_id()) ; ?>"><?php echo osc_item_category() ; ?></a></span> <?php if( osc_item_is_premium() ) { ?> <span class="label success"><?php _e('Premium''twitter');  ?></span><?php ?></h2>
                            <p><?php printf(__('<strong>Publish date</strong>: %s''twitter'), osc_format_dateosc_item_pub_date() ) ) ; ?></p>
                            <?php
                                $location 
= array() ;
                                if( 
osc_item_country() != '' ) {
                                    
$location[] = sprintf__('<strong>Country</strong>: %s''twitter'), osc_item_country() ) ;
                                }
                                if( 
osc_item_region() != '' ) {
                                    
$location[] = sprintf__('<strong>Region</strong>: %s''twitter'), osc_item_region() ) ;
                                }
                                if( 
osc_item_city() != '' ) {
                                    
$location[] = sprintf__('<strong>City</strong>: %s''twitter'), osc_item_city() ) ;
                                }
                                if( 
count($location) > 0) {
                            
?>

                            <p><?php echo implode(' &middot; '$location) ; ?></p>
                            <?php ?>
                            <p><?php echo osc_highlightstrip_tagsosc_item_description() ) ) ; ?></p>
                        </div>
                    </div>
                    <?php ?>
                    <?php if( osc_count_latest_items() == osc_max_latest_items() ) { ?>
                    <div class="row show-all-ads">
                        <div class="span12 columns">
                            <a class="btn primary" href="<?php echo osc_search_show_all_url();?>"><strong><?php _e("See all offers"'twitter') ; ?> &raquo;</strong></a>
                        </div>
                    </div>
                    <?php ?>
                <?php ?>
            </div>
        </div>
        <?php osc_current_web_theme_path('footer.php') ; ?>
    </body>
</html>

geoleb

  • Newbie
  • *
  • Posts: 27
Re: OC Slider Plugin Beta2 testers wanted
« Reply #13 on: August 24, 2012, 11:23:01 pm »
How can i change the size of the slider plz ?

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: OC Slider Plugin Beta2 testers wanted
« Reply #14 on: August 24, 2012, 11:57:49 pm »
How can i change the size of the slider plz ?

there is no option in admin panel to change the size of the slider.

wait i will update the plugin to change the size of the slider in admin panel  but now i am quit busy in another work [as soon as possible]