vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - [WIDGET] Slider (https://vborg.vbsupport.ru/showthread.php?t=233909)

DS MrSinister 10-23-2010 08:39 PM

Quote:

Originally Posted by Martyn1983 (Post 2113344)
Hi, having problems getting this to work - see www.fiat-scotland.com

Really not sure whats causing the breaks. Any help would be awesome!

see if this works.

Find

Code:

// vBulletin: Parse BBCode

if (!is_object($bbcode_parser)){

        require_once('./includes/class_bbcode.php');

        $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

}

replace with

Code:

// vBulletin: Parse BBCode

if (!is_object($bbcode_parser)){

        require_once('../upload/includes/class_bbcode.php');

        $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

}

Find
Code:

$link = "./showthread.php?t=".$threadid."";

$imagepath = "./attachment.php?attachmentid=".$pic['attach'];

replace with

Code:

$link = "../upload/showthread.php?t=".$threadid."";

$imagepath = "../upload/attachment.php?attachmentid=".$pic['attach'];


Martyn1983 10-23-2010 08:50 PM

Is that in the slider.php file?

DS MrSinister 10-23-2010 08:54 PM

Yes sir

Martyn1983 10-23-2010 08:56 PM

Cool, thanks. That's it working again, but not quite looking right!

I know we've been using wider images (as displayed) due to how we had this set up previously, but wondering how to get it set up *properly* so we see hte options on the right but a bit of background colour behind the text?

Cheers for the help so far btw :)

DS MrSinister 10-23-2010 09:02 PM

In the slider.php file

Find

#featured ul.ui-tabs-nav li

add this too it

overflow:hidden;

Martyn1983 10-23-2010 09:12 PM

Doesn't appear to have made any changes?

DS MrSinister 10-23-2010 09:16 PM

Quote:

Originally Posted by Martyn1983 (Post 2113367)
Doesn't appear to have made any changes?

can you post the css in your slider.php file?

Martyn1983 10-23-2010 09:28 PM

<style>
#featured{
width:400px;
padding-right:150px;
position:relative;
border:5px solid #ccc;
height:250px;
background:#fff;
}
#featured ul.ui-tabs-nav{
position:absolute;
top:0; left:400px;
list-style:none;
padding:0; margin:0;
width:150px;
}
#featured ul.ui-tabs-nav li{
padding:1px 0; padding-left:13px;
font-size:12px;
color:#666;
overflow:hidden;
}
#featured ul.ui-tabs-nav li img{
float:left; margin:2px 5px;
background:#fff;
padding:2px;
border:1px solid #eee;
}
#featured ul.ui-tabs-nav li span{
font-size:9px; font-family:Verdana;
line-height:18px;
border-color: #000;
}
#featured li.ui-tabs-nav-item a{
display:block;
height:60px;
color:#333; background:#fff;
line-height:20px;
}
#featured li.ui-tabs-nav-item a:hover{
background:#f2f2f2;
}
#featured li.ui-tabs-selected{
background:url('images/selected-item.gif') top left no-repeat;
}
#featured ul.ui-tabs-nav li.ui-tabs-selected a{
background:#ccc;
}
#featured .ui-tabs-panel{
width:400px;
height:250px;
background:#999; position:relative;
}
#featured .ui-tabs-panel .info{
position:absolute;
top:180px; left:0;
height:70px;
background: url('images/transparent-bg.png');
color:#fff;
}
#featured .info h2{
font-size:18px; font-family:Georgia, serif;
color:#fff; padding:5px; margin:0;
overflow:hidden;
}
#featured .info p{
margin:0 5px;
font-family:Verdana; font-size:11px;
line-height:15px; color:#f0f0f0;
}
#featured .info a{
text-decoration:none;
color:#fff;
}
#featured .info a:hover{
text-decoration:underline;
}
#featured .ui-tabs-hide{
display:none;
}
</style>

DS MrSinister 10-23-2010 09:32 PM

try this

<style>
#featured{
width:400px;
padding-right:150px;
position:relative;
border:5px solid #ccc;
height:250px;
background:#fff;
}
#featured ul.ui-tabs-nav{
position:absolute;
top:0; left:400px;
list-style:none;
padding:0; margin:0;
width:150px;
}
#featured ul.ui-tabs-nav li{
padding:1px 0; padding-left:13px;
font-size:12px;
color:#666;
overflow:hidden;
}
#featured ul.ui-tabs-nav li img{
float:left; margin:2px 5px;
background:#fff;
padding:2px;
border:1px solid #eee;
}
#featured ul.ui-tabs-nav li span{
font-size:9px; font-family:Verdana;
line-height:18px;
border-color: #000;
}
#featured li.ui-tabs-nav-item a{
display:block;
height:60px;
color:#333; background:#fff;
line-height:20px;
}
#featured li.ui-tabs-nav-item a:hover{
background:#f2f2f2;
}
#featured li.ui-tabs-selected{
background:url('images/selected-item.gif') top left no-repeat;
}
#featured ul.ui-tabs-nav li.ui-tabs-selected a{
background:#ccc;
}
#featured .ui-tabs-panel{
width:400px;
height:250px;
background:#999; position:relative;
}
#featured .ui-tabs-panel .info{
position:absolute;
top:180px; left:0;
height:70px;
background: url('images/transparent-bg.png');
color:#fff;
}
#featured .info h2{
font-size:18px; font-family:Georgia, serif;
color:#fff; padding:5px; margin:0;
overflow:hidden;
}
#featured .info p{
margin:0 5px;
font-family:Verdana; font-size:11px;
line-height:15px; color:#f0f0f0;
}
#featured .info a{
text-decoration:none;
color:#fff;
}
#featured .info a:hover{
text-decoration:underline;
}
#featured .ui-tabs-hide{
display:none;
overflow:hidden;
}
</style>

Martyn1983 10-23-2010 09:38 PM

Just tried that mate and now nothing :S

(see www.fiat-scotland.com - no boxes, no gray, nothing)


All times are GMT. The time now is 10:37 PM.

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.01247 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete