vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Timeslip Database -for Automotive websites (https://vborg.vbsupport.ru/showthread.php?t=60945)

EvilLS1 07-05-2004 09:59 PM

Quote:

Originally Posted by Sidewindr
Roger wilco :)

Any idea on when you might be looking at the next version ?? :nervous: :o

It will probably be a while as I'm working 6 and sometimes 7 days per week right now and don't have much free time to fool with hacks.

In the mean time, if you have basic knowledge of php you can see how to add new fields in this example:
https://vborg.vbsupport.ru/showpost....&postcount=247

The example shows how to add and sort by a "class" field. But that should give you a general idea on how to add your diff. field.

350Chevy 07-05-2004 10:15 PM

Quote:

Originally Posted by EvilLS1
If you recently upgraded to vB 3.0.2 or later and you're having trouble with the timeslips page showing all users regardless if they have an ET or not then please replace your timeslips.php with the correct one for your version (attached below).

Also, if you had already installed vB Timeslip Database before upgrading your forums to v3.0.2 or later you'll need to upload the attached file (TD302.php) to your admincp directory and run it. The upgrade script for vB 3.0.2 sets the custom user fields to medium text. Some of the timeslip fields must be set to DECIMAL in order for the timeslips page to sort them correctly. The attached file (TD302.php) will correct that for you. If you've installed the Timeslip Database AFTER upgrading to 3.0.2 you can skip this part.


Works like a charm on vB 3.0.3 Thnx! :D

PranK 07-05-2004 11:15 PM

Quote:

Originally Posted by EvilLS1
If you recently upgraded to vB 3.0.2 or later .....

Top effort! Thanks EvilS1!

Christian

Sidewindr 07-05-2004 11:20 PM

Thanks EvilLS1 I will have a crack at adding the Diff ratio as field 66 :D

In the interim how would I manually put the timeslip in as a blob in the database directly ?? Really need the admins to be able to upload people's timeslips as well as the user doing it :(

PranK 07-05-2004 11:22 PM

EvilS1 - I get SQL errors when running TD302.php and timeslips.php. This is cause you and I had to change my install to different numbers. My profile ID's for the timeslips are all in the 80's and 90's. What I need to know is what numbers correspond to what, so I can edit the files.

Thanks.

PranK 07-05-2004 11:41 PM

Quote:

Originally Posted by PranK
EvilS1 - I get SQL errors when running TD302.php and timeslips.php. This is cause you and I had to change my install to different numbers. My profile ID's for the timeslips are all in the 80's and 90's. What I need to know is what numbers correspond to what, so I can edit the files.

Thanks.

Ok, I fixed the profile id's, but now I am getting an sql error about the table 'customtimeslipspic' - i dont have it...

EvilLS1 07-05-2004 11:41 PM

Quote:

Originally Posted by Sidewindr
Thanks EvilLS1 I will have a crack at adding the Diff ratio as field 66 :D

In the interim how would I manually put the timeslip in as a blob in the database directly ?? Really need the admins to be able to upload people's timeslips as well as the user doing it :(

Sidewindr,
If you really need the ability to upload timeslips for your users I'd suggest installing the "login as user" hack. Then if someone just can't figure out how to upload a slip for themselves you can login to their account and do it for them. I highly doubt you'll have to do that often anyway b/c most users should be able to figure out how to upload their own slip.


Quote:

Originally Posted by PranK
EvilS1 - I get SQL errors when running TD302.php and timeslips.php. This is cause you and I had to change my install to different numbers. My profile ID's for the timeslips are all in the 80's and 90's. What I need to know is what numbers correspond to what, so I can edit the files.

Thanks.

Prank,
If memory serves, your profile fields are 80-95.

To keep from having to manually edit all the fields in timeslips.php just open your old timeslips.php and find all instances of this:
Code:

'".intval($number)."'
And replace all of them with this:
Code:

0
Then upload the attached TD302.php file to your admincp directory and run it (I already edited the fields for you).

PranK 07-05-2004 11:41 PM

damn it... :D

EvilLS1 07-05-2004 11:42 PM

Quote:

Originally Posted by PranK
Ok, I fixed the profile id's, but now I am getting an sql error about the table 'customtimeslipspic' - i dont have it...

Thats because you uploaded the timeslips.php for version 2.1. You still have v2.0.

PranK 07-05-2004 11:59 PM

ahhhhh ok cool, thanks.


All times are GMT. The time now is 02:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01374 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete