View Full Version : vB Timeslip Database - for Automotive websites
deathemperor
03-17-2006, 10:00 PM
Yes, finally I can release it here the converted version off Timeslips database for vbulletin 3.5.x. I made it as a product, try to change the file edits into plugin as best as I could but you still need to edit 2 files (optional). I can't think of an easy way to remove that but if anyone can, please pop in.
I've made the timeslips.php page XHTML valid. Of course the look has not been changed. Also made it fully phrased.
The permission is granted here (https://vborg.vbsupport.ru/showpost.php?p=793917&postcount=666)
Please let me copy what EvilLS1 (https://vborg.vbsupport.ru/member.php?u=11714) posted in the 3.0 hack (https://vborg.vbsupport.ru/showthread.php?t=60945&highlight=timeslips)
This is the newest version of EvilLS1's Timeslip Database hack. If you don't have an automobile related website ya might as well stop reading here because this will probably be of no use to you.. But if you do, read on!
What does it do? This hack does a few things. First, it will add a separate "Vehicle Profile" page to your forum where your users can enter their type of vehicle, engine, tranny, tires, horsepower, best 60' time, 1/8 mile time, 1/4 mile time, upload thier timeslip and more. Once the data is entered the timeslips.php page will display the info sorted by the best times, highest trap speeds, highest horsepower #s, proof of ET, or ET brackets (user selectable).
You can also ban users from editing their Vehicle Profile. This comes in handy if you have some users who insist on entering false data into the Timeslip Database just to be funny. To use this feature, just click on the user's vehicle profile, then click "user options" and set "Can edit vehicle profile" to no. The user will still be able to edit his regular profile, but not his vehicle profile.
Features include:
*The ability to sort by:
-1/4 Mile ET
-1/4 Mile MPH
-1/8 Mile ET
-1/8 Mile MPH
-60' Time
-Horsepower
-Cars with proof of ET (actual timeslip)
-N/A cars only
-Username
-ET brackets
*Show the average ET, MPH, and HP for your site.
*Vehicle Profile (separate from user profile)
*Ability to ban users from editing their vehicle profile
*Users can upload their timeslip in the vehicle profile. (New!)
*Timeslip uploads can be disabled in the admincp. (New!)
*Admin can delete user's uploaded timeslip. (New!)
*Maximum width, height and filesize for timeslip uploads can be set in the admincp. (New!)
*Admin can set an ET for which a timeslip is required if user's ET is quicker. (New!)
*Installer
Demo:
http://www.ls6.com.au/forum/timeslips.php?
Installation overview:
Files to edit: (2)- member.php (1), functions_user.php (2), image.php(2)
Files to upload: (2)- timeslips.php, slipicon.gif
Templates to edit: (2)- USERCP_SHELL, navbar
Templates to add: 0
Phrases to add: 0
Why do I still have to edit files ?
The reasons for those editions are because you don't want users to see the timeslips profile fields in the memberlist/member profile/edit profile
and just that. So that means if you exclude those the hack will still work whatever
Installation instructions:
BACK UP EVERYTHING BEFORE INSTALLING ANY HACK
Firstly please read the file Instructions.txt file on how to install this hack.
the steps are: Import the product-timeslips.xml file. Do file and template editions. Upload files to correct folder. Then enjoy it !
I have tried all that I can by installing this hack on a fresh board and solved *almost* all the problem. But if you find any errors, please post it here (just do not duplicate things :P ).
Upgrading
I haven't had a chance to do the upgrade because I convert this for a fresh vb3.5 board. I've set up things that I think it's ready for the upgrade. I'm willing to test the upgrade on your board if anyone can give.
For the upgrade to work, you must use the latest version of timeslips which can be taken from here: https://vborg.vbsupport.ru/showthread.php?t=60945
Support
I'll try my best to give supports. But please understand due to my heavy busy I may miss your post. Please understand.
Screenshots?
The shots from its 3.0 version are fine.
here's the link: https://vborg.vbsupport.ru/showthread.php?t=60945&highlight=timeslips
Changes Logs
03/18/2006: version 1.1 Fully phrased the hack.
03/19/2006: fix the problem showing your current timeslip image when editing your timeslip. To upgrade simply re-import product-timeslips.xml.
03/19/2006: fixed a few bugs in this post: https://vborg.vbsupport.ru/showpost.php?p=928929&postcount=31 . Again to upgrade just reimport the product file.
03/20/2006: Hack version change to 1.1.3: Changed the field of field 52,53,55 to decimal (6,3). Added one more file editions into the instructions file to fix showing proper image. So bad to add another file edit but this is becaus there is no hook in image.php. this is how to do it:
###### In image.php find:
if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST
###### REPLACE IT WITH:
if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip') // do not modify this $_REQUEST
###### FIND:
else
{
$table = 'customavatar';
}
###### ABOVE THIS ADD:
else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customfile';
}
Again to upgrade you need to import the product file again to overwrite. then do the above edit.
03/23/2006: Update: fix a JS error when submitting the new timeslip. (Thanks Sidewindr). Also the new product will attempt to remove your old vb3.0 options then add the new ones, this is for upgrading from timeslips for vb3.0 to vb3.5 . I didn't test that tho.
12/05/2006: Version 1.2 for vb3.6 released.
12/09/2006: minor fix for missing adding field50.
12/12/2006: fix the error: Fatal error: Call to undefined function build_hiddenprofilefield_cache() in C:\Program Files\xampp\htdocs\folder\admincp\plugin.php(1468) : eval()'d code on line 6
Please click install if you use this hack for updates. https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=110717
This hack is free (why not?) but donation are welcome, my paypal is bloodynightcrawler@gmail.com . Thank you.
end of presentation, hope I don't miss anything.
ozmazdaclub
03-18-2006, 10:50 AM
Installed!
joeychgo
03-18-2006, 11:08 AM
Not working.
Is this an upgrade, or for fresh installs????
Snake
03-18-2006, 11:47 AM
Thanks, all installed and seems to work fine so far! :)
garycutri
03-18-2006, 02:16 PM
Been testing this hack for over a month and it all works great
http://www.ls6.com.au/forum/timeslips.php
kahmeal
03-18-2006, 02:55 PM
When trying to import product-timeslips.xml I get this error:
Invalid SQL:
SELECT * FROM user WHERE tban=1;
MySQL Error : Unknown column 'tban' in 'where clause'
I do not have an existing installation of vbTimeslips.
deathemperor
03-18-2006, 03:03 PM
When trying to import product-timeslips.xml I get this error:
Invalid SQL:
SELECT * FROM user WHERE tban=1;
MySQL Error : Unknown column 'tban' in 'where clause'
I do not have an existing installation of vbTimeslips.
Please do it again using this xml file.
the above zip is updated too.
0ptima
03-18-2006, 03:34 PM
Thanks! I can finally upgrade to VB 3.5!!!!
garycutri
03-18-2006, 03:41 PM
deathemperor,
I just made a donation to your paypal (listed above) for $50US as a big "THANK YOU".
Gary
kahmeal
03-18-2006, 03:41 PM
Excellent, your new .xml file worked flawlessly! One last issue, you forgot to include slipicon.gif with the zip file. I grabbed it from garycutri's ls6.com link but you might want to throw it in the original zip ;) Great work and thanks!!!
deathemperor
03-18-2006, 03:49 PM
@Gary: Thanks a bunch !
@kahmeal: thanks for pointing it out. There always seems to have problems :(
tteal
03-18-2006, 03:52 PM
First and foremost, thank you for providing this hack. I've been waiting for this one for a while. Now hopefully we can get mine working. :banana:
Here is an error that I'm getting:
Database error in vBulletin 3.5.0:
Invalid SQL:
INSERT INTO vb3_setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'allowtimeslipupload',
'timeslips',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'timeslips'
),
(
'tdmaxwidth',
'timeslips',
'600',
'600',
'free',
'',
20,
0,
1,
'timeslips'
),
(
'tdmaxheight',
'timeslips',
'600',
'600',
'free',
'',
30,
0,
1,
'timeslips'
),
(
'tdmaxsize',
'timeslips',
'80000',
'',
'free',
'80000',
40,
0,
1,
'timeslips'
),
(
'tdsliprequired',
'timeslips',
'10.00',
'',
'free',
'',
50,
0,
1,
'timeslips'
);
MySQL Error : Duplicate entry 'allowtimeslipupload' for key 1
Error Number : 1062
Date : Saturday, March 18th 2006 @ 12:49:18 PM
Any help would be greatly appreciated!
Thank you,
Tim
deathemperor
03-18-2006, 04:05 PM
That means you are upgrading from the old version. As mentioned above I never had a chance to try the upgrade. If anyone can give me a test site (forum 3.5 with timeslips 3.0), that would be great for making the installer work on upgrade.
tteal
03-18-2006, 04:06 PM
That means you are upgrading from the old version. As mentioned above I never had a chance to try the upgrade. If anyone can give me a test site (forum 3.5 with timeslips 3.0), that would be great for making the installer work on upgrade.
< DOH! >
My site would be a good tester :-) I have a lot of prior timeslips in the database :banana:
Feel free to contact me on AOL IM: Blown284
thanks,
Tim
tteal
03-18-2006, 04:19 PM
Been testing this hack for over a month and it all works great
http://www.ls6.com.au/forum/timeslips.php
Nice site!
MillerLight
03-18-2006, 04:43 PM
Is this Hack Phrased where it could be ported to other Community Themes?
deathemperor
03-18-2006, 05:15 PM
< DOH! >
My site would be a good tester :-) I have a lot of prior timeslips in the database :banana:
Feel free to contact me on AOL IM: Blown284
thanks,
Tim
I don't user AIM. you can pm me information needed for testing.
@MillerLight: it is not fully phrased I think. that can be changed, soon :).
deathemperor
03-18-2006, 06:51 PM
Is this Hack Phrased where it could be ported to other Community Themes?
It is now fully phrased. I didn't make the vehicle tech words to be phrase because I think in whatever language they are still so.
MillerLight
03-18-2006, 07:05 PM
Death,
Thanks for the quick turn around. This hack now that it is fully phrased can be used for a large variety of community themes :banana:
Clicked Install!
MillerLight
03-18-2006, 07:07 PM
Death,
What did you mean to express by the below statement? The actual part of your statement that I didn't get your meaning to is highlighted below.
It is now fully phrased. I didn't make the vehicle tech words to be phrase because I think in whatever language they are still so.
deathemperor
03-18-2006, 07:09 PM
I meant the values like:
1/4 Mile MPH, 10 Sec Club, etc.
MillerLight
03-18-2006, 07:12 PM
Death,
Just so I am clear, those values you listed above, are they Changeable or Non Changeable by altering the phrases?
Thanx ;)
deathemperor
03-18-2006, 07:23 PM
they are changeable by editing the templates for now.
tommyxv
03-18-2006, 09:07 PM
Question #1: Do you have to have attachments enable for members in order for the upload timeslip feature to work?
Because I am getting a blank page when trying to view a time slip image.
Question #2: Can you or anyone make hooks/plugins for these code modifications?
Question #3: Is there a way to get a confirmation that the info has been saved instead of defaulting back to the edit page? It fooled me the first time as I re-entered the info again thinking I missed something.
Thanks in advance.
deathemperor
03-19-2006, 12:56 AM
#1: No
#2: For what purpose ?
#3: Are you using firefox ? firefox save input fields, try it on IE which does not.
o85au
03-19-2006, 01:38 AM
Hi death, absolutely spectacular work here, however I'm having a small issues, seems whenever my members input an ET above 10 it reverts it to 9.999. Just wondering how I get around this?
Regardz :)
deathemperor
03-19-2006, 01:49 AM
Sorry for my bad knowledge on vehicle but is it "1/8 Mile ET & MPH" or "1/4 Mile ET & MPH"
bouncer18
03-19-2006, 02:53 AM
I have the modd'ed 3.5 version installed.. ill click install that way i can help with questions..
o85au
03-19-2006, 03:54 AM
Yeah, I seemed to have fixed it by changing the data type to decimal (6,3)
Regardz :)
garycutri
03-19-2006, 04:52 AM
Nice site!
Thanks :)
Sidewindr
03-19-2006, 05:40 AM
There's a few bugs ..
1. The enforcement for uploading of image if under the set time does not appear to work.
2. The maximum timeslip image size is not changeable in the admincp
3. The users hopepage on the Details page shows up as the user looking at the details not the user.
4. The timeslip pic that comes up is the users avatar in my case.
5. The DECIMAL values for fields 52,53 and 55 should be DECIMAL(6,3) NOT DECIMAL(4,3) in the XML Installer File.
6. Hooks would be much better than file edits :)
The fix for #3 is to change the following in getvehicleinfo template..
FROM
<tr>
<td class="alt1" width="50%">
<strong>$vbphrase[timeslips_homepage]</strong>:
</td>
<td class="alt2" width="50%">
$homepage
</td>
</tr>
TO
<if condition="$show['homepage']">
<tr>
<td class="alt1" width="50%">
<strong>$vbphrase[timeslips_homepage]</strong>:
</td>
<td class="alt2" width="50%">
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
kazido
03-19-2006, 05:41 AM
Brilliant!!! Worked first time on 3.5.4 no problems at all :banana:
Just put in a test entry and seems to be working all good!
http://www.ozls1.com.au/forum/timeslips.php?
Great install instructions...especially for a VB NOOB!!!
Thx again!!
SilentNoise
03-19-2006, 07:58 AM
I'm using the patched version of vB 3.5.3 and it works like a charm
(The link is in my sig if anyone cares)
It's a really simple install, which is a nice bonus too.
Thanks man!
garycutri
03-19-2006, 09:24 AM
3. The users hopepage on the Details page shows up as the user looking at the details not the user.
This is only the case when viewing the details using the admin account. I saw that a while back but didn't worry about it.
MoveOver.cc
03-19-2006, 09:48 AM
Mine works just fine so thanks and great hack.
If I can be cheeky and suggest some additions -
Change the HP to BHP as opposed to Power at wheels. (or add another section).
Have another choice - Front Wheel Drive, 4 Wheel Drive, Rear Wheel Drive
Have another choice for car models, with Admin being allowed to add new Car Models in the Admin CP.
:banana:
garycutri
03-19-2006, 11:32 AM
Mine works just fine so thanks and great hack.
If I can be cheeky and suggest some additions -
Change the HP to BHP as opposed to Power at wheels. (or add another section).
Have another choice - Front Wheel Drive, 4 Wheel Drive, Rear Wheel Drive
Have another choice for car models, with Admin being allowed to add new Car Models in the Admin CP.
:banana:
From admincp go to "User Profile Fields" and select "User Profile Field Manager" and you can make changes to the fields (e.g. Add extra options to the Induction drop down box etc.). I also removed altitude and added a Tuner/Workshop field.
deathemperor
03-19-2006, 02:32 PM
There's a few bugs ..
1. The enforcement for uploading of image if under the set time does not appear to work.
2. The maximum timeslip image size is not changeable in the admincp
3. The users hopepage on the Details page shows up as the user looking at the details not the user.
4. The timeslip pic that comes up is the users avatar in my case.
5. The DECIMAL values for fields 52,53 and 55 should be DECIMAL(6,3) NOT DECIMAL(4,3) in the XML Installer File.
6. Hooks would be much better than file edits :)
The fix for #3 is to change the following in getvehicleinfo template..
FROM
<tr>
<td class="alt1" width="50%">
<strong>$vbphrase[timeslips_homepage]</strong>:
</td>
<td class="alt2" width="50%">
$homepage
</td>
</tr>
TO
<if condition="$show['homepage']">
<tr>
<td class="alt1" width="50%">
<strong>$vbphrase[timeslips_homepage]</strong>:
</td>
<td class="alt2" width="50%">
<a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a>
</td>
</tr>
</if>
Hi folk.
#1: I don't quite understand what you mean on this. more explanations would be better.
#2: fixed
#3: fixed
#4: it can't be, you can try looking at the demo site in the above post.
#5: that was because of my lack of vehicle knowlegde. I will change that if more ppl want it.
#6: There are no other possible ways to remove those file editions AFAIK. If you can do it just point me out. I'll be greatful.
#7: I'll be more greatful if you keep the credit of timeslips on your site. Please do respect the volunteers. Thank you.
@Thanks Gary for helping me support this hack while I'm away :up:
tommyxv
03-19-2006, 03:50 PM
#1: No
#2: For what purpose ?
#3: Are you using firefox ? firefox save input fields, try it on IE which does not.
#1, For reason I get a blank screen. hrrrmmm
#2 For the purpose of not having to re-edit files everytime I upgrade vBulletin.
#3 I am using IE, it does save the info, It just doesn't let you know it did. Is there anyway to make it show a "all info saved page" then redirect to the timeslip page?
SilentNoise
03-19-2006, 04:33 PM
I'm found one hiccup.
When I'm trying to get to the timeslip database from CMPS, which is outside of the forum directory, it brings up
Warning: main(./global.php): failed to open stream: No such file or directory in /home/xxxxxxx/public_html/timeslips.php on line 35
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxxx/public_html/timeslips.php on line 35
To fix this, change the line that you put into your navbar to:
(I've hilighted the part you need to add if you just want to add it in)
<td class="vbmenu_control"><a href="/forum/timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
deathemperor
03-19-2006, 04:46 PM
#1, For reason I get a blank screen. hrrrmmm
#2 For the purpose of not having to re-edit files everytime I upgrade vBulletin.
#3 I am using IE, it does save the info, It just doesn't let you know it did. Is there anyway to make it show a "all info saved page" then redirect to the timeslip page?
#1. I can't hardly tell what's the problem then because as for the demo site it is working without any problem for a month before it is released here.
#2. You know I hate the truth that hack need file editions. But this hack does requires 2 and those are not possible to remove AFAIK. Anyway try reading my first post for the reason why. Those editions are still optional = without it the hack still works.
#3. To see the saved message notification, make sure to enable "redirect message" on your vbulletin options.
Sidewindr
03-19-2006, 10:12 PM
This is only the case when viewing the details using the admin account. I saw that a while back but didn't worry about it.
Nope .. all users got it .. it's a problem in the template .. see my fix above.
dsotmoon
03-19-2006, 10:53 PM
so just to be sure, since its phrased I can change this over to use it on a 4x4 offroading site and as an example change " 60' " to "lift amount" or "1/8 Mile ET & MPH" to "tire size" etc etc ?
Sidewindr
03-19-2006, 10:56 PM
Hi folk.
#1: I don't quite understand what you mean on this. more explanations would be better.
The option in admin CP to enforce a timeslip pic/scan if the timeslip is under say 13.00 seconds or what ever you choose... I think you're missing some of the necessary edits/checks from profile.php I am looking at them now ... but the enforcement options to stop Timeslips under the value set in the admin cp being submitted without a pic.
etc etc etc
Actually the issue appears to be in the modifytimeslip template, the java validation script appears not to run/execute properly. It should also check that if a link is given it is to a jpg or gif file not to a htm etc.
#2: fixed
#3: fixed
#4: it can't be, you can try looking at the demo site in the above post.
It is possible, trust me .. from a fresh install this does not work. You are missing the following edits in image.php
Find in image.php
// ######################### REQUIRE BACK-END ############################
if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST
{
require_once('./global.php');
}
REPLACE with
// ######################### REQUIRE BACK-END ############################
// if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST
if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip') // do not modify this $_REQUEST
{
FIND
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
}
Replace with
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
}
else if ($vbulletin->GPC['type'] == 'timeslip')
{
$table = 'customfile';
}
#5: that was because of my lack of vehicle knowlegde. I will change that if more ppl want it.
Trust me you need to change the DECIMAL values to 6,3 for those fields as there are not many people running under 9.999 seconds on the quarter mile. I'm trying to impart some vehicle knowledge here :)
#6: There are no other possible ways to remove those file editions AFAIK. If you can do it just point me out. I'll be greatful.
I am unsure as well but there HAS to be a way ... some far more complex hacks manage to do it but it requires reworking of the code.
#7: I'll be more greatful if you keep the credit of timeslips on your site. Please do respect the volunteers. Thank you.
Well it would hardly be accurate would it seeing that the hack is not complete and needs extra work to get it working :p Lets get it all working first.
0ptima
03-19-2006, 11:37 PM
Sorry for my bad knowledge on vehicle but is it "1/8 Mile ET & MPH" or "1/4 Mile ET & MPH"
It can be both...
deathemperor
03-20-2006, 01:06 AM
The option in admin CP to enforce a timeslip pic/scan if the timeslip is under say 13.00 seconds or what ever you choose... I think you're missing some of the necessary edits/checks from profile.php I am looking at them now ... but the enforcement options to stop Timeslips under the value set in the admin cp being submitted without a pic.
etc etc etc
Actually the issue appears to be in the modifytimeslip template, the java validation script appears not to run/execute properly. It should also check that if a link is given it is to a jpg or gif file not to a htm etc.
It is possible, trust me .. from a fresh install this does not work. You are missing the following edits in image.php
Find in image.php
// ######################### REQUIRE BACK-END ############################
if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST
{
require_once('./global.php');
}
REPLACE with
// ######################### REQUIRE BACK-END ############################
// if ($_REQUEST['type'] == 'profile') // do not modify this $_REQUEST
if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip') // do not modify this $_REQUEST
{
FIND
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
}
Replace with
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
}
else if ($vbulletin->GPC['type'] == 'timeslip')
{
$table = 'customfile';
}
Trust me you need to change the DECIMAL values to 6,3 for those fields as there are not many people running under 9.999 seconds on the quarter mile. I'm trying to impart some vehicle knowledge here :)
I am unsure as well but there HAS to be a way ... some far more complex hacks manage to do it but it requires reworking of the code.
Well it would hardly be accurate would it seeing that the hack is not complete and needs extra work to get it working :p Lets get it all working first.
Thanks for those, I did miss the edit on image.php. but as Gary's site I did not. Anyway, added.
Another user has requested to change the decimal range, so I changed it too.
Sidewindr
03-20-2006, 02:22 AM
I am looking at the java code in the modifytimeslip template.
It appears that the if statment cannot evaluate the values for theform.field55.value etc.
I tested the IF with 1==1 and 2<=3 and it behaves as expected ..
Changing the if statement to just
if (theform.field55.value<=$vboptions[tdsliprequired]) {
does not work.
Sidewindr
03-20-2006, 03:14 AM
Almost fixed it .. will post up when I have :D
Sidewindr
03-20-2006, 04:22 AM
Ok the problem in the javascript is that where the variable is "theform.field55.value" it should be "theform.ctb_field55.value" and the smae for all other fieldNN.value's ...
I am wrestling with the logic there at the moment as if you have upload slip pic allowed it will not let woy use a url instead.
tommyxv
03-20-2006, 04:31 AM
First I just want to say this hack is awesome and thanks for porting it. I am still testing it on my test board.
I found an issue with removing a timeslip image. It removes the timeslip icon but the image is still there if you follow the original link.
My concern is that the database will hold this data and keep growing.
Can someone try this too. Upload an image, view the image via the timeslip page, save the url, then remove the image and then follow the original URL.
Is it still there?
fkatzenb
03-20-2006, 12:16 PM
I have some problems.... I imported the product, I get the following when visiting the php file and I also found that none of the fields have been imported...
Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT COUNT(*) AS users
FROM TM_VBuser AS user, TM_VBuserfield AS userfield
WHERE userfield.field55>0
AND user.userid = userfield.userid;
MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Monday, March 20th 2006 @ 08:09:13 AM
Script : http://www.turbo-mopar.com/forums/timeslips.php
Referrer :
IP Address : 32.60.71.66
Username : Frank
Classname : vb_database
fkatzenb
03-20-2006, 12:57 PM
I figured it all out.
See what happened is that I had a botched old install/attempt at this. I failed the XML import, found the SQL artifacts/old stuff, removed them, attempted to reinstall, however it doesnt install properly.... basically ignoring most of the stuff (like fields). I attempted to uninstall, but didnt work. So I went in, re-removed the SQL artifacts it had just created, then when it in and removed uninstall code, uninstalled the product, attempted again, and WHAM!
AWESOME!
fkatzenb
03-20-2006, 12:58 PM
I am going public with it here shortly. I am so pumped!
http://www.turbo-mopar.com/
http://www.turbo-mopar.com/forums/timeslips.php
fkatzenb
03-20-2006, 04:46 PM
Now all we need is multicar support! That is worth $50 for me!
Tru2Chevy
03-20-2006, 06:12 PM
Now all we need is multicar support! That is worth $50 for me!
I think multi car support will be part of a future release, we just have to wait for deathemperor to get some free time to finish working on it.
- Justin
tommyxv
03-20-2006, 06:48 PM
What do you guys mean buy multi-car support? You can modify any of the fields that you want, change the type of field it is, and add more as well.
joeychgo
03-20-2006, 06:51 PM
What do you guys mean buy multi-car support? You can modify any of the fields that you want, change the type of field it is, and add more as well.
They mean - being able to have more then 1 car in the database at once.
tommyxv
03-20-2006, 06:54 PM
Duh, ok. :cool:
Jenkins
03-20-2006, 07:01 PM
looks like it's working for the most part. but I'm getting a weird thing at the top of my timeslip page.
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
here's a link to the page. I prolly messed something up on install.
http://www.okgmp.com/forums/member.php?do=vehicledetails&userid=1
fkatzenb
03-20-2006, 10:07 PM
How do I add engine type to the columns of the timeslips.php results? Thanks!
Frank
knigwhil
03-20-2006, 10:47 PM
Installed.
It works and looks great, thank you.
Sidewindr
03-20-2006, 11:14 PM
I have fixed the logic and fields in the javascript in the modifytimeslips template.
The first part of the template should be as follows..
<if condition="$vboptions[allowtimeslipupload]">
<script language="javascript">
<!--
function validate(theform) {
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0) && (theform.upload.value=="") && (theform.timeslipdateline.value=="") && (theform.ctb_field57.value=="")) {
alert("An uploaded copy of or a link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false;
}
}
//-->
</script>
<else />
<script language="javascript">
<!--
function validate(theform) {
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0) && (theform.ctb_field57.value=="")) {
alert("A link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false; }
}
//-->
</script>
</if>
Once all these changes have been made it's pretty well bug free.. although I am not a big fan of client side verification of forms as it is easy to circumvent. :)
Modify the xml package (or I can do it for you) and reupload then I'll upgrade it retaining the credit .. prolly should also have some additional credit ;)
deathemperor
03-20-2006, 11:17 PM
looks like it's working for the most part. but I'm getting a weird thing at the top of my timeslip page.
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
timeslips_customfields Template:
here's a link to the page. I prolly messed something up on install.
http://www.okgmp.com/forums/member.php?do=vehicledetails&userid=1
this is a weird problem. I can't tell where it comes from. Is any body else having this problem ?
Sidewindr
03-20-2006, 11:29 PM
Another change .. the xml installer needs the following changed ..
else
{
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "customtimeslippic RENAME " . TABLE_PREFIX . "customfile");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "customfile` CHANGE `timeslippicdata` `filedata` MEDIUMTEXT NOT NULL ");
}
to
else if($check['customtimeslippic'])
{
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "customtimeslippic RENAME " . TABLE_PREFIX . "customfile");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "customfile` CHANGE `timeslippicdata` `filedata` MEDIUMTEXT NOT NULL ");
}
Sidewindr
03-20-2006, 11:37 PM
I've modified the xml and reinstalled it but the credits do not show on the bottom .. they are in the template .. maybe cached the old ones ?? Any ideas?
tommyxv
03-21-2006, 12:12 AM
Some FYI: If you deleted one of the profile fields for whatever reason, you won't be able to uninstall this product. It will give you a database error because the field is no longer there. You have to remove it from the uninstall code to have it uninstall correctly.
I want Fields 50 and 51 to be drop downs, so I have changed the XML.
Seems to work well.
SilentNoise
03-21-2006, 12:56 AM
OK, since things seem to be a little everywhere....
- Download the new attached ZIP file from this thread
- Make the changes mentioned in the TXT file from the attached ZIP file
- Alter the code in image.php using the changes listed in the header of this thread
- Make the change in this post to fix the menu link: https://vborg.vbsupport.ru/showpost.php?p=929280&postcount=39
- Edit the XML file that comes in the ZIP file as well. Make these changes: https://vborg.vbsupport.ru/showpost.php?p=930448&postcount=63, then upload it as a product from your Admin CP.
EDIT:
- Also while you're in the Admin CP, change the template "modifytimeslips" (it's in "Modify User Option Templates") - follow the instructions here: https://vborg.vbsupport.ru/showpost.php?p=930437&postcount=61
(thanks for the heads up Sidewindr)
I'm using the patched version of vB3.5.3 and everything is working great after doing these things.
Sidewindr
03-21-2006, 01:45 AM
Did you update the javascript in the modifytimeslip template so that the timeslip image/link enforcement works ?? :)
https://vborg.vbsupport.ru/showpost.php?p=930437&postcount=61
SilentNoise
03-21-2006, 02:10 AM
OH, ya I got that done too. Must've missed it when going back and forth looking for links, but I remember it taking a couple of minutes to find the "modifytimeslips" template.
I've added it to the list above, so hopefully everyone should be good to go.
Jenkins
03-21-2006, 02:58 AM
this is a weird problem. I can't tell where it comes from. Is any body else having this problem ?
It's almost like that stuff should be hidden. when you highlight the text, it highlights the coorosponding field below
Sidewindr
03-21-2006, 03:46 AM
Some more .. I have refined the checking in the modifytimeslip template..
Here's the new code for the javascript at the top ..
<script language="javascript">
<!--
function validate(theform) {
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0)) {
if ((theform.upload.value=="") && (theform.timeslipdateline.value=="") && (theform.ctb_field57.value=="")) {
alert("An uploaded copy of or a link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false;
} else if ((theform.upload.value=="") && (theform.timeslipdateline.value=="")) {
if ((theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[jJ][pP][gG]$/) == -1) && (theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[gG][iI][fF]$/) == -1)) {
alert("Incorrect Link Supplied for Timeslip Image.");
return false;
}
}
}
}
//-->
</script>
<else />
<script language="javascript">
<!--
function validate(theform) {
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0)) {
if (theform.ctb_field57.value=="") {
alert("A link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false;
} else if ((theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[jJ][pP][gG]$/) == -1) && (theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[gG][iI][fF]$/) == -1)) {
alert("Incorrect Link Supplied for Timeslip Image.");
return false;
}
}
}
//-->
</script>
This will ensure that if there are no timeslip uploads are allowed then the url for the slip image is something that resembles a url to an image.
If timeslip uploads are allowed it will accept wither an uploaded image or a valid url to an image. :D
If anyone wants the fixed xml installer PM me :D or I can attach it here if ok with deathemperor or I can send it to him :D
tommyxv
03-21-2006, 04:13 AM
Can you PM me the XML (or link to) with all these updates?
Thanks
BackSideSA
03-21-2006, 04:23 AM
i need help installing this on my site....
www.TexasRacers.com
i used to have timeslips when i was on 3.0.9
please email me at backsidesa@gmail.com or PM me here
92GreenGT
03-21-2006, 04:33 PM
Should I wait to install after the problems above are fixed?
fkatzenb
03-21-2006, 06:37 PM
BUG:
I found that the homepage being listed under each person is actually the homepage of the person logged in, not each user.
Frank
tommyxv
03-21-2006, 06:46 PM
BUG:
I found that the homepage being listed under each person is actually the homepage of the person logged in, not each user.
Frank
What? Can you explain that better please.
tbroush
03-21-2006, 06:55 PM
I'm getting this error below.
Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user, userfield AS userfield
WHERE userfield.field55>0
AND user.userid = userfield.userid;
MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Tuesday, March 21st 2006 @ 12:50:19 PM
Script : http://www.thestanggang.com/vbportal/forums/timeslips.php?
Referrer : http://www.thestanggang.com/vbportal/forums/index.php?
IP Address : 155.201.35.50
Username : TBRoush
Classname : vb_database
Try uninstalling the product and get the error below.
Database error in vBulletin 3.5.3:
Invalid SQL:
DROP TABLE customfile;
MySQL Error : Unknown table 'customfile'
Error Number : 1051
Date : Tuesday, March 21st 2006 @ 12:53:15 PM
Script : http://www.thestanggang.com/vbportal/forums/admincp/plugin.php
Referrer : http://www.thestanggang.com/vbportal/forums/admincp/plugin.php?do=productdelete&productid=timeslips&s=
IP Address : 155.201.35.50
Username : TBRoush
Classname : vb_database
SilentNoise
03-21-2006, 07:01 PM
BUG:
I found that the homepage being listed under each person is actually the homepage of the person logged in, not each user.
Frank
That's what this fixes: https://vborg.vbsupport.ru/showpost.php?p=928929&postcount=31
I'm getting this error below.
Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user, userfield AS userfield
WHERE userfield.field55>0
AND user.userid = userfield.userid;
MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Tuesday, March 21st 2006 @ 12:50:19 PM
Script : http://www.thestanggang.com/vbportal/forums/timeslips.php?
Referrer : http://www.thestanggang.com/vbportal/forums/index.php?
IP Address : 155.201.35.50
Username : TBRoush
Classname : vb_database
Try uninstalling the product and get the error below.
Database error in vBulletin 3.5.3:
Invalid SQL:
DROP TABLE customfile;
MySQL Error : Unknown table 'customfile'
Error Number : 1051
Date : Tuesday, March 21st 2006 @ 12:53:15 PM
Script : http://www.thestanggang.com/vbportal/forums/admincp/plugin.php
Referrer : http://www.thestanggang.com/vbportal/forums/admincp/plugin.php?do=productdelete&productid=timeslips&s=
IP Address : 155.201.35.50
Username : TBRoush
Classname : vb_database
Did you do this yet: https://vborg.vbsupport.ru/showpost.php?p=930616&postcount=70
tbroush
03-21-2006, 07:34 PM
Did you do this yet: https://vborg.vbsupport.ru/showp...6&postcount=70
Yes still getting the same, error.
Can someone tell me how to uninstall the product other than going thru the admincp since is not working.
Thanks
92GreenGT
03-21-2006, 07:53 PM
When trying to install the product I get this error:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'allowtimeslipupload',
'timeslips',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'timeslips'
),
(
'tdmaxwidth',
'timeslips',
'600',
'600',
'free',
'',
20,
0,
1,
'timeslips'
),
(
'tdmaxheight',
'timeslips',
'600',
'600',
'free',
'',
30,
0,
1,
'timeslips'
),
(
'tdmaxsize',
'timeslips',
'80000',
'8000',
'free',
'',
40,
0,
1,
'timeslips'
),
(
'tdsliprequired',
'timeslips',
'10.00',
'',
'free',
'',
50,
0,
1,
'timeslips'
);
MySQL Error : Duplicate entry 'allowtimeslipupload' for key 1
Error Number : 1062
Date : Tuesday, March 21st 2006 @ 01:51:18 PM
Script : http://www.fxxx.com/admincp/plugin.php
Referrer : http://www.fxxx.com/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxx
Username : xxxxxxxxxxx
Classname : vb_database
fkatzenb
03-21-2006, 08:44 PM
Sorry, the flu sucks and is sapping my thoughts. When you are logged into VB and view details for each slip entry, the hopepage is your hopepage in every case.
Frank
tommyxv
03-21-2006, 08:53 PM
Some FYI: If you deleted one of the profile fields for whatever reason, you won't be able to uninstall this product. It will give you a database error because the field is no longer there. You have to remove it from the uninstall code to have it uninstall correctly.
I want Fields 50 and 51 to be drop downs, so I have changed the XML.
Seems to work well.
For the people having un-install issues, you may need to follow this.
Sorry, the flu sucks and is sapping my thoughts. When you are logged into VB and view details for each slip entry, the hopepage is your hopepage in every case.
Frank
Do you have the latest version becuase that was fixed.
EDIT: Also for anyone installing this, it's highly unlikey but make sure you don't already have profile field numbers 50 and up or you will have problems. If you don't want certain fields, it's best to remove them from the XML before you install it. This way you can remove it later down the line withour problems. EX: I decided not to use "Density Altitude" so i removed all traces of that field from the install and uninstall code. Also of you want certain field to be drop downs, you need to change "input" to "select" for that field in the XML.
tbroush
03-21-2006, 08:57 PM
For the people having un-install issues, you may need to follow this.
I try running the query for the uninstall code and I get errors also. I'm running mysql 4.0.12 or something like that.
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '$db->query_write("DROP TABLE " . TABLE_PREFIX . "customfile")'
tommyxv
03-21-2006, 09:09 PM
Did you delete any of the fields that were created (50 to 65)? If so that is the only un-install error that I have come across. I have installed and uninstalled this over 20 times as I am customizing it, with out problem. If it's beyond that, you might need to wait for Death to chime in.
tbroush
03-21-2006, 09:19 PM
Did you delete any of the fields that were created (50 to 65)? If so that is the only un-install error that I have come across. I have installed and uninstalled this over 20 times as I am customizing it, with out problem. If it's beyond that, you might need to wait for Death to chime in.
This a fresh install for this site, never had this feature before, I checked the database and I only have 6 profile fields, none are within the numbers on this installation so I'm guessing is not installing correctly for some reaso I guess.
92GreenGT
03-21-2006, 10:00 PM
So is the error I posted anything to worry about or should I just go on with the install? I have had Timeslip mod on my site before. Thanks
92GreenGT
03-21-2006, 10:21 PM
Went ahead and installed it, when I click "Timeslips" on my navbar it takes me to a blank white page and when I click "Edit Vehicle Profile" in my User CP it takes you to a blank page. Is this related to the product error I got earlier? Any help is appreciated. Thanks
tommyxv
03-21-2006, 10:35 PM
This is for boards that have never had this installed. You might want to check out the upgrade version here: https://vborg.vbsupport.ru/showthread.php?t=104471
tommyxv
03-21-2006, 10:39 PM
This a fresh install for this site, never had this feature before, I checked the database and I only have 6 profile fields, none are within the numbers on this installation so I'm guessing is not installing correctly for some reaso I guess.
Not sure why your having issues. I am runing this on my test board (clean vb install) first and while I making my customizations, Installs without any problems. I am running Mysql 4.1.14 though.
92GreenGT
03-21-2006, 11:03 PM
Anyone help me?
tbroush
03-21-2006, 11:56 PM
Anyone help me?
I ran into your same issue, after I deleted everything from my database. What I did to get it to worked was I went to the product manager and uninstalled and reinstalled the product and is finally showing up, now I got to find out if is going to let me add stuff to it.
92GreenGT
03-22-2006, 12:08 AM
I had Timeslip database already installed ya know, I deleted all the templates and files that I knew of but it was still showing up in my Vbulletin options section. Maybe there are still some old files from versions before thats messing mine up? How do you know if you completely get rid of all the old stuff?
Sidewindr
03-22-2006, 03:43 AM
When trying to install the product I get this error:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'allowtimeslipupload',
'timeslips',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'timeslips'
),
(
'tdmaxwidth',
'timeslips',
'600',
'600',
'free',
'',
20,
0,
1,
'timeslips'
),
(
'tdmaxheight',
'timeslips',
'600',
'600',
'free',
'',
30,
0,
1,
'timeslips'
),
(
'tdmaxsize',
'timeslips',
'80000',
'8000',
'free',
'',
40,
0,
1,
'timeslips'
),
(
'tdsliprequired',
'timeslips',
'10.00',
'',
'free',
'',
50,
0,
1,
'timeslips'
);
MySQL Error : Duplicate entry 'allowtimeslipupload' for key 1
Error Number : 1062
Date : Tuesday, March 21st 2006 @ 01:51:18 PM
Script : http://www.fxxx.com/admincp/plugin.php
Referrer : http://www.fxxx.com/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxx
Username : xxxxxxxxxxx
Classname : vb_database
Check allow overwrite I'd hazzard a guess.
tommyxv
03-22-2006, 04:22 AM
Sidewindr, i am getting browers error on page in IE and FF.
Syntax error in this javascript,
<script language="javascript">
<!--
function validate(theform) {
if ((theform.ctb_field55.value<=) && (theform.ctb_field55.value>0)) {
if ((theform.upload.value=="") && (theform.timeslipdateline.value=="") && (theform.ctb_field57.value=="")) {
alert("An uploaded copy of or a link to your timeslip is required if your 1/4 mile ET is or quicker.");
return false;
} else if ((theform.upload.value=="") && (theform.timeslipdateline.value=="")) {
if ((theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[jJ][pP][gG]$/) == -1) && (theform.ctb_field57.value.search(/^http\:\/\/[a-zA-Z]...*\.[a-zA-Z]..\.[gG][iI][fF]$/) == -1)) {
alert("Incorrect Link Supplied for Timeslip Image.");
return false;
}
}
}
}
//-->
</script>
Missing a value?
EDIT: Here is what FF shows
fkatzenb
03-22-2006, 10:25 AM
I had Timeslip database already installed ya know, I deleted all the templates and files that I knew of but it was still showing up in my Vbulletin options section. Maybe there are still some old files from versions before thats messing mine up? How do you know if you completely get rid of all the old stuff?
You still have the stuff in the SQL database. You have to manually clean these out and then attempt this again. Then there will be other steps you have to do. If you want me to do it, hit me up in a PM.
Frank
deathemperor
03-22-2006, 04:41 PM
03/23/2006: Update: fix a JS error when submitting the new timeslip. (Thanks Sidewindr). Also the new product will attempt to remove your old vb3.0 options then add the new ones, this is for upgrading from timeslips for vb3.0 to vb3.5 . I didn't test that tho.
92GreenGT
03-22-2006, 04:49 PM
You still have the stuff in the SQL database. You have to manually clean these out and then attempt this again. Then there will be other steps you have to do. If you want me to do it, hit me up in a PM.
Frank
Can you point me in the right direction of cleaning the old files out of the SQL database? Thanks
92GreenGT
03-22-2006, 04:51 PM
Check allow overwrite I'd hazzard a guess.
Whats this mean? Sorry, newbie at all this.lol
tbroush
03-22-2006, 05:52 PM
Whats this mean? Sorry, newbie at all this.lol
When you go add the product in the forums cp it gives you an option to overwrite your current product.
92GreenGT
03-22-2006, 06:04 PM
When you go add the product in the forums cp it gives you an option to overwrite your current product.
Ok, I done that. Click "Yes" on allow overwrite and it still didnt work. The old stuff in the SQL database is my problem, has to be. How can I clean that stuff out? Thanks for the PM and all. If I cant figure it out I might have to let you do it but your kind enough helping me out as it is, dont want you to have to take the time to fix my problems. BTW, you own a mustang?
-Edit- Looking at your name im guessing a supercharged roush?hehe
tbroush
03-22-2006, 06:12 PM
Ok, I done that. Click "Yes" on allow overwrite and it still didnt work. The old stuff in the SQL database is my problem, has to be. How can I clean that stuff out? Thanks for the PM and all. If I cant figure it out I might have to let you do it but your kind enough helping me out as it is, dont want you to have to take the time to fix my problems. BTW, you own a mustang?
-Edit- Looking at your name im guessing a supercharged roush?hehe
It used to be supercharged now is being fitted with a turbo. I don't have any problems helping you just let me know, is kind of hard to tell you exactly what to do in the database, you used have find everything that has to do with the timeslips database and delete it.
92GreenGT
03-22-2006, 06:22 PM
It used to be supercharged now is being fitted with a turbo. I don't have any problems helping you just let me know, is kind of hard to tell you exactly what to do in the database, you used have find everything that has to do with the timeslips database and delete it.
I see
I have a 92GT as my name says with a MP T70, 38mm TiAL gate, 3" exhuast and currently running 7lbs on my stock 5 liter. I love turbos, I had a Vortech SC-Trim back in the day and made the swap a few months ago, its all a DIY kit and I love the power. Anyways back to forums, hehe.
I really wish I could learn about doing this stuff so I wouldnt have to get someone to do something like this for me all the time:(
tbroush
03-22-2006, 08:13 PM
I see
I have a 92GT as my name says with a MP T70, 38mm TiAL gate, 3" exhuast and currently running 7lbs on my stock 5 liter. I love turbos, I had a Vortech SC-Trim back in the day and made the swap a few months ago, its all a DIY kit and I love the power. Anyways back to forums, hehe.
I really wish I could learn about doing this stuff so I wouldnt have to get someone to do something like this for me all the time
Cool we order a SL T76 from turbonetics and it has being almost a month and still no turbo, we are probably going to cancel the order and go with a Precision or Innovative one, not sure yet.
Let me know if you need me to go into the databse for you.
Carlos
Sidewindr
03-23-2006, 12:39 AM
Sidewindr, i am getting browers error on page in IE and FF.
Syntax error in this javascript,
if ((theform.ctb_field55.value<=) && (theform.ctb_field55.value>0)) {
Missing a value?
EDIT: Here is what FF shows
The problem is in that line ... it should be ..
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0)) {
Not sure why yours is missing the vboptions bit. Do you have tdsliprequired set in your vbulletin options ??
deathemperor
03-23-2006, 01:49 AM
The problem is in that line ... it should be ..
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0)) {
Not sure why yours is missing the vboptions bit. Do you have tdsliprequired set in your vbulletin options ??
if he is missing tdsliprequired options. then that's the old timeslips, the version that doesn't allow users to upload picture.
tommyxv
03-23-2006, 02:53 AM
The problem is in that line ... it should be ..
if ((theform.ctb_field55.value<=$vboptions[tdsliprequired]) && (theform.ctb_field55.value>0)) {
Not sure why yours is missing the vboptions bit. Do you have tdsliprequired set in your vbulletin options ??
I decided to can this hack, not becuase of these minor fixable issues but I rather re-code it to have it's own tables in the database and not use custom profile fields. The will also get ride of all file edits.
Thanks anyway.
ddolliver
03-24-2006, 02:03 PM
OK, I'm dumb...where do I find the php files to modify...please keep it simple!
Thanks!
deathemperor
03-24-2006, 02:18 PM
they are in your forum directory, if it's function_user.php then it's in forum/includes/
ddolliver
03-24-2006, 02:51 PM
Thanks for the quick reply!
0ptima
03-26-2006, 03:51 AM
I decided to can this hack, not becuase of these minor fixable issues but I rather re-code it to have it's own tables in the database and not use custom profile fields. The will also get ride of all file edits.
Thanks anyway.
Any plans on releasing it? By having its own tables, you could add multiple time slips!
CanuckDave
03-26-2006, 02:49 PM
Just wanted to report that I followed the instructions documented in the txt file and the thread, and didn't run into a single problem, its installed and working perfectly, as far as I can tell so far.
thanks very much to everybody involved in working on this!!
bouncer18
03-27-2006, 01:19 AM
deathemperor:
is there a way to clear out the DB.. you know start it over fresh again.. this possible ?
deathemperor
03-27-2006, 01:21 AM
yes, I know. If you know what mysql, then open the old vb3.0 installer of timeslips database, then revert those database changes.
ddolliver
03-28-2006, 04:06 AM
How do I give moderators the rights to add, delete and in general control the Timeslip DB?
deathemperor
03-28-2006, 08:17 AM
That function is not available at the moment.
ddolliver
03-28-2006, 11:42 AM
Soon maybe?:banana:
92GreenGT
03-29-2006, 07:11 PM
Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user, userfield AS userfield
WHERE userfield.field55>0
AND user.userid = userfield.userid;
MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Wednesday, March 29th 2006 @ 01:10:19 PM
Script : http://www.forums.com/timeslips.php?
Referrer : http://www.forums.com/member.php?u=1140
IP Address : XXXXXXXXXXXX
Username : XXXXXXXXXXXX
Classname : vb_database
Is the error I get when I click on the Timeslip link in the Navbar?
Sidewindr
03-30-2006, 01:36 AM
Looks like the installer didn't creat field55 in the userfield table ..
Do you have remnents of an old timeslip database on your system??
Silver_2000_)!
03-30-2006, 02:16 AM
Im getting this error when trying to upload the product
atal error: Call to a member function on a non-object in /home/site/public_html/forum/admincp/plugin.php(1232) : eval()'d code on line 5
Anyone know why ? I had the old Evil LS1 version already installed
Silver_2000_)!
03-30-2006, 04:52 PM
anyone have any ideas ??
rcull
03-31-2006, 02:26 AM
deathemperor
I have just made what looks like a successful instal!
For those that are running CMPS, you might like to suggest the user might like to add the full url on line 151:
<td class="vbmenu_control"><a href="http://www.yoursite.com/forum/timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
Sidewindr
03-31-2006, 03:17 AM
deathemperor
I have just made what looks like a successful instal!
For those that are running CMPS, you might like to suggest the user might like to add the full url on line 151:
<td class="vbmenu_control"><a href="http://www.yoursite.com/forum/timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
That should actually be ...
<td class="vbmenu_control"><a href="$vboptions[bburl]/timeslips.php?$session[sessionurl]">$vbphrase[timeslips]
ddolliver
03-31-2006, 03:36 PM
Silver_2000_)!
Have you tried this?
Upgrading
I haven't had a chance to do the upgrade because I convert this for a fresh vb3.5 board. I've set up things that I think it's ready for the upgrade. I'm willing to test the upgrade on your board if anyone can give.
For the upgrade to work, you must use the latest version of timeslips which can be taken from here: https://vborg.vbsupport.ru/showthread.php?t=60945
Silver_2000_)!
03-31-2006, 03:54 PM
Silver_2000_)!
Have you tried this?
yeah dwight I was running the most recent version
Im trying to avoid losing all the data in there now ....
Silver_2000_)!
03-31-2006, 04:49 PM
Im getting this error when trying to upload the product
atal error: Call to a member function on a non-object in /home/site/public_html/forum/admincp/plugin.php(1232) : eval()'d code on line 5
Anyone know why ? I had the old Evil LS1 version already installed
Line 1232 of plugin.php is eval($code['installcode']);
Looks to me like the XML is failing the code check - just dont know why
Anyone with any guesses ??
rcull
04-01-2006, 03:38 PM
Mmmmm....
I'm looking for a "delete time slip" button. Do I have to go into the database to delete a timeslip?
WichitaRacing
04-02-2006, 05:34 AM
I just installed this and tried to upload a sample timeslip. I get this message no matter what I try:
The file that you have tried to attach is too big. The maximum size is $maxsize bytes.
ddolliver
04-02-2006, 01:12 PM
Is there a way to allow a board user to have multiple time slips, (one for each race vehicle they own)? :confused:
Thanks for your help!
...Dwight...
92GreenGT
04-02-2006, 10:05 PM
I had the 3.0.x installed and that must be whats giving me problems. I'd like to learn how to clean out my database of those old files.
Tru2Chevy
04-04-2006, 10:29 PM
Is there a way to allow a board user to have multiple time slips, (one for each race vehicle they own)? :confused:
Thanks for your help!
...Dwight...
Not that I know of, but several members of my board have asked for that already too. And this hack hasn't even been up for 24 hours yet.
- Justin
Tru2Chevy
04-04-2006, 10:36 PM
deathemperor
I have just made what looks like a successful instal!
For those that are running CMPS, you might like to suggest the user might like to add the full url on line 151:
<td class="vbmenu_control"><a href="http://www.yoursite.com/forum/timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
Thanks, I was just getting ready to start reading through code so I could figure out where to update that link.
- Justin
WichitaRacing
04-06-2006, 08:38 PM
Can anybody help me? https://vborg.vbsupport.ru/showpost.php?p=939665&postcount=126
:(
dragtech
04-07-2006, 12:57 PM
Is it possible to add a field for tire size? Also would like a field for type of suspension (4-ling, Ladder Bar, Stock Style)? Also how would you go about doing a search based on tire size and type and only display based on that?
Thanks
Dan
Protoman
04-07-2006, 02:09 PM
I'm having a permission denied problem.. any ideas why? where do you set the permissions
deathemperor
04-07-2006, 02:58 PM
the timeslips database use the permissions of canmodifyprofile for editing timeslip profile. So if you have that permission enabled there should be no problem.
BMSduey
04-08-2006, 12:36 AM
Ok i got this to work on my default and "dark style" templates, but i cannot get it to work on this (https://vborg.vbsupport.ru/showthread.php?t=99450&highlight=indevor) template.
my problem is on the navbar template i am supposed to find :
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
But its not there. This is what it has ;
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
<br />
<!--Table Border2-->
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td height="6" class="bg_tbfoot">
<img src="$stylevar[imgdir_misc]/images/spacer.gif" width="100%" height="6" alt="Indevor"></td>
</tr><tr><td>
<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td> </td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>
<if condition="$bbuserinfo['userid']">
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>
<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td>
<else />
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->
</td>
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->
</td></tr>
<tr><td height="6" class="bg_tbfoot">
<img src="$stylevar[imgdir_misc]/images/spacer.gif" width="100%" height="6" alt="Indevor"></td>
</tr></table>
<!--End Table Border2-->
<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>
<!-- / PAGENAV POPUP -->
</if>
Sorry i'm a real newb at this and cannot figure this out. Or am i right to assume that its not do-able with this particular style?
deathemperor
04-08-2006, 01:53 AM
I can't see a demo of that style, sorry I can't tell which template to edit. Maybe you should try search for templates ?
Silver_2000_)!
04-08-2006, 03:52 AM
Im getting this error when trying to upload the product
fatal error: Call to a member function on a non-object in /home/site/public_html/forum/admincp/plugin.php(1232) : eval()'d code on line 5
Anyone know why ? I had the old Evil LS1 version already installed
Anyone with ideas out there ?? PLEASE ?
dr.science
04-08-2006, 03:54 AM
I get this when I try to JUST upload the new xml. (I have the older 2.1 timeslips)
Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
Silver_2000_)!
04-08-2006, 03:59 AM
I get this when I try to JUST upload the new xml. (I have the older 2.1 timeslips)
Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
Boy that sounds familar - I posted the same error a weeek ago... Hopefully someone can point us in the right direction ...
WichitaRacing
04-09-2006, 04:59 PM
I just installed this and tried to upload a sample timeslip. I get this message no matter what I try:The file that you have tried to attach is too big. The maximum size is $maxsize bytes.
Still can't upload timeslips. :(
Silver_2000_)!
04-09-2006, 05:18 PM
Still can't upload timeslips. :(
Make sure that you have set the file sizes in the options in user CP
mcasteel
04-09-2006, 07:00 PM
I just did the install per the instructions. When I click the timeslip database navbar link, I'm getting this error:
Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT *
FROM user AS user
LEFT JOIN customtimeslippic AS customtimeslippic ON (customtimeslippic.userid = user.userid)
LEFT JOIN userfield AS userfield ON (userfield.userid = user.userid)
WHERE user.userid = userfield.userid
AND userfield.field55>0
ORDER BY userfield.field55 ASC
LIMIT 0,25;
Table 'myserver.customtimeslippic' doesn't exist
Any ideas? It doesn't look like an errors anyone has received so far.
Aeolian_X
04-09-2006, 07:22 PM
I get this when I try to JUST upload the new xml. (I have the older 2.1 timeslips)
Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
Got the exact same error. Any ideas?
magnumclub
04-10-2006, 05:56 PM
When I click on "details" in the timeslip DB i get the following message even tho all of the user are registered.
"This user has not registered and therefore does not have a profile to view"
WichitaRacing
04-11-2006, 08:00 PM
Make sure that you have set the file sizes in the options in user CP
They are set. I even changed them around a couple times, resized my picture so it was well within limits, and still no luck.
Johhhn
04-12-2006, 03:39 PM
Got the exact same error. Any ideas?
BUMP!!!!!!
someone has to know a fix!! :banana:
Johhhn
04-12-2006, 03:39 PM
Got the exact same error. Any ideas?
BUMP!!!!!!
someone has to know a fix!! :banana:
installed!
excellent hack, but one question, can the users do multiple entries??? or would they need to create another username for it?
SHalliday
04-15-2006, 12:00 PM
I was able to successfully install the new version for 3.54 but it did not import the existing data from the previous version. This affects many of our members since most have already submitted their timeslip info and now it appears to be gone.
I missed or must do to get the timeslip data from the older version imported?
BlueBulletRL
04-16-2006, 03:12 PM
BUMP FOR THE MEMBER CALL ISSUE WHATS GOING ON!!!! I need this ASAP!
BlueBulletRL
04-16-2006, 04:03 PM
Ok so this is what I had done to get it to work
1. Edit the products_timeslips.xml file. Find where it says
$db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_desc'");
change it to:
$db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_description'");
2. You will have to manually add the SQL Table into your database. To do so you can use this SQL query
CREATE TABLE `vb3_customfile` (
`userid` int(10) unsigned NOT NULL default '0',
`filedata` mediumtext NOT NULL,
`dateline` int(10) unsigned NOT NULL default '0',
`filename` varchar(100) NOT NULL default '',
`visible` smallint(6) NOT NULL default '0',
`filesize` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`userid`)
)
note you will probably see the allowtimeslips upload twice. I just ignored it and everything seems hunky dorry to me. PLEASE DO THIS AT YOUR OWN RISK. I am unaware as to how your code or sites run so it may or may not work for you.
ddolliver
04-16-2006, 09:11 PM
Bump!
Still need multiple vehicle entries for a single user....anyone do this hack?
bouncer18
04-17-2006, 01:08 AM
i cant seem to find a fix for it either...
too bad no one knows....
Sidewindr
04-18-2006, 01:08 AM
Ok so this is what I had done to get it to work
1. Edit the products_timeslips.xml file. Find where it says
$db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_desc'");
change it to:
$db->query("DELETE FROM " . TABLE_PREFIX . "phrase WHERE varname = 'setting_" . $title . "_description'");
2. You will have to manually add the SQL Table into your database. To do so you can use this SQL query
CREATE TABLE `vb3_customfile` (
`userid` int(10) unsigned NOT NULL default '0',
`filedata` mediumtext NOT NULL,
`dateline` int(10) unsigned NOT NULL default '0',
`filename` varchar(100) NOT NULL default '',
`visible` smallint(6) NOT NULL default '0',
`filesize` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`userid`)
)
note you will probably see the allowtimeslips upload twice. I just ignored it and everything seems hunky dorry to me. PLEASE DO THIS AT YOUR OWN RISK. I am unaware as to how your code or sites run so it may or may not work for you.
What are you trying to do with this modification?
tealv6
04-18-2006, 07:20 PM
I've looked through the whole 11 pages.. is there a way to make "ride" a drop down menu with options I set?
Also, what is the easiest way to delete a timeslip for a user other than the control panel? I would recommend a delete option from the timeslip.php page that only the Admins can use, normal users/mods will not see it.
Thanks
Steve
BlueBulletRL
04-18-2006, 11:05 PM
sidewinder this was for people who where trying to add the xml file and getting that error. However my issue now is since this is for a fresh install I tried copying over my old data into the new database but all my timeslip pictures are messed up. I tried editing the file timeslips.php to use my old table but that didn't work either. Anyone have any suggestions.
BlueBulletRL
04-19-2006, 12:54 AM
Also question when viewing the details it has the HOmepage. How can I take that out it doesn't read correclty and I find it unnescarry
Sidewindr
04-19-2006, 02:25 AM
sidewinder this was for people who where trying to add the xml file and getting that error. However my issue now is since this is for a fresh install I tried copying over my old data into the new database but all my timeslip pictures are messed up. I tried editing the file timeslips.php to use my old table but that didn't work either. Anyone have any suggestions.
Just rename your old table timeslippic to customfile (I think).
BlueBulletRL
04-19-2006, 03:29 AM
Alright awesome that worked. So yes now my problem is when viewing details it shows homepage I want that gone
Sidewindr
04-19-2006, 04:03 AM
If the user does not have a homepage it will not be displayed.
As for where to remove this from the timeslip detail display I am not sure .. don't have time to look for it right now :D
BlueBulletRL
04-19-2006, 04:14 AM
ha dude I've been searching and can not find it anywhere. But like I was saying if I am viewing the details of a time slip for say user on sale at the bottom it says homepage and then will say view BlueBulletRLs Homepage
BlueBulletRL
04-19-2006, 04:20 AM
Alright I found it its in the getvehicleinfo template. I just went ahead and deleted and and BAM gone :) But however anyone that does wanna use this it does not show the users homepage but yet your own homepage. I guess this is something that could be looked into but since I found it unnessacary I deleted it. Thanks for the help!
Johhhn
04-19-2006, 05:46 AM
I still get the same error, I can't upload the product file :(
Any ideas?
sidewinder this was for people who where trying to add the xml file and getting that error. However my issue now is since this is for a fresh install I tried copying over my old data into the new database but all my timeslip pictures are messed up. I tried editing the file timeslips.php to use my old table but that didn't work either. Anyone have any suggestions.
Sidewindr
04-19-2006, 06:36 AM
Alright I found it its in the getvehicleinfo template. I just went ahead and deleted and and BAM gone :) But however anyone that does wanna use this it does not show the users homepage but yet your own homepage. I guess this is something that could be looked into but since I found it unnessacary I deleted it. Thanks for the help!
Ahh this was a bug I fixed .. check the posts in this thread .. maybe you don't have the latest xml file or it may have not made it into the one on here. Mine certainly works ;)
Sidewindr
04-19-2006, 06:37 AM
I have also discovered another bug when updating timeslip info with respect to enforcing the timeslip pic or URL... will post when I have fixed it.
Sidewindr
04-19-2006, 09:02 AM
Ok bug/s fixed. I have attached the xml to this post.
There was a typo in the regexp matching for url checking of the timeslip url and the logic needed a finishing touch to correct a condition where if you uploaded a timeslip pic and then edited your profile you could delete the pic (default action, fixed now) and still have a time under the minimum time required for a timeslip pic or URL.
Johhhn
04-19-2006, 01:38 PM
Just tried uploading it to see if it'll actually uplaod and got this:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'allowtimeslipupload',
'timeslips',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'timeslips'
),
(
'tdmaxwidth',
'timeslips',
'600',
'600',
'free',
'',
20,
0,
1,
'timeslips'
),
(
'tdmaxheight',
'timeslips',
'600',
'600',
'free',
'',
30,
0,
1,
'timeslips'
),
(
'tdmaxsize',
'timeslips',
'80000',
'8000',
'free',
'',
40,
0,
1,
'timeslips'
),
(
'tdsliprequired',
'timeslips',
'12.599',
'',
'free',
'',
50,
0,
1,
'timeslips'
);
MySQL Error : Duplicate entry 'allowtimeslipupload' for key 1
Error Number : 1062
Date : Wednesday, April 19th 2006 @ 08:36:20 AM
Script : http://badassg5.local/forums/admincp/plugin.php
Referrer : http://badassg5.local/forums/admincp/plugin.php?do=productadd
IP Address : 192.168.0.100
Username : John
Classname : vb_database
dmark101
04-19-2006, 04:47 PM
has the 'upgrade' been completed yet?
i upgraded vB to 3.5.x a long time ago and my users are clamoring for the return of the timeslips database. :(
MoveOver.cc
04-19-2006, 07:39 PM
Does anybody know how to change the opening page to start on Horse Power instead of quarter mile time???
Sidewindr
04-20-2006, 12:28 AM
Just tried uploading it to see if it'll actually uplaod and got this:
Database error in vBulletin 3.5.4:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'allowtimeslipupload',
'timeslips',
'1',
'1',
'boolean',
'yesno',
10,
0,
1,
'timeslips'
),
(
'tdmaxwidth',
'timeslips',
'600',
'600',
'free',
'',
20,
0,
1,
'timeslips'
),
(
'tdmaxheight',
'timeslips',
'600',
'600',
'free',
'',
30,
0,
1,
'timeslips'
),
(
'tdmaxsize',
'timeslips',
'80000',
'8000',
'free',
'',
40,
0,
1,
'timeslips'
),
(
'tdsliprequired',
'timeslips',
'12.599',
'',
'free',
'',
50,
0,
1,
'timeslips'
);
MySQL Error : Duplicate entry 'allowtimeslipupload' for key 1
Error Number : 1062
Date : Wednesday, April 19th 2006 @ 08:36:20 AM
Script : http://badassg5.local/forums/admincp/plugin.php
Referrer : http://badassg5.local/forums/admincp/plugin.php?do=productadd
IP Address : 192.168.0.100
Username : John
Classname : vb_database
Which xml was it? the one I posted or the one at the top of the hack?
92GreenGT
04-20-2006, 02:02 AM
Getting the same error still, same as the one Johhhn got when im trying to install the product. I tried the "fix" posted on page 11 and it didnt help. Really wish I could figure this out, :(
BlueBulletRL
04-20-2006, 01:25 PM
Hey sidewinder yea I'm getting the same error when I tried to upload your new xml file into product manager. I'm gonna see what I can possibly find out. Just curious but is this because its not made for an upgrade but yet a fresh version? If so that would be why we are getting this error correct?
Sidewindr
04-21-2006, 04:36 AM
Hey sidewinder yea I'm getting the same error when I tried to upload your new xml file into product manager. I'm gonna see what I can possibly find out. Just curious but is this because its not made for an upgrade but yet a fresh version? If so that would be why we are getting this error correct?
No idea .. it works fine for me when I add the product with overwrite. All I can suggest is to check out the SQL statements in the xml file and also look at your tables, maybe you have some remnents of a previous install ...
Do you have existing data or are you starting from scratch?
If it's a clean install it appears you have a "allowtimeslipupload" field in your setting table. Try removing the "allowtimeslipupload" field from the settings table and then installing the product.
Johhhn
04-21-2006, 01:41 PM
I'm trying to uprade from the VB 3.0 version and initially with the orignal 3.5 hack I get the
Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
And when I tried your hack, sidewinder, I get that error I just posted.
Any ideas peeps? :(
This is very frustrating, I waited a long time to go to 3.5 VB so all my hacks would work and this is the last one that I'm waiting to install
BlueBulletRL
04-21-2006, 02:28 PM
I am upgrading. I have it all working
alsinda
04-21-2006, 07:45 PM
Great one. I installed it and demo'd for Portland International Raceway. They like it and are thinking about using it on their forum.
Installed!
the track management may be interested in some customization.. danny@alsinda.net
dmark101
04-21-2006, 10:52 PM
has the 'upgrade' been completed yet?
i upgraded vB to 3.5.x a long time ago and my users are clamoring for the return of the timeslips database. :(
anyone plan on answering? :cross-eyed:
Sidewindr
04-23-2006, 09:58 PM
I'm trying to uprade from the VB 3.0 version and initially with the orignal 3.5 hack I get the
Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
And when I tried your hack, sidewinder, I get that error I just posted.
Any ideas peeps? :(
This is very frustrating, I waited a long time to go to 3.5 VB so all my hacks would work and this is the last one that I'm waiting to install
Did you follow all of the instructions in the zip file??? The xml I put up is just a modified product file there are more things that need to be done than just installing the xml product. I am sorry but I have no idea what the error you are getting means exactly apart from you're making call to a nonexistient function .. :confused:
Sidewindr
04-23-2006, 09:59 PM
anyone plan on answering? :cross-eyed:
Have you read any of this thread at all??? :cross-eyed:
Johhhn
04-24-2006, 02:51 PM
Hi Sidewindr,
I appreciate you porting this hack to vb3.5.
I was running this hack under vb3 and followed the upgrade instructions on two installations of vb3.5 and I get the error that many others have gotten: Fatal error: Call to a member function on a non-object in /public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
I really want to get this working, but have no idea where to go from here. Since many others have the same problem, I assume it's not isolated.
Thanks,
John
Did you follow all of the instructions in the zip file??? The xml I put up is just a modified product file there are more things that need to be done than just installing the xml product. I am sorry but I have no idea what the error you are getting means exactly apart from you're making call to a nonexistient function .. :confused:
Sidewindr
04-24-2006, 11:33 PM
John,
I didn't port it I just fixed some bugs in it :)
As for your error I really have no idea what's causing it. :(
Johhhn
04-25-2006, 03:24 PM
:(
Ok, how about this-
Any idea how hard/easy it can be to setup a new install of this and then reimport the old data?
92GreenGT
04-25-2006, 06:58 PM
Someone needs to figure out what is causing the problems from the old install. That has to be the problem, its the remaining info that was on there with the 3.0.x version. How do you delete remains out of your SQL database?
dragtech
04-26-2006, 12:48 AM
So does this installing fine (no problems) on a new 3.5.4 clean setup?
ddolliver
04-26-2006, 10:34 PM
Is there any way to have multiple vehicles for a single user?????:confused:
Tru2Chevy
04-28-2006, 06:07 PM
Is there any way to have multiple vehicles for a single user?????:confused:
Not yet, but this is something that I would be interested in as well. I have several members with multiple cars...
- Justin
Not yet, but this is something that I would be interested in as well. I have several members with multiple cars...
- Justin
Seconded. Also something for circuit racing, different tracks etc.
Tru2Chevy
05-03-2006, 01:38 PM
Seconded. Also something for circuit racing, different tracks etc.
You can just change the wording if you want it to count for circuit racing instead of drag racing. Change the name to lap times, and add a field for length of the track, and whether it's oval, D-shaped, or road coarse. Every field in this hack is customizable.
- Justin
Johhhn
05-04-2006, 06:26 PM
bumpity bump.. anyone figure out why it won't upgrade from the old VB version to the new?
92GreenGT
05-05-2006, 12:43 AM
bumpity bump.. anyone figure out why it won't upgrade from the old VB version to the new?
Same problem.lol:surprised: :surprised: :surprised:
Johhhn
05-05-2006, 01:34 PM
Same problem.lol:surprised: :surprised: :surprised:
heck, at this point, i'll pay someone to help fix it!!!!!!!!!!!!!!! :tired:
black04gt
05-08-2006, 12:24 PM
hello,
I recently tried to install the VBTimeslips mod and when I went to upload/import the .xml file in the first step I got this error:
Importing Product, Please Wait...
[:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::]
Fatal error: Call to a member function on a non-object in /home/tbmustan/domains/tbmustangs.com/public_html/forums/admincp/plugin.php(1239) : eval()'d code on line 5
anyone ever seen this or know what to do??
thanks in advance!
David
Johhhn
05-08-2006, 08:04 PM
join the club, bro.. readup and you'll see you won't be the only one ignored!
black04gt
05-09-2006, 11:45 AM
ahh i see now that you had the same problem.... weird... i have been searching the forums and no where that I can see of does it talk about a problem with importing a .xl file maybe the file is bad??? Do you have any other hacks on your board??? I have vbgallery, vbms, and flash chat... that should affect it.. Im going to try to upload another hack and see if it works if it works fine then something is wrong with the .xml file...
Update!!!... i just tried to upload and install the ecdownload buddy product.xml file.. it installed perfectly no problems so this definitly has something to do with the timeslip.xml file I thought it might have been my forums corupted or messed up but its working fine just something in the timeslip code that the forums hates????
black04gt
05-09-2006, 12:01 PM
heck, at this point, i'll pay someone to help fix it!!!!!!!!!!!!!!! :tired:
il pay soemone to fix mine too... my memebers want the timeslip mod they are going to riot soon!
92GreenGT
05-11-2006, 01:12 AM
I PM'd EvilLS1 to see if he could tell me the changes his hack made in the database so we can go in and remove all the old changes and then install the 3.5.x version again. He replied with a super quick and helpful reply. Can someone make a uninstall script to help everyone who is having problems out? He said it would be fairly easy for someone with some coding skills to make one. Anyways, here are the database changes that the 3.0.x version changed.
Tables created:
customtimeslippic
Additions to table "settinggroup":
timeslips
Additions to table "setting":
allowtimeslipupload
tdmaxwidth
tdmaxheight
tdmaxsize
tdsliprequired
Additions to table "phrase":
settinggroup_timeslips
setting_allowtimeslipupload_title
setting_allowtimeslipupload_desc
setting_tdmaxwidth_title
setting_tdmaxwidth_desc
setting_tdmaxheight_title
setting_tdmaxheight_desc
setting_tdmaxsize_title
setting_tdmaxsize_desc
setting_tdsliprequired_title
setting_tdsliprequired_desc
Additions to table "profilefield":
Fields 50-65
Additions to table "user":
tdban
Additions to table "userfield":
field50-field65
:banana: :banana: :banana:
kurtbarker
05-11-2006, 02:12 AM
hey mate, awesome hack...
is it possible to add dyno info and a slot for dyno slips
That would be great. I would like to install this also. but need to get rid of the old version.
I PM'd EvilLS1 to see if he could tell me the changes his hack made in the database so we can go in and remove all the old changes and then install the 3.5.x version again. He replied with a super quick and helpful reply. Can someone make a uninstall script to help everyone who is having problems out? He said it would be fairly easy for someone with some coding skills to make one. Anyways, here are the database changes that the 3.0.x version changed.
:banana: :banana: :banana:
Sidewindr
05-15-2006, 11:14 PM
I removed all the modifications listed above from the old timeslip DB manually using mysql admin. Just go through the tables and find the fields and tables that were added and drop them.
I'd love to help out with a script but I will not take that risk incase I make a boo boo and causes grief for others ;) I am by no means a master coder hehe just a hack :banana:
Tungsten
05-16-2006, 02:53 PM
I am getting the following error too...
Call to a member function on a non-object in D:\Inetpub\wwwroot\tennesspeed\forums\admincp\plug in.php(1232) : eval()'d code on line 5
There is definitely something wrong with the current XML file.
Johhhn
05-16-2006, 05:21 PM
I removed all the modifications listed above from the old timeslip DB manually using mysql admin. Just go through the tables and find the fields and tables that were added and drop them.
I'd love to help out with a script but I will not take that risk incase I make a boo boo and causes grief for others ;) I am by no means a master coder hehe just a hack :banana:
if you do this, then everyone will hav eto reetner their stuff, right??
arggggggggggggg
92GreenGT
05-16-2006, 10:29 PM
Got mine working, it was a sucky job but now it works. W00t, im getting people to upload their stuff and see if they have any problems now, I'll let you know. Thanks guys.
-Dave
92GreenGT
05-16-2006, 10:30 PM
if you do this, then everyone will hav eto reetner their stuff, right??
arggggggggggggg
Correct, but its better than the database not working at all.:banana: :banana:
Sidewindr
05-17-2006, 04:07 AM
if you do this, then everyone will hav eto reetner their stuff, right??
arggggggggggggg
That's what I had to do with my site .. I deleted it all a while ago after the 3.5 upgrade expecting a different incompatable hack to be released.
Johhhn
05-17-2006, 01:50 PM
sniff sniff :(
damn
Wish there was a better way,, i can't believe no coder can figure out WHY it's giving that error message.. it works for some peeps but not others? makes no sense to me :(
92GreenGT
05-17-2006, 04:14 PM
It only works for the people who deleted their old stuff from the database or hadnt installed the old version.
It doesnt take but a minute to re-enter your info in the timeslip database.
Zachariah
05-17-2006, 04:28 PM
What is going on with this hack ?
- I started to work on the 3.5 ver and shot PM's to hotwheels and got lost in a few hacks.
92GreenGT
05-18-2006, 03:40 AM
What is going on with this hack ?
- I started to work on the 3.5 ver and shot PM's to hotwheels and got lost in a few hacks.
it works great AS LONG AS you have cleaned the database of the old hack or putting it on a fresh 3.5.x board.:banana:
jaybquick
05-18-2006, 03:51 AM
This hack is awesome. However, myself and some other members have multiple 11 and 12 second cars.
The question is. Is there a way for me to manually enter more than one entry for a given user into the database?
With manual access to the database I know this is very doable.
Thanks guys
RUF SS
05-18-2006, 04:53 AM
This is great! I have installed it! :)
vonedaddy
05-20-2006, 05:16 AM
LOVE IT THANKS!
I do have a question...
i am trying to incorporate this into my vbgarage. I want to have a link in th evbgarage that points to the persons timeslip details page. I am no php coder so I am having problems figuring out how to give the link to the persons details page.
0ptima
05-21-2006, 02:48 PM
For thos of you that upgraded from the 3.0 version to this one, how did it go? Was all the data preserved?
Sidewindr
05-22-2006, 01:49 AM
Have you read any of the previous pages?? :confused:
0ptima
05-22-2006, 04:15 AM
Have you read any of the previous pages?? :confused:
Yes someone was having problems with the upgrade and it had to to with the old profile fields.
tteal
05-22-2006, 10:11 PM
Is there possibly an uninstall script for the old version (3.X) which will take care of the database stuff as well and then install the new version? The old profile fields are a mess........................
Sidewindr
05-23-2006, 01:05 AM
Is there possibly an uninstall script for the old version (3.X) which will take care of the database stuff as well and then install the new version? The old profile fields are a mess........................
No script but this was discussed a few pages back.
Zachariah
05-23-2006, 03:34 AM
Hello I am here - I have posted what has been talked about to speed up why I am here.
Hi,
The havk that deathemperor did is really only a port to v3.5. The whole things needs a revisit and rewrite with added features etc. If you are still keen to do a hack along these lines it might be a good thing to have a feature request thread and then decide what to do :)
cheers,
Jason.
Did he not want to play with the hack anymore ? What's the status ? I talked to Elvis1 about the hack and I have the ok to redo it, but since deathemperor had a ver. out I did not want to step on toes.
I doubt it would be a problem, deathemperor has not really beeen around to answer questions and I had to fix quite a few bugs and logic errors in the code he released. I'm by no means a gun programmer but I am an Engineer so I tend to think quite logically ;)
As I said no one would be upset if a new hack were discussed maybe do it in this thread https://vborg.vbsupport.ru/showthread.php?t=97408 :D
That is if you feel like it, but IMHO there is a need for such a mod that provides a bit more than the current mod. Like Multiple vehicle entries, maybe a couple of pictures etc etc.
And
https://vborg.vbsupport.ru/showthread.php?t=97408
Can anyone get me up to date on this project and if deathemperor is MIA or not ?
budroni
05-23-2006, 05:27 AM
OK.. It seems the xml file works... I get no errors, but it never creates the table and fields in the DB?!?!
bouncer18
06-09-2006, 04:46 PM
Zach... to sum it all up
There needs to be an uninstall script made that clears out the OLD DB and removes all traces of timslip from the DB
A new and working XML needs to be created along with the code modifications to mkae it a direct plugin
otherwise.. there will be 15 more pages of HELP HELP HELP's posted...
basiaclly, this needs to be recoded by someone who is willin to put time into it
noppid
06-09-2006, 04:57 PM
I am close to needing this, but have not completely commited to racing as of yet. I got permission through a general post by the original author to recode this, however, I only ported the one page that displayed exiting data to 3.5.x, timeslips.php. Many of you out there have a copy of this. However, it does not give any functionality to the database.
I don't want to step on anyones toes here, I dunno where this rendition of the code is going or where it is for now. The original code is a bear and I dunno if I wanna take that on. I dunno what to do yet. The more I type, the more I realize I'm gonna need this though.
Zachariah
06-09-2006, 05:08 PM
@noppid - Ya I am worken on this project w/ lots of plans :D
noppid
06-09-2006, 05:24 PM
@noppid - Ya I am worken on this project w/ lots of plans :D
Great news. I look forward to hearing your progress. I'm going to be putting up a drag racing topic soon. This would be sweet. Especially when I can get quality code I didn't have to write!
ddolliver
06-09-2006, 09:41 PM
We need the ability to:
Have more that one vehicle per registered user...or someone in a special user group.
Be able to easily change the "canned" field headers.
Be able to easly change the vehicle type dropdown choices.
Have the timeslip enforcement really work.
I am sure that others have additional inputs....thanks for listening to my whining.:confused:
...Dwight...
0ptima
06-09-2006, 09:50 PM
We need the ability to:
Have more that one vehicle per registered user...or someone in a special user group.
This is what I need....
0ptima
06-09-2006, 09:55 PM
Id be willing to chip in some $$ to have this hack coded as a plugin by someone who would be able to support it. It would also need to be able to accept more than 1 entry per user.
Zachariah
06-09-2006, 10:49 PM
Ok.
- Lets get this going on new installs.
- Allow upgrades from older live sites.
- Compile a list and fix bugs if any.
- Compile a list of requests.
Should there be a new thread for Pre-Dev / Beta ect for this mod ?
I am working on getting something moving and could use a little legwork and brain power :) If there are any coders out there that want to team up to make a sweet mod, I am cool with that also.
Just tossing around some thoughts and ideas ..
0ptima
06-10-2006, 05:58 AM
Ok.
- Lets get this going on new installs.
- Allow upgrades from older live sites.
- Compile a list and fix bugs if any.
- Compile a list of requests.
Should there be a new thread for Pre-Dev / Beta ect for this mod ?
I am working on getting something moving and could use a little legwork and brain power :) If there are any coders out there that want to team up to make a sweet mod, I am cool with that also.
Just tossing around some thoughts and ideas ..
Yes, lets start a new thread for this. I love all the default features of this script, but would love to have support for muliple entries from the same user. Maybe this option should be voted on to see how many people see a need for multiple entries per user?
If the script is to have multiple entries, I think they should be stored in a separate table as this would allow an unlimited amount of entries per member.
ddolliver
06-10-2006, 08:01 PM
Please link to the new thread for all following this saga to see.
Thanks,
...Dwight...
bouncer18
06-10-2006, 09:18 PM
agree'd a new thread would be alot better...
I think this is a good foundation to start with.. just add to it and change what needs changing rather then re-writing it is what needs ot be done..
Sidewindr
06-12-2006, 08:04 AM
Zach... to sum it all up
There needs to be an uninstall script made that clears out the OLD DB and removes all traces of timslip from the DB
A new and working XML needs to be created along with the code modifications to mkae it a direct plugin
otherwise.. there will be 15 more pages of HELP HELP HELP's posted...
basiaclly, this needs to be recoded by someone who is willin to put time into it
That's hardly true .. plenty of pople have managed to "upgrade" nyway ..
Zach: I am quite willing to beta test ;) I can find bugs and sometimes fix them hehehe :)
dmoore
06-15-2006, 04:54 PM
Is anyone still supporting this?
I have a minor issue. When I make the changes that are required to image.php, all avatars disappear. I have searched this thread and the original mod author's thread and could not find anyone with a similiar issue. I know that the problem lies in image.php and have narrowed it down to the following code block. I just can't figure out where the problem lies exactly. I have commented the code accordingly...
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
//Modded code for Timeslips Database mod, June 15th, 2006
//Problem is in here somewhere...
else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customfile';
//Remove hack from this line up
}
else
{
$table = 'customavatar';
}
Thanks for your time. If you need any more info, just let me know.
-Derek
grecostimpy
06-15-2006, 05:49 PM
Ok.
- Lets get this going on new installs.
- Allow upgrades from older live sites.
- Compile a list and fix bugs if any.
- Compile a list of requests.
Should there be a new thread for Pre-Dev / Beta ect for this mod ?
I am working on getting something moving and could use a little legwork and brain power :) If there are any coders out there that want to team up to make a sweet mod, I am cool with that also.
Just tossing around some thoughts and ideas ..
Amen!
dmoore
06-16-2006, 07:40 AM
Is anyone still supporting this?
I have a minor issue. When I make the changes that are required to image.php, all avatars disappear. I have searched this thread and the original mod author's thread and could not find anyone with a similiar issue. I know that the problem lies in image.php and have narrowed it down to the following code block. I just can't figure out where the problem lies exactly. I have commented the code accordingly...
if ($vbulletin->GPC['type'] == 'profile')
{
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vbulletin->options['profilepicenabled'] OR (!($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic']) AND $vbulletin->userinfo['userid'] != $vbulletin->GPC['userid']))
{
exec_shut_down(); // Update location with 'No permission to view profile picture'
header('Content-type: image/gif');
readfile(DIR . '/' . $vbulletin->options['cleargifurl']);
exit;
}
//Modded code for Timeslips Database mod, June 15th, 2006
//Problem is in here somewhere...
else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customfile';
//Remove hack from this line up
}
else
{
$table = 'customavatar';
}
Thanks for your time. If you need any more info, just let me know.
-Derek
anyone? please... :)
titter
06-19-2006, 10:22 AM
What I would really like to see is a port of the Fusion Scripts Garage Module (http://www.fusionscripts.com/products/garage_module/)
I know its been done before by someone because both Dodge Talk (http://www.dodgetalk.com/forums/garage.php) and Ford Forums (http://www.fordforums.com/garage/) are running it.
Zachariah
06-19-2006, 06:26 PM
What I would really like to see is a port of the Fusion Scripts Garage Module (http://www.fusionscripts.com/products/garage_module/)
Good find I'll take a look @ that also :).
dmark101
06-21-2006, 05:18 PM
Ok.
- Lets get this going on new installs.
- Allow upgrades from older live sites.
- Compile a list and fix bugs if any.
- Compile a list of requests.
Should there be a new thread for Pre-Dev / Beta ect for this mod ?
I am working on getting something moving and could use a little legwork and brain power :) If there are any coders out there that want to team up to make a sweet mod, I am cool with that also.
Just tossing around some thoughts and ideas ..
i still have the old version for 3.0.x on my site and would LOVE an upgrade. if a new thread is started, please include a link, since i subscribed to this thread. :)
dmark101
06-21-2006, 09:34 PM
Invalid SQL:
SELECT COUNT(*) AS users
FROM user AS user, userfield AS userfield
WHERE userfield.field55>0
AND user.userid = userfield.userid;
MySQL Error : Unknown column 'userfield.field55' in 'where clause'
Error Number : 1054
Date : Wednesday, March 29th 2006 @ 01:10:19 PM
Script : http://www.forums.com/timeslips.php?
Referrer : http://www.forums.com/member.php?u=1140
IP Address : XXXXXXXXXXXX
Username : XXXXXXXXXXXX
Classname : vb_database
Is the error I get when I click on the Timeslip link in the Navbar?
i get this same error, along with this one when i try to load the XML file:
Fatal error: Call to a member function on a non-object in /var/www/forums.xxxxxx.com/admincp/plugin.php(1232) : eval()'d code on line 5
i'm a little tired of all this ***** hacking that has to be done to a hack in order for it to work. i just wish that EvilLS1 had done this himself, instead of leaving it to others.
i'm uninstalling this permanently until there is a RELIABLE upgrade option. :rolleyes:
Zachariah
06-21-2006, 10:32 PM
i get this same error, along with this one when i try to load the XML file:
Fatal error: Call to a member function on a non-object in /var/www/forums.xxxxxx.com/admincp/plugin.php(1232) : eval()'d code on line 5
i'm a little tired of all this ***** hacking that has to be done to a hack in order for it to work. i just wish that EvilLS1 had done this himself, instead of leaving it to others.
i'm uninstalling this permanently until there is a RELIABLE upgrade option. :rolleyes:
I'll have something soon ;D.
EvilLS1
06-21-2006, 11:32 PM
i'm a little tired of all this ***** hacking that has to be done to a hack in order for it to work. i just wish that EvilLS1 had done this himself, instead of leaving it to others.
I left it to be ported to 3.5 by someone else because I'm not online that much anymore. I haven't even upgraded my own site yet due to being so busy with work and other things. So even if I did port this one over myself I wouldn't have enough free time to offer support for it.. and I won't release anything that I can't support.
I'm sure Zachariah will do a great job of supporting his version so just hang tight and watch for his release.
Tungsten
06-26-2006, 01:04 PM
I'll have something soon ;D.
I would be willing to beta whatever you do, and would likewise be willing to pay a nominal fee for your efforts. Our community has been lacking a timeslip database for months now and the members have all but given up on the idea that we'll ever have one again.
How can I remove a timeslip from the database ?
Tru2Chevy
07-12-2006, 12:48 PM
How can I remove a timeslip from the database ?
You can just look up the member's profile in the AdminCP, and edit all of their vehicle profile information from there. You can also set it so that a particular user doesn't have access to their vehicle profile any longer.
- Justin
ozmazdaclub
07-18-2006, 11:31 AM
Zacharia, Any Update?
Zachariah
07-18-2006, 03:46 PM
Zacharia, Any Update?
With VB3.6 soon to go Gold I have had a few slowdowns.
:(
I took another look @ the hack and have plans to create tables for the data vs. use profile fields, multi records, more as I redo the hack. Once I get a good chunk of the core of the program working I will set up a thread to do some beta testing of upgrade, new install, and feedback.
- VB 3.5, 3.6
Sidewindr
07-19-2006, 03:08 AM
Put me down for the beta program ;)
Tungsten
07-21-2006, 03:21 PM
Likewise please consider us for beta testing your code. And my offer to pay a fair fee for your efforts still stands. Our members would kill to have a good timeslip database again.
NathanLedet
07-21-2006, 03:51 PM
I just installed this hack and so far it's great. However I do have one question. I would like for my users to be able to upload their timeslips. Where do the images upload to? If they upload to the MySQL Database, I need to know how to change this so that images are uploaded to a folder in my file storage system.
In vBulletin, in the Admin panel there is the Attachments link...i made all adjustments on that so that when people upload images in a regular thread, it uploads to a specified folder. Does the TimeSlips db automatically download to this folder? or am i going to need to modify some code. Thanks for help :)
edit: I tried to upload an image to do some testing. The image i tried to upload was too big. It directed me to the proper error message telling me that my image was too big..but the message was incorrect:
"The file that you have tried to attach is too big. The maximum size is $maxsize bytes."
What do i need to do to fix that?
wideopen
07-31-2006, 06:45 PM
Thanks guys this is what my site needed..
www.competitiondiesel.com
Protonus
08-04-2006, 06:16 PM
has anyone tried a clean install of this into vB 3.6? We do not currently have it installed but would like it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.