![]() |
Quote:
|
I found that people with 9 second 1/4 mile ETs were last, so I added a 0 making it two digits, all good now, same with people that have under 100 WHP (eek!) had to add a 0 there too.
a previous admin added V1 of this mod to our board and it looked like he never finished, though we had profile fields up to 57, I stripped out some of the Table Inserts from the install script and it took all of the old data fine, will this cause any problems down the road? I still have the "post a link to the timeslip" instead of the upload function with radio buttons too as pictured, do you have a tip for what I should check to bring it up to date as a full upload function a la V2.1 ? If you want to say fahgedddaboutit for hacking the installer on your hack, and making a frankenstein, no worries ;) - just wanted to retain the old submit data. cheers |
Limey,
The reason your fields aren't sorting correctly is b/c somehow your timeslip fields got set to text or varchar instead of decimal. Probably happened when you upgraded your vB. Use phpmyadmin to edit all of the number fields so that they're set to DECIMAL again and they'll sort correctly without having to add the zero in front of single digit car's ET. As for updating and still using the old VB2 timeslip fields I tried that on my own site and got frustrated with it. I just had my members re-enter their times. Since you only have a couple of pages listed I'd just remove the old fields and re-install it if I were you. Removing the old fields and reinstalling will also set your timeslip & hp fields back to decimal and it'll sort like its supposed to. Dewayne |
Dewayne,
I finally got around to upgrading from vB2 and added the timeslip database last night. I even managed to preserve all the info (It took a few tries). http://www.modernengineuity.com/forums/timeslips.php Good job on a great hack! :up: |
Thanks SVT. Looks great! :)
|
Dewayne,
When Im in the admin CP and edit a users profile, I get duplicate user profile fields. The "Can edit Vehicle Profile?" is a custom profile field(ID 6) which I added in 2002. Im running vb 303 and the latest timeslip hack. Thanks. |
Optima,
That is very strange. In the admincp under custom profile fields does it also show duplicate fields for this hack? If so, can you tell me which field IDs it has? You should only have fields 50-65. Also, in admincp/user.php make sure that this code was added in the correct place and also make sure its only in there once: Code:
print_yes_no_row($vbphrase['can_edit_vehicle_profile'], 'tdban',$user[tdban]); |
Dewayne.
Thanks for the quick response, I found the problem I had this: Code:
while ($profilefield = $DB_site->fetch_array($profilefields)) |
N/P Optima. Glad its working correctly for you now.
|
Quote:
cheers. Mark |
Mark,
Just upload this file to your admincp directory and run it: https://vborg.vbsupport.ru/attachmen...chmentid=19550 This will set the fields to decimal with the correct parameters for you. |
Quote:
thankfully I only have two nine second cars on the board, so removing the zeros will be trivial :) |
Quote:
|
Hey guys,
Not sure if anyone has done this yet, but I modified it to work with vBAdvanced CMPS. Most of the work was done by EvilS1. He was just missing a line at the end which should get it to work. Code:
Instructions: I got a working demo at my site: Albertacars.net |
Nice job coolmody! Added a link to your instructions in the first post. :)
|
I am trying to add this to vBindex. What needs to be changed in toptimes.php so it will work outside the modules directory?
|
Hey evil ---
Ive had a problem since the beginning....... I have adcolumns hack running and for some reason, the Adcolumn on the timeslips page doesnt come up on the side, it comes up below. This is the only page this happens on -- can you help? http://www.lincolnvscadillac.com/timeslips.php |
SVT,
Did you try coolmody's version? He attached a zip file with a new toptimes.php. Joey, In your timeslips template find this: Code:
</table> Code:
</table> |
You rock dude!
Thanks so much! |
Evil,
vBindex is completely different. Basically you have to make it a stand alone file and then include it in the template. I have it just about worked out, but it's only returning the first time. Here is what my toptimes.php looks like (the part that matters) PHP Code:
|
SVT - have you looked at vbAdvanced CMPS system?
You might want to consider it |
I have been considering it, but I have hacked up vbindex quite a bit. I'll probably still switch over before too long.
|
I can tell you its VERY easy to use - and real sweet for adding extra pages with all custom content.
Im still a newbie, and ive done alot with it. |
I'm actually using it on another part of my site. :) I could just use more of the features on my front page.
http://www.modernengineuity.com/articles.mod |
Y/W Joey. :)
SVT, Ah, I see.. I thought you were talking about CMPS. Anyway, at the bottom of your file: shouldn't this:... Code:
eval('$times .= "' . fetch_template('vbindex_times') . '";'); Code:
eval('$times .= "' . fetch_template('vbindex_times') . '";'); Dewayne |
Yep. That fixed it. :D Thanks!
|
N/P.
Are ya gonna post your add-on for others who use vbindex? I'm sure it'll be requested sooner or later. :) |
OK. Here are the instructions and an updated file for displaying the top 5 timeslips in vBindex.
|
Thanks for sharing. :)
Added a link to your instructions in the first post. |
I have a quick question, I have the 1/4 Mile ET in the postbit_legacy, but I'd like to have it show an 1/8 Mile E/T for users that haven't yet run the 1320
I spent several hours trying to figure it out figuring it would be some kind of else variable before the /if statement. here's what I've got PHP Code:
cheers. Mark |
Limey,
This should do it: Code:
<if condition="$post[field55]>0"> |
Quote:
Cheers - worked like a charm, the sad thing is it makes sense now I see it! I wanted an AND and an absolute, not else if, darn logic gates! |
Quote:
|
Trying to install on 3.0 I don't find any of the text I am supposed to edit in the image.php file.
|
Quote:
|
In an unhacked image.php the first edit starts around line 41. The second (last) edit is around line 185.
|
Quote:
|
Quote:
If you still can't find it you can email your image.php file and I'll add the code for you. webmaster@modernmusclecars.net |
This is my lines 40-50
Quote:
Quote:
|
email sent
|
All times are GMT. The time now is 10:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|