Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Project U-232
Reply
  #1  
Old 17th December 2014, 09:15
nicukent nicukent is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 40
Thumbs up Slider Accordion V2

Put this in
/include/config.php


PHP Code:
$INSTALLER09['expires']['slide_movies'] = 3600//1 hour 
$INSTALLER09['movie_cats'] = array(17,18,19,20,24,); 
In blocks/index put
slider.php
Templates folder add this in 1.css,2.css,etc
PHP Code:
.caption {
            
z-index:500;
            
position:absolute;
            
bottom:-35px;
            
left:0;
            
height:30px;
            
padding:5px 20px 0 20px;
            
background:#000;
            
background:rgba(0,0,0,.5);
            
width:540px;
            
font-size:1.3em;
            
line-height:1.33;
            
color:#fff;
            
border-top:1px solid #000;
            
text-shadow:none;
    }
     
    
#galery {
        
background-color#000000;
        
font-size18px;
        
height250px;
        
overflowhidden;
        
positionrelative;
        
width700px;
    }
    
#galery ul {
        
height250px;
        
margin0;
        
padding0;
        
width700px;
    }
    
#galery li {
        
border-right1px solid #9999AA;
        
floatleft;
        
height250px;
        list-
stylenone outside none;
        
overflowhidden;
        
positionrelative;
        
width69px;
    }
    
#galery li .item {
        
height250px;
        
positionabsolute;
        
width160px;
    }
    
#galery li img {
        
border-width0;
        
height250px;
        
width160px;
    }
    .
last {
        
overflowvisible !important;
    }
    
#galery .bottom-text {
        
background-color#000000;
        
bottom: -100px;
        
color#FFFFFF;
        
font-familyArial;
        
font-size12px;
        
font-weight400;
        
padding5px 10px;
        
positionabsolute;
        
text-alignjustify;
        
width140px;
    } 
Put gallery.js in scripts folder
In index.php in sdtfoot = array put this
PHP Code:
'gallery'
after
PHP Code:
'shout'
after
PHP Code:
   if (curuser::$blocks['index_page'] & block_index::FORUMPOSTS && $BLOCKS['forum_posts_on']){
   require(
BLOCK_DIR.'index/forum_posts.php');
   } 
put
PHP Code:
if (curuser::$blocks['index_page'] & block_index::SLIDER || $BLOCKS['slider_on']){
    require_once(
BLOCK_DIR.'index/slider.php');
    } 
include/class/class_blocks_index.php put
PHP Code:
const SLIDER      0x300000
after
PHP Code:
const FORUMPOSTS            0x400// 1024 
Go to admin/block.settings.php for blocks visible and put this
PHP Code:
<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
    <
td width="60%">
    <
b>Slider Accordion Block?</b><div><hr style="color:#A83838;" size="1" /></div>
    <
div>Slider Accordion</div></td>
    <
td width="40%"><div style="width: auto;" align="right"><#slider_on#></div></td>
    
</tr></table


ENJOY!
Attached Files
File Type: rar slider.rar (1.1 KB, 30 views)
File Type: rar gallery.rar (3.5 KB, 26 views)

Last edited by nicukent; 17th December 2014 at 09:18. Reason: Editing
Reply With Quote
  #2  
Old 17th December 2014, 13:15
WhyMe WhyMe is offline
Banned
 
Join Date: Apr 2014
P2P
Posts: 160
Thumbs up
Do you not think this would be a better css


PHP Code:
.caption {
            
z-index:500;
            
position:absolute;
            
bottom:-35px;
            
left:0;
            
height:30px;
            
padding:5px 20px 0 20px;
            
background:#000;
            
background:rgba(0,0,0,.5);
            
width:540px;
            
font-size:1.3em;
            
line-height:1.33;
            
color:#fff;
            
border-top:1px solid #000;
            
text-shadow:none;
}

#galery {
        
background-color#000000;
        
font-size18px;
        
height250px;
        
overflowhidden;
        
positionrelative;
        
width700px;
}
#galery ul {
        
background-color#111111;
        
height250px;
        
margin0;
        
padding0;
        
width700px;
}
#galery li {
        
border-right1px solid #9999AA;
        
floatleft;
        
height250px;
        list-
stylenone outside none;
        
overflowhidden;
        
positionrelative;
        
width69px;
}
#galery li .item {
        
height250px;
        
positionabsolute;
        
width160px;
}
#galery li img {
        
border-width0;
        
height250px;
        
width160px;
        -
moz-border-radius-topleft10px;
         -
webkit-border-radius-topleft10px;
          
border-top-left-radius10px;
           -
moz-border-radius-topright10px;
            -
webkit-border-radius-topright10px;
             
border-top-right-radius10px;
              -
moz-border-radius-bottomleft10px;
               -
webkit-border-radius-bottomleft10px;
                
border-bottom-left-radius10px;
                 -
moz-border-radius-bottomright10px;
                  -
webkit-border-radius-bottomright10px;
                   
border-bottom-right-radius10px;
}
.
last {
        
overflowvisible !important;
}
#galery .bottom-text {
        
background-color#000000;
        
bottom: -100px;
        
color#FFFFFF;
        
font-familyArial;
        
font-size12px;
        
font-weight400;
        
padding5px 10px;
        
positionabsolute;
        
text-alignjustify;
        
width140px;
}
.
row-fluid {
  
width100%;
  *
zoom1;
}
.
row-fluid:before,
.
row-fluid:after {
  
displaytable;
  
line-height0;
  
content"";
}

.
row-fluid:after {
  
clearboth;
}

.
row-fluid [class*="span"] {
  
displayblock;
  
floatleft;
  
width100%;
  
min-height30px;
  
margin-left2.127659574468085%;
  *
margin-left2.074468085106383%;
  -
webkit-box-sizingborder-box;
     -
moz-box-sizingborder-box;
          
box-sizingborder-box;
}

.
row-fluid [class*="span"]:first-child {
  
margin-left0;
}

.
row-fluid .controls-row [class*="span"] + [class*="span"] {
  
margin-left2.127659574468085%;
}

.
row-fluid .span12 {
  
width100%;
  *
width99.94680851063829%;
}

.
row-fluid .span11 {
  
width91.48936170212765%;
  *
width91.43617021276594%;
}

.
row-fluid .span10 {
  
width82.97872340425532%;
  *
width82.92553191489361%;
}

.
row-fluid .span9 {
  
width74.46808510638297%;
  *
width74.41489361702126%;
}

.
row-fluid .span8 {
  
width65.95744680851064%;
  *
width65.90425531914893%;
}

.
row-fluid .span7 {
  
width57.44680851063829%;
  *
width57.39361702127659%;
}

.
row-fluid .span6 {
  
width48.93617021276595%;
  *
width48.88297872340425%;
}

.
row-fluid .span5 {
  
width40.42553191489362%;
  *
width40.37234042553192%;
}

.
row-fluid .span4 {
  
width31.914893617021278%;
  *
width31.861702127659576%;
}

.
row-fluid .span3 {
  
width23.404255319148934%;
  *
width23.351063829787233%;
}

.
row-fluid .span2 {
  
width14.893617021276595%;
  *
width14.840425531914894%;
}

.
row-fluid .span1 {
  
width6.382978723404255%;
  *
width6.329787234042553%;
}

.
row-fluid .offset12 {
  
margin-left104.25531914893617%;
  *
margin-left104.14893617021275%;
}

.
row-fluid .offset12:first-child {
  
margin-left102.12765957446808%;
  *
margin-left102.02127659574467%;
}

.
row-fluid .offset11 {
  
margin-left95.74468085106382%;
  *
margin-left95.6382978723404%;
}

.
row-fluid .offset11:first-child {
  
margin-left93.61702127659574%;
  *
margin-left93.51063829787232%;
}

.
row-fluid .offset10 {
  
margin-left87.23404255319149%;
  *
margin-left87.12765957446807%;
}

.
row-fluid .offset10:first-child {
  
margin-left85.1063829787234%;
  *
margin-left84.99999999999999%;
}

.
row-fluid .offset9 {
  
margin-left78.72340425531914%;
  *
margin-left78.61702127659572%;
}

.
row-fluid .offset9:first-child {
  
margin-left76.59574468085106%;
  *
margin-left76.48936170212764%;
}

.
row-fluid .offset8 {
  
margin-left70.2127659574468%;
  *
margin-left70.10638297872339%;
}

.
row-fluid .offset8:first-child {
  
margin-left68.08510638297872%;
  *
margin-left67.9787234042553%;
}

.
row-fluid .offset7 {
  
margin-left61.70212765957446%;
  *
margin-left61.59574468085106%;
}

.
row-fluid .offset7:first-child {
  
margin-left59.574468085106375%;
  *
margin-left59.46808510638297%;
}

.
row-fluid .offset6 {
  
margin-left53.191489361702125%;
  *
margin-left53.085106382978715%;
}

.
row-fluid .offset6:first-child {
  
margin-left51.063829787234035%;
  *
margin-left50.95744680851063%;
}

.
row-fluid .offset5 {
  
margin-left44.68085106382979%;
  *
margin-left44.57446808510638%;
}

.
row-fluid .offset5:first-child {
  
margin-left42.5531914893617%;
  *
margin-left42.4468085106383%;
}

.
row-fluid .offset4 {
  
margin-left36.170212765957444%;
  *
margin-left36.06382978723405%;
}

.
row-fluid .offset4:first-child {
  
margin-left34.04255319148936%;
  *
margin-left33.93617021276596%;
}

.
row-fluid .offset3 {
  
margin-left27.659574468085104%;
  *
margin-left27.5531914893617%;
}

.
row-fluid .offset3:first-child {
  
margin-left25.53191489361702%;
  *
margin-left25.425531914893618%;
}

.
row-fluid .offset2 {
  
margin-left19.148936170212764%;
  *
margin-left19.04255319148936%;
}

.
row-fluid .offset2:first-child {
  
margin-left17.02127659574468%;
  *
margin-left16.914893617021278%;
}

.
row-fluid .offset1 {
  
margin-left10.638297872340425%;
  *
margin-left10.53191489361702%;
}

.
row-fluid .offset1:first-child {
  
margin-left8.51063829787234%;
  *
margin-left8.404255319148938%;
}

[class*=
"span"].hide,
.
row-fluid [class*="span"].hide {
  
displaynone;
}

[class*=
"span"].pull-center,
.
row-fluid [class*="span"].pull-center {
  
floatright;

Bump: this not work on v3
Reply With Quote
  #3  
Old 17th December 2014, 17:30
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
if ya got any errors, look at them. it may say why it doesn't work.
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #4  
Old 17th December 2014, 22:00
WhyMe WhyMe is offline
Banned
 
Join Date: Apr 2014
P2P
Posts: 160
Thumbs down
DND

theres no errors at all its just not work on v3 as its dif too the v2 mate

in the v3 we already have this

PHP Code:
$INSTALLER09['movie_cats'] = array(17,18,19,20,24,); 

PHP Code:
$INSTALLER09['movie_cats'] = array(
    
3,
    
5,
    
6,
    
10,
    
11
); 
Reply With Quote
  #5  
Old 28th December 2014, 13:51
autotron autotron is offline
Senior Member
 
Join Date: Apr 2008
Canada
Posts: 29
Default
Quote:
Originally Posted by DND View Post
if ya got any errors, look at them. it may say why it doesn't work.
Slider works just fine in V3, and if I am correct he cant ask on 232 cause he was banned from there ages ago
Reply With Quote
  #6  
Old 28th December 2014, 16:31
WhyMe WhyMe is offline
Banned
 
Join Date: Apr 2014
P2P
Posts: 160
Thumbs up
this dose work on v3 now i did the block for it

Last edited by WhyMe; 28th December 2014 at 18:05.
Reply With Quote
  #7  
Old 29th January 2015, 20:54
iseeyoucopy iseeyoucopy is offline
VIP
 
Join Date: Jan 2011
P2P
Posts: 28
Default
Why you think this slider accordion is V2 because I make same Slider accordion for V3 and I post on the U-232 forum. You put here same... i think you just added in block.settings some line... nevermind...
Reply With Quote
  #8  
Old 30th January 2015, 00:24
Jinx's Avatar
Jinx Jinx is offline
Senior Member
 
Join Date: Jun 2014
United Kingdom
Posts: 44
Default :-)
nice work
Reply With Quote
Reply

Tags
accordion , slider , v2

Thread Tools

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 +2. The time now is 23:59. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.