vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Upgrade to 3.6.9 and one color problem (https://vborg.vbsupport.ru/showthread.php?t=175447)

SVTCobraLTD 04-07-2008 05:27 PM

Upgrade to 3.6.9 and one color problem
 
1 Attachment(s)
Any ideas on the image below? This started happening once I upgraded to 3.6.9. It seems to only be on certain pages because when I click "Edit Vehicle Information" it shows up correctly. Any thoughts or ideas on this?

Bradley_Wint 04-07-2008 05:38 PM

Do you mind being a bit more specific with your problem?

SVTCobraLTD 04-07-2008 05:55 PM

Quote:

Originally Posted by Bradley_Wint (Post 1485379)
Do you mind being a bit more specific with your problem?

I figured it was self explanatory. The two items that are not the dark gray background are the ones that are messed up. They are all supposed to be the same color backgrounds.

Lynne 04-07-2008 07:10 PM

You added those yourself somehow, so you need to go into the code you used to add them and put in the same class as used by the others.

SVTCobraLTD 04-07-2008 11:43 PM

Quote:

Originally Posted by Lynne (Post 1485423)
You added those yourself somehow, so you need to go into the code you used to add them and put in the same class as used by the others.

The classes are correct from what I can tell. Below is a copy of the code and I do not see anything wrong there. And none of it changed, just upgraded to 3.6.9. Thanks

Code:

                <td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td>
        </tr>
</if>
<tr>
        <td class="$navclass[password]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td>
</tr>
<tr>
        <td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td>
<tr>
        <td class="$navclass[vehicleprofile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=edittimeslip">$vbphrase[edit_timeslip]</a></td>
<tr>
<td class="$navclass[vehicleprofile]" nowrap="nowrap"><a class="smallfont" href="vbgarage.php?$session[sessionurl]do=editgarage">$vbphrase[vbgarage_edit]</a></td>
</tr>
</tr>
<tr>
        <td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</tr>
</tr>


Lynne 04-08-2008 03:06 AM

I'll bet it is from the functions_user.php file. You probably overwrote it and it was including those navclasses in the $cells array.

Just make a plugin at usercp_nav_start to add the navclasses to the $cells array there.

SVTCobraLTD 04-08-2008 10:14 AM

Quote:

Originally Posted by Lynne (Post 1485642)
I'll bet it is from the functions_user.php file. You probably overwrote it and it was including those navclasses in the $cells array.

Just make a plugin at usercp_nav_start to add the navclasses to the $cells array there.

I do not know how to make a plugin but if someone is willing to explain it, I gladly will attempt it. Thank you

Lynne 04-08-2008 02:31 PM

Warning: I'm a trial and error type coder - you may have to futz around with it (I'm always forgetting a comma here, a parenthesis there....).

Create a plugin at usercp_nav_start and put in:
Code:

$cells[] = 'vehicleprofile';
Turn it on and see if that fixes it.

SVTCobraLTD 04-08-2008 02:43 PM

Quote:

Originally Posted by Lynne (Post 1485978)
Warning: I'm a trial and error type coder - you may have to futz around with it (I'm always forgetting a comma here, a parenthesis there....).

Create a plugin at usercp_nav_start and put in:
Code:

$cells[] = 'vehicleprofile';
Turn it on and see if that fixes it.

Worked, thank you.


All times are GMT. The time now is 03:27 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.00977 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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