View Full Version : Upgrade to 3.6.9 and one color problem
SVTCobraLTD
04-07-2008, 05:27 PM
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
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
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
<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
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:
$cells[] = 'vehicleprofile';Turn it on and see if that fixes it.
SVTCobraLTD
04-08-2008, 02:43 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:
$cells[] = 'vehicleprofile';Turn it on and see if that fixes it.
Worked, thank you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.