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)

Silver_2000_)! 12-03-2004 02:56 AM

It seems that the settings for "Can edit Vehicle Profile?" and "Can View Private Custom Fields" options are linked - The ONLY way i can get both to says YES is to ONLY check the top one.


Also if I try to make the RIDES field required it drops off the http://www.url/forum/profile.php?do=edittimeslip page - it just disappears...

Actually ANY field I try to make required disappears - BUT when you try to submit it tells you "You have not completed the required field "Track Name" and of course you cant see the field ... LOL

Doug

EvilLS1 12-03-2004 04:06 AM

Doug,
Is the "Can view custom private fields" something you added with another hack? The reason I ask is because I can't seem to find that option in my usergroup manager. Let me know and I'll try to fix it for you.

{edit} Nevermind, it seems that the "Can View Private Custom Fields" option is fairly new and isn't in my version (3.0.1).. I'm looking into it now.

Quote:

Also if I try to make the RIDES field required it drops off the http://www.url/forum/profile.php?do=edittimeslip page - it just disappears...

Actually ANY field I try to make required disappears - BUT when you try to submit it tells you "You have not completed the required field "Track Name" and of course you cant see the field ... LOL
Thats because the vehicle profile is meant to be completely separate and the fields were not intended to be used on the register page or made required.

EvilLS1 12-03-2004 04:38 AM

Quote:

Originally Posted by Silver_2000_)!
The edit vehicle profiole and view custom threads options are linked - it is NOT possible to set edit to NO and voew to yes....

Any ideas ??

Ok, I think I found the problem. It seems that the "can view custom private fields" option is fairly new and isn't in the version I'm using.

To fix it, undo the changes you made to includes/init.php

Then find this:
Code:

        'canseehiddencustomfields' => 262144,
Replace it with this:

Code:

        'canseehiddencustomfields' => 262144,
        'cantimeslip'              => 16777216,


Godzilla MR2 12-04-2004 03:09 PM

great hack!

http://www.mr2oc.com/timeslips.php?

Is there a way to upload times from years gone by?
http://www.mr2ownersclub.com/quartermile/
We have guys that have run in the 9s in Japan, and have proof, but they are not members of our forum. Also some of the slips and cars are either dead or sold. So it would be great if we could add those cars and times.
Also how would I be able to add a column for videos. We are finding that Photoshop is a great quarter mile editor. Video is a bit harder to fake. So we have been thinking of requiring video proof of super~duper fast times.

Bill Strong
www.V8MR2.com

EvilLS1 12-04-2004 10:08 PM

Bill,
Its not possible for the timeslips page to sort more than one timeslip per user. You could add an extra input area on the edit timeslip page (like the area for listing mods) so that your users can mention other vehicles/timeslips. It would be shown on the "details" page but not the main timeslips page.

As for the video, you could add an input box where users can post a link to a video, and then have a clickable icon on the timeslips page and vehicle profile page so that people can download it.

If you have basic knowledge of php you can get an idea of how to add extra fields to the timeslip page from the example in this post:
https://vborg.vbsupport.ru/showpost....&postcount=247

That ^ shows how to add a select box and sort by it, so you wouldn't want to actually use those exact instructions since you want an input field.. but looking at it should give you an idea of how to do it.

Silver_2000_)! 12-06-2004 10:24 PM

Quote:

Originally Posted by EvilLS1
Ok, I think I found the problem. It seems that the "can view custom private fields" option is fairly new and isn't in the version I'm using.

To fix it, undo the changes you made to includes/init.php

Then find this:
Code:

        'canseehiddencustomfields' => 262144,
Replace it with this:

Code:

        'canseehiddencustomfields' => 262144,
        'cantimeslip'              => 16777216,


Thanks Evil that seems to have fixed the profile issue .. two more questions....

When I set the options to require a timeslip under 11.99 it doenst seem to work. I can post a 10.000 second time and it doenst prompt for anything

When the options to upload a timeslip is set to yes the field to enter a link to a time slip disappears .. I figure this is normal BUT how is a user supposed to upload a slip ? There is no prompt - I have a separate photo gallery they can upload to, so its not an urgent issue - just wondering.

Edit - After setting "Allow users to upload timeslips?" back to NO Uploads NOW you are prompted for timeslip for times under 11.99. It appears that the upload is broke and the prompt only occurs for links to timeslips...

Could this have been broken by the new version as well ???
Doug

PS- I may have jacked something up because I think I had the 2.0 version and didnt run the upgrade I did the 2.1 install because I a few months ago I had replaced all the files with Virgin VB files and had to reapply the worthy hacks.. I had to go back and run the upgrade script to get it working. The upgrade script had a couple errors

EvilLS1 12-06-2004 10:31 PM

Quote:

Originally Posted by Silver_2000_)!
Thanks Evil that seems to have fixed the profile issue .. One more question....

When I set the options to require a timeslip under 11.99 it doenst seem to work. I can post a 10.000 second time and it doenst prompt for anything

Could this have been broken by the new version as well ???

DOug

What browser are you using? Its most likely something to do with the browser since the prompt is done with javascript. Can you give me a link to try it out for myself?

EvilLS1 12-06-2004 10:33 PM

Quote:

Originally Posted by Silver_2000_)!

Wghen the options to upload a timeslip is set to yes the field to enter a link to a time slip disappears .. I figure this is normal BUT how is a user supposed to upload a slip ? There is no prompt - I have a separate photo gallery thety can upload to, so its not an urgent issue - just wondering

Doug

Yeah when its set to upload mode the links input field should disappear. Thats normal. But once upload mode is enabled you should see the option to upload a slip in the edit vehicle profile page (at the bottom) like this:
https://vborg.vbsupport.ru/attachmen...chmentid=18977

EvilLS1 12-06-2004 10:47 PM

Quote:

Edit - After setting "Allow users to upload timeslips?" back to NO Uploads NOW you are prompted for timeslip for times under 11.99. It appears that the upload is broke and the prompt only occurs for links to timeslips...

Could this have been broken by the new version as well ???
Doug

PS- I may have jacked something up because I think I had the 2.0 version and didnt run the upgrade I did the 2.1 install because I a few months ago I had replaced all the files with Virgin VB files and had to reapply the worthy hacks.. I had to go back and run the upgrade script to get it working. The upgrade script had a couple errors
That would explain it. In order for the new features in v2.1 to work (uploading, etc) you'd have to run the upgrade script successfully.

Silver_2000_)! 12-07-2004 12:43 PM

Quote:

Originally Posted by EvilLS1
That would explain it. In order for the new features in v2.1 to work (uploading, etc) you'd have to run the upgrade script successfully.

The error is
Quote:

mysql error: Table 'customtimeslippic' already exists
I guess I could try to back out the hack including deleting the table BUT that would eliminate the users data that have uploaded so far.

Im running both IE 6 and Firefox - The timeslips are here
http://www.talonclub.com/forum/timeslips.php?

I pm'ed a username and password so you can try it


All times are GMT. The time now is 10:50 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.01641 seconds
  • Memory Usage 1,761KB
  • 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
  • (4)bbcode_code_printable
  • (8)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