![]() |
Evil - you rock!
Thanks mate! |
EvilLS1, I am very impressed with the amount of support you have shown for this hack!
Great job, keep up the good work! |
Thank you. :)
|
EvilLS1,
Please check your mail. Carlos. |
carlitosz,
I replied to your email but it bounced back to me. Please check your PMs. |
Here's a little add-on that some of you might want..
Require a link to the actual timeslip for all ETs that are 11.99 or quicker. {edit} This is for v1.3 only. This bit of javascript will check the 1/4 mile ET field and the timeslip link field. If the 1/4 mile ET is less than 12.00 and the timeslip link field is empty, users will get a small pop-up box when they click the submit button telling them that a timeslip is required for ETs that are 11.99 or quicker. Of coarse you can easily change it to any ET for the slip requirement. In your modifytimeslip template find: Code:
</head> Code:
<script language="javascript"> Code:
<form action="member.php" method="post"> Code:
<form action="member.php" name="vbform" method="post" onSubmit="return validate(this)"> |
I now have it installed on vb2.3.3 and it works great. I did make a dumb mental error, I added the templates to only one set. Just remember they all need the same templates.
I am going to modify the hack a little and add "Torque" for one of the fields. --Scott aka Silver |
I was using this on my old VB 233... i now use VB3 B7... what are the possibilities of me getting it to work on that?
Thanks in advance! |
PranK,
The hack will have to be re-written for VB3 since the code is all new. I do plan to port this over for VB3 once the RC versions are released though. |
Ahh sweet - you rock!
Thanks mate! Christian |
first off, i'd like to thank EvilLS1 for a great hack.. been looking for something that could organize timeslips easily.
i really want to get this working on my board... but i get the following errors: i get this when i try to view the Who's Online: Warning: main(.././global.php): failed to open stream: No such file or directory in /home/bandit/public_html/forum/online.php on line 7 i get these when i try to view a member's profile: Warning: main(.././global.php): failed to open stream: No such file or directory in /home/bandit/public_html/forum/member.php on line 1372 Warning: main(): Failed opening '.././global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bandit/public_html/forum/member.php on line 1372 Fatal error: Call to undefined function: getpermissions() in /home/bandit/public_html/forum/member.php on line 1374 i get these when i try to edit my vehicle proflie: Warning: main(.././global.php): failed to open stream: No such file or directory in /home/bandit/public_html/forum/member.php on line 607 Warning: main(): Failed opening '.././global.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bandit/public_html/forum/member.php on line 607 Fatal error: Call to undefined function: show_nopermission() in /home/bandit/public_html/forum/member.php on line 611 any suggestions? seems like there's something wrong with .././global.php but i'm not sure, i'm pretty new at all of this. thanks for your help, -jeff |
Quote:
|
Quote:
2.3.0 with a good list of hacks installed. |
nevermind.. i fixed it
|
hey evil,
is there any way you could add a feature to show the dyno chart to prove the WHP, and make it like the 1/4 mile thing so that it would require a dyno chart for WHP over a certain amount? just wondering cause i think this might be a problem on my board in a while and it might become hard to moderate what's real and what's fake without a dyno chart. thanks, -jeff |
Bandit,
Go into your admin panel and add the new profile field for the dynosheet link. Then hold your mouse over the "edit" link for the new field and make a note of the field ID # (at the end of the URL). Then open timeslips.php and find: Code:
} else if ($action=="username") { Code:
} else if ($action=="graph") { Still in timeslips.php find: Code:
$ride= $userinfo[field50]; Code:
if ($userinfo[fieldXX]!=""){ Now in your "timeslips" template find: Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=username">Username</option> Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=graph">Dyno Graph</option> Code:
<td bgcolor="{categorybackcolor}" colspan="9"><normalfont color="{categoryfontcolor}"><CENTER><b> Timeslip Database</b></CENTER></normalfont></td> Code:
<td bgcolor="{categorybackcolor}" colspan="10"><normalfont color="{categoryfontcolor}"><CENTER><b> Timeslip Database</b></CENTER></normalfont></td> Code:
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}">$bracket7<b>WHP</b>$bracket8</smallfont></td> Code:
<td bgcolor="{tableheadbgcolor}" align="center"><smallfont color="{tableheadtextcolor}">$bracketA<b>Graph</b>$bracketB</smallfont></td> Code:
<td bgcolor="{categorybackcolor}" colspan="9"> Code:
<td bgcolor="{categorybackcolor}" colspan="10"> In your "timeslipsbit" template find: Code:
<td bgcolor="{secondaltcolor}">$avghp$rwhp</td> Code:
<td bgcolor="{firstaltcolor}">$graph</td> Code:
(50,51,52,53,54,55,56,57,58,59,60,61,62,63) Code:
(50,51,52,53,54,55,56,57,58,59,60,61,62,63,XX) In your modifytimeslip template find: Code:
<script language="javascript"> Code:
<script language="javascript"> I haven't tested this but it should work if you make all of the changes. Dewayne |
holy crap! you're the man Dewayne!
didn't realize it would require so many changes... thanks for taking the time to do that for me! i'll probably make the changes a little later tonight, i'll let you know if it works. thanks again, -jeff |
works like a charm. :D
thanks a million! -jeff |
Wow, a hack thread with unnecessary drama, too! ;)
First off, let me say that I am just blown away by not only this hack, but the support that comes with it. This was probably the easiest hack I've ever installed, and will be a favorite at my site. That being said, I have one problem. The database page has nothing listed until someone makes an entry, so I entered my info, and submitted it, but it's not listed. I tried changing the Sort By, but it didn't matter, the page still has no one listed. What did I do wrong? http://www.ricehatersclub.com/vbulletin/timeslips.php http://www.ricehatersclub.com/vbulle...ails&userid=94 Thanks! ~Chris |
@ Jeff,
You're welcome. :) @ Chris, I think maybe you forgot to add the timeslipsbit template.. If not, check the spelling of that template name. timeslipsbit template: Code:
<tr align="center"> Dewayne |
Damn, you're good. I forgot the second "s" in the name of the timeslipsbit template.
*clicks Install with immense pleasure!* Please tell me you have other hacks, yours work great, and your instructions are excellent, especially to a know-nothing like me. I really like this hack, and the ease with which I installed it. Thanks again! Take care, ~Chris |
Thanks Chris. :) Glad its working for you now.
|
Quote:
I don't know what all the drama in this thread is about, and I don't want anyone speaking for me. I know that EvilLS1 has done a GREAT job with his hack. I do not see what he has done as "copying" my idea, and I think the level of support he has offered to those who want to use his creation is A-1 TOP NOTCH and he should be commended for same. He thanked me and brendonm for ideas, that's an indication of a stand-up guy. I have had some people on other boards accuse me of copying HIS idea, such is life I guess. The bottom line is, when people take the time to help others improve their forums, it's all good. My version of this hack is nowhere near as comprehensive as Evil's is... I have made some changes to it, so it loads faster with less draw on the database... http://www.mach-1.org/vbulletin/quartermileranking.php?s=&action=getall&what=<r= &perpage=25&orderby=field6&ausername=&=&direction= ASC&fields[6]=.&pagenumber=1 You have to copy and paste the link to have it work for you... EvilLS1- take a bow, you have done a GREAT job on this and that is all there is to it. Only thing I can say is, I wish that you had done all this back when I was asking for something like this.. NOBODY replied to my hack request, so I kinda started one of my own... In hindsight, it kind of forced me to learn more about PHP and that's a good thing. Peace and Happy Holidays! Greg |
Quote:
That's awesome- to add: The way that is written, it will only display the ET/MPH. If you want to add some text such as "Best ET" to display along with the stats, add: Code:
$posttext= "Best ET"; Code:
$postatmph= "@"; Code:
$posttext$postquarter$postatmph$postmph |
|
Installed and awesome!
what if you wanted to add another category getting people to tell what kind of suspension they have like: stock tubbed etc. maybe in a drop down box? also, how do you edit in case somebody puts something false in? Thanks again Evil, I love this one. |
Hey Evil,
Have you looked into making this hack for vb3? |
Carnage,
Thank you. To add other fields check these two posts: https://vborg.vbsupport.ru/showpost....0&postcount=32 https://vborg.vbsupport.ru/showpost....&postcount=136 Quote:
Quote:
|
Sounds great. Still using VB2 here too. I probably won't be upgrading for a while.
|
I can't believe I just found this, I wanted something just like this a few months ago on my forum but I thought it would be too complicated for anyone to ever do. This is the greatest hack in the world.
|
Question: Would it be possible to sort by make? I could really use that feature so a user could see what the fastest car in each make was.
Another thing, with the whp column, would you be able to make it so someone can link to their dyno run the same way you do it with the slip? Edit: What if a person has more than one car? |
Thanks for the kind words.
Quote:
In order to make it possible to sort by vehicles you would need separate select box input fields for vehicle make, model, and year. This would take some time to add, and unfortunately I don't have alot of free time right now. However, if you feel comfortable editing a little php code you could do it yourself. If you'll read back through this thread I've posted instructions on how to add select box input fields and sort by them. Quote:
https://vborg.vbsupport.ru/showpost....&postcount=136 Quote:
|
Evil, I've been searching but can't find it.
My members would like for the timeslips to be able to show what engine size instead of WHP. How can I do that? Thanks. |
Evil, if necessary, I will pay you to have a custom version of this made for my site to compensate for your time.
|
Quote:
Code:
} else if ($action=="rwhp") { Code:
} else if ($action=="cubes") { Code:
if ($userinfo[field51]>0){ Code:
if ($userinfo[field61]!=""){ Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=rwhp">Horsepower</option> Code:
<option value="$bburl/timeslips.php?s=$session[sessionhash]&action=cubes">Displacement</option> Code:
<b>WHP</b> Code:
<b>C.I.</b> Code:
<td bgcolor="{secondaltcolor}">$avghp$rwhp</td> Code:
<td bgcolor="{secondaltcolor}">$cubes</td> |
Quote:
Maybe after I finish with all of my own projects.. But that'll probably be a while. |
thank you for the fast response and it worked perfect
|
You're welcome. :)
|
For those interested, I've started working on a new version of this for VB3. I can only work on it in my spare time (and my spare time is limited) so its probably gonna be a few weeks before I release it. Should be pretty nice though.
Dewayne |
Quote:
|
All times are GMT. The time now is 07:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|