![]() |
Ok, i have another question. Alot of members use n2o so they have both N/A and P/A times. Is there a way I can make it where it show's both if they have it? Also, when i try and sort them by N/A, and Usernames yours is the only one that shows up.
|
Quote:
Quote:
If you want it to sort N/A cars by 1/8 mile ET instead do this.. In timeslips.php find: Code:
else if ($_REQUEST['do'] == 'na') Code:
else if ($_REQUEST['do'] == 'na') |
What would be the conditional statement to display a link to a users uploaded
timeslip(just the timeslip not the full "details" page) if they have submitted one from in their vbgarage? or, link to the users full "details" page(if they have submitted timeslip data)? |
Quote:
Adding a link to the details page is easy. Just use a conditional to check if the user has entered something in the 1/4 mile ET field like this: Code:
<if condition="$user[field55] >0"> As for adding a link to the timeslip itself, I believe that would require adding a query to vbgarage.php in order to get the dateline. I didn't test this but it should work: In vbgarage.php find: Code:
eval('$commentbits .= "' . fetch_template('vbgarage_commentbits') . '";'); Code:
$timeslip=$DB_site->query("SELECT dateline Code:
<if condition="$tdateline!=''"> |
Both of your answers worked perfectly! I also must say that was just about the quickest response known to mankind! Your help is massively appreciated.
|
When the timeslip input page loads in the userscp, it loads with the usercp menu on the lefthand side. How do I remove the usercp menu when it loads, i.e, just the timeslip edit vehicle profile section loads under the navbar, no lefthand side menu. I know this may sound odd but I would like timeslip usercp section to look uniform with the vbgarage usercp section since I have them linking to each other. Personally I like the lefthand side menu for all the cp sections however vbgarage doesn't incorporate it and there's probably little chance of me contacting magnus as to how to add it.
Any help would once again be greatly appreciated. |
Quote:
In your "USERCP_SHELL" template find: Code:
$navbar Code:
<if condition="$_REQUEST['do'] != edittimeslip"> Code:
<!-- main page contents --> Code:
</if> |
And again it worked perfectly. Thanks so much for your fantastic support for your Timeslip mod. I'm sure my members are going to love it when the rest of the forum is finished. Thanks Again!:)
|
You're welcome. :)
|
nm found it
|
All times are GMT. The time now is 12:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|