vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to edit $style[css]? (https://vborg.vbsupport.ru/showthread.php?t=296306)

Xexiu 03-19-2013 10:09 PM

How to edit $style[css]?
 
1. I'm working on a current self-modified style and steped up trough this error when validating the page with HTML Results:

Code:

<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.6 CSS
* Style: 'iOS.H'; Style ID: 2
*/
@import url("clientscript/vbulletin_css/style-0227a4c8-00002.css");
</style>

The "id=vbulletin_css" isn't allowed. Also I want to modify where it says:

*vBulletin 3.8.6 CSS (delete it as I don't need that info).

Can someone tell me where I have to seach in order to edit those "variables". I tried searching on templates and phrases, but seems like that "info" its called via php...

2. Also I have a mod installed called: Tabs home by Gio~Logist (currently unsuported). I want to know what the javascript code to make the first tab active, so when an user comes on the site, then first tab is show as active/focused.

The CSS code is this one:

Code:

<div class="forum_tabs">
<ul>
<li><a href="#" tabindex="2" onclick="javascript: forumhome_tabs_switch('forumhome_tabs_$forum[forumid]'); return false;">$forum[title]</a>
</li>
</ul>
</div>

And the javascript that calls the function is this one:

Code:

<script type="text/javascript">
function forumhome_tabs_switch(switch_id){
document.getElementById('forumhome_tabs_switch_content').innerHTML = document.getElementById(switch_id).innerHTML;
}
</script>

I'll be much apreciated if someone can land me a hand and help me finish my style :).
(after I finish it, I will share it here and see if you guys like it)

P.P. Sorry for my english.

Chris8 03-20-2013 03:41 PM

As for your 1st question I think it's
Code:

$fullcsstext
variable in
Code:

adminfunctions_template.php
responsible for it.

Xexiu 03-22-2013 11:28 AM

Thanks Chris,

That fix the vbulletin 3.8.6 and the "id".

For the second question I will try and find some jquery plugin or something or ask somewhere, on ther forums.

Thanks again.


All times are GMT. The time now is 10:53 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.02262 seconds
  • Memory Usage 1,712KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete