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)
-   -   Integration with vBulletin - vbMediaWiki Vector (https://vborg.vbsupport.ru/showthread.php?t=247279)

KrU$ty 12-20-2010 07:41 PM

When i add the line

{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}

to WIKIFORUMHOME I get an error:

Quote:

Fatal error: Uncaught exception 'Exception' with message 'Unable to find a class to validate: vB_TemplateParser_Curlycssfile' in /home/sylithr/public_html/GALACTICCONTROL.COM/includes/class_template_parser.php:1083 Stack trace: #0 /home/sylithr/public_html/GALACTICCONTROL.COM/includes/class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array) #1 /home/sylithr/public_html/GALACTICCONTROL.COM/includes/adminfunctions_template.php(2863): vB_TemplateParser->validate(Array) #2 /home/sylithr/public_html/GALACTICCONTROL.COM/admincp/template.php(2121): compile_template('??{vb:stylevar ...') #3 {main} thrown in /home/sylithr/public_html/GALACTICCONTROL.COM/includes/class_template_parser.php on line 1083
The other CSS elements in additional.css work fine though.

EDIT: I used the following code and it fixed the problem with the sidebar:

Quote:

<vb:if condition="$vboptions['storecssasfile']">
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}forumhome-rollup.css" />
<vb:else />
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}forumbits.css,forumhome.css,tagcloud.css " />
</vb:if>
Now i just need ot get it working with VBa

MoreLinux 12-20-2010 08:22 PM

@KrU$ty: Looking at GALACTICCONTROL.COM you are running VB4.0.3, so that might the problem. I'm running VB4.1.0pl2 and fixed the broken vbMediaWiki for that version.

amirsyria 12-24-2010 10:24 PM

Hi, Thank You for this Mod

but, can i register by Arabic names ?? and how ?

and i can't disable magic quotes!! how can i do it ??

I hope, suported Arabic in this mod ant onther, spiceal The style ..

thank you agin ..

hollosch 12-28-2010 12:52 PM

Quote:

Originally Posted by MoreLinux (Post 2136317)
The nice navigation bar is missing many CSS elements. This is due to a mayor in the forumdisplay.css file. The best way to fix this to add the following code to you additional.css file.
Code:

/* MediaWiki fix */
.above_threadlist_controls {
        clear: both;
        display:block;
        width: 100%;
        border: {vb:stylevar forummenu_border};
        background: {vb:stylevar forummenu_background};
        _background-image: none;
        margin-top: {vb:math {vb:stylevar padding}/2};
        margin-bottom: 0;
        position: relative;
        -moz-border-radius: {vb:stylevar forummenu_border_radius};
        -webkit-border-radius: {vb:stylevar forummenu_border_radius};
        float: {vb:stylevar left};
}
.above_threadlist_controls ul {
        padding: {vb:math {vb:stylevar padding}/2} 0;
        float: {vb:stylevar right};
        margin-{vb:stylevar right}: {vb:stylevar padding};
}
.forumdisplaypopups a.popupctrl, .forumdisplaypopups.popupgroup .popupmenu a.popupctrl {
        font: {vb:stylevar forummenu_font};
        color: {vb:stylevar forummenu_color};
        background: transparent url({vb:stylevar imgdir_misc}/black_downward_arrow.png) no-repeat center {vb:stylevar left};
        padding: 0;
        padding-{vb:stylevar right}: {vb:math {vb:stylevar padding}/2};
        border: 0;
        padding-{vb:stylevar left}: 15px; /* based on icon size */
        display:block;
        _display:inline;
        float: {vb:stylevar left};
        clear: {vb:stylevar right};
}
.forumdisplaypopups li {
        position: relative;
        _display:block;
        _float: {vb:stylevar left};
        _clear: {vb:stylevar right};
}

/* Watch/Unwatch Icon Styling */
#ca-unwatch.icon a,
#ca-watch.icon a {
margin: 0;
padding: 0;
outline: none;
display: block;
width: 26px;
height: 14px;
}
#ca-unwatch.icon a {
background-image: url(images/watch-icons.png);
background-position: -43px 60%;
}
#ca-watch.icon a {
background-image: url(images/watch-icons.png);
background-position: 5px 60%;
}
#ca-unwatch.icon a:hover {
background-image: url(images/watch-icons.png);
background-position: -67px 60%;
}
#ca-watch.icon a:hover {
background-image: url(images/watch-icons.png);
background-position: -19px 60%;
}
#ca-unwatch.icon a.loading,
#ca-watch.icon a.loading {
background-image: url(images/watch-icon-loading.gif);
background-position: center 60%;
}
#ca-unwatch.icon a span,
#ca-watch.icon a span {
display: none;
}

[/LIST]
Hope this helps.

Where can I find the additional.css - file ?

hollosch 12-28-2010 01:27 PM

I have .htaccess-files in ../forum and ../wiki
I posted to both files "php_flag magic_quotes_gpc Off" in the top of the files and it doesn't work. what may be the problem ?

thx

Daryn 12-29-2010 02:27 AM

So are there any plans to update this with all the mentioned fixes?

MoreLinux 12-29-2010 06:08 AM

Quote:

Originally Posted by hollosch (Post 2140097)
Where can I find the additional.css - file ?

The file isn't on the file system. It's a VB template. In the VB4 Admin Control Panel => Styles and Templates => Search in Templates for the "additional.css" file.

hollosch 12-29-2010 03:03 PM

Quote:

Originally Posted by MoreLinux (Post 2140545)
The file isn't on the file system. It's a VB template. In the VB4 Admin Control Panel => Styles and Templates => Search in Templates for the "additional.css" file.

Thanks, works perfect !!!

iamacyborg 12-29-2010 03:55 PM

Any chance this works for vB 3.86?

hollosch 12-30-2010 03:44 PM

Quote:

Originally Posted by hollosch (Post 2140113)
I have .htaccess-files in ../forum and ../wiki
I posted to both files "php_flag magic_quotes_gpc Off" in the top of the files and it doesn't work. what may be the problem ?

thx

Nobody else the same problem or a solution ???


All times are GMT. The time now is 02:46 AM.

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.01666 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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