View Full Version : vB Timeslip Database - for Automotive websites
Marsupilami
08-06-2006, 02:37 AM
Very nice!
Just installed this on vb 3.5.5 and it went rather smooth.
Some requests though:
Why not support metric data? In Sweden and neighbour countries we use km/h (KMH), instead of MPH. Nice if one could select between MPH and KMH, and have entered data converted.
And why not support additional fields, like ET and speed on "standing kilometer", 0-60MPH and such.
Zachariah
08-06-2006, 11:40 AM
Very nice!
Just installed this on vb 3.5.5 and it went rather smooth.
Some requests though:
Why not support metric data? In Sweden and neighbour countries we use km/h (KMH), instead of MPH. Nice if one could select between MPH and KMH, and have entered data converted.
And why not support additional fields, like ET and speed on "standing kilometer", 0-60MPH and such.
Good idea :D
Marsupilami
08-06-2006, 05:11 PM
Another request: Some users want to enter 1/8 Mile ET only, and skip the 1/4 Mile time.
But when doing so, the time will not come up in the list.
I guess it makes averaging more difficult to handle also?
Can it be so that if 0.000 is entered in the vehicle profile, then the list will show the value as -.--- or something, and not use that value for the site average?
Is the value 0.000 excempt from the "must upload slip" requirement on lower ETs?
SilentNoise
08-08-2006, 05:16 AM
Put me on the Beta program too if you're lookign for testers
Jenkins
08-08-2006, 06:53 PM
has anyone tried a clean install of this into vB 3.6? We do not currently have it installed but would like it.
I upgraded to 3.6, and now I get database errors when I try to go to timeslips.php
I tried to uninstall the product, and re-install the xml, but I get a similar error.
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, August 8th 2006 @ 02:51:38 PM
Script : http://www.okgmp.com/forums/timeslips.php
Referrer :
IP Address : 192.168.1.201
Username : Justin98TransAm
Classname : vb_database
SilentNoise
08-08-2006, 10:59 PM
After upgrading to 3.6 from 3.5.3, I've found that I can go to the timeslips page, but when you click on "Details" or a person's username, you get the error seen above.
Also, when you go to edit your info, there's no titles over the info boxes that you have to type in, so you have no idea what you should enter where.... not sure if you can actually submit new info. I haven't bothered trying just yet.
Tru2Chevy
08-09-2006, 05:59 PM
Some requests though:
Why not support metric data? In Sweden and neighbour countries we use km/h (KMH), instead of MPH. Nice if one could select between MPH and KMH, and have entered data converted.
And why not support additional fields, like ET and speed on "standing kilometer", 0-60MPH and such.
All of that stuff is currently editable with the current version, but it would be a nice feature to have a conversion in the new version :)
- Justin
Marsupilami
08-09-2006, 06:22 PM
I edited the MPH into KMH, and changed wheel HP into engine HP, and also did a translation into Swedish with a tiny "language pack". Anyone for a Swedish translation? ;)
upsetter
08-15-2006, 06:39 AM
when will this be available for the 3.6.0 I could realy use this for my new forum, http://boostconcept.com/forum/
please and thank you...
-Alex
SVT242
08-17-2006, 03:38 PM
likewise!
Any word on an updated version of the timeslips database hack for VB 3.6 gold?
Zachariah
08-18-2006, 01:21 AM
Soon :)
92GreenGT
08-18-2006, 02:33 AM
Soon :)
:cool: :cool: Give ya a free Bump.
So if I go ahead and upgrade to 3.6 the timeslip database still shows up its just has an error if you go to the details of a certain user?
Puntoboy
08-22-2006, 05:36 PM
i got this error when uploading the XML file
PHP Fatal error: Call to a member function on a non-object in c:\domains\puntosports.co.uk\wwwroot\forums\adminc p\plugin.php(1239) : eval()'d code on line 5
Sidewindr
08-23-2006, 05:07 AM
i got this error when uploading the XML file
PHP Fatal error: Call to a member function on a non-object in c:\domains\puntosports.co.uk\wwwroot\forums\adminc p\plugin.php(1239) : eval()'d code on line 5
This mod is not really supported it was a stopgap while some bright spark rewrote it, it looks like Zachariah is that bright spark :)
Marsupilami
08-23-2006, 02:26 PM
This mod is not really supported it was a stopgap while some bright spark rewrote it, it looks like Zachariah is that bright spark :)
Yep! And we thank him for that. :banana:
If i only had the time i would do the 3.6.0 conversion myself, since the timeslip database is a much apreciated addition to our forum.
What if i or somebody else would do the job - What is really missing to get this to work in 3.6.0?
Seems to be a change in the vb database structure that must be adapted to. Is it the only thing that needs to be done for it to work?
Has anyone else done some work on this so far?
Zachariah
08-23-2006, 06:36 PM
To tide over all the people that want it. I will do a strait convert and cleanup of bugs. Later on create the better hack w/ options to import the data from this one.
I want to move this to it's own table or two to allow multi entries, cars, custom fields, what ever we can think of.
Sidewindr (https://vborg.vbsupport.ru/member.php?u=23148) PMed me to help on re-code.
There should be something to play with soon.
Sidewindr
08-24-2006, 04:28 AM
Yep! And we thank him for that. :banana:
If i only had the time i would do the 3.6.0 conversion myself, since the timeslip database is a much apreciated addition to our forum.
What if i or somebody else would do the job - What is really missing to get this to work in 3.6.0?
Seems to be a change in the vb database structure that must be adapted to. Is it the only thing that needs to be done for it to work?
Has anyone else done some work on this so far?
There has been a change to the user profile fields structure which is the biggest problem with the old stop gap mod on vb 3.6.0.
tommyxv
08-25-2006, 12:45 AM
Yes, using tables is much better that profile fields. :)
MustangLisa
08-25-2006, 02:15 AM
Can't wait to see this for 3.6!
Tru2Chevy
08-25-2006, 01:36 PM
Waiting patiently for the 3.6.x version....and can't wait to see your finished product. :)
- Justin
SVT242
08-26-2006, 08:34 AM
I concur!:) :knockedout:
92GreenGT
08-28-2006, 04:07 PM
Indeed, infact im waiting to install 3.6 just becuase of this. Keep up the good work guys. Free bump
tommyxv
08-31-2006, 05:47 AM
Bump. :)
92GreenGT
09-01-2006, 03:27 AM
Has anyone installed this on 3.6.x and went back and readded the code to the templates and stuff? I readded the link to the Timeslip database and everything works but the details section. Maybe if I added the rest of the code im supposed to it will?
-Edit-
Everything works the same, I can still add and change my slips just cant view the details of them. Hmm, I thought it woudlnt work at all, this will hold me over till they fix it.:)
SVT242
09-05-2006, 06:48 PM
TTT :beard:
tommyxv
09-06-2006, 09:58 AM
Waiting for version that uses database tables instead of profile fields. :)
Zachariah
09-06-2006, 02:30 PM
I am on it :D
cmcadmin
09-06-2006, 03:11 PM
I am on it :D
Awesome :)
Tru2Chevy
09-06-2006, 03:59 PM
I am on it :D
:w00t:
- Justin
0ptima
09-07-2006, 01:18 AM
Will there be script to convert data from the 3.0 version?
Zachariah
09-07-2006, 01:24 AM
Will there be script to convert data from the 3.0 version?
When done yes.
There will be a profile field ver like this current one. There will also be one that has its own tables for multi records per person.
They will import old data.
Protonus
09-07-2006, 05:46 AM
I was dissapointed to hear this broke in 3.6x, but, I'm stoked to hear this is being recoded for 3.6! Can't wait! Thanks Zachariah and Sidewinder!
Sidewindr
09-08-2006, 12:34 AM
More thanks to Zachariah, he's the c0d3r :) I'm just a bug finder/nit picker hehehe ;)
92GreenGT
09-09-2006, 12:21 AM
Any idea on date you all will have it released? Mucho thanks.
SVT242
09-11-2006, 04:32 PM
You rock Zachariah! I can't wait for the new update :banana: :D
thunder_sti
09-13-2006, 10:45 AM
Installed but it appears under my profile (section) how can I manage and put this in a forum so it can just automatically update itself as users bring / put the info requiered.
Thanks..
thunder_sti
09-13-2006, 10:50 AM
Like a list of all the cars by fastest to slowest etc...
SVT242
09-17-2006, 04:16 AM
Ttt :)
SVT242
09-21-2006, 08:39 AM
any status report on the upgrade of this hack?
Poltergiest
09-23-2006, 11:29 PM
Zachariah just wondering if your update will work with version 3.61?
Thanks for the work. :up:
pcxmedia
09-27-2006, 04:00 AM
Zachariah just wondering if your update will work with version 3.61?
Thanks for the work. :up:
:D Thanks!
tommyxv
09-27-2006, 12:18 PM
Yeap, waiting patiently. :)
SVT242
09-29-2006, 12:40 PM
werd :)
smoknz28
09-30-2006, 05:41 PM
Nice mod.... :D
Adding myself to the long list of vB owners awaiting the release for vB 3.6.1. ;)
mustang02
09-30-2006, 07:57 PM
Nice mod.... :D
Adding myself to the long list of vB owners awaiting the release for vB 3.6.1. ;)
Or even 3.6
hotwheels
10-02-2006, 09:55 PM
I got it, i got it............
If you are an advanced webmaster and know how to work within your Myphpadmin, i can show you how to do it.
I take no credit for the script at all, since deathemperor script still works and needs to be used.......
If anyone want's i will share how i did this.......but i am running 3.6 and it is working like a champ......
You can look at the image below or see it here (here)
Just so you can verify that it is on vb3.6.....
hotwheels
smoknz28
10-02-2006, 11:23 PM
I got it, i got it............
If you are an advanced webmaster and know how to work within your Myphpadmin, i can show you how to do it.
If anyone want's i will share how i did this.......but i am running 3.6 and it is working like a champ......
hotwheels
Definitely interested....PM on it's way. ;)
mustang02
10-02-2006, 11:23 PM
I got it, i got it............
If you are an advanced webmaster and know how to work within your Myphpadmin, i can show you how to do it.
I take no credit for the script at all, since deathemperor script still works and needs to be used.......
If anyone want's i will share how i did this.......but i am running 3.6 and it is working like a champ......
You can look at the image below or see it here (here)
Just so you can verify that it is on vb3.6.....
hotwheels
Please do show me. or email me. mustang02@gmail.com
hotwheels
10-03-2006, 02:55 AM
I will get something put together in the morning and shoot you a pm.....sorry bout the late reply. Had some family business to take care of.
Email sent mustang02 and i also sent out pm's to those who asked. I have put instruction's in your email and pm's.
Hotwheels
hotwheels
10-03-2006, 04:22 AM
Okay all, i got permission from deathempreror to share my instruction's on how to make this work with 3.6..........Please and i mean please, if you have any question's about this install, ask.......I will help anyone at anytime i am online.....
Anyway's, whether it's a fresh install or an upgrade, my instruction's will get this working on your site....BUT YOU have to be sure to read the instruction''s carefully. I am not a coder, i have been trying to learn and it is very hard to get help in this area. I even got band from sitepoint.com for asking for help in this area.....oh, and if there are anycoder's reading this and are going to try to use it (hint hint Zachariah), please feel free to finish what i couldn't get done for a real simple install.
Timeslips 3.6 (Timeslips 3.6)
Hotwheels
Zachariah
10-03-2006, 11:07 AM
I have it installed.
I am redoing the hack so that the user profile is not used.
:)
hotwheels
10-03-2006, 02:55 PM
Right on man............
kremer4
10-03-2006, 06:47 PM
Installed and working great, thanks!!!
www.importcarforums.com
hotwheels
10-03-2006, 07:06 PM
not a problem, glad to share my learning experience.......
tekstylez
10-04-2006, 03:53 PM
Will this work for 3.6?
mustang02
10-04-2006, 05:05 PM
Great work hotwheels! I got it work. Yes it will work with 3.6 if you follow hotwheels' directions.
Tungsten
10-04-2006, 06:02 PM
I have it installed.
I am redoing the hack so that the user profile is not used.
:)
Do you have your own version installed or do you mean that you have the previous coder's version installed?
Silver_2000_)!
10-04-2006, 09:11 PM
did all the edits and sql hacks and stil get this when uploading the xml
Fatal error: Call to a member function on a non-object in /home/tweb/public_html/forum/admincp/plugin.php(1924) : eval()'d code on line 5
I guess this assumes we are using the original XML ?
hotwheels
10-04-2006, 11:00 PM
yes, it's using the xml..........If ya need, show me the database and i will install it for ya...........which vbulletin are you using too? if you are using 3.5, you don't need my work, just the original mod.....
The only thing my part does, is manually load "title" and "description" to the database. This isn't in the vbulletin 3.6, so you have to manually add those two words and the amount of character's they can use.......other then that, the change's are just like deathemperor specified....you have to follow all of his change's to the .php files, as listed, then do what i added, then run the xml.........I am up to 12 people that have run into no problem's with this addition.......So i know that it is working with other people's 3.6.
Zachariah
10-05-2006, 12:20 AM
Do you have your own version installed or do you mean that you have the previous coder's version installed?
Well it would not be hard to make this work w/ 3.6x as is and put out a update. If people want that fine :)
- I am working on moving out of the profile all together.
tommyxv
10-05-2006, 12:23 AM
Well it would not be hard to make this work w/ 3.6x as is and put out a update. If people want that fine :)
- I am working on moving out of the profile all together.
I want your version Zachariah....much better to use tables instead of profile fields.
Thanks for all your hard work.... :) Awaiting patiently. :cool:
Oh yeah, 3.6.x version is needed. Thx!
hotwheels
10-05-2006, 12:34 AM
I too want to see zach's version........I just did this update so that i could have it again on my site.........was missed badly.
I also did some more reading, and you may get away without doing my install manually by running these queries 1 at a time:
ALTER TABLE `vbprofilefield` ADD `title` VARCHAR( 25 ) NOT NULL AFTER `profilefieldid` ; ALTER TABLE `vbprofilefield` ADD `description` VARCHAR( 250 ) NOT NULL AFTER `title` ;
So instead of doing my manual edits, just run the queries here one at a time, then do the file edit's per the original instructions.......minus what i wrote in the instructions.....
I am getting better at this, it's just taking me some time to learn........I don't have anyone to ask questions from, so i have been doing this by trial and error, but this mod does work, i garuantee you it does.
To the person that had the error's, try going back into your phpmyadmin, select vbprofilefield, then put a check mark in title, and delete it. Put a check mark in description and delete it......then run the above queries instead.....should write right to the field for you......
Immortal_Shades
10-05-2006, 07:57 PM
An update for 3.62 would be greatly appreciated by the masses!
Thank You!
hotwheels
10-08-2006, 02:14 PM
i have the correct query calls set up now........Just run the 2 queries here (here) then follow deathemperor's how to......My how to will nolonger be needed......
Hotwheels
Silver_2000_)!
10-08-2006, 02:36 PM
I too want to see zach's version........I just did this update so that i could have it again on my site.........was missed badly.
I also did some more reading, and you may get away without doing my install manually by running these queries 1 at a time:
ALTER TABLE `vbprofilefield` ADD `title` VARCHAR( 25 ) NOT NULL AFTER `profilefieldid` ; ALTER TABLE `vbprofilefield` ADD `description` VARCHAR( 250 ) NOT NULL AFTER `title` ;
So instead of doing my manual edits, just run the queries here one at a time, then do the file edit's per the original instructions.......minus what i wrote in the instructions.....
I am getting better at this, it's just taking me some time to learn........I don't have anyone to ask questions from, so i have been doing this by trial and error, but this mod does work, i garuantee you it does.
To the person that had the error's, try going back into your phpmyadmin, select vbprofilefield, then put a check mark in title, and delete it. Put a check mark in description and delete it......then run the above queries instead.....should write right to the field for you......
THis assumes you have VB as table prefix
hotwheels
10-08-2006, 03:36 PM
yes, sorry bout that..........
smoknz28
10-08-2006, 03:38 PM
i have the correct query calls set up now........Just run the 2 queries here (here) then follow deathemperor's how to......My how to will nolonger be needed......
Hotwheels
Just making sure I got all of this straight before I go in and destroy my database, etc...
I'm running vB 3.6.1. Currently I do not have vB Timeslip Database installed.
What should be my first step? Run the database querys first? Install this mod first?
Just making sure first before I screw things up.... ;)
Thanks to all who are working to make this available to us 3.6.x
Mark
hotwheels
10-08-2006, 10:54 PM
First thing to do is the file edit's in deathemperor's instruction's.......have everything ready, and just before you are supposed to add the deathemperor's .xml, do the database changes.....i redid them and if you follow the link on post (here) , all you should have to do is run a 2 queries and you will be done with that......then upload the .xml and you are done......Only difference between these queries here and the one's in this post is the default 'aa' and 'a'.......you will be good to go.
Hotwheels
hotwheels
10-08-2006, 11:25 PM
I am working graveyards tonite, so i will be off and on to see how things are goin for ya smokin..If ya need any help, just holla.
hotwheels
10-09-2006, 10:43 PM
so did it work smokn?
wottech
10-09-2006, 11:00 PM
I got it to work for me last night. And then I went and upgraded to vB3.6.2 tonight... So I need to go back and make the code changes again. But other than that, worked very well! Thanks.
hotwheels
10-09-2006, 11:32 PM
You are very welcome...........
wottech
10-10-2006, 01:32 AM
I am also a novice coder, but I decided to try to take on something even larger... It could possibly be integrated with the Timeslip Database, although it really has its own already.
I am looking through the code for the Fusion Scripts "Garage Module" (www.fusionscripts.com). We had this when we were a phpBB forum and the members loved it. There are already a couple of sites that have it ported (www.fordforums.com and www.dodgetalk.com), but I haven't had any luck getting anything out of the site admins. Eventually I'll have to get final permission from Fusion Scripts to finalize the port, but I don't see it being something I finish in the near future. I have plenty of work, family and other site issues to keep me busy!
Zachariah
10-10-2006, 11:51 AM
I am also a novice coder, but I decided to try to take on something even larger... It could possibly be integrated with the Timeslip Database, although it really has its own already.
I am looking through the code for the Fusion Scripts "Garage Module" (www.fusionscripts.com). We had this when we were a phpBB forum and the members loved it. There are already a couple of sites that have it ported (www.fordforums.com and www.dodgetalk.com), but I haven't had any luck getting anything out of the site admins. Eventually I'll have to get final permission from Fusion Scripts to finalize the port, but I don't see it being something I finish in the near future. I have plenty of work, family and other site issues to keep me busy!
I have the "ok" to port Fusion Scripts "Garage Module". I talked to them for a GPL port. I just have not had tons of time. I have not even signed up for an account to download the free port of IPB / PHPBB they have to start :(.
hotwheels
10-10-2006, 12:26 PM
I am using noppids vbpicgallery and the attached image show's you the option's you can add to his gallery....
I have both option's set up on my site, timeslips and vbpicgallery so that the individual owner's can basically add information as they would like....
The item's i added to the picgallery are added by the admin, so if you have a site that is catered a bit different then what my site is based around, you can change that.......If you are into show car's or what ever, you can add "trophies", "stereo", etc.......Where timeslips is pretty much based around your actual car's performance.....
And just to clarify a bit, i am running 3 different photo galleries and the one that is used most often on my site is vbpicgallery, then photopost, and lastly cpg.......
wottech
10-10-2006, 04:27 PM
I have the "ok" to port Fusion Scripts "Garage Module". I talked to them for a GPL port. I just have not had tons of time. I have not even signed up for an account to download the free port of IPB / PHPBB they have to start :(.
Sounds good. I remember you had said you were going to look into it awhile back, but hadn't heard anything since. The phpBB port actually adds a few more areas to it that the standard script doesn't include. I'd be more than willing to lend a hand where I can as well as being a test site for it.
As far as time, like I said, I'm in the same boat. We just added another child to our family on Sept 30, so that little bit of free time I used to have has been cut down even more.
wottech
10-10-2006, 04:32 PM
I am using noppids vbpicgallery and the attached image show's you the option's you can add to his gallery....
I have both option's set up on my site, timeslips and vbpicgallery so that the individual owner's can basically add information as they would like....
The item's i added to the picgallery are added by the admin, so if you have a site that is catered a bit different then what my site is based around, you can change that.......If you are into show car's or what ever, you can add "trophies", "stereo", etc.......Where timeslips is pretty much based around your actual car's performance.....
And just to clarify a bit, i am running 3 different photo galleries and the one that is used most often on my site is vbpicgallery, then photopost, and lastly cpg.......
One of the sites I visit is also running the vbpicgallery as a "garage", but I just didn't like the look of it compared to the Fusion Scripts setup. Maybe it was because I was used to the phpBB version, or that everything was in a single "mod". Plus the option to be able to list the top XX of each catergory (most mods, most $$ spent, best 1/4 mile, highest dyno, etc). I honestly have never messed with vbpicgallery, so maybe the site I'm used to seeing it on is just lacking in their setup of it...
Zachariah
10-10-2006, 05:41 PM
Sounds good. I remember you had said you were going to look into it awhile back, but hadn't heard anything since. The phpBB port actually adds a few more areas to it that the standard script doesn't include. I'd be more than willing to lend a hand where I can as well as being a test site for it.
As far as time, like I said, I'm in the same boat. We just added another child to our family on Sept 30, so that little bit of free time I used to have has been cut down even more.
I hear ya "little ones" and ladies eat up a man's time.
- Congrats Sir. :cool:
Hit me up on IM. I am off and on all the time.
smoknz28
10-11-2006, 01:25 AM
so did it work smokn?
I've not yet attempted to add this to my site. I had sent you a PM about this as well.
I am using noppids vbpicgallery and the attached image show's you the option's you can add to his gallery....
I have both option's set up on my site, timeslips and vbpicgallery so that the individual owner's can basically add information as they would like....
The item's i added to the picgallery are added by the admin, so if you have a site that is catered a bit different then what my site is based around, you can change that.......If you are into show car's or what ever, you can add "trophies", "stereo", etc.......Where timeslips is pretty much based around your actual car's performance.....
And just to clarify a bit, i am running 3 different photo galleries and the one that is used most often on my site is vbpicgallery, then photopost, and lastly cpg.......
I love the layout of the Timeslip Database and the photos of the owner's cars. I use PhotoPost, but don't have it integrated into anything but vB. Appears you have Timeslip Database and vBPicGallery. If that's the case.....that is awesome!
Doug, you definitely gotta give me a H.A.B.U..... Hook A Brother Up :D If you got some free time, I'll definitely be looking for you online to helping me out in the integration.
Thanks Doug for your continued work on this and sharing it with all of us. ;)
hotwheels
10-11-2006, 02:08 AM
sorry smokin, i must have missed your pm or something..........which i apologize for.....pm me again.
SVT242
10-12-2006, 08:06 PM
When will the official update be ready for d/l?
tommyxv
10-14-2006, 04:13 PM
Yeap...can't wait.
SVT242
10-24-2006, 04:05 PM
ttt...
wottech
10-24-2006, 04:24 PM
Zachariah has been working on some vBGallery updates recently, so that might be why nothing has happened.
Zachariah
10-24-2006, 11:40 PM
Zachariah has been working on some vBGallery updates recently, so that might be why nothing has happened.
ya - lost in code, but I have it worken w/ 3.6, but still needs file edits.
- I did not forget :ermm: :dead: :sleep:
smoknz28
10-25-2006, 02:17 AM
ya - lost in code, but I have it worken w/ 3.6, but still needs file edits.
- I did not forget :ermm: :dead: :sleep:
You're the man.... ;)
Standing by for your updated code.
And, thank you so much for taking the time out of your schedule to work on getting this code together for the rest of us.
SVT242
10-27-2006, 07:07 PM
Yes, thanks bro, I can't wait till the new version comes out!
tteal
10-28-2006, 05:08 AM
Yes, thanks bro, I can't wait till the new version comes out!
Ditto!
Tru2Chevy
10-30-2006, 06:13 PM
Old version working in 3.6.2 with no issues :)
Still patiently waiting for Zachariah's release....
- Justin
Protonus
11-05-2006, 08:13 AM
oops double post
Protonus
11-05-2006, 08:15 AM
Got this working with hotwheel's additional queries, in vB 3.6.0. Thanks hotwheels!
As a side note, my table prefix was "vb_" I don't know how it got set this way, but it took me a bit to figure out that was my problem with the query. I noticed the difference in prefix when I looked at the table list under "Repair/optomize tables" in the vB admin CP. Maybe that will help someone else.
Patiently awaiting Zachariah's update :-D
hotwheels
11-08-2006, 11:30 PM
you are welcome and sorry about that, i should have noted that for some vb user's.......when i did my site build, i ran everything as vb3 verse's vb do to my portal....
hotwheels
Zachariah
11-09-2006, 12:29 AM
hotwheels,
When you can get with me on IM.
:cool:
92GreenGT
11-09-2006, 02:27 AM
I tried to run the first Query and got this:
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'ftforum.vbprofilefield' doesn't exist
Whats next?hehe My Timeslips was working besides the "Details" button, I guess these will fix that though. Thanks
BTW, this is 3.6.3 but I dont think that has anything in the world to do with it. ;)
hotwheels
11-09-2006, 09:40 PM
There is no ftforum in the query.........if you run the queries, all you should have to do is run them as written.......they are adding the word "title" and the word "description" not the title name of your forums.....Just rerun these 2 queries (queries)
I don't have or use im zachariah, sorry man........Put i will do pm's as much as needed sir......
92GreenGT
11-10-2006, 02:29 AM
Hotwheels, I get the same message when I try to run those queries. Wonder why that is.
-Edit-
Just to clarify, I am running them one at a time.
tteal
11-10-2006, 11:32 AM
Is this working with 3.6.X?
hotwheels
11-10-2006, 12:27 PM
yes it's working with 3.6...........
92greengt, try using the step's in my direction's instead of the queries.......I have a manual insert how to as far as just adding the line's, instead of queries.
92GreenGT
11-11-2006, 05:07 AM
92greengt, try using the step's in my direction's instead of the queries.......I have a manual insert how to as far as just adding the line's, instead of queries.
I done your edits and uploaded the timeslip product again and it went through that time. All the timeslips that were uploaded before are gone now though, should that have happened?:surprised:
hotwheels
11-11-2006, 01:13 PM
That i am not sure of.......when i redid this mod for my site, my site had been hacked and the entire database was gone. So mine was started, again from scratch. Then when i found out how to make the timeslips work, i shared what i did to make it work on my website.
Wish i had more info on that for ya.......
hotwheels
92GreenGT
11-11-2006, 04:03 PM
That i am not sure of.......when i redid this mod for my site, my site had been hacked and the entire database was gone. So mine was started, again from scratch. Then when i found out how to make the timeslips work, i shared what i did to make it work on my website.
Wish i had more info on that for ya.......
hotwheels
No problems, I'll just get everyone to upload their info again. Racing season is over here for winter now anyways. Thanks for everything.:)
Poltergiest
11-11-2006, 04:39 PM
Hotwheels, I get the same message when I try to run those queries. Wonder why that is.
-Edit-
Just to clarify, I am running them one at a time.
I was getting the same error. I took out the 'vb' from the beginning of the vbprofilefield in the queries and they ran fine and the database is working now.
Thanks hotwheels
92GreenGT
11-11-2006, 07:26 PM
I was getting the same error. I took out the 'vb' from the beginning of the vbprofilefield in the queries and they ran fine and the database is working now.
Thanks hotwheels
Good point, that would have fixed it for me too. I never thought about that, mine was named just profilefield as well, hopefully this will help others. Good post.
hotwheels
11-11-2006, 11:08 PM
Okay, i changed the instruction's for uploading the queries, and i changed the instruction's text file to show the same change.........thanks for this information.
queries to run (queries to run)
3.6 Instruction Text (3.6 Instruction Text)
After last count, we have over 40 member's using this update on 3.6........
hotwheels
Sidewindr
11-13-2006, 03:04 AM
There is still an issue with the custom profile fields and their titles. Or is this what your queries do hotwheels and correct this problem. Only prevelant in 3.6+
Zachariah
11-13-2006, 11:34 AM
There is still an issue with the custom profile fields and their titles. Or is this what your queries do hotwheels and correct this problem. Only prevelant in 3.6+
The titles have been moved on profile fields.
<phrasetype name="Custom Profile Fields" fieldname="cprofilefield">
<phrase name="field50_desc"><![CDATA[What do you drive ?]]></phrase>
<phrase name="field50_title"><![CDATA[Ride]]></phrase>
</phrasetype>
hotwheels
11-13-2006, 03:13 PM
what zachariah said............yes, my queries do that for ya, that is what the "aa" and the "a" are for.........which should fill in these: $aa= 'Ride';
$ab= 'Horsepower';
$ac= '60 foot time';
$ad= '1/8 Mile ET';
$ae= '1/8 Mile MPH';
$af= '1/4 Mile ET';
$ag= '1/4 Mile MPH';
$ah= 'Link to Timeslip';
$ai= 'Race weight';
$aj= 'Track Name';
$ak= 'Density Altitude';
$al= 'Engine type and displacement';
$am= 'Major modifications';
$an= 'Tranny type';
$ao= 'Induction';
$ap= 'Tires';
$a= 'What do you drive?';
$b= 'HP at the wheels';
$c= 'Enter your 60 foot time';
$d= 'Enter your 1/8 Mile ET';
$e= 'Enter your 1/8 Mile MPH';
$f= 'Enter your 1/4 Mile ET';
$g= 'Enter your 1/4 Mile MPH';
$h= 'Enter a link to your timeslip (including the http://)';
$i= 'Enter the weight of your vehicle with driver';
$j= 'What is the name of the dragstrip where you race?';
$k= 'What was the density altitude the day you got your best ET?';
$l= 'Enter your engine type and displacement';
$m= 'List only major mods separated by a comma';
$n= 'Auto or Manual?';
$o= 'Select your power adder';
$p= 'What type of tires were you using
92GreenGT
11-13-2006, 09:51 PM
When you go to the Timeslip database and then click "Submit timeslip" the page it brings up doesnt have any words on it, just boxes? If you go to your User CP then Profile the words are their? Is this the way its supposed to be?
If so, can I go in and change what the "Submit Timeslip" link points to?
hotwheels
11-17-2006, 07:00 PM
It should take you to the user profile, where you can edit your vehicle information and submit a timeslip.....
What happen's since you have this much of it working, if you reinstall the .xml via the admincp and click overwrite.......?
Everything should work since the only thing my upgrade does is add the title and description word back to the profilefield in your mysql....
92GreenGT
11-19-2006, 01:31 AM
I re-installed the XML file and clicked the overwrite button and it didnt fix it. I took a screenshot to show you what it does, it goes to the "Vehicle Profile" page which isnt even in the User CP options, I believe it used to do this in the 3.5.x version, not sure why its not updated?
Screen:
http://www.fullthrottleforums.com/Pics/Screen.jpg
-Edit-
I dont know if im the only one having this problem(probably is..lol) but if anyone else is having this problem do this:
Open the .xml file in a text editor(I use Notepad II) and go to line 433 and change "edittimeslip" to whatever you want the link to point to, in my case it was just Edit profile so I put in "editprofile" in place of "edittimeslip". Then save the file and upload it with Overwrite selected and your done. :)
Works perfect now, thanks again.
smoknz28
11-19-2006, 02:02 AM
Okay, i changed the instruction's for uploading the queries, and i changed the instruction's text file to show the same change.........thanks for this information.
queries to run (queries to run)
3.6 Instruction Text (3.6 Instruction Text)
After last count, we have over 40 member's using this update on 3.6........
hotwheels
Alright brother....I think I've waited long enough. I don't see that anyone has put out a specific hack for 3.6.x yet and my patience is done. ;)
I'm gonna give this one a whirl this weekend with your instructions. Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction. :p
Thanks for continuing your work on this Hotwheels. I'll hit you up if I hit some walls brother.
Gonzo
SVT242
11-19-2006, 12:53 PM
Alright brother....I think I've waited long enough. I don't see that anyone has put out a specific hack for 3.6.x yet and my patience is done. ;)
I'm gonna give this one a whirl this weekend with your instructions. Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction. :p
Thanks for continuing your work on this Hotwheels. I'll hit you up if I hit some walls brother.
Gonzo
Bro, PLEASE KEEP US INFORMED!!! Us car enthusiast sites need this hack! LOL!
Good luck and if you need a lab rat email me at chris@mustangrodder.com
wottech
11-19-2006, 01:27 PM
I used the script and instructions to update my site last week, and I just upgraded the site to 3.6.3 yesterday, and it all appears to be working fine.
hotwheels
11-19-2006, 01:59 PM
Now, just because your a Stang enthusiast doesn't mean you gotta stir this Bowtie guy in the wrong direction.
lmao...........I wouldn't do that........hehehehe
hotwheels
11-19-2006, 02:03 PM
I re-installed the XML file and clicked the overwrite button and it didnt fix it. I took a screenshot to show you what it does, it goes to the "Vehicle Profile" page which isnt even in the User CP options, I believe it used to do this in the 3.5.x version, not sure why its not updated?
Screen:
http://www.fullthrottleforums.com/Pics/Screen.jpg
-Edit-
I dont know if im the only one having this problem(probably is..lol) but if anyone else is having this problem do this:
Open the .xml file in a text editor(I use Notepad II) and go to line 433 and change "edittimeslip" to whatever you want the link to point to, in my case it was just Edit profile so I put in "editprofile" in place of "edittimeslip". Then save the file and upload it with Overwrite selected and your done. :)
Works perfect now, thanks again.
Right on bro, i am very happy that you got it working........only reason i haven't really done much to update this mod, is do to the fact that i never really recieved permission to mess with it. I just wanted to get it working on my website, and after alot of messing around with the code, i got it working and had alot of request's to share what i had done to get it working, hence, my half ass'd update...
hotwheels
11-19-2006, 02:47 PM
K, I tried to help make this a product.......
I need someone with a pretty much a new set up to give this a whirl.....and then let me know what happen's.
I just don't have a way to test at this point since all i have is an online site, i don't have a test site.
Now, If you test this you will need to do all of the file edit's as per my original instructions, accept i added the query's to this, so you hopefully won't need to run the queries seperately......I believe what is happening is that i didn't make a couple change's in death's original .xml file, and when you add the queries, my queries are being overwritten.....Hopefully with the change's i made, you should be able to upload the product, edit your image.php file and it's good to go.....
If you already have this installed but are having issue's with the title's being posted, just upload this .xml and click overwrite......let me know what happens.....
Please remember, i don't claim to be a coder, i am just trying to help make a great product, work again......
This .xml isn't working yet........
hotwheels
wottech
11-19-2006, 03:39 PM
I just setup a development site so I can test out mods before putting them on our live site, so I decided to help you out. Well, it didn't get very far...
Database error in vBulletin 3.6.3:
Invalid SQL:
ALTER TABLE vb_profilefield ADD `title` VARCHAR( 25 ) DEFAULT `aa` NOT NULL AFTER profilefieldid;
MySQL Error : 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 'aa` NOT NULL AFTER profilefieldid' at line 1
Error Number : 1064
Date : Sunday, November 19th 2006 @ 09:38:23 AM
hotwheels
11-19-2006, 05:09 PM
I just setup a development site so I can test out mods before putting them on our live site, so I decided to help you out. Well, it didn't get very far...
Database error in vBulletin 3.6.3:
Invalid SQL:
ALTER TABLE vb_profilefield ADD `title` VARCHAR( 25 ) DEFAULT `aa` NOT NULL AFTER profilefieldid;
MySQL Error : 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 'aa` NOT NULL AFTER profilefieldid' at line 1
Error Number : 1064
Date : Sunday, November 19th 2006 @ 09:38:23 AM
okay, that mean's that the query didn't take the 'aa'.......let me do something real quick.....I am helpin smokinZ and if we get this right, i will help ya next.....
hotwheels
11-19-2006, 05:13 PM
I will work on the .xml again and reupload here shortly......
wottech
11-19-2006, 05:17 PM
Oh, no need to help me. I have your previous patch working fine on my live site. I was just helping you out since I have a bare 3.6.3 site for development.
hotwheels
11-19-2006, 05:20 PM
I gotcha man..........kewl
Sidewindr
11-20-2006, 03:28 AM
The problem with the profile field titles is that the php that generates the timeslip profile page needs changing to pull the names from the phrases not the profilefield table.
wottech
11-20-2006, 02:11 PM
The problem with the profile field titles is that the php that generates the timeslip profile page needs changing to pull the names from the phrases not the profilefield table.
I was wondering what the deal with that was. I just looked at the list that was posted a page or 2 ago and entered all of the data manually via phpMyAdmin. Before that, everything just showed up as "aa:" and "a:". I figured it was something I had screwed up or missed in the instructions. I never looked into what the code was doing though...
hotwheels
11-20-2006, 02:37 PM
That's kind of wierd in a way, i just did a fresh install with smokinz28 yesterday, on a site that didn't have timeslips on the site...when completed, it worked out perfectly: http://www.f-bodyhideout.com/forums/timeslips.php?
It has all of the wording, and accept's all of the comands. I even put in my car's timeslip information and it took........I am wondering if my instruction's are kind of confusing since this post is all over the place? I had thought about doing a new thread for vb3.6 since it does update to vb3.6....
The one bit of confusion that i have noticed is about my query run's. If you go to your phpmyadmin, and look in the left hand column for profilefield, you will have to see what your field is named. My profilefield in phpmyadmin is vb3profilefield, some are vbprofilefield, and other's are just profilefield...you need to set the intitial queries to this setting as such:
ALTER TABLE `vbprofilefield` ADD `title` VARCHAR( 25 ) DEFAULT 'aa' NOT NULL AFTER `profilefieldid` ; or ALTER TABLE `vb3profilefield` ADD `title` VARCHAR( 25 ) DEFAULT 'aa' NOT NULL AFTER `profilefieldid` ; or ALTER TABLE `profilefield` ADD `title` VARCHAR( 25 ) DEFAULT 'aa' NOT NULL AFTER `profilefieldid` ; all this query is doing is adding the word "title" back to the profilefield, it was there on previous version's of vbulletin, but has been removed.
Then the second query is basically the same, you need to see what your profilefield name is, just like above:
ALTER TABLE `profilefield` ADD `description` VARCHAR( 250 ) DEFAULT 'a' NOT NULL AFTER `title` ; or ALTER TABLE `vb3profilefield` ADD `description` VARCHAR( 250 ) DEFAULT 'a' NOT NULL AFTER `title` ; or ALTER TABLE `vbprofilefield` ADD `description` VARCHAR( 250 ) DEFAULT 'a' NOT NULL AFTER `title` ; All this query is doing is adding the word "description" back to the profile field, again, it was there on previous version's of vbulletin, but has been removed from vb3.6.
These 2 queries, need to be the very first thing you do in order to not get confused on what is happening here. Then, after you run these 2 queries, make the following file edit's:
###### 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';
}
###### In member.php find:
// *********************
// CUSTOM PROFILE FIELDS
// CUSTOM PROFILE FIELDS
$profilefields = $db->query_read_slave("
SELECT profilefieldid, required, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND hidden = 0") . "
ORDER BY displayorder
");
###### Replace it with:
// *********************
// CUSTOM PROFILE FIELDS
$profilefields = $db->query_read_slave("
SELECT profilefieldid, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
AND hidden = 0") . "
ORDER BY displayorder
");
###### In includes/functions_user.php find:
'signature',
'profile',
###### Add below:
'vehicleprofile',
###### Find:
// ###################### Start getprofilefields #######################
function fetch_profilefields($formtype = 0) // 0 indicates a profile field, 1 indicates an option field
{
global $vbulletin, $stylevar, $customfields, $bgclass, $show;
global $vbphrase, $altbgclass, $bgclass1, $tempclass;
// get extra profile fields
$profilefields = $vbulletin->db->query_read_slave("
SELECT * FROM " . TABLE_PREFIX . "profilefield
WHERE editable IN (1,2)
AND form " . iif($formtype, '>= 1', '= 0'). "
ORDER BY displayorder
");
###### Replace it with:
// ###################### Start getprofilefields #######################
function fetch_profilefields($formtype = 0) // 0 indicates a profile field, 1 indicates an option field
{
global $vbulletin, $stylevar, $customfields, $bgclass, $show;
global $vbphrase, $altbgclass, $bgclass1, $tempclass;
// get extra profile fields
$profilefields = $vbulletin->db->query_read_slave("
SELECT * FROM " . TABLE_PREFIX . "profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND editable IN (1,2)
AND form " . iif($formtype, '>= 1', '= 0'). "
ORDER BY displayorder
");
###### In your USERCP_SHELL template find:
<tr>
<td class="$navclass[profile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td>
</tr>
###### Below it add:
<tr>
<td class="$navclass[vehicleprofile]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=edittimeslip">$vbphrase[edit_timeslip]</a></td>
</tr>
###### In your navbar template find:
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
###### Below it add:
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
Once these edit's are completed and saved back into your site's database, upload timeslips.php to your forum's root directory (/forums/) then // Upload slipicon.gif to your forum's misc image directory (/forums/images/misc/) or what ever your forums root directory is. Mine happen's to be forums/.....
After all of this has been done, you will now Go to your product link, then add new product by uploading the product-timeslips.xml file.
If you did this step by step, you shoudn't see the "aa" or the "a"......
However, if you have already run the query and are having issue's with this not showing correctly, go back to your phpmyadmin, open the profilefield, and look to see if you have the word "title" and "description" in there. If so, put a check mark in front of "title" and "description", and look up just a bit and click on the word "drop", this will remove "title" and "description" from your server. With that done, run the query that best fit's your site from the above queries (Still in phpmyadmin), look at the left navigation bar, and up at the top, the third icon over "sql", is where you need to run the queries from.
After you have rerun the queries, and you know for sure that you have all the file edit's done, go back to your admincp, and rerun the product timeslips.xml, and select overwrite......now check your www/yoursite/forums/timeslips.php and see what is there, and then click on submit your timeslip at the bottom of the box that appears.....It may take about 15 minutes to reupdate depending on the size of your site, but it WILL work......
hotwheels
fkatzenb
11-21-2006, 08:40 PM
I havent stayed up on this thread and am now confused.... what do I need to do to mine? Thanks!!!!!!!!!!!!!!!!!!!!1
http://www.turbo-mopar.com/forums/timeslips.php
Frank
rx_1badbird
11-21-2006, 08:55 PM
I'm so lost I need a compass to get back. lol
A new thread relating to 3.6.3 would rawk!
Thanks.
hotwheels
11-21-2006, 11:47 PM
Just use this thread that i made a few post's back..... how to (how to)
Sidewindr
11-22-2006, 01:26 AM
Rather than re-adding the titles into the profilefield it would be far better for soomeone to fix the section of code in the xml that calls the profile fields and titles to address the titles in their new location. I have had a look but it is beyond my abilities :(
wottech
11-22-2006, 09:19 PM
Ok, here is an updated product XML. From what I saw, there was an error in the ALTER TABLE syntax when setting the default values. So I just removed that part of the SQL and it worked.
FYI, I am currently running 3.6.3, so it appears to be working on that.
Zachariah
11-22-2006, 10:06 PM
I'll take a look, wottech
Thanks.
Jenkins
11-23-2006, 04:25 AM
Yeah it's pretty confusing. I'd love to get this going on my forum again, but am kind of scared to jack up my site, I'm not too good with this stuff to begin with :D I've still got leftovers from vbendix that I wish I could get rid of... :(
SilentNoise
11-24-2006, 12:45 PM
Okay, i changed the instruction's for uploading the queries, and i changed the instruction's text file to show the same change.........thanks for this information.
queries to run (queries to run)
3.6 Instruction Text (3.6 Instruction Text)
After last count, we have over 40 member's using this update on 3.6........
hotwheels
I never ran any queries, but I did use your instructions and it worked beautifully.
Kick ass man. Thanks!
For anyone wanting to get this working, open his instructions.txt file and follow it. You can't go wrong.
hotwheels
11-24-2006, 11:00 PM
Right on bro, thanks for letting me know it's workin...........that rocks
tommyxv
11-25-2006, 09:19 PM
I'll take a look, wottech
Thanks.
Any update on your progress with a 3.6 version that uses it's own tables instead of custom profile fields?
Thx
doug97gxe
11-28-2006, 01:43 PM
<a href="http://forums.maxima.org/timeslips.php?" target="_blank">http://forums.maxima.org/timeslips.php?</a>
wottech
11-30-2006, 05:17 AM
http://forums.maxima.org/timeslips.php?
Ok, but you are running vB3.5.2. Most of the discussions now are concerning making it work on vB3.6.x.
hotwheels
12-02-2006, 08:45 PM
Right on rcull, i checked your site and saw you were able to get the timeslip's working.........congrats
Silver_2000_)!
12-02-2006, 11:13 PM
I tried upgrading mine and get this when uploading the xml a few posts back
atal error: Call to a member function on a non-object in /home/txxxxxx/public_html/forum/admin/plugin.php(1941) : eval()'d code on line 5
hotwheels
12-02-2006, 11:45 PM
How to (How to)
and use the .xml that come's with the original down load up at the top Timeslip 3.5 v1.1.4.zip (15.9 KB, 420 downloads)
That should hook ya up........
Silver_2000_)!
12-03-2006, 12:16 AM
How to (How to)
and use the .xml that come's with the original down load up at the top
That should hook ya up........
I have the tables in the sql database
did the file edits and template edits
and have tried uploading the xml
Just gets same error
Importing Product, Please Wait...
[:]
Fatal error: Call to a member function on a non-object in /home/taxxxxx/public_html/forum/admin/plugin.php(1941) : eval()'d code on line 5
Line 1941 of plugin.php is eval($code['installcode']);
line 5 of xml is <description>Time Slips Database for vb3.5</description>
I have mine working sorta http://www.talonclub.com/forum/timeslips.php?
wanted the details link to point to the right page rather than just the usercp the way it does now ...
hotwheels
12-03-2006, 01:48 AM
When you are uploading the .xml, are you selecting override "yes"?
hotwheels
12-03-2006, 01:56 AM
If you are just wanting to change this [Enter your timeslip data by editing your profile in User CP ] Just go to your admincp, style and templates, and open up your site's main style << >>.......Then scroll down and look for template named "timeslips".....and open it.
Scroll down toward's the bottom of the page and locate this: $timeslipsbit and then replace the code below it with this: <tr>
<td class="tfoot" colspan="10">
<!-- please don't remove this -->
<font size="1"><center>[vBTimeslipDatabasev2.0 by <b><a href=http://modernmusclecars.net>EvilLS1</a></b>.Converted to vb3.5 by <b><a href="mailto:deathemperor@gmail.com">deathemperor</a></b>]</center></font>
</td>
</tr>
</table>
</table>
<font size="1"><a href="profile.php?$session[sessionurl]&do=edittimeslip">$vbphrase[timeslips_submit]</a></font>
</td></tr></table>
<br />$pagenav
$footer
</body>
</html>
and then save it. Now when you go back to your site, you should see: " Submit your timeslip data" instead of "Enter your timeslip data by editing your profile in User CP"
I think that's what you are wanting to do anyways from looking at your timeslips page.
Silver_2000_)!
12-03-2006, 02:52 AM
Thanks for you help
I tried over writing it - no change
Most of the code you posted was commented out
I added it back - it does the same as it used to it opens a plank page...
the hack I did to open peoples profile page at least lets them edit the content - its not pretty but it worked
deathemperor
12-03-2006, 03:32 AM
Hi everyone,
I've upgraded this hack for vb3.6.4 but currently it only supports new installations. I will have to set up the old one, then starting coding the upgrade. I will release both type when I finish it but if you guys want the new one first I will release it first.
Thanks for all of the interests, I was kind of lazy.
hotwheels
12-03-2006, 06:49 AM
Hi everyone,
I've upgraded this hack for vb3.6.4 but currently it only supports new installations. I will have to set up the old one, then starting coding the upgrade. I will release both type when I finish it but if you guys want the new one first I will release it first.
Thanks for all of the interests, I was kind of lazy.
That is awesome........I would surely hope you post both version's.....anything at this point will be better then my attempt at it.........woot
zincpony
12-04-2006, 12:27 PM
would this work on 3.6.4
BlueBulletRL
12-04-2006, 07:04 PM
lok up 2 post haha can't wait for this to work on 3.6.4 lookin to upgrade this soon I'm on 3.6.4 now but the timeslips work to an extent not all like the details art.
mustang02
12-04-2006, 07:28 PM
I have it working on 3.6.4 following hotwheel's installation instructions. I skipped the steps to add the tables as I already had them from my 3.6.0 upgrade. I then edited all php files.
http://www.buckeyestangs.com/vb/timeslips.php? Located here if you want to see it working.
zincpony
12-04-2006, 08:18 PM
Hi everyone,
I've upgraded this hack for vb3.6.4 but currently it only supports new installations. I will have to set up the old one, then starting coding the upgrade. I will release both type when I finish it but if you guys want the new one first I will release it first.
Thanks for all of the interests, I was kind of lazy.
where can i get a copy of this??? i just got VB soo this would be a completely fresh install
deathemperor
12-05-2006, 01:13 PM
well I can't wait too. I've just got a new job and is kind of busy, I work 9 hours a day. This is what I've done. Although tested in my localhost for new installation and upgrade, please report if you guys found any problems and I will fix it when I get home.
https://vborg.vbsupport.ru/attachment.php?attachmentid=57214&stc=1&d=1165331404
This works with 3.6.3 on my localhost, I beleive it work for 3.6.4 too.
First post edited a bit, I'll be sending update emails for installed users.
RoyMan
12-05-2006, 01:32 PM
so from what im getting from the recent posts the new 1.2 version is for new installs of version 3.6 and does not work on upgrades from 3.5?
i guess im a bit confused sorry :(
deathemperor
12-05-2006, 01:34 PM
Although tested in my localhost for new installation and upgrade
I beleive it means it does work on upgrades *only* from vb3.5
zincpony
12-06-2006, 01:31 PM
alrite its installed and i tried to access it and i get this
zincpony, you do not have permission to access this page. This could be due to one of several reasons:
1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
and when i try to uninstall it i get a data base error page with
Database error in vBulletin 3.6.4:
Invalid SQL:
DROP TABLE customfile;
MySQL Error : Unknown table 'customfile'
Error Number : 1051
Date : Wednesday, December 6th 2006 @ 07:48:40 AM
Script : http://boostedmustangs.com/vbtester/admincp/plugin.php?do=productkill
Referrer : http://boostedmustangs.com/vbtester/admincp/plugin.php?do=productdelete&productid=timeslips&s=
IP Address : 68.80.158.100
Username : zincpony
Classname : vB_Database
deathemperor
12-06-2006, 01:41 PM
Open the Timeslips options and edit its options.
zincpony
12-06-2006, 02:16 PM
Open the Timeslips options and edit its options.
the only options i get are the time slip image length and width and E/T image requirements
deathemperor
12-06-2006, 02:17 PM
edit yourself as a user, there is a option to let you use the timeslips or not.
zincpony
12-06-2006, 02:45 PM
i know im being a pain but i dont see anything
ive looked in user options alone, and user groups everything.
zincpony
12-06-2006, 02:55 PM
ok i found it changed it so i can edit own profile and
Database error in vBulletin 3.6.4:
Invalid SQL:
UPDATE user SET tdban=1 WHERE userid=1;
MySQL Error : Unknown column 'tdban' in 'field list'
Error Number : 1054
Date : Wednesday, December 6th 2006 @ 08:54:41 AM
Script : http://boostedmustangs.com/vbtester/admincp/user.php?do=update
Referrer : http://boostedmustangs.com/vbtester/admincp/user.php?do=edit&u=1
IP Address : 68.80.158.100
Username : zincpony
Classname : vB_Database
comes up it wont let me save it
zincpony
12-06-2006, 04:11 PM
How can i manually uninstall it and try it once more
zincpony
12-07-2006, 05:38 AM
Mine Just Refuses to work,
http://www.boostedmustangforums.com
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT *
FROM user AS user
LEFT JOIN customfile AS customfile ON (customfile.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;
MySQL Error : Table 'vbulletin.customfile' doesn't exist
Error Number : 1146
Date : Wednesday, December 6th 2006 @ 11:37:44 PM
Script : http://boostedmustangforums.com/timeslips.php?
Referrer : http://boostedmustangforums.com/forumdisplay.php?f=10
IP Address : 68.80.158.100
Username : ZincPony
Classname : vB_Database
Sidewindr
12-07-2006, 05:48 AM
I have modified the xml slightly to do some checking for existing tables etc. This worked for me doing an "UPGRADE" from the old 3.5 version and all the profilefield tables are referenced correctly without having to create bogus profile field entries as in the other workarounds. I have also Australian ised it with HP changed to kW and Altitude etc to Date.
All I did was on my existing installation where the titles were missing because of the change to userprofile field layout etc is just overwrite my existing install with the 1.2.1 version attached here. i am running vBulletin 3.6.4 also.
zincpony
12-07-2006, 05:52 AM
this thing just does not like me. :cry: :cry:
Sidewindr
12-07-2006, 06:09 AM
this thing just does not like me. :cry: :cry:
What's the problem ??
zincpony
12-07-2006, 10:32 AM
look up two posts
the first attachment, the vb option attachment, show the only option i see with this add on, then the othen is the error i get when i try to change that option to yes, the vb error attachment comes up.
and i get another database fail when i try to uninstall it.
another thing my navbar template doesnt have
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td
it has a _q on the sessionurl
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl_q]">$vbphrase[members_list]</a></td>
hotwheels
12-07-2006, 12:29 PM
That error means it didn't write into your user field for some reason.......the alter table in the .xml need's to tell it to do so.....
hotwheels
12-07-2006, 12:36 PM
without having to create bogus profile field entries as in the other workarounds.I really only hooked myself up bro, with the bogus profile field entries, and for months nobody helped to jump in and put the correct alter field in the .xml........I said from the beginning when i shared how i did it, that i am "no coder"........Funny thing is though, over 50 people used my bogus way into the 2 huge profile field entries, which was pretty tough to do, since all you have to do is run 2 queries........it may cause arthritis in your finger's having to cut and paste and click run.......whew.
and as stated here. (here.) "I am no coder"......
zincpony
12-07-2006, 01:31 PM
ok i got the time slips part working soo far, but now when click on a users logg in name it wont take me to their profile. just a broken page.
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT profilefieldid, required, title, type, data, def, height
FROM profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0
ORDER BY displayorder;
MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Thursday, December 7th 2006 @ 10:31:18 AM
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/timeslips.php?
IP Address : 127.0.0.1
Username : ZincPony
Classname : vB_Database
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/index.php
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/forumdisplay.php?f=2
the profile doesnt work from all referrers
hotwheels
12-07-2006, 02:14 PM
ok i got the time slips part working soo far, but now when click on a users logg in name it wont take me to their profile. just a broken page.
Database error in vBulletin 3.6.4:
Invalid SQL:
SELECT profilefieldid, required, title, type, data, def, height
FROM profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0
ORDER BY displayorder;
MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
Date : Thursday, December 7th 2006 @ 10:31:18 AM
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/timeslips.php?
IP Address : 127.0.0.1
Username : ZincPony
Classname : vB_Database
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/index.php
Script : http://localhost/folder/member.php?u=1
Referrer : http://localhost/folder/forumdisplay.php?f=2
the profile doesnt work from all referrers
The above error, Unknown column 'title' in 'field list' is do to "title" not being in the profile field in your myphpadmin........If i was you at this point, i would wait and see if there is a better way to fix that, then my bogus query write into the profilefield......
hotwheels
12-07-2006, 02:20 PM
zincpony, i registered on your site, let's get this badboy workin for ya......
zincpony
12-07-2006, 02:23 PM
UGHHH it wont let me uninstall via the plug in manager, how can i remove it manually. i already reverted the styles and replaced image, member and the includes php files. how can i remove the xmls and database addition
hotwheels
12-07-2006, 02:27 PM
fkatzenb, yours looks fine bro..........seem's like everything is working right?
hotwheels
12-07-2006, 02:33 PM
nevermind fkatzenb, yours isn't fine..........I noticed you don't have any of the lettering for your timeslips submit info......
fkatzenb
12-07-2006, 03:31 PM
nevermind fkatzenb, yours isn't fine..........I noticed you don't have any of the lettering for your timeslips submit info......
Ya, I am scared to try the updates until I have a good concept of what is going on. It is the vb3.5 version of timeslips. By the way, thanks for taking the time to look at this and even creating an account to help troubleshoot.
Frank
hotwheels
12-07-2006, 03:38 PM
not a problem man, right now i am working with zincpony.........once i am done there, i will try to help ya out.....
TurboLaserAWD
12-07-2006, 05:23 PM
I am having the same problem as zincpony so a resolution soon would be great. I can't overwrite the product-timeslips.xml to the product-timeslips1.2.xml without a database error (same ones). I also can't uninstall the product-timeslips.xml. And as of now, following all the instructions, I get a database error when I click the Timeslips links in the navbar.
hotwheels
12-07-2006, 05:26 PM
hey frank (fkatzenb), i stopped by your site to help, but didn't see ya online there......do me a quick favor if you get this note and go to your severs phpmyadmin, and open up "profilefield", and then click on browse toward's the top of the page.......let me know what it say's in there for fields, 64,60,61,62,63, etc............or tell me if those are even in there....
later hotwheels...... you can shoot me an email or a pm if you would like......your's should be an easy fix.
hotwheels
12-07-2006, 05:29 PM
I am having the same problem as zincpony so a resolution soon would be great. I can't overwrite the product-timeslips.xml to the product-timeslips1.2.xml without a database error (same ones). I also can't uninstall the product-timeslips.xml. And as of now, following all the instructions, I get a database error when I click the Timeslips links in the navbar.
I didn't see any uninstall code inside this https://vborg.vbsupport.ru/attachment.php?attachmentid=57274&d=1165477590
If you don't mind, give me a look at your phpmyadmin, so we can see where the code is that's hanging up........it look's to be in "user", "tban"......but i don't have the error's and zincpony had to leave for a while.......he too, still can't uninstall the previous .xml, it is going to have to be done manually at this point.......Let me know if you need assistance, i will gladly try to help ya out, but sad to say, i will need access to your phpmyadmin, to help.
TurboLaserAWD
12-07-2006, 05:49 PM
I didn't see any uninstall code inside this https://vborg.vbsupport.ru/attachment.php?attachmentid=57274&d=1165477590
If you don't mind, give me a look at your phpmyadmin, so we can see where the code is that's hanging up........it look's to be in "user", "tban"......but i don't have the error's and zincpony had to leave for a while.......he too, still can't uninstall the previous .xml, it is going to have to be done manually at this point.......Let me know if you need assistance, i will gladly try to help ya out, but sad to say, i will need access to your phpmyadmin, to help.
That second file looks like it was meant to be some kind of ammendment to the original. I'm starting with this code here to manually add the "customfile" field. The syntax is wrong in the SQL which is why it's not being created.
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
I'm getting the following error message in phpMyAdmin:
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unknown Punctuation String @ 4
STR: ->
SQL: $db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile ( userid INT UNSIGNED NOT NULL DEFAULT '0', filedata MEDIUMTEXT NOT NULL, dateline INT UNSIGNED NOT NULL DEFAULT '0', filename VARCHAR(100) NOT NULL DEFAULT '', visible SMALLINT NOT NULL DEFAULT '1', filesize INT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (userid))")
SQL query:
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile ( userid INT UNSIGNED NOT NULL DEFAULT '0', filedata MEDIUMTEXT NOT NULL, dateline INT UNSIGNED NOT NULL DEFAULT '0', filename VARCHAR(100) NOT NULL DEFAULT '', visible SMALLINT NOT NULL DEFAULT '1', filesize INT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (userid))")
MySQL said:
#1064 - 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("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNS' at line 1
Maybe you can start there.
hotwheels
12-07-2006, 06:08 PM
If you compare the old version to the new version:
(3.6 new version) $db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
(3.5.4 old version) $db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
That part of the query is exactly the same, accept for the if(!$check['customfile']) just above that part of the 3.6 version, which was just added...
hotwheels
12-07-2006, 06:20 PM
comparing the 2 .xml's side by side,
there are: 43 lines added, 129 lines modified, and 85 lines deleted.......
So that is a fairly big change for the .xml, i haven't compared the rest of the .php's in the new file yet.
TurboLaserAWD
12-07-2006, 06:48 PM
If I could just get that customfile table to be added I think I'd be okay. At least for that portion.
hotwheels
12-07-2006, 06:52 PM
If you figure it out bro, please feel free to share, so that those wanting to upgrade to the 3.6 version that was just uploaded, can use it......
I have my site running and can't upload this new .xml........I just don't feel like trouble shooting on my site right now.......Since the hacking of my database, it is runnin pretty smoothly right now.........hehehehe
fkatzenb
12-07-2006, 07:37 PM
hey frank (fkatzenb), i stopped by your site to help, but didn't see ya online there......do me a quick favor if you get this note and go to your severs phpmyadmin, and open up "profilefield", and then click on browse toward's the top of the page.......let me know what it say's in there for fields, 64,60,61,62,63, etc............or tell me if those are even in there....
later hotwheels...... you can shoot me an email or a pm if you would like......your's should be an easy fix.
50 thru 65 exist. 63-65 are arrays... a:3:{etc...}
TurboLaserAWD
12-07-2006, 07:44 PM
Alright I made some headway but I'm having problems with the $vbphrase. Here's what I did to correct my problem. I couldn't get rid of the old XML file because the SQL wouldn't let it finish. The problem was that it was trying to remove a table that wasnt there. So I simply took the lines out.
Everything highlighted is what I deleted from the XML and then I saved the file and re-uploaded it.
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
]]>
</installcode>
- <uninstallcode>
- <![CDATA[
$db->query_write("DROP TABLE " . TABLE_PREFIX . "customfile");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` DROP `tdban` ");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '50' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '51' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '52' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '53' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '54' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '55' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '56' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '57' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '58' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '59' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '60' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '61' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '62' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '63' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '64' LIMIT 1");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` = '65' LIMIT 1");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "userfield` DROP `field51` ,
DROP `field52` ,
DROP `field53` ,
DROP `field54` ,
DROP `field55` ,
DROP `field56` ,
DROP `field57` ,
DROP `field58` ,
DROP `field59` ,
DROP `field60` ,
DROP `field61` ,
DROP `field62` ,
DROP `field63` ,
DROP `field64` ,
DROP `field65`");
I had to change "field51" to "field52" and then delete the whole line that has "field52". This may or may not apply to zincpony it just depends on what tables and fields were created for him.
After I re-uploaded it I was able to do a clean uninstallation of the product. After that I uploaded the new product-timeslips1.2.xml and everything worked fine except for the $vbphrase function. For some reason some of them were giving me problems. I couldn't get the following to show up at all:
$vbphrase[timeslips]
$vbphrase[edit_timeslips]
$vbphrase[yes]
$vbphrase[no]
$vbphrase[timeslips_keep_current_timeslip]
$vbphrase[timeslips_keep_current_timeslip_define]
$vbphrase[timeslips_upload_timeslip_from_computer]
hotwheels
12-07-2006, 07:58 PM
50 thru 65 exist. 63-65 are arrays... a:3:{etc...}
Are they named? If you follow the line, are their title's and so forth in there?
zincpony
12-07-2006, 08:17 PM
mine is just crapping on me, the only input field that shows up is the HorsePower field and the ability to upload a timeslip but nothing else, they vanished somewhere.
TurboLaserAWD
12-07-2006, 08:31 PM
Okay I dunno how it happened but my phrases worked themselves out so now I'm all good. :)
zincpony
12-07-2006, 08:34 PM
im still missing all my fields.
zincpony
12-07-2006, 08:41 PM
how can i manually remove this from my database completely, cause no uninstall was provided.
TurboLaserAWD
12-07-2006, 10:30 PM
Go into your database in phpMyAdmin, then go into the "profilefileds" table and click "Browse" at the top. Delete fields 50-65. Then go to the "userfields" table and do the same thing.
That's actually an incomplete way. I would recommend re-importing the original product-timeslips.xml file and then follow my directions here: https://vborg.vbsupport.ru/showpost.php?p=1134061&postcount=434
Sidewindr
12-08-2006, 03:32 AM
I really only hooked myself up bro, with the bogus profile field entries, and for months nobody helped to jump in and put the correct alter field in the .xml........I said from the beginning when i shared how i did it, that i am "no coder"........Funny thing is though, over 50 people used my bogus way into the 2 huge profile field entries, which was pretty tough to do, since all you have to do is run 2 queries........it may cause arthritis in your finger's having to cut and paste and click run.......whew.
and as stated here. (here.) "I am no coder"......
Yeah I know dude .. I was not having a go at you .. :) It's all good .. I was just saying you don't need to create the bogus (bogus to vbulletin as the descriptions moved not to us) profile fields with the latest update from deathemperor. Don't be so defensive ;)
Sidewindr
12-08-2006, 03:35 AM
UGHHH it wont let me uninstall via the plug in manager, how can i remove it manually. i already reverted the styles and replaced image, member and the includes php files. how can i remove the xmls and database addition
To uninstall you need to revert the template changes, remove the custom profile fields as well as drop the customfile table.
Sidewindr
12-08-2006, 03:37 AM
I didn't see any uninstall code inside this https://vborg.vbsupport.ru/attachment.php?attachmentid=57274&d=1165477590
Yeah there is ... Line 124-129
<uninstallcode><![CDATA[ $db->query_write("DROP TABLE " . TABLE_PREFIX . "customfile");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` DROP `tdban` ");
$db->query_write("DELETE FROM `" . TABLE_PREFIX . "profilefield` WHERE `profilefieldid` IN(51,52,53,54,55,56,57,58,59,60,61,62,63,64,65)");
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "userfield` DROP `field50`, DROP `field51`, DROP `field52`, DROP `field53`, DROP `field54`, DROP `field55`, DROP `field56`, DROP `field57`, DROP `field58`, DROP `field59`, DROP `field60`, DROP `field61`, DROP `field62`, DROP `field63`, DROP `field64`, DROP `field65`");
$db->query_write("OPTIMIZE TABLE " . TABLE_PREFIX . "userfield");
build_hiddenprofilefield_cache();]]></uninstallcode>
deathemperor
12-08-2006, 03:45 AM
For the new installations and upgrade on vb3.6, I've tested both and they were working fine. I would not suggest you upgrade from the modified version of hotwheels.
Perhaps I missed the brand new installation test on vb3.6 but I'm sure the upgrade was fine.
For zincpony, are you sure you downloaded the right zip ? Timeslip 3.6 v1.2.zip is for vb3.6 while the other is not. If you downloaded Timeslip 3.5 v1.1.4.zip and install it in a 3.6 forum, the errors "missing title" will be generated. This is because from 3.5 to 3.6, they change the title of the profilefields into phrases (so that you can translate into other langs). As a result of that is the "title" column is removed from table profilefield => old queries of the Timeslip hack does not work. I modified all quries, so if you got that error I think you installed the Timeslip 3.5 v1.1.4.zip version.
Also, in the version 1.2 of Timeslips, the code
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD tdban smallint(5) unsigned DEFAULT 1 NOT NULL");
]]>
will be ran in any condition of a new installation.
My mistake here: I included the product-timeslips.xml in the zip, don't use that file, use product-timeslips1.2.xml.
I believe the file product-timeslips.xml is the reason why zincpony was getting errors, I removed it from the zip above. for those that used product-timeslips.xml, just import product-timeslips1.2.xml choose overwrite (or something like that)
Sidewindr
12-08-2006, 03:52 AM
For the new installations and upgrade on vb3.6, I've tested both and they were working fine. I would not suggest you upgrade from the modified version of hotwheels.
Perhaps I missed the brand new installation test on vb3.6 but I'm sure the upgrade is fine.
For zincpony, are you sure you downloaded the right zip ? Timeslip 3.6 v1.2.zip is for vb3.6 while the other is not. If you downloaded Timeslip 3.5 v1.1.4.zip and install it in a 3.6 forum, the errors "missing title" will be generated. This is because from 3.5 to 3.6, they change the title of the profilefields into phrases (so that you can translate into other langs). As a result of that is the "title" column is removed from table profilefield => old queries of the Timeslip hack does not work. I modified all quries, so if you got that error I think you installed the Timeslip 3.5 v1.1.4.zip version.
Also, in the version 1.2 of Timeslips, the code
$db->query_write("CREATE TABLE " . TABLE_PREFIX . "customfile (
userid INT UNSIGNED NOT NULL DEFAULT '0',
filedata MEDIUMTEXT NOT NULL,
dateline INT UNSIGNED NOT NULL DEFAULT '0',
filename VARCHAR(100) NOT NULL DEFAULT '',
visible SMALLINT NOT NULL DEFAULT '1',
filesize INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (userid))");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD tdban smallint(5) unsigned DEFAULT 1 NOT NULL");
]]>
will be ran in any condition of a new installation.
My mistake here: I included the product-timeslips.xml in the zip, don't use that file, use product-timeslips1.2.xml.
I believe the file product-timeslips.xml is the reason why zincpony was getting errors, I removed it from the zip above. for those that used product-timeslips.xml, just import product-timeslips1.2.xml choose overwrite (or something like that)
did you review the changes I made in the 1.2.1 I posted earleir which added checks for the upgrade process .. I had to do this as the upgrade failed for me.
deathemperor
12-08-2006, 04:17 AM
The upgrade was fine for me. Because: if you import the xml file again, vbulletin won't check for changes in installation codes instead it will check for code of newer version and replace all plugins, templates, phrases etc. As of right now I don't think your code is important, I will test it again this weekend.
zincpony
12-08-2006, 04:22 AM
im getting that problem now,
missing title field, i tried to reupload the XML file you recommended and it didnt fix it. everytime i click on user name to view their profile i get an database error.
Invalid SQL:
SELECT profilefieldid, required, title, type, data, def, height
FROM profilefield
WHERE profilefieldid NOT IN (50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65) AND form = 0
ORDER BY displayorder;
MySQL Error : Unknown column 'title' in 'field list'
Error Number : 1054
deathemperor
12-08-2006, 04:34 AM
can I have a link to the timeslips of yours ?
zincpony
12-08-2006, 05:01 AM
<a href="http://boostedmustangforums.com/timeslips.php?" target="_blank">http://boostedmustangforums.com/timeslips.php?</a>
click on either my name Zincpony or GT-Eaters or click on details. and another thing i've noticed is that the field where you enter car type is gone. click on any name on the forum and try to view any members profiles none will work
deathemperor
12-08-2006, 05:27 AM
Can you reimport the xml product file and choose replace ?
if that doesn't work, please try reinstall it by running the following queries:
DELETE FROM `profilefield` WHERE `profilefieldid` IN(51,52,53,54,55,56,57,58,59,60,61,62,63,64,65)
ALTER TABLE `userfield` DROP `field50`, DROP `field51`, DROP `field52`, DROP `field53`, DROP `field54`, DROP `field55`, DROP `field56`, DROP `field57`, DROP `field58`, DROP `field59`, DROP `field60`, DROP `field61`, DROP `field62`, DROP `field63`, DROP `field64`, DROP `field65`
OPTIMIZE TABLE userfield
one line a time
after that reinstall the hack.
zincpony
12-08-2006, 05:31 AM
i have replaced the file many times and nothing, ill try to do it via ur instructions but i need to crash rite now its 2:30 and im tired. but thanks for the advice anythign is worth a shot.
deathemperor
12-08-2006, 05:39 AM
It was your mistake, you was absolutely using the old zip file which contain the old product xml file and old instructions which leads to the errors you got. I suggest you completely remove the hack and try the file Timeslip 3.6 v1.2.zip. Please be careful this time.
TurboLaserAWD
12-08-2006, 01:48 PM
It was your mistake, you was absolutely using the old zip file which contain the old product xml file and old instructions which leads to the errors you got. I suggest you completely remove the hack and try the file Timeslip 3.6 v1.2.zip. Please be careful this time.
The reason for the mistake was the same reason I made the mistake and that is because the product-timeslips.xml was included with the zip when it should have. On top of that the SQL syntax is wrong which causes the "customfield" table to NOT be created. As a result when you try to uninstall the product from the product manager it runs into an error becuase it tries to drop a table which does not exist (customfield). Also "tdban" and "field50" were not added as well when I installed the products-timeslips.xml.
I have it all fixed now with a bit of modification to the old XML file.
hotwheels
12-08-2006, 01:55 PM
Rigth on turbolaserAWD, that is awesome man, glad you got er runnin man........
jwocky
12-08-2006, 02:03 PM
Any definitive word if the new vb3.6 version will work when trying to upgrade from the old vb3.5 version ?
TurboLaserAWD
12-08-2006, 02:27 PM
Also just so you guys know you can also have the "Ride" coincide with a custom field.
A while back I created a custom field (field5 for me) that listed my members cars. The car would show up in the profile and would show up in the postbit. Since field50 was never added for me and "field50" is the field where you enter your car information, I simply left "field50" out and used my field5 which was already entered a long time ago.
Then I just went to the timeslips.php file. There are 2 instances of "ride" in that file. I just replaced the one that links to "field50" and replaced it with "field5." Then voila, people who already entered their car don't have to enter it again and it automatically shows up on the Timeslip.php page.
zincpony
12-08-2006, 03:41 PM
ok well the editing of the old xml by TurboLaserAWD found here https://vborg.vbsupport.ru/showpost.php?p=1134061&postcount=434
worked on my test forum it completely uninstalled the xml, but not on my actual forum
MySQL Error : Can't DROP 'field51'; check that column/key exists
Error Number : 1091
i just set up the test forum on my local host last nite so that this does not happened again.
TurboLaserAWD
12-08-2006, 04:41 PM
ok well the editing of the old xml by TurboLaserAWD found here https://vborg.vbsupport.ru/showpost.php?p=1134061&postcount=434
worked on my test forum it completely uninstalled the xml, but not on my actual forum
MySQL Error : Can't DROP 'field51'; check that column/key exists
Error Number : 1091
i just set up the test forum on my local host last nite so that this does not happened again.
Sounds like your "field51" doesn't exist either. Go into your phpMyAdmin and click on the table "userfields". All of your fields should be listed. Check to see which fields you actually have. The old XML file has to match that exactly so if you are missing "field51" in your table in phpMyAdmin then you need to remove that line from the XML uninstall code. Then try it again.
hotwheels
12-08-2006, 04:43 PM
Great job on helping out turbolaser, that is awesome.....
TurboLaserAWD
12-08-2006, 04:44 PM
Great job on helping out turbolaser, that is awesome.....
Yeah no kidding, and to think I'm having to learn this crap as I go because I know nothing about coding. :laugh:
hotwheels
12-08-2006, 04:47 PM
lol, that's what i had to do too.........I am going to stay with my upgrade, since i did manage to get it going......and if i did try to upgrade to the newest .xml, i think i will have issue's and don't feel like messin around with em again.......
It is kewl though, that you came back to share what you did........That's what i did too and trying not to be pissy about it, got told that my 2 query run's were bogus, but yet over 50 people were able to get mine to work......
hopefully, if you don't mind and you get the .xml right, post it up so other can share it with those 2 line's of code removed.....that would be awesome.
TurboLaserAWD
12-08-2006, 04:54 PM
I don't mind but it seems that some how the SQL is causing varations in the installations. For example, my XML file only forgot to add the field50 while his forgot to add the field51. I would be afraid that my XML wouldn't help others out if they had the same type of variation.
Also deathemperor said that he removed the old XML so if anyone new d/l this file then only the new XML will be in there and won't be a problem.
hotwheels
12-08-2006, 05:04 PM
That's a great point..............
zincpony
12-08-2006, 05:59 PM
alrite everything is completely uninstalled
i think.
what i did was i uploaded the 1.1.4 into my test forum, then exported the two tables from the test database then drop the two tables from my main database, imported the two. then imported the plugg in that was edited according to Turbolasers guide and uninstalled it completely.
Goat Boy
12-08-2006, 09:09 PM
Something definatly is not working properly. I removed all traces of the old timeslips hack and when I install this vB3.6 hack using the 1.2 it will not load any tables etc in the database. It shows up in the plug ins and won't let me uninstall it because those feilds do not exsist now.
I tried reinstalling and it will not add anything to the database :(
zincpony
12-08-2006, 09:15 PM
same here i tried a fresh install with the 1.2 and its still messed up and i had to uplaod the edited 1.1.4 xml to uninstall it cause the 1.2 xml didnt uninstall.
Goat Boy
12-08-2006, 09:18 PM
i had to uplaod the edited 1.1.4 xml to uninstall it cause the 1.2 xml didnt uninstall.
Do you have that file 1.1.4 so I can uninstall mine?
zincpony
12-08-2006, 09:19 PM
yeah i have it, pm me ur email
zincpony
12-08-2006, 09:19 PM
the 1.6 xml doesnt even create a 50 titled field.
)
");
}
addprofilefield(51, $ab, $b, 6, 6, 57, 'input');
addprofilefield(52, $ac, $c, 5, 5, 58, 'input');
addprofilefield(53, $ad, $d, 6, 6, 59, 'input');
addprofilefield(54, $ae, $e, 6, 6, 60, 'input');
addprofilefield(55, $af, $f, 6, 6, 61, 'input');
addprofilefield(56, $ag, $g, 6, 6, 62, 'input');
zincpony
12-08-2006, 09:21 PM
soo far this seems like a game of change, is it going to install all the requirements is it not.
im gonna have to disown this add on soon i really want it for my site but its not working. its killing me
never mind here is the edited xml to uninstall. its the 1.1.4 but in my case its had the power to uninstall the 1.2v xml also.
deathemperor
12-09-2006, 07:21 AM
the 1.6 xml doesnt even create a 50 titled field.
)
");
}
addprofilefield(51, $ab, $b, 6, 6, 57, 'input');
addprofilefield(52, $ac, $c, 5, 5, 58, 'input');
addprofilefield(53, $ad, $d, 6, 6, 59, 'input');
addprofilefield(54, $ae, $e, 6, 6, 60, 'input');
addprofilefield(55, $af, $f, 6, 6, 61, 'input');
addprofilefield(56, $ag, $g, 6, 6, 62, 'input');
Thanks for the point out, I updated the zip with this fix.
For those of you want to remove the product (after remove all tables and column and profilefields), edit the product, remove its uninstall code and then remove the product. that should do it.
zincpony
12-09-2006, 07:24 AM
i get it to work to where you post what is needed and what not and they appear on the timeslips.php file and all that but everytime i do this. user profiles get broken. if i click on a user name to view their profile it does not work. i get a database error.
deathemperor
12-09-2006, 07:28 AM
You must remove what you edited using the old instructions. As I mentioned above it's your fault on using the old version, replace all edited file and use the correct instructions.
zincpony
12-09-2006, 07:58 AM
i understand its my fautl to a partial view but you had both XML files included in the zip, i got confused and just clicked one of the two, and new instructions? what what changed??
Goat Boy
12-09-2006, 02:07 PM
Thanks for the point out, I updated the zip with this fix.
For those of you want to remove the product (after remove all tables and column and profilefields), edit the product, remove its uninstall code and then remove the product. that should do it.
Well that worked so far for me. on v3.6.4 I haven't had time to enter any info yet. Hopefully I don't get any error.
Good Job
Thanks
zincpony
12-09-2006, 03:14 PM
does the Details Link from the timeslips.php work
Sidewindr
12-09-2006, 03:36 PM
It is kewl though, that you came back to share what you did........That's what i did too and trying not to be pissy about it, got told that my 2 query run's were bogus, but yet over 50 people were able to get mine to work......
Geez have a sook why don't ya ... :cry:
I already explained HERE (https://vborg.vbsupport.ru/showpost.php?p=1134293&postcount=441) that the term bogus was in reference to BOGUS (as in FALSE) FIELD CREATION with respect to the new vbulletin profile field changes. Guess you couldn't be bothered reading it in the first place :mad:
Goat Boy
12-09-2006, 04:14 PM
does the Details Link from the timeslips.php work
Everything works for me.
The only thing I am having problems with right now is the
line you edit in the image.php I get an invalid sql
zincpony
12-09-2006, 04:24 PM
why does nothing work for me
hotwheels
12-09-2006, 10:54 PM
Guess you couldn't be bothered reading it in the first place I apologize for my misunderstanding...........I think this actual thread should be updated to a 3.6 timeslip thread, so people don't have to read 32 page's to get caught up with the move from 3.5 to 3.6.........especially since the profilefield edit's are way different in location then userfieldedits......
Again, i apologize for my misunderstanding, i didn't read back, i just saw that one comment and it kind of caught me off gaurd..
zincpony
12-10-2006, 07:02 AM
Nav Bar Template modification
instructions say look for
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
in the nav bar code its actually (for me at least)
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
NOTICE THE
[sessionurl_q]
all the code around the line thats to be searched for all have the sessionurl_q ibuilt in. soo the code thats getting added on
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
is the _q suppose to be added on to so i can look like
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl_q]">$vbphrase[timeslips]</a></td>
zincpony
12-10-2006, 07:23 AM
another uninstall error with the lastest 3.6.x package
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
Sidewindr
12-11-2006, 04:16 AM
I apologize for my misunderstanding...........I think this actual thread should be updated to a 3.6 timeslip thread, so people don't have to read 32 page's to get caught up with the move from 3.5 to 3.6.........especially since the profilefield edit's are way different in location then userfieldedits......
Again, i apologize for my misunderstanding, i didn't read back, i just saw that one comment and it kind of caught me off gaurd..
No problems, it's cool :)
As for the 3.6 it might be best leaving it until Zach releases the rewrite he is working on although creating a new thread in 3.6 might be a good stop gap..
SilentNoise
12-11-2006, 05:02 AM
Anyone have an idea of how I can make a vBadvanced CMPS module for this that would show the top 5 timeslips (username - vehicle - 1/4 mile time)?
I'm running vba CMPS v2.2.0 and vB v3.6.4
hotwheels
12-11-2006, 12:36 PM
might be a good stop gap..That's what i think too......the old version use's profilefields and the new use's userfields, so if people download both hacks', they get stuck together......
TurboLaserAWD
12-11-2006, 12:52 PM
Something definatly is not working properly. I removed all traces of the old timeslips hack and when I install this vB3.6 hack using the 1.2 it will not load any tables etc in the database. It shows up in the plug ins and won't let me uninstall it because those feilds do not exsist now.
I tried reinstalling and it will not add anything to the database :(
Follow this to remove the plug in:
https://vborg.vbsupport.ru/showpost.php?p=1134061&postcount=434
zincpony
12-11-2006, 03:27 PM
No problems, it's cool :)
As for the 3.6 it might be best leaving it until Zach releases the rewrite he is working on although creating a new thread in 3.6 might be a good stop gap..
what general time would that be??
TurboLaserAWD
12-11-2006, 04:02 PM
Nav Bar Template modification
instructions say look for
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
in the nav bar code its actually (for me at least)
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
NOTICE THE
[sessionurl_q]
all the code around the line thats to be searched for all have the sessionurl_q ibuilt in. soo the code thats getting added on
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
is the _q suppose to be added on to so i can look like
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl_q]">$vbphrase[timeslips]</a></td>
You can include it or not I don't think it makes a big difference. I left it out on mine and it works fine.
0ptima
12-11-2006, 10:26 PM
I have the vb 3.0 version on my site. What do I need to do to upgrade to the 3.6 version?
Sidewindr
12-12-2006, 10:06 AM
Anyone have an idea of how I can make a vBadvanced CMPS module for this that would show the top 5 timeslips (username - vehicle - 1/4 mile time)?
I'm running vba CMPS v2.2.0 and vB v3.6.4
there used to be instructions to do this with the old version however it's never been done for then ewer versions .. I also would be interested in this. :)
Sidewindr
12-12-2006, 10:07 AM
what general time would that be??
You'd have to ask Zachery .. I know he is fairly busy with life and work tho :)
deathemperor, might be a good idea to change the version numbers as you update it so ppl don't get confused ;)
deathemperor
12-12-2006, 11:10 AM
You must first upgrade this to vb3.5 first, then upgrade to vb3.6.
zincpony
12-16-2006, 11:06 PM
any news yet??
joeychgo
12-22-2006, 06:04 AM
One suggestion --- dont ever put your email address as a link on a hack... You'll end up getting TONS of spam email form bots that look for email addresses.
The hack seems to work.. But I lost all my old timeslip data and had to uninstall the original version to get it to work.
BlueBulletRL
12-23-2006, 02:46 PM
I'm trying to upgrade my existing install of TimeSlips but its not working this is what I get when I try to upload the 1.2XML file
Database error in vBulletin 3.6.4:
Invalid SQL:
INSERT INTO vb3_profilefield (profilefieldid,required,hidden,maxlength,size,dis playorder,editable,type,data,height,def,optional,s earchable,memberlist,regex,form,html) VALUES
(50,0,0,'20','20','50','1','input','','0','0','0', '0','0','0','','0');
MySQL Error : Duplicate entry '50' for key 1
Error Number : 1062
Date : Saturday, December 23rd 2006 @ 11:39:18 AM
Script : http://www.tristatetuners.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.tristatetuners.com/forum/admincp/plugin.php?do=productadd
IP Address : *********
Username : ********
Classname : vb_database
Can someone please help me. I'm curious do I have to uninstall the product and then reinstall if so can I save all the data I already have. I dont not wanna have my users have to re-enter the timeslip db cause they might get a little mad.
hotwheels
12-23-2006, 02:52 PM
bluebullet........basically what that error is telling you, that in your mysql, you have field's there (#50), etc........these are now in your userfield, therefore you have duplicates.......not sure on the new 3.6.4 upgrade, but you will probably have to delete the "title" and "description" from your profilefield, since they are now located in the userfield......
Silver_2000_)!
12-23-2006, 05:21 PM
I tried installing on a fresh board and it doesnt work
Im done with this ... its too bad
I had it working a few versions back
Doug
BlueBulletRL
12-23-2006, 07:41 PM
So I have to delete title and description from my profilefield how am I supposed to save the data or move it I guess
hotwheels
12-23-2006, 08:35 PM
That i am not sure of............with the new set up, i haven't looked at any of the coding at all..
tbroush
12-26-2006, 04:01 PM
OK I have read thru many post and I'm bit confused, I was running VB 3.5.4 with the timeslips and just upgraded to vb3.6.4, so what do I need to do to upgrade to vb3.6 1.2? Just upload the timeslips.php and re import the xml file in the zip file?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.