![]() |
You must have another hack installed that effects image.php. Just email me your file and I'll add the code for you. My email address is in the post above ^.
|
Quote:
|
Hmm...It seems to be working w/o the image.php hacked.
|
hehe.. The reason you couldn't find the code is b/c you're looking in the wrong image.php. The file you sent me is /forums/admincp/image.php .. The one you need to edit is /forums/image.php . ;)
I guess I should mention that theres two of them in the instructions.. :) |
Everything works but I get a parse error when someone tries to click on the timeslip link.
|
.....
Quote:
|
Hi, I'm currently using Timeslips version 1.2 on VB2.3.5 and I thinkd it's great. I'm going to be updating to VB3.0.3 today and was wondering the best way to make the Timeslips upgrade at the same time?
|
94supratt,
A parse error usually means that the code was copied and pasted incorrectly. Try carefully re-applying the file edits to a fresh image.php and that should fix it. Mike, It is possible to edit the installer script so that the old timeslip fields from 1.2 are still used after the upgrade, but if you only have a page or two of entries I'd suggest removing all of the old fields and doing a fresh install. It only takes each member a couple of minutes to re-enter their times and this way you'll avoid any problems with the installation script. Just go to the custom profile fields section in your admincp and remove all of the timeslips/vehicle fields before running the new installer. Dewayne |
Will do!
Thanks |
Hey Evil, I just wanted to update the location for my timeslips page
http://www.stangcountry.com/forums/timeslips.php? I added torque to the list, so I hope you don't mind that at all. Matter of fact, I had a request to add Kilowatts too...... |
Nice addition Silverstangs! Link updated.
|
this might be a really stupid question, but i don't understand how to add a template like in the last steps. any help would be great
|
Quote:
Dewayne |
i still can't figure out what is up with it, any help you can give me? I did the template part now.
Todd http://carolinadsm.com/forum/timeslips.php |
Quote:
If you still can't get it, I can add them for you if you want. Just email me at webmaster@modernmusclecars.net . |
Quote:
|
Our users are complaining that when you sort by 1/8th mile ET, the results are totally screwy. I can't make heads or tails of it, but it appears that the cars are not being sorted fastest to slowest.
http://www.tennesspeed.net/forums/ti...php?&do=eighth Any ideas? |
Tungsten,
The reason your fields aren't sorting correctly is b/c your timeslip fields got set to text or varchar instead of decimal when you upgraded your vbulletin. Someone else had the same problem earlier. To fix it, just upload this file to your admincp and run it: https://vborg.vbsupport.ru/attachmen...chmentid=19550 |
in the navbar template im not finding:
Code:
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td> Here is all i have.. Code:
<br /> |
That part of your navbar template has been modified. It would be where the buttons are now.
|
So is there a place i can stick it where it will have the same effect?
|
Also do i have to enable users to use this? Because its only showing up in thier UserCP where they can edit it. theres no link anywhere to look at anyones car info. and when they try to submit there timeslip's it just sends them back to there UserCP where they can edit there info... :-(
Leave it to me to screw stuff up. |
Grant Sherwood,
The part that you add to the navbar template will add a link to the timeslip database in your header so that its easy to access from any page. Your header has been modified so you'll have to experiment with it a little to find out where the link looks best. Or you could just make a timeslips button to put with the rest of your buttons. You can find a button in the other Timeslip Database thread (for vb2). I just registered at your forum to test and your Timeslip Database is working fine. When you submit your info it forwards you to the timeslips.php page just like its supposed to. Your users can submit their times by clicking the link at the bottom of the timeslips page (http://www.ntsr.org/forums/timeslips.php? ) or by going to their usercp and clicking "edit vehicle profile". You just need to add a link to timeslips.php somewhere and you also need to upload the timeslip icon. |
everytime i click "submit your timeslip data" it sends me back to the profile page, then i click save changes then i go look and its still not there. Also for some reason the "slipicon" is trying to pull itslef from http://www.ntsr.org/forums/classic_i...//slipicon.gif ..lol, how do i get rid of the extra / ?
Thanks again for your help. |
Ok, well i figured out why it wasnt submiting mine, you have to put a 1/4 time in or it wont submit. now all i need to do is fix the f'in icon..
|
NVM, i got it to work...Thanks for all your help. :-)
Great hack BTW. |
Quote:
Quote:
|
Is there a way to set the default as 1/8th ET? The only 1/4 track around our area is Ennis and its not very close so 90% of the people only have 1/8 ET's.
|
In timeslips.php find:
Code:
// If no action is set order by quarter Code:
// If no action is set order by eighth Code:
else Code:
else |
Works Perfectly :banana:
Thanks again. |
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 04:06 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:
|