vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Suite Style - Avenger Blue Style by TheLastSuperman (https://vborg.vbsupport.ru/showthread.php?t=269253)

K4GAP 05-31-2014 07:19 AM

Quote:

Originally Posted by Almightychucho (Post 2500205)
on my root, where do I upload the files? 1) Upload the contents of the UPLOAD Folder? Can you please tell me where they should go?

What is the name of the folder your vbulletin is in?

Almightychucho 06-03-2014 04:19 PM

Quote:

Originally Posted by K4GAP (Post 2500213)
What is the name of the folder your vbulletin is in?

It is in the following folder: public_html/vcm Thank you for your help

TheLastSuperman 06-03-2014 06:07 PM

Quote:

Originally Posted by Almightychucho (Post 2500560)
It is in the following folder: public_html/vcm Thank you for your help

Then upload the contents of the /UPLOAD/ folder to /vcm and that should do it ;).

pityocamptes 10-15-2014 12:58 AM

Superman, how do I change the border color for the input boxes on the registration and lost pw pages only? Thanks.

ozzy47 10-15-2014 01:56 AM

Ok let's try this first. Open your additional.css template and find:

Code:

.primary, textbox, full {
    border: 1px solid #2b3851 !important;
}

Change it to this:

Code:

.primary, textbox, full {
    border: 1px solid #2b3851;
}

Does that change any borders around the input boxes? Hopefully it won't.

If it does not, then do this:

AdminCP --> Plugins & Products --> Add New Plugin

Product: vBulletin
Hook location: parse_templates
Title: Custom Style Changes
Execution Order: 5
Plugin PHP Code:
Code:

if (STYLEID == XXX) {
if (THIS_SCRIPT == 'login' OR THIS_SCRIPT == 'register') {
$cssfix = '<style type="text/css">
.primary, textbox, full {
    border: 1px solid red;
}
</style>';
$template_hook[headinclude_bottom_css] .= $cssfix;
}
}

Change XXX to the style id number for your style and change red to your desired color.

Avros 10-15-2014 02:42 AM

I had made changes to two templates {additional.css, lostpw.css} and utilized an unused color tab from the StyleVars {Blocks}. This allowed me to select the colour of my choice and only affecting the 'Lost Password Form' without altering the rest of the selection boxes elsewhere.

Add this to the [additional.css]
PHP Code:

.avros {
    
background#222937 !important;
    
border2px solid {vb:stylevar blockfoot_border.borderColor};
    
background:{vb:stylevar blockfoot_border};
    
padding:2px 2px;
    
outline:0;
    -
moz-border-radius:3px;
    -
webkit-border-radius:3px;
    
border-radius:3px;


To change the background colour of the input bar, you can alter the code in the second line above from [background: #222937] to [background: #xxxxxx] xxxxxx= any variable (colour) from your choosing.

{eg: #000000 = black, #FFFFFF = white}


Mofiy the [lostpw.cs] (copy the whole code and paste to the lostpw template is fine:)
PHP Code:

{vb:stylevar htmldoctype}
<
html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
<
head>
    {
vb:raw headinclude}
    <
title>{vb:rawphrase lost_password_recovery_form} - {vb:raw vboptions.bbtitle}</title>
    {
vb:raw headinclude_bottom}
</
head>
<
body>
{
vb:raw header}
<
vb:if condition="$navbar">{vb:raw navbar}<vb:else /><br /><br /></vb:if>

<
form action="login.php?do=emailpassword" method="post" class="vbform block">
    <
h2 class="blockhead">{vb:rawphrase lost_password_recovery_form}</h2>

    <
div class="blockbody formcontrols">
        <
div class="blockrow">
            <
class="singledescription">{vb:rawphrase forgotten_password_request_email}</p>
        </
div>

        <
div class="blockrow">
            <
label for="email">{vb:rawphrase email_address}:</label>
            <
input type="text" class="avros" name="email" id="email" size="35" maxlength="90" value="{vb:raw email}" dir="ltr" tabindex="1" />
        </
div>

        <
vb:if condition="$human_verify">
        {
vb:raw human_verify}
        </
vb:if>
    </
div>

    <
div class="blockfoot actionbuttons">
        <
div class="group">
            <
input type="submit" class="button" value="{vb:rawphrase request_username_password_now}" accesskey="s" tabindex="1" />
        </
div>
    </
div>

    <
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
    <
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    <
input type="hidden" name="do" value="emailpassword" />
    <
input type="hidden" name="url" value="{vb:raw url}" />
</
form>

{
vb:raw footer}

</
body>
</
html

To change the colour of the border, enter the 'StyleVars', find 'Blocks', then the 'blockfoot_border'. No need to alter anything else.

ozzy47 10-15-2014 10:55 AM

I see you managed to change it @pityocamptes what did you end up doing?

Avros 10-17-2014 09:44 PM

Quote:

Originally Posted by coolhula (Post 2484560)
Hi, I just installed your style and it appears if my users choose to use the style they are unable to change to another (there is no drop down menu) Now do I fix this?

I find this happens with different forum versions, so find a footer template file that works and copy it to the one that does not work. Fixes this issue.

TheLastSuperman 10-20-2014 08:18 PM

Quote:

Originally Posted by coolhula (Post 2484560)
Hi, I just installed your style and it appears if my users choose to use the style they are unable to change to another (there is no drop down menu) Now do I fix this?

Hmm that usually occurs when installing a style into the wrong version... I've also seen odd situations where this occurs as well very rare w/o any explanation however reverting the entire footer template worked and solved the issue.

The footer template is what I modified to include a copyright, just be sure to copy the <div>code for it</div> into the template after reverting please.

*Alternatively you can try Avros suggestion above and copy from one footer template to another which can also alleviate the issue if importing a style made in a different version i.e. you copy working footer code from an already working pre-existing style on your site into the new style and it will work.
**Only issue I see here is the fact this even occurred, if it were one of those random odd times I mentioned above then fine but if you believe its due to version difference perhaps trying an older version .zip will alleviate some issues, depends on version though.

webmastersun 10-27-2014 09:29 AM

Navigation should move to header, it will look nicer :)
Overall, look great!


All times are GMT. The time now is 08:15 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.01725 seconds
  • Memory Usage 1,780KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)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