![]() |
Is it possible to make the timeslip available only to certain usergroups ? And a function to enable/disable the whole function would be nice.
|
Quote:
If so, in profile.php find this: Code:
if ($_REQUEST['do'] == 'edittimeslip') (change the x's in array(x,x,x) to the group IDs that you don't want to have access). Code:
if (in_array($bbuserinfo['membergroupids'], array(x,x,x))) |
Quote:
Thats exactly what i want, thanks! :) |
i had a small problem with the add on for timeslips if 12sec or lower, but i figured it out.
forgot that i had to change the variable <12 to whatever i wanted it to be. :mad: awesome hack. :tup: |
installed it and when i ran timeslips.php
here what it threw up Database error in vBulletin 3.0.0 Release Candidate 4: Invalid SQL: SELECT COUNT(*) AS users FROM vb3_user, vb3_userfield WHERE userfield.field55>'0' AND user.userid = userfield.userid mysql error: Unknown table 'userfield' in where clause mysql error number: 1109 any ideas please ? id really like to get this working :) |
Paul,
Are you using the instructions from the first post of this thread? If so, did you download them recently or are you using a version that you downloaded some time ago? The reason I ask is because vbdev pointed out that the old version would give such an error if someone has table prefixes. I've updated the hack since then, so try redownloading the zip in the first post and replace timeslips.php with the new one. Also, re-apply the file edits to admincp/user.php as their was an update in that file aswell. Let me know if that doesn't solve your problem and we'll go from there. |
Quote:
thanks for the update and a great hack :D http://www.mx5roadsters.com/forums/timeslips.php? |
Glad its workin' for ya now. :)
|
I have it installed on Stang Country , works well, and we are running VB 3.0.1.
I did some minor adjusting for our needs, plus a conflick with another item that was installed, so I hope you don't mind. |
Looks good Silverstangs. :)
|
Installed at http://www.lssix.com/forums/timeslips.php? :)
|
Hello....We recently installed this at my website, http://www.stangcrazy.com This is a nice addition! We are still going to customize and add some things.
One thing I searched but haven't found was whether anybody had the set-up to allow for the timeslip to be uploaded, rather than the link? Thanks, Great Mod!! |
Quote:
|
Quote:
<---- Very lazy :) |
Lazy??? That hardly describes you Dewayne...
Frank, does your site have "Photopost"? Just create a cat for timeslips... Takes two secs to paste the URL to a timeslip from the PP gallery... |
Quote:
It should be fairly easy to add uploads though.. That is definitely on my to-do list for 2.1. |
Thanks for the quick responses, I most certainly look forward to this. We do not have photopost but perhaps that is something I should look into...so much going on though.
|
I've started working on v2.1 which will include the ability to upload timeslips. Its turning out to be a little more work than I expected but I should be able to post it within the next week or two.. I'm about half way through it now but I still have to beta test it on my site for a while, update the original instructions to 2.1, and create an upgrade script.
I'll send an email update when its posted. :) |
Quote:
|
thanks evil, its a great hack
|
Quote:
Code:
if ($_REQUEST['do'] == 'edittimeslip') Any ideas? |
Try this on a seperate line:
Code:
if (in_array($bbuserinfo['usergroupid'], array(x,x,x))) |
Quote:
|
Quote:
|
BTW, I have v2.1 with the upload feature running on my site right now.. So far it seems to be working flawlessly but I wanna test it for a few more days and then I'll start working on the upgrade script & instructions. :)
|
|
Quote:
Thanks, Tim P.S. Thank you for making this available for those of us with car related sites!!!! |
EvilLS1,
Thanks again for this modification!!!! It is awesome! Just one suggestion possibly if you don't mind? Some folks like myself really keep track of our timeslips and the way this database is currently setup it only allows for one timeslip. Possibility in the future that you'll allow one user to have multiple slips so they can compare mods vs times? :) You know my supercharged Mustang is very slow so I have to keep up with what mod works vs doesn't... Cheers, Tim |
Added gpfanatix and tealnet.com. :)
Tim, Nice site. I used to visit tealnet back when I had my 92 GT. :) Anyway, adding the ability for users to show the data from a second timeslip in the vehicle profile shouldn't be too difficult. But I'm pretty sure that adding the ability for the timeslips database page to sort more than one timeslip per user would require a re-write of the entire hack. :( I'll think on it more and maybe I can come up with something by the time v2.2 is released. @ everyone else, 350Chevy and I are currently beta testing v2.1 and so far its running smoothly. If we don't find anymore bugs within the next few days I'll release it. |
Quote:
No rush on the modification that I requested (multiple timeslips for one person) just a suggestion. Thanks!!!! Tim |
Quote:
|
Quote:
By the way, what chat program are you running on your board? I'd like to integrate some kind of chat that already knows usernames, etc on my forums in the chat. |
Quote:
I'm using jpilot IRC chat on my site. Check out this link: https://vborg.vbsupport.ru/showthrea...threadid=65099 There you'll find a hack to show whos in chat on your forum home and also a link to get the jpilot chat software. |
v2.1 released!
New features: * Users can upload their timeslip in the vehicle profile. * Timeslip uploads can be disabled in the admincp (switches to link mode when disabled). * Admin can delete user's uploaded timeslip. * Maximum width, height and filesize for timeslip uploads can be set in the admincp. * Admin can set an ET for which an actual timeslip is required if the user's ET is quicker. A few notes about this version: When upload mode is enabled, old linked timeslips that may have been added in the previous version will still be visible until the user updates his vehicle profile. When a slip is uploaded the old linked slip is automatically removed. When uploads are disabled it will automatically switch to the link mode. Previously uploaded timeslips will still be visible unless the admin deletes them. To see the new admincp settings go to admincp + vboptions + Timeslip Database Settings. You can delete a user's uploaded slip by clicking "user options" on the 'view vehicle profile' page. |
Ill upgrade to 2.1 after the grandprix weekend. Thanks EvilLS1!
|
Quote:
Awesome upgrade! I just did it and it works great. Couple of recommendations: 1. Multiple timeslips for single user :) hahahaha... 2. Admin ability to delete the actual timeslip (just in case someone put a bogus one in there). That's all I can think of right now. Thanks again for making this available!!!! Thanks, Tim |
Quote:
|
How do I make the My Best Et not appear in post bit if they dont have anything entered.
See this: http://www.mustang-forums.com/forums...ead.php?t=6937 It says My Best ET: 00.00 if they dont have one entered. I want to make it where it just doesnt appear |
Quote:
Code:
<if condition="$post[field55]>0"> |
anyone willing to help me? i'd like to add classes, like drag class, street class, ect. to better catigorize the different times, and display them on the timeslips.php page,
i just need to know where to edit to add these features.... but i'd really like another column on the main page showing "Class" |
All times are GMT. The time now is 11:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|