PDA

View Full Version : vB Timeslip Database -for Automotive websites


Pages : 1 2 [3] 4

EvilLS1
01-25-2005, 11:18 PM
I dont know what that command was suppose to do - It all worked without it - but thanks. I made the change. What does it do??

It just includes the global file for timeslip images.

Silver_2000_)!
01-26-2005, 01:22 PM
In looking to fix the TD on 3.06
This section of member.php has changed from this

// CUSTOM PROFILE FIELDS
$profilefields = $DB_site->query("
SELECT profilefieldid, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 " . iif(!can_moderate(), "
AND hidden = 0") . "
ORDER BY displayorder
");



to this

>>>>>>>>>>>>>>>>

// CUSTOM PROFILE FIELDS
$profilefields = $DB_site->query("
SELECT profilefieldid, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 " . iif(!($permissions['genericpermissions'] & CANSEEHIDDENCUSTOMFIELDS), "
AND hidden = 0") . "
ORDER BY displayorder
");

Im no coder so I cant merge the changes

Thanks

Doug

Silver_2000_)!
01-26-2005, 04:05 PM
looks like it has also broken some avatars

the avatars end up in red x

If I get properties of the rex x and paste it to a new browser window I get this

Fatal error: Call to a member function on a non-object in /home/talonsv/public_html/forum/image.php on line 211

211 is right after on of the timeslip modifications and 211 is last line in this code

if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customtimeslippic';
}
else
{
$data = 'avatardata';
$table = 'customavatar';
}

if ($imageinfo = $DB_site->query_first("

EvilLS1
01-26-2005, 08:21 PM
I will take a look at the files from 3.0.6 and post an update later tonight or tomorrow.

EvilLS1
01-27-2005, 05:02 AM
Silver_2000_)! ,
I've added some new instructions for vb 3.0.6. Be sure to re-do all the file edits to image.php, member.php, and includes/functions_user.php.

joeychgo and anyone else who has installed on vb 3.0.6 should re-do the file edits to the 3 files listed above aswell.

Instructions for vb 3.0.6 (https://vborg.vbsupport.ru/attachment.php?attachmentid=23484) (BETA)

Koby
01-27-2005, 06:20 AM
Thanks, just installed... working good on my first try :cool:

Only problem I had was the very last line of code:

###### 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>



----------------------------------------------------------------------------------


I guess my installed template (VBclassic) didn't have the first line to add the new line under :-/

I'll figure it out I suppose

EvilLS1
01-27-2005, 06:25 AM
Koby,
That bit of code just adds a link to the Timeslip Database in your navbar. You can put the link anywhere or make a button to match your classic style.

Koby
01-27-2005, 06:29 AM
Found your icon too now for the classic style, now I just have to figure out how to add it. Great stuff :)

Koby
01-27-2005, 06:52 AM
Blah, I thought I had it figured out... I am trying to add the icon in... by copying and editing the same lines of code for the other buttons to suit the location of this icon/link... but this happens:




The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kobycole/public_html/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 105

EvilLS1
01-27-2005, 06:55 AM
Blah, I thought I had it figured out... I am trying to add the icon in... by copying and editing the same lines of code for the other buttons to suit the location of this icon/link... but this happens:




The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/kobycole/public_html/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 105

If you will post your navbar template along with the link to the button you want to use I'll add it for you.

Koby
01-27-2005, 07:00 AM
:cool:

Thanks a bunch, I'm completely new to PHP and doing my best to struggle and learn :-/

navbar template:


<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grays cale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="vbcm" align="$stylevar[left]"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>


<if condition="$show['member']">
<td class="vbcm_b"><a href="usercp.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_profile.gif" alt="$vbphrase[user_cp]" /></a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbcm_b"><a href="register.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_register.gif" alt="$vbphrase[register]" /></a></td>
</if>
<td class="vbcm_b"><a href="faq.php?$session[sessionurl]" accesskey="5"><img border="0" src="$stylevar[imgdir_button]/top_faq.gif" alt="$vbphrase[faq]" /></a></td>
<td class="vbcm_b"><a href="memberlist.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_members.gif" alt="$vbphrase[members_list]" /></a></td>



##################you can insert the timeslips here########################





<td class="vbcm_b"><a href="calendar.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_calendar.gif" alt="$vbphrase[calendar]" /></a></td>
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img border="0" src="$stylevar[imgdir_button]/top_new.gif" alt="$vbphrase[new_posts_nav]" /></a></td>
<else />
<td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img border="0" src="$stylevar[imgdir_button]/top_daily.gif" alt="$vbphrase[todays_posts]" /></a></td>
</if>
<td id="navbar_search" class="vbcm_b"><a href="search.php?$session[sessionurl]" accesskey="4"><img border="0" src="$stylevar[imgdir_button]/top_search.gif" alt="$vbphrase[search]" /></a><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="vbcm_b"><a href="#usercptools"><img border="0" src="$stylevar[imgdir_button]/top_links.gif" alt="$vbphrase[quick_links]" /></a><script type="text/javascript"> vbmenu_register("usercptools", true); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbcm_b"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbcm_b"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbcm_b"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td class="vbcm_b"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$bbuserinfo['userid']">
<td class="vbcm_b"><a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]" onclick="return log_out()"><img border="0" src="$stylevar[imgdir_button]/top_logout.gif" alt="$vbphrase[log_out]" /></a></td>
</if>
</tr>
</table>
<!-- / nav buttons bar -->

</td>
</tr>
</table>
<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>

<tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->
</if>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

Koby
01-27-2005, 07:02 AM
I'll be glad to see how you edit it to make it work so I'll know how to do it in the future :)

EvilLS1
01-27-2005, 07:08 AM
Find:

<td class="vbcm_b"><a href="memberlist.php?$session[sessionurl]"><img border="0" src="$stylevar[imgdir_button]/top_members.gif" alt="$vbphrase[members_list]" /></a></td>


Below it add:

<td class="vbcm_b"><a href="timeslips.php?$session[sessionurl]"><img border="0" src="http://www.posdsm.com/forums/classic_images/buttons/top_timeslips.gif" alt="Timeslip Database" /></a></td>

Koby
01-27-2005, 07:14 AM
hey I got it on my own... i had the code ++++ed up myself... fixed it :cool:

Thanks anyways :)

Silver_2000_)!
01-27-2005, 12:27 PM
Silver_2000_)! ,
I've added some new instructions for vb 3.0.6. Be sure to re-do all the file edits to image.php, member.php, and includes/functions_user.php.

joeychgo and anyone else who has installed on vb 3.0.6 should re-do the file edits to the 3 files listed above aswell.

Instructions for vb 3.0.6 (https://vborg.vbsupport.ru/attachment.php?attachmentid=23484)

You rock - Timeslips works Great now...

The avatars are still screwed up though ..

When a member tries to upload an avatar they get this error

Parse error: parse error, unexpected $ in /home/talonsv/public_html/forum/includes/functions_upload.php on line 414

Line 414 is the last line of the file

The avatars that are a red X have this code generating them -

http://www.talonclub.com/forum/image.php?u=26&dateline=1093743501

Which pasted in a browser resulst in this Fatal error: Call to a member function on a non-object in /home/talonsv/public_html/forum/image.php on line 213

Line 213 is 8 lines below this modification

else if ($_REQUEST['type'] == 'timeslip')
{
$data = 'timeslippicdata';
$table = 'customtimeslippic';

Big Kahuna
01-28-2005, 01:59 AM
I have a racing site at www.moparstyle.com and this would be the coolest hack yet. I just need to make sure it works before I install it. I'm running 3.0.6 with a couple of the standard hacks. Are the problems some of the people are reporting just loose nuts behind the keyboard and I won't have any trouble with vB Timeslip Database v2.1 (for vb 3.0.6 or later).zip -- or is there a problem that I need to let get ironed out?

EvilLS1
01-28-2005, 03:35 AM
Silver_2000_)! ,
I'm still using vb 3.0.1 so I'll have to install a vb 3.0.6 test forum on my PC to see if I can figure out what has changed. It'll be a while before I have time to do this so in the mean time if you want to remove the edits to image.php and functions_upload.php you can still use the hack and there will be no errors with the avatars. Just disable timeslip uploads in the admincp (people can still link to them).

If anyone else has this hack installed on 3.0.6 with timeslip uploads enabled and not experiencing the errors with the avatars please let me know.

Koby,
The fetch_profilefields() function is called from your functions_user.php file. It sounds like something wasn't copied and pasted correctly in that file. Carefully re-apply the file edits to a fresh un-edited includes/functions_user.php and it should fix the error.

Big Kahuna,
The vb versions that this hack is confirmed to work with are 3.0.0 - 3.0.5. The jury is still out on 3.0.6. I'm still using 3.0.1 so I'm not sure if the error that Silver_2000_)! mentioned is site specific or a compatibility issue with the hack. I'll have to install a 3.0.6 test forum and see for myself when I get some free time.

Big Kahuna
01-28-2005, 03:42 AM
I might give it a shot tomorrow on my testforum

EvilLS1
01-28-2005, 03:44 AM
I might give it a shot tomorrow on my testforum

If you do, please let me know if you experience the same errors as Silver_2000_)!.

Thanks,
Dewayne

Silver_2000_)!
01-28-2005, 04:10 AM
If you do, please let me know if you experience the same errors as Silver_2000_)!.

Thanks,
Dewayne

Im embarrased to say that the avatars issue seemed to be related to having 2 versions of timeslips edits in the image.php

// ######################### REQUIRE BACK-END ############################
if ($_GET['type'] == 'profile' or $_GET['type'] == 'timeslip')
if ($_REQUEST['type'] == 'profile' or $_REQUEST['type'] == 'timeslip')


I had 2 similar lines there ... Removed the second line and the avatars went back to normal- What was weird was that it didnt affect all avatars...

Sorry for the fire drill.

Big Kahuna
01-28-2005, 04:13 AM
So is it working for you now?

Silver_2000_)!
01-28-2005, 04:16 AM
The avatars are appearing correctly in the forum after LS1's suggestion helped me find my screw up

Unfortunatly the avatar upload was still broke - So once again thanks to his suggestion reuploaded the unedited version of that file and the uploads worked. So encouraged by finding my own incompetence I re-applied the updated edits from the beta-3.06 file and its all working fine now...

Have to remember to not try to reapply hacks until I have poured my second cup of coffee

Once again - sorry for the fire drill ... everything is OK NOW -
Doug

EvilLS1
01-28-2005, 04:36 AM
No problem Doug. Thanks for letting me know. So everything is working properly now (including uploads)?

Silver_2000_)!
01-28-2005, 04:41 AM
No problem Doug. Thanks for letting me know. So everything is working properly now (including uploads)?

Yep

THANKS SO much for jumping in to try to help

Your prior note helped narrow it down so I could see my errors

EvilLS1
01-28-2005, 04:50 AM
Yep

THANKS SO much for jumping in to try to help

Your prior note helped narrow it down so I could see my errors

Great! :) Glad to hear that all is good b/c now I don't have to install a test forum (I'm lazy). :p

I'll leave the 3.0.6 version tagged as BETA until a couple more people confirm a successful installation (just in-case we've overlooked something).


Dewayne

Big Kahuna
01-30-2005, 12:47 AM
I'm testing the 3.0.6 version on my test forum and it appears to be working fine. I'll give a link to the live forum once it is installed there. I think the 3.0.6 people will not have a problem. All went very smooth.

I'd like to be able to display the TOP 10 CONFIRMED (ticket submitted) in my forum index. Any chance of getting a bone rolled to me on the code required?

Big Kahuna
01-30-2005, 12:55 AM
OK. Here are the instructions and an updated file for displaying the top 5 timeslips in vBindex.

What change would I need to make to add the condition of only including those that submitted the proof?

EvilLS1
01-30-2005, 01:29 AM
I'm testing the 3.0.6 version on my test forum and it appears to be working fine. I'll give a link to the live forum once it is installed there. I think the 3.0.6 people will not have a problem. All went very smooth.

I'd like to be able to display the TOP 10 CONFIRMED (ticket submitted) in my forum index. Any chance of getting a bone rolled to me on the code required?



Well, I've never tried it but it should be just as easy to add the top 10 confirmed to your forum index.

Try this..

In forums/index.php find:


'forumhome_pmloggedin',


replace it with:

'forumhome_pmloggedin',
'times',
'toptimes',



find:

// ### ALL DONE! SPIT OUT THE HTML AND LET'S GET OUTA HERE... ###



above it add:

// Top Times add-on
$pos = 0;
$condition.=" AND (userfield.field57!='' OR customtimeslippic.dateline!='') AND userfield.field55>0";

$users=$DB_site->query("SELECT *
FROM " . TABLE_PREFIX . "user AS user, " . TABLE_PREFIX . "userfield AS userfield
LEFT JOIN " . TABLE_PREFIX . "customtimeslippic AS customtimeslippic ON (customtimeslippic.userid = user.userid)
WHERE user.userid = userfield.userid
$condition
ORDER BY userfield.field55 ASC
LIMIT 10");

// Set up vars
while ($userinfo=$DB_site->fetch_array($users)) {
$tdateline = $userinfo[dateline];
$pos++;
$rank= number_format($pos);
$TDusername= $userinfo[username];
$ride= $userinfo[field50];
if ($userinfo[field52]>0){
$sixty= $userinfo[field52];
}else{
$sixty="";
}
if ($userinfo[field55]>0){
$quarter= $userinfo[field55];
}else{
$quarter="";
}
if ($userinfo[field56]>0){
$atmph2="@";
}else{
$atmph2="";
}
if ($userinfo[field56]>0){
$quartermph= $userinfo[field56];
}else{
$quartermph="";
}
$userinfo[field57] = trim($userinfo[field57]);
if ($userinfo[field57]!="")
{
$slip="<a href=\"$userinfo[field57]\" target=\"_blank\"><img src=\"$stylevar[imgdir_misc]//slipicon.gif\" border=0></a>";
}
else
{
$slip="";
}
eval('$times .= "' . fetch_template('times') . '";');
} // end while
eval('$toptimes .= "' . fetch_template('toptimes') . '";');




Create a new template named "toptimes" and add the HTML below:


<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr id="cat">
<td colspan="6" class="tcat" width="100%"><span class="smallfont"><b>?Top 10 1/4 Mile ETs</b></span></td>
</tr>
<tr>
<td class="alt2" align="center"><span class="smallfont"><b>#</b></span></td>
<td class="alt2" align="center"><span class="smallfont"><b>Username</b></span></td>
<td class="alt2" align="center"><span class="smallfont"><b>Ride</b></span></td>
<td class="alt2" align="center"><span class="smallfont"><b>60'</b></span></td>
<td class="alt2" align="center"><span class="smallfont"><b>1/4 Mile ET & MPH </b></span></td>
<td class="alt2" align="center"><span class="smallfont"><b>Slip</b></span></td>
</tr>
$times
<tr>
<td class="tcat" colspan="6"><span class="smallfont"><CENTER>[<a href=$vboptions[bburl]/timeslips.php>Click here to view the complete list</a>]</CENTER></span></td>
</tr>
</table>
<br />



Create a new template named "times" and add the HTML below:

<tr>
<td class="alt1" align="center"><span class="smallfont">$rank</span></td>
<td class="alt1" align="center"><span class="smallfont"><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$userinfo[userid]">$TDusername</a></span></td>
<td class="alt1" align="center"><span class="smallfont">$ride</span></td>
<td class="alt1" align="center"><span class="smallfont">$sixty</span></td>
<td class="alt1" align="center"><span class="smallfont">$quarter$atmph2$quartermph</span></td>
<td class="alt1"><if condition="$tdateline!=''">
<a href="image.php?u=$userinfo[userid]&amp;type=timeslip&amp;dateline=$tdateline" target="_blank"><img src="$stylevar[imgdir_misc]/slipicon.gif" border=0></a>
<else />
$slip
</if></td>
</tr>


Then in your forumhome template put $toptimes where ever you want the Top 10 ETs module to show up.


I haven't tested this but it should work.


Dewayne

Big Kahuna
01-30-2005, 01:58 PM
Dude -- you is Da man!

I'll play with that in my test forum this afternoon.

Big Kahuna
01-30-2005, 04:30 PM
Almost there -- but not quite

I did everything as instructed -- tried twice to make sure -- and I can get the form built on the index page, but no data in it. I have ten test records in the time slip data base (which displays properly on the complete list page) -- three of which have timeslips loaded. It appears to be something in the search for qualifying records criterea. I'm strickly a cut and paster in php and not capable of understanding why the correct records were not selected for the form on the index page.

Any help will be appreciated

Thanx

BK

Big Kahuna
01-30-2005, 04:55 PM
MY BAD -- very stupid mistake on my part. I created a templates called Times instead of times.

Works

Thanx

EvilLS1
01-30-2005, 05:11 PM
MY BAD -- very stupid mistake on my part. I created a templates called Times instead of times.

Works

Thanx

Glad it worked for ya.

BTW, I was just checking out your site .. Thats a nice group of Mopars in your sig. I love the red road runner! :up:

Limey-YMR
01-30-2005, 05:45 PM
I've been running 3.06 since it was first released and this hack just kept on chugging, when I put it back into the changed files.

Big Kahuna
01-30-2005, 06:51 PM
I have it live now at www.moparstyle.com and credit you on the footer of each page.

Thanx for the comment on the Red Road Runner -- it is 8.95 on the bottle that I'm selling. I race www.texasblackmagic.com which just got a 540 dropped in it. I also race www.rudedodge.com in Nostalgia Super Stock and building www.texaswhale.com for next year. My 16-year-old was the National Points Champ in 2004 for Nostalgia Muscle Car in www.eldiabloblanco.com and my daughter starts racing a low 12-second Aspen this year.

On that Top 10 Confirmed on the Index page - how could I have a condition where the member also has to have a 100 posts? I already see people from other sites signing up just to be in the Top 10 -- but have no intention of becoming an active member?

Dave

EvilLS1
01-30-2005, 07:28 PM
I have it live now at www.moparstyle.com and credit you on the footer of each page.

Thanx for the comment on the Red Road Runner -- it is 8.95 on the bottle that I'm selling. I race www.texasblackmagic.com which just got a 540 dropped in it. I also race www.rudedodge.com in Nostalgia Super Stock and building www.texaswhale.com for next year. My 16-year-old was the National Points Champ in 2004 for Nostalgia Muscle Car in www.eldiabloblanco.com and my daughter starts racing a low 12-second Aspen this year.

On that Top 10 Confirmed on the Index page - how could I have a condition where the member also has to have a 100 posts? I already see people from other sites signing up just to be in the Top 10 -- but have no intention of becoming an active member?

Dave

Dave,
Those are some very impressive cars! A member of my site who calls himself "The OLE MAN" has built a few quick Mopars including an 8 second B-Body drag car and a SB 72 Demon. I'll have to tell him about moparstyle.com. He may already be registered there.

To limit the top ten list to members with more than 100 posts try this..

In the code you added to forums/index.php find:

$condition.=" AND (userfield.field57!='' OR customtimeslippic.dateline!='') AND userfield.field55>0";


Replace it with:

$condition.=" AND (userfield.field57!='' OR customtimeslippic.dateline!='') AND userfield.field55>0 AND user.posts>100";


That should do it.

Thanks for the credits btw.

Dewayne

Big Kahuna
01-31-2005, 04:12 PM
Thanx again Dewayne

zurih
01-31-2005, 05:15 PM
How can I make some of the fields to be *Required* to sumbit your timeslip???

EvilLS1
01-31-2005, 09:38 PM
How can I make some of the fields to be *Required* to sumbit your timeslip???


You can do that with javascript in your modifytimeslip template..

For example, if you wanted to require field 50 you could do it like this:

In the modifytimeslip template find (two places):

<script language="javascript">
<!--
function validate(theform) {


Below both instances add this:


if (theform.field50.value=="") {
alert("You have not filled in one or more required fields. Please add all required information and try again.");
return false; }


The users will get a javascript alert when they submit the form if a required field is missing.

zurih
02-01-2005, 04:16 PM
hmmm... not working

Added the lines and nothing... no error

EvilLS1
02-01-2005, 07:59 PM
hmmm... not working

Added the lines and nothing... no error

Are you using v2.1?

zurih
02-01-2005, 08:19 PM
yes using v2.1. installed a few days ago..

Is the script working with *select* field type?
because thats what I'm using...
maybe thats the problem?!

thanks

EvilLS1
02-01-2005, 08:25 PM
yes using v2.1. installed a few days ago..

Is the script working with *select* field type?
because thats what I'm using...
maybe thats the problem?!

thanks
What is the default value and field ID for your select field?

zurih
02-02-2005, 06:09 AM
default value = none
field ID = 50

I changed a bit the names and properties of the fields..

Also, with the script inside the template, I'm getting in the status bar in IE "Done.. but with errors.."

EvilLS1
02-03-2005, 12:11 AM
default value = none
field ID = 50

I changed a bit the names and properties of the fields..



Ok, if the field ID is 50, the field type is "select", and the default value is blank the following code will work (tested it on my forum).


In the modifytimeslip template find (two places):

<script language="javascript">
<!--
function validate(theform) {


Below both instances add this:


if (theform.field50.value=="0") {
alert("You have not filled in one or more required fields. Please add all required information and try again.");
return false; }




Also, with the script inside the template, I'm getting in the status bar in IE "Done.. but with errors.."

Make sure you pasted the code correctly. You shouldn't be getting any javascript errors.

92GreenGT
02-04-2005, 12:56 AM
Can you add my website to the main list of your automotive sites? Were changing servers right now but it will be back up in no time. www.fullthrottleforums.com

Thanks, love the mod.:nice:

EvilLS1
02-04-2005, 03:16 AM
Can you add my website to the main list of your automotive sites? Were changing servers right now but it will be back up in no time. www.fullthrottleforums.com

Thanks, love the mod.:nice:

Done. :)

zurih
02-04-2005, 08:37 AM
is it possible to add Username search?

EvilLS1
02-04-2005, 08:20 PM
is it possible to add Username search?

You can already sort by username, but you'd have to use the memberlist to actually search for them.

tealv6
02-09-2005, 09:43 AM
Just installed a fresh copy of 3.0.6 and trying to get VBtime 2.1 installed. It's there and working... just not showing in the main menu.... If you have any suggestions as to what I'm doing wrong... (and I know I am, new to php) that would be great so I can get my normal board moved over soon.

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->

<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
</if>
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="timeslips.php?$session[sessionurl]">$vbphrase[timeslips]</a></td>
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">

Site is http://camarov6.com/forums/index.php?

Thank you too!! It's a great product
Steve

EvilLS1
02-09-2005, 08:28 PM
Steve,
Check to make sure that you added the phrase for timeslips.

Varname: timeslips
Text: Timeslips

tealv6
02-09-2005, 09:22 PM
Ok... I feel like an a$$... I knew that many hours of looking at code would rot my brain.

Thank you for enlightening me!!! On to the next hack :nervous:

Steve

zurih
02-10-2005, 08:51 PM
is it possible to make "modifytimeslip" template to be recognized as an individual? I want to make an if condition with define('THIS_SCRIPT', 'xxxx');

how can I do this with modifytimeslip?

thanks

EvilLS1
02-10-2005, 10:41 PM
is it possible to make "modifytimeslip" template to be recognized as an individual? I want to make an if condition with define('THIS_SCRIPT', 'xxxx');

how can I do this with modifytimeslip?

thanks

I think you could do it like this:

in profile.php find:

define('THIS_SCRIPT', 'profile');


Replace it with:


if ($_REQUEST['do'] == 'edittimeslip')
{
define('THIS_SCRIPT', 'modifytimeslip');
}
else
{
define('THIS_SCRIPT', 'profile');
}


If that doesn't work you could try something like this in your template conditional:

<if condition="$templatename == 'modifytimeslip'">


I haven't tried either of those but I think it'll work.

zurih
02-11-2005, 08:50 AM
thanks! it works
I used the first way :)

Protoman
02-16-2005, 10:30 PM
installed.
would there be a way to add a dyno chart upload to the timeslips display?

I'd be willing to loose the 'Induction' Column to make room for it

EvilLS1
02-16-2005, 11:10 PM
installed.
would there be a way to add a dyno chart upload to the timeslips display?

I'd be willing to loose the 'Induction' Column to make room for it

Its possible but will require alot of code edits to add that feature. I may add something like that in v2.2 but it'll be a while.

Protoman
02-16-2005, 11:46 PM
I can wait.. thanks, love the mod even as-is.

wynode
02-22-2005, 07:40 AM
I'm having a problem with the condition for uploading a timeslip.

I presently have the Require a Timeslip variable set to 13.95, however there seems to be a bit of a flaw when entering say a value quicker than that for the 1/4mile ET

For example, I just tested it using a value of 9 seconds for the 1/4mile ET and the pop up box didn't come up asking for a timeslip.

I then edited the same entry and put a value of 13 and then the dialogue box came up!

Any reason why?

PS: This is a great mod......and the install went fine :)

URL is --> http://www.ozhonda.com/forum

Thanks!

EvilLS1
02-22-2005, 09:52 PM
wynode,
Thats a bug in my javascript code. Thanks for pointing it out to me.

To fix it, in your modifytimeslip template find this:

<if condition="$vboptions[allowtimeslipupload]">
<script language="javascript">
<!--

function validate(theform) {

if ((theform.field55.value<='$vboptions[tdsliprequired]') && (theform.field55.value>0) && (theform.upload.value=="") && (theform.timeslipdateline.value=="")) {
alert("An uploaded copy of your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false; }
}
//-->
</script>

<else />
<script language="javascript">
<!--
function validate(theform) {
if ((theform.field55.value<='$vboptions[tdsliprequired]') && (theform.field55.value>0) && (theform.field57.value=="")) {
alert("A link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false; }
}
//-->
</script>
</if>


And replace it with this:

<if condition="$vboptions[allowtimeslipupload]">
<script language="javascript">
<!--

function validate(theform) {

if ((theform.field55.value<=$vboptions[tdsliprequired]) && (theform.field55.value>0) && (theform.upload.value=="") && (theform.timeslipdateline.value=="")) {
alert("An uploaded copy of your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false; }
}
//-->
</script>

<else />
<script language="javascript">
<!--
function validate(theform) {
if ((theform.field55.value<=$vboptions[tdsliprequired]) && (theform.field55.value>0) && (theform.field57.value=="")) {
alert("A link to your timeslip is required if your 1/4 mile ET is $vboptions[tdsliprequired] or quicker.");
return false; }
}
//-->
</script>
</if>



The instructions have been updated.

wynode
02-22-2005, 11:22 PM
Thanks for fixing that up EvilLS1 !!

I'm surprised nobody picked it up (actually I didn't either, another member did and pointed it out to me)

Great work and thanks for adding my site to your list! :)

-Win

92GreenGT
03-01-2005, 03:24 AM
Is there a way to make the times show up where the side where there name is when they post? Like Under the POST section on the left when the users post? THanks

EvilLS1
03-01-2005, 03:28 AM
Is there a way to make the times show up where the side where there name is when they post? Like Under the POST section on the left when the users post? THanks

Yep. Check this post:
https://vborg.vbsupport.ru/showpost.php?p=520300&postcount=239

You can make it show any of the timeslip fields by changing the ID in $post[fieldXX] ..

92GreenGT
03-02-2005, 04:56 PM
I added that to my postbit template under:

<div>
$vbphrase[posts]: $post[posts]
</div>

And its not showing anything. What did I do wrong, lol. Thanks

EvilLS1
03-02-2005, 08:05 PM
I added that to my postbit template under:

<div>
$vbphrase[posts]: $post[posts]
</div>

And its not showing anything. What did I do wrong, lol. Thanks

Which postbit template does your site use? If you use the postbit like the one here at vb.org you'll need to add the code to your postbit_legacy template.

Also, it will only show up for those who have entered something in the 1/4 mile et field.

92GreenGT
03-02-2005, 08:24 PM
Thats what I figured I was going to try it but I didnt. Thanks bro, I will let you know if it works out. The Timeslip mod is working out great though, thanks again.

92GreenGT
03-02-2005, 08:36 PM
It works my friend. Thanks, Is it possible to change the color of the text?

EvilLS1
03-02-2005, 09:38 PM
N/P. And yeah you can change the color to whatever you want with font tags. Check this link for examples:
http://www.tizag.com/htmlT/font.php

92GreenGT
03-02-2005, 09:42 PM
I should have know that also, thanks man. I got it in red like I wanted easy, thanks again.*Hits Install button thousand of times* :devious:

jadel
03-07-2005, 03:59 AM
I should have know that also, thanks man. I got it in red like I wanted easy, thanks again.*Hits Install button thousand of times* :devious:
I am running 3.07 and the only hack I have installed is vBgarage. In the image.php file I cannot locate the following text:

if ($_GET['type'] == 'profile')

and

if ($_REQUEST['type'] == 'profile')
{
$data = 'profilepicdata';
$table = 'customprofilepic';
// No permissions to see profile pics
if (!$vboptions['profilepicenabled'] OR (!($permissions['genericpermissions'] & CANSEEPROFILEPIC) AND $bbuserinfo['userid'] != $userid))
{
header('Content-type: image/gif');
readfile("./$vboptions[cleargifurl]");
exit;
}
}
else
{
$data = 'avatardata';
$table = 'customavatar';


Thanks in advance for your help.

EvilLS1
03-07-2005, 04:23 AM
jadel,
I just checked the vb 3.0.7 image.php and the code is there. Make sure you're looking in forums/image.php and not forums/admincp/image.php.

jadel
03-07-2005, 05:30 AM
jadel,
I just checked the vb 3.0.7 image.php and the code is there. Make sure you're looking in forums/image.php and not forums/admincp/image.php.
EvilLS1,

Thanks. I had first copied the admincp/image file and when I copied the correct one and pasted over the other is did not copy. I was still working on the wrong one. *slaps forehead*

Jpax
03-15-2005, 09:49 AM
Im getting this error when people edit the car profile.

Warning: Invalid argument supplied for foreach() in /includes/functions_user.php on line 584

What would cause this?

EvilLS1
03-15-2005, 01:19 PM
Jpax,
The instructions call for some large chunks of code to be added to functions_user.php.. One of them probably wasn't pasted correctly. Try carefully re-applying the edits to that file and it should fix it.

dmark101
03-19-2005, 01:47 AM
man, have i been lax on keeping up with updates of this hack.

just updated to 2.1, since i have vB 3.0.6 now and i like it. i did have to remove the original add-on hack for the ET limit before requiring a timeslip link though.

good work!

is there a way to have a validation for the type of vehicle, like the ET?

EvilLS1
03-19-2005, 02:00 AM
Thanks. You can add a little javascript to check and make sure the vehicle field isn't empty, if thats what you mean.. But since users can specify anything they want in the vehicle field I don't think it would be possible to validate specific types. You'd need to make the vehicle field a drop down box with specific types preset. Even then it wouldn't be easy.

dmark101
03-19-2005, 02:17 AM
Thanks. You can add a little javascript to check and make sure the vehicle field isn't empty, if thats what you mean.. But since users can specify anything they want in the vehicle field I don't think it would be possible to validate specific types. You'd need to make the vehicle field a drop down box with specific types preset. Even then it wouldn't be easy.

drat. that's kind of what i was hoping could be done: a drop-down listing with preset vehicle types, or at least some sort of check to prevent (as an example) a motorcycle from being posted on a car site's timeslip listing.

jeff bourman
03-19-2005, 10:47 AM
I will admit to being a complete n00b at this and it's all been a cut'n'paste exercise.
When I click on the Submit timeslip link ( http://192.168.0.5/profile.php?&do=edittimeslip) it just comes up blank. I don't expect you to tell me exactly where the problem is ( but it would be great :D ) but can you tell me which step would be the best place to start. I don't want to reload the site ( although it is a test site ) if at all possible.

the link in the address bar = http://192.168.0.5/profile.php?&do=edittimeslip

I looked in profile.php but it looks pretty well as it should be.

btw, the hack rocks!!! .. I have seen it elsewhere

Protoman
03-19-2005, 03:33 PM
not sure how to help, but if you want people to try out your site they need an external IP to your server. the address you have is your local network IP, nobody on the internet can access that directly

EvilLS1
03-19-2005, 05:02 PM
Jeff,
Check the 2nd edit to profile.php and make sure all of the code was pasted.. If so, check to make sure you added the modifytimeslip template.. Also check the spelling of the template name. If you use more than one style make sure the templates were added to all of them. One of those things should fix it.

jeff bourman
03-20-2005, 07:35 PM
not sure how to help, but if you want people to try out your site they need an external IP to your server. the address you have is your local network IP, nobody on the internet can access that directly

Thanks but I realise it was an internal IP. Whilst it is accessible via the internet I didn't want anyone to waste their time doing it for me .. rather I wanted an indication of where to look to find it myself. That was I can learn how to fix things :) When I really screw it up I wlll beg for help :P

EvilLS1, thanks .. I will troll though it and see what I missed

jeff bourman
03-20-2005, 08:30 PM
figured it out :)
I had a spare "); that I hadn't deleted. It caused problems further down the script
thanks for your help ..

jeff bourman
03-21-2005, 07:53 AM
Put it on the live site now.
If you want to add it to the happy customer list : www.fordforums.com.au

EvilLS1
03-21-2005, 11:39 AM
Put it on the live site now.
If you want to add it to the happy customer list : www.fordforums.com.au


Added. Looks like ya still need to upload the slip icon image for your default style. ;)

epic1
03-21-2005, 07:37 PM
<a href="http://www.fullthrottlev6.com" target="_blank">www.fullthrottlev6.com</a> added to mine, too. great script.

A few small requests that I'm getting from my staff:

Custom sort function. My board houses F-Body/W-Body/Holden vehicles. I'd love if there was a platform sort for each one that would only display the selected type. Another function would be a dyno image column, similar to that of proving your timeslip as an image.

If you added those, I'd be mad impressed but I realize that's me getting greedy. :P

jeff bourman
03-22-2005, 03:00 AM
uuuhh errr.. thanks .. thought I did it but obviously not

VB-Fanatiker
04-05-2005, 12:23 AM
I need a hack like this one, but it must be multiple. I found this page:
http://www.dodgetalk.com/forums/garage.php
That`s what I want. Somebody knows how it can be done that user can post more vehicles and how can be done the statistics like the page above? :rolleyes:

Sorry for my bad english, I`m german.

welo
04-05-2005, 01:09 AM
I need a hack like this one, but it must be multiple. I found this page:
http://www.dodgetalk.com/forums/garage.php
Wow. That's a pretty impressive garage. You might wanna look at this (https://vborg.vbsupport.ru/showthread.php?t=76163) and see if you can get that to work for you.

VB-Fanatiker
04-05-2005, 01:10 PM
Wow. That's a pretty impressive garage. You might wanna look at this (https://vborg.vbsupport.ru/showthread.php?t=76163) and see if you can get that to work for you.

I saw this hack, but there are any modifications to do. I'm not a coder... :ermm:

sunrunner_pei
04-08-2005, 05:35 PM
I've been running v1.3 on vB 2.2.9 for quite some time now, but we're currently testing a forum upgrade to 3.0.7. I got the forums upgraded, and trying to apply the TD 2.1 to it. Unfortunatly for me, I get the error

Database error in vBulletin 3.0.7:

Invalid SQL: CREATE TABLE customtimeslippic (
userid INT UNSIGNED NOT NULL DEFAULT '0',
timeslippicdata 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 error: Table 'customtimeslippic' already exists

mysql error number: 1050

when running the TDinstaller.php. I tried checking the User Profile Field Manager, but no profile fields show up in there (See attachment), although I know that fields exist in the database (They still show up when editing a user in the AdminCP, see other attachment). Since they're not displaying in the profile field manager, how can I get rid of those fields so I can re-install the hack?

Thanks so much for any help!

EvilLS1
04-08-2005, 05:54 PM
Sunrunner,
You're getting that error because the script was ran twice. Maybe you tried to run it before removing the old fields? The customtimeslipspic table is already there so the script gives the error because its trying to install the same table twice.

Anyway, to fix it we'll need to completely undo all the database changes made by this hack.

Use phpmyadmin to remove fields 50-65 from the userfields & profilefields tables. Drop the customtimeslippic table. Go into your user table and delete the tdban column.

Now log into your admincp, go to vboptions, then scroll down and look for Timeslip Database settings. If the settings are NOT there, run the installation script from the main (hack) post again. If the settings ARE there, run the attached TDinstaller.php instead.

That will fix it.

VB-Fanatiker
04-08-2005, 06:08 PM
I need a hack like this one, but it must be multiple. I found this page:
http://www.dodgetalk.com/forums/garage.php
That`s what I want. Somebody knows how it can be done that user can post more vehicles and how can be done the statistics like the page above? :rolleyes:

Sorry for my bad english, I`m german.

nobody knows the modifications to make the timeslip hack multiple? :rolleyes:

EvilLS1
04-08-2005, 06:12 PM
nobody knows the modifications to make the timeslip hack multiple? :rolleyes:

Sorry but I don't have time to code any custom hacks or combine mine with others. You could try asking someone in the requests forums.

VB-Fanatiker
04-08-2005, 06:16 PM
Sorry but I don't have time to code any custom hacks or combine mine with others. You could try asking someone in the requests forums.

Thanks for the answer. :surprised:

sunrunner_pei
04-08-2005, 06:24 PM
Thanks! That seemed to fix it!

On a side note, I did run the installer twice, but I ran it the second time because I forgot to record the error the first time. I didn't notice if the second error (Which I posted) was the same as the original error. Either way, I removed the fields manually, dropped that table, and ran your new installer, and it seemed to finish fine. Thanks so much for the help!

Grant Sherwood
04-17-2005, 05:12 AM
I cant find where to ban users from using the database. i click on the user options but it just takes me to their profile information and i can't find where to turn the timeslip thing off for them.

EvilLS1
04-17-2005, 05:45 AM
I cant find where to ban users from using the database. i click on the user options but it just takes me to their profile information and i can't find where to turn the timeslip thing off for them.

Looks like you missed some edits to admincp/user.php. Once you add the code to that file the options will show up right below where it says "link to timeslip".

Grant Sherwood
04-17-2005, 06:33 AM
aww crap. ok i will go back though it again. thanks for the help.

Grant Sherwood
04-17-2005, 06:42 AM
went backed and re-did it. everything working perfect now. Thanks again.

NDRPrelude
05-06-2005, 05:47 PM
I installed the add-on to show the top 5 times on my VBa CMPS homepage and the template shows up on the main page properly, but there are no times listed?

Update: Looks like the new .php in the ZIP file was transferred as a binary instead of ASCII.. Any way to get another copy?

EvilLS1
05-06-2005, 07:14 PM
I installed the add-on to show the top 5 times on my VBa CMPS homepage and the template shows up on the main page properly, but there are no times listed?

Update: Looks like the new .php in the ZIP file was transferred as a binary instead of ASCII.. Any way to get another copy?

You'd need to contact coolmody as he's the one who released that addon.

lionslair
05-07-2005, 07:34 AM
This is an awsome hack and I have installed it into our site http://www.commodorecarclubwa.com

SlowFiveOh
05-11-2005, 04:34 PM
This is a great hack! I am however having a slight problem with it. A few weeks ago we upgraded to the very latest version of VB. When we did that, one small glitch apparently occured with our database. Anybody with a 1/4 mile time in single digits went from the top of the list, to the very bottom. We cant explain why since im told nothing about the timeslip database was modified for the upgrade. Anybody know what I might need to be looking for to fix this?

Here is a link to the timeslip database. As you can see, everybody with a 9 second or better slip is on the very last page..
http://www.horsepowerjunkies.com/forums/timeslips.php?

Thanks,
Rog

EvilLS1
05-11-2005, 06:47 PM
Rog,
Check the note at the bottom of the hack post. ;)

Just upload this and run it. It'll fix your sorting problem.

https://vborg.vbsupport.ru/showpost.php?p=529402&postcount=274

joeychgo
05-13-2005, 01:30 PM
Installed this hack on my new Mopar Forum (http://www.forabodiesonly.com/mopar/timeslips.php) - Thanks for this great hack!

DTC
05-13-2005, 03:24 PM
Installed this hack on my new Mopar Forum (http://www.forabodiesonly.com/mopar/timeslips.php) - Thanks for this great hack!

Nice forum design on you nav link bar...a lot of thought went into it I'm sure...:rolleyes:

SlowFiveOh
05-15-2005, 03:57 AM
Rog,
Check the note at the bottom of the hack post. ;)

Just upload this and run it. It'll fix your sorting problem.

https://vborg.vbsupport.ru/showpost.php?p=529402&postcount=274

Thanks for pointing me in the right direction. I will definatly be more careful in making sure I read everything before I post a problem in the future.. :)

Thanks again!!!!

danhaga
05-24-2005, 04:11 PM
would it be hard to mod this into a dynograph page?

Tungsten
05-31-2005, 10:56 PM
EvilLS1 -- Today I added the timeslip database back to my forum installation, and I noticed that it seems all of my users have defaulted to not being able to upload timeslips to their profile.

What query can I run in Query Analyzer to reset all users to "YES - Can upload timeslips" ?

Thanks.

EvilLS1
05-31-2005, 11:03 PM
Tungsten,
No query needed. Theres a setting in your admincp to turn timeslip uploads on/off for all users. If you switch it to on everyone will be able to upload. The setting is under vb options - Timeslip Database settings.

Dewayne

Tungsten
05-31-2005, 11:16 PM
Thanks! I didn't realize it was set for everyone.

frankjp302
06-02-2005, 02:37 AM
I am working on upgrading this on my site. The first thing I did was use the script TD302 I believe, since I installed Timeslip 2.0 when running VB2.x. I upgraded to 3.07 and so started there. I then downloaded the upgrade to 2.1 script.

When I get to this part:

###### In admincp/user.php find:

print_yes_no_row($vbphrase['can_edit_vehicle_profile'], 'tdban',$user[tdban]);

###### Below it add:

print_yes_no_row('Delete Uploaded Timeslip?', 'deleteslip',0);

I can't find that in my user.php

Now....my site was hacked so I had to upload new VB files, thus erasing this. Do I have to re-install it fresh then?

Thanks

EvilLS1
06-02-2005, 02:44 AM
frankjp302,
Yes, you'll need to redo all the file edites if you uploaded fresh ones. Shouldn't need to run the upgrade script again though.

frankjp302
06-02-2005, 02:34 PM
frankjp302,
Yes, you'll need to redo all the file edites if you uploaded fresh ones. Shouldn't need to run the upgrade script again though.

Great...thanks...I'll go and re-do all that.

Very nice setup you have here!

JoeyAnderson
06-05-2005, 04:47 AM
Sweet Hack! I just installed it and it is running perfectly on my site, http://www.carolinarides.com

JoeyAnderson
06-05-2005, 06:10 AM
Any idea how to get it to sort by 1/8th mile ET by default?

EvilLS1
06-05-2005, 06:33 AM
Thanks Joey.. You can see how to change the default sort method in this post:
https://vborg.vbsupport.ru/showpost.php?p=477525&postcount=54
that shows how to change it to the 60' time but changing it to 1/8 mile ET is just as easy.

JoeyAnderson
06-06-2005, 04:51 AM
Also - when I try to edit a user's profile in my admincp, it sets their referrer to "tdban", and I have to delete the "tdban" in the referrer box before it lets me save. This started happening right after I installed this hack. Any ideas?

EvilLS1
06-06-2005, 08:33 PM
Never heard of that happening before. Only thing I can suggest is to carefully redo the file edits to admincp/user.php and see if that fixes it.

0ptima
06-12-2005, 01:35 AM
EvilLS1, are you going to make a VB 3.5 version?

EvilLS1
06-12-2005, 10:45 AM
Not right now (too much other stuff going on).. but whenever I get around to upgrading my board I'll port it over for 3.5.

JoeyAnderson
06-19-2005, 06:09 PM
Trying to make this work with vBindex, and I've followed the instructions 100%. When loading vbindex.php, I get these errors at the top of the page:

Warning: file(): URL file-access is disabled in the server configuration in /vbindex.php on line 199

Warning: file(http://www.carolinarides.com/forum/toptimes.php): failed to open stream: no suitable wrapper could be found in /vbindex.php on line 199

Warning: implode(): Bad arguments. in /vbindex.php on line 199

Any ideas?

Aeolian_X
06-21-2005, 07:19 PM
Just installed this on Pontiac Zone (http://pontiaczone.com) and the guys think it's cool. What they suggest is that there be an extra category for links to the video of their runs. Many of them have videos, which are even more proof than the slip itself. Very cool stuff.
I guess the link section could also be used to link to a personal website or something too.
Just a suggestion.

Aeolian_X
06-23-2005, 02:56 AM
What about when a user has more than one car?

Tungsten
06-27-2005, 07:36 PM
EvilLS1... we've noticed that for some reason we aren't seeing all of the users who have entered timeslip data. www.tennesspeeed.net/forums/timeslips.php

There are only 14 people listed there but reportedly there are more that just aren't showing up. Any ideas as to what I could check?

EvilLS1
06-27-2005, 09:37 PM
Joey,
I dont use vbindex so I can't help with those errors. Maybe SVTBlackLight01 can help.. He released the vbindex addon.

Aeolian_X,
Thanks for the suggestions. Maybe in a future version.

Tungsten,
Can you give me the username or better yet the user ID of a couple of your users who say their info isn't showing up? I want to look at something. Keep in mind, if they only enter 1/8 mile info and leave the 1/4 mile fields blank they will not show up unless you sort by 1/8 mile times.

Tungsten
06-29-2005, 11:30 AM
Joey,
I dont use vbindex so I can't help with those errors. Maybe SVTBlackLight01 can help.. He released the vbindex addon.

Aeolian_X,
Thanks for the suggestions. Maybe in a future version.

Tungsten,
Can you give me the username or better yet the user ID of a couple of your users who say their info isn't showing up? I want to look at something. Keep in mind, if they only enter 1/8 mile info and leave the 1/4 mile fields blank they will not show up unless you sort by 1/8 mile times.

Let me check the 1/8 mile thing. That may be it!

Tungsten
06-29-2005, 11:36 AM
Let me check the 1/8 mile thing. That may be it!
Yes, that was it. :rolleyes: I'm an idiot. :lol:

Silver_2000_)!
07-06-2005, 12:23 AM
Im running 3.07 and just tried to make a change to the avatar size for one of the usergroups and it resulted in this error which appeared to be Timeslip related
Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'TXXXX Member',
description = 'Active TXXXXX Members who have chosen to help support the site',
usertitle = 'TXXXX Member',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
ispublicgroup = '0',
canoverride = '0',
cantimeslip = '0',
attachlimit = '5000000',
avatarmaxwidth = '130',
avatarmaxheight = '130',
avatarmaxsize = '90000',
profilepicmaxwidth = '200',
profilepicmaxheight = '200',
profilepicmaxsize = '640000',
pmquota = '3000',
pmsendmax = '30',
forumpermissions = '127231',
pmpermissions = '3',
calendarpermissions = '23',
wolpermissions = '5',
adminpermissions = '0',
genericpermissions = '2367431',
genericoptions = '30',
arcadepermissions = '19'
WHERE usergroupid=9
mysql error: Unknown column 'cantimeslip' in 'field list'

mysql error number: 1054

I was able to update the size by editing the mysql directly but it would be nice to be able to use the gui ...

Any ideas ?

Doug

EvilLS1
07-06-2005, 01:59 AM
Doug,
The "cantimeslip" thing is not part of the hack itself.. Its from this addon:
https://vborg.vbsupport.ru/showpost.php?p=529235&postcount=270

Check over the code edits in that addon and see if everything is there. If it is, something has probably changed in 3.0.7 so email me your init.php file and I'll take a look.

Silver_2000_)!
07-06-2005, 02:16 AM
Doug,
The "cantimeslip" thing is not part of the hack itself.. Its from this addon:
https://vborg.vbsupport.ru/showpost.php?p=529235&postcount=270

Check over the code edits in that addon and see if everything is there. If it is, something has probably changed in 3.0.7 so email me your init.php file and I'll take a look.

You rock - That fixed it - I hadent updated the code since 3.01 ....

THANKS

Aeolian_X
07-11-2005, 08:29 PM
I really hope you can add more timeslips/cars per user in the next version. I have people signing up now under multiple usernames just to post timeslips. I've forced them to make 10 posts before being able to use the timeslip database, but they just make 10 stupid posts just to use it. LOL! I hate to force rules on everyone, just for a few jerks, but that's the internet for ya.

JoeyAnderson
07-18-2005, 07:10 PM
Any word on a new version for 3.5.0?

EvilLS1
07-18-2005, 10:57 PM
JoeyAnderson,
vB 3.5.0 is still beta and will probably see many more code changes before the final stable version is released. So I won't begin porting the hack until its out of beta.

FOZ13
08-01-2005, 11:25 AM
Has anyone got a FAQ section written up for this?
I know its pretty damn simple but unfortunately there are those people around that need that little extra help!

Tungsten
08-08-2005, 01:33 PM
JoeyAnderson,
vB 3.5.0 is still beta and will probably see many more code changes before the final stable version is released. So I won't begin porting the hack until its out of beta.

With vB 3.5 well into the Release Candidate stage, can we expect to see a revised version of the Timeslip database soon? There are new features with vB 3.5 that I'd like to take advantage of, but my users are very attached to the timeslip db as well.

agrajeda
08-12-2005, 03:36 AM
I have it on my site too. Can you list me under your name? www.s10planet.com

dodgez
08-16-2005, 06:09 PM
great hack, can't wait to see it for 3.5

Fastbird
08-17-2005, 01:05 AM
Is there any news on the workings of a hack for multiple cars/timeslips under one user??

The-Jester
08-21-2005, 12:44 AM
Thanks a million Evil! I LOVE this hack! One quick question though. Being the admin, is there a way I can edit/delete other members timeslip data? Have a clown on there playing games, and I want to get rid of his entry altogether.

Thanks again!!!

0ptima
08-21-2005, 12:54 AM
Thanks a million Evil! I LOVE this hack! One quick question though. Being the admin, is there a way I can edit/delete other members timeslip data? Have a clown on there playing games, and I want to get rid of his entry altogether.

Thanks again!!!

In the admincp, you can edit the information under the member's profile. You can also prevent him from entering in his timeslip info.

The-Jester
08-21-2005, 03:28 AM
Thanks for the help! I looked ALL over in there. Well, obviously not ALL over! LOL

Thanks again!

Chris 96 WS6
08-30-2005, 08:01 PM
Has anybody run this with 3.0.8 yet? Will it work?

MSC James
08-31-2005, 12:40 AM
Yes, I've just installed it on 3.0.8, flawless. Incidentally it's located here (for the link thing):

http://www.micra.org.uk/timeslips.php

James :)

JamieK18T
09-10-2005, 04:55 PM
I couldn't find the required code in image.php, I'm running 3.09

JamieK18T
09-12-2005, 03:41 AM
eh, so how would i go about reversing the modifications the install file made?

EdQ
09-12-2005, 03:32 PM
eh, so how would i go about reversing the modifications the install file made?

Yes I need to uninstall it also.

BlueBulletRL
09-17-2005, 10:06 AM
I'm having an issue that when you click the slips icon to show the time slip that was uploaded I am getting a page not found error. What am I missing?

brendonm
09-19-2005, 10:12 PM
Until recently I was running 2.0.9 at www.skylinesdownunder.com/forums however have just last week upgraded to 3.0.9.

Is anyone here running this on a 3.0.9 version site yet?

I have just ran the TD302.php script in order to prepare my database for upgrading to V2.1 (or which is ever is compliant with VB3.0.9). After reading the 44 pages here and seeing the 4 posts above am wondering if I should wait... ...actually the upgrade has got me a bit stumped as I am wondering what the next step is. Ideally I'd retain the existing user entries from timeslipv1.2 (vB2.0.9) as I have thousand of user entries and it'd be good to not have to email everyone to re-enter their data.

The existing timeslip data resides in those fields:
Ride 50
Horsepower 51
60 Foot Time 52
1/8 Mile ET 53
1/8 Mile MPH 54
1/4 Mile ET 55
1/4 Mile MPH 56
Link to Timeslip 57

From what I understand Christian from www.skylinesaustralia.com did'nt manage to upgrade and generally had issues running vBulletin altogether and noticed he has jumped ship to IPB. vB is the way and I am not so easily perturbed, therefore look forward to not only getting this working on my vB 3.0.9 install but to also retain existing user data.

From what I understand I think my next step should be to remove the .sql in TDinstaller.php which relates to the addition of fields 51 - 57, and then go through the file modification steps accordingly. Please let me know if you think I am off track there. I guess the big thing is, does it work on 3.0.9?

tteal
09-26-2005, 03:21 PM
Any chance this will be ported over to vbulletin 3.5? Just asking.

Thanks again EvilLS1... appreciate all your efforts!

justchil
09-27-2005, 04:59 PM
I'm getting a JS error only in IE on the Vehicle Profile from the UserCP. I haven't been able to find the problem.

I'm using 3.0.9

Line: 607
Char: 30
Error: Syntax Error
Code: 0
URL: http://mydomain.com/forums/profile.php?do=edittimeslip

Everything works just fine.. just that one error to fix up.. any idea's?

Fastbird
09-29-2005, 12:33 AM
Ever since installing the TD, we've had a problem in the admin page when we are in the admin cp. When we click "search for users" we get the following error:

Parse error: parse error, unexpected T_STRING in /home/elitepla/public_html/admincp/user.php on line 988

When I open the file, this is what line 988 says:

$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET tdban=$tdban WHERE userid=$userid");

The same thing also happens when I click on the user options on a users public profile page.

Any ideas?? I REALLY need to get access to these user pages as we've got a guy breaking the rules who needs a smackdown.

tteal
09-30-2005, 07:04 PM
Any chance this will be ported over to vbulletin 3.5? Just asking.

Thanks again EvilLS1... appreciate all your efforts!

Hello?

dmark101
10-02-2005, 05:45 AM
Any chance this will be ported over to vbulletin 3.5? Just asking.

Thanks again EvilLS1... appreciate all your efforts!

his last update to the original posting said there was no more support.

nice. i'm having a few problems with this 'mod' after moving to 3.5 and if i can't fix it, it's being removed. :ermm:

0ptima
10-02-2005, 04:40 PM
Im still on the 3.0.x version but I beleive there is backward compatibility option to run old hacks in 3.5. Has anyone tried to see if this hack would work in this mode?

DrewzR/T
10-05-2005, 02:50 PM
Awesome !!!!!!!!!!! Clicked Install! I'm even a newb at this hack stuff and it took me about 15 minutes.

Tru2Chevy
10-05-2005, 05:07 PM
Im still on the 3.0.x version but I beleive there is backward compatibility option to run old hacks in 3.5. Has anyone tried to see if this hack would work in this mode?

Can you explain this further? I haven't heard of such a feature in 3.5.


- Justin

slvr ralliart
10-08-2005, 03:47 PM
would someone please install this hack for me? I have having a very hard time with intalling it.

DrewzR/T
10-08-2005, 10:48 PM
I cant find this!

EDIT Sorry forgot to mention this is for adding the club member tag to the postbit. :squareeyed:


$show['reputationlink'] = iif($vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), true, false);
break;
}



This is what I have!

$show['reputationlink'] = iif(($permissions['genericpermissions'] & CANUSEREP OR $post['userid'] == $bbuserinfo['userid']) AND $vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), true, false);
break;
}

Silver_2000_)!
10-08-2005, 11:30 PM
I cant find this!

EDIT Sorry forgot to mention this is for adding the club member tag to the postbit. :squareeyed:


$show['reputationlink'] = iif($vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), true, false);
break;
}



This is what I have!

$show['reputationlink'] = iif(($permissions['genericpermissions'] & CANUSEREP OR $post['userid'] == $bbuserinfo['userid']) AND $vboptions['reputationenable'] AND $bbuserinfo['userid'] AND $post['userid'] AND !($usergroupcache["$post[usergroupid]"]['genericoptions'] & ISBANNEDGROUP), true, false);
break;
}


Its likely that you are using a version of VB is later than the hack was written for

DrewzR/T
10-09-2005, 12:12 AM
Its likely that you are using a version of VB is later than the hack was written for

yeah Im runnin 3.0.7 and its for 8.

Anybody try doing this on 7 or have any coding suggestions? :squareeyed:

Silver_2000_)!
10-09-2005, 12:17 AM
code looks close enough for me

one.eg6
10-11-2005, 12:32 AM
Maybe someone can help me track down where I messed up...

My users keep getting this error:

"You have not completed the required field "Engine type and displacement."

When trying to save their vehicle information. Well that field isn't even there. I'm not sure if another mod interfered with this or not.

Help please. :)

Thanks,
Sean

charlie_css
10-12-2005, 08:58 AM
Great hack! It is now in use at http://www.cincystreetscene.com

I do have one small problem though, maybe you can point me in the right direction. The vehicle profile page is showing up with a lot of "tr>" in a line above the vehicle info. I'm sure its just something I pasted in wrong, but I'm not sure what file to look at. Some advice would be great.

Thanks again,
-Charlie

EvilLS1
10-12-2005, 05:32 PM
Hi folks. Sorry I've been away for so long but I've been really busy lately & don't have much time to even get online anymore. I have to leave again for work in few minutes but I'll try to answer a couple of questions before I go.

As far as porting this hack over to vb3.5.0 goes, I haven't even upgraded my own site yet so I can't really give a specific date. It could be a month, it could be a year. I don't know.

If any of you coders wanna port this hack over yourself you have my permission.. However, if you use any of my code or design I would appreciate it if you'd leave my name & link (along with yours) at the bottom of the timeslips main page where it says "vB Timeslip Database v2.X by EvilLS1". You can add your name next to it ofcoarse. I've put alot of time & work into this hack and the links are helpful to me because they improve my site's page rank. So please show a little consideration there. Thanks.

one.eg6,
Go to your admincp, and look under custom profile fields. Find that field and set it so that its not a required field.

charlie css,
That does sound like the html is broken or pasted wrong in one of the templates. Re-pasting the code into these templates should fix it: getvehicleinfo, timeslips_customfields, modifytimeslip.

tteal
10-12-2005, 11:23 PM
Hi folks. Sorry I've been away for so long but I've been really busy lately & don't have much time to even get online anymore. I have to leave again for work in few minutes but I'll try to answer a couple of questions before I go.

As far as porting this hack over to vb3.5.0 goes, I haven't even upgraded my own site yet so I can't really give a specific date. It could be a month, it could be a year. I don't know.

If any of you coders wanna port this hack over yourself you have my permission.. However, if you use any of my code or design I would appreciate it if you'd leave my name & link (along with yours) at the bottom of the timeslips main page where it says "vB Timeslip Database v2.X by EvilLS1". You can add your name next to it ofcoarse. I've put alot of time & work into this hack and the links are helpful to me because they improve my site's page rank. So please show a little consideration there. Thanks.

one.eg6,
Go to your admincp, and look under custom profile fields. Find that field and set it so that its not a required field.

charlie css,
That does sound like the html is broken or pasted wrong in one of the templates. Re-pasting the code into these templates should fix it: getvehicleinfo, timeslips_customfields, modifytimeslip.

Hey there stranger!

No need to explain that you have a life beyond the internet :-) I for one, appreciate your hard work and also appreciate you posting up your contributions!

If you hack it to 3.5 so be it... if not, so be it as well and perhaps someone else will give it a try.

Cheers,
Tim

charlie_css
10-12-2005, 11:55 PM
That was it Evil! It was timeslips_customfields. I spotted that I had missed the first < as soon as I opened the template.

Thanks for the quick response, and thanks again for the great hack!

-Charlie

0ptima
10-16-2005, 05:21 AM
If any of you coders wanna port this hack over yourself you have my permission..


Thanks! Anyone up to the job?

0ptima
10-16-2005, 05:24 AM
Can you explain this further? I haven't heard of such a feature in 3.5.


It was on VB.com that I heard that. Try contacting jelsoft to get a 100% confirmation.

bobs409
10-18-2005, 10:55 PM
Would love to add this to my forum but just upgraded to 3.5 so guess I'm out of luck for now.

Sure hope this becomes available for the new version of VB. :squareeyed:

BlueBulletRL
10-21-2005, 05:30 AM
I'm willing to give this a shot since I wanna upgrade my car club website and this is one thing everyone uses. I'll let everyone know how it turns out.

Tru2Chevy
10-24-2005, 05:20 PM
I'm willing to give this a shot since I wanna upgrade my car club website and this is one thing everyone uses. I'll let everyone know how it turns out.

I'm sure there would be many very appreciative members here if you could get this mod to function with 3.5.

The Timeslips and Garage mods were half of the reason that I bought a vBulletin license, and 3.5 was released before I could get my database imported into 3.0.x, so I was out of luck due to not having a compatible version of ImpEx.

- Justin

tteal
10-24-2005, 09:06 PM
I'm willing to give this a shot since I wanna upgrade my car club website and this is one thing everyone uses. I'll let everyone know how it turns out.

Please let us know.......... Thanks!!!!

MrMister
10-25-2005, 09:02 PM
<a href="http://www.NYSpeed.com" target="_blank">www.NYSpeed.com</a>

Timeslip dB installed!

Thanks a lot man, GREAT hack

BackSideSA
10-27-2005, 02:22 PM
anyone want to make some money and help me with this? i have no coding experience what so ever!

email me at backsidesa@gmail.com

noppid
10-28-2005, 10:00 PM
anyone want to make some money and help me with this? i have no coding experience what so ever!

email me at backsidesa@gmail.com

I converted timeslips.php for a customer. I looked at the hack and lost interest. It seems way to big for it's purpose to me.

tteal
10-29-2005, 07:42 PM
anyone want to make some money and help me with this? i have no coding experience what so ever!

email me at backsidesa@gmail.com

I'd be willing to pitch in some $$$$ for someone to convert this over to work with vbulletin 3.5 ... any takers?

Sidewindr
11-02-2005, 01:45 AM
Ditto...

BackSideSA
11-02-2005, 03:53 AM
No input file specified.

we got this installed but get that error???

punch
11-02-2005, 03:04 PM
I'm willing to give this a shot since I wanna upgrade my car club website and this is one thing everyone uses. I'll let everyone know how it turns out.

Same boat here. I'd donate to anyone who gets this working for 3.5.

joeychgo
11-04-2005, 10:24 PM
Im sure if you guys motivate noppid a little he'll do it. Contact him HERE (http://www.vbwebmaster.com/forums/member.php?u=26) - He has alot of paying work right now but im sure he could be convinced.

Sidewindr
11-14-2005, 09:54 AM
Warning guys, we had some drop kik DoS our Forum tonight via the timeslip.php file. they just set something to continuously request http://site.org/forum/timeslip.php? and this caused the load to skyrocket and DoS'd us. Any ideas how forum permissions can be applied to this file??

Silver_2000_)!
11-14-2005, 10:08 AM
Warning guys, we had some drop kik DoS our Forum tonight via the timeslip.php file. they just set something to continuously request http://site.org/forum/timeslip.php? and this caused the load to skyrocket and DoS'd us. Any ideas how forum permissions can be applied to this file??

Couldnt that be done by requesting ANY php file that contained a couple queries ?
If yes then how do you prevent it ?

Doug

Sidewindr
11-14-2005, 10:12 AM
Couldnt that be done by requesting ANY php file that contained a couple queries ?
If yes then how do you prevent it ?

Doug

Correct, although not quite as bad, the timeslip db makes alot of DB queries..

Is there any way to limit the number of queries any 1 client can make per second?

EvilLS1
11-14-2005, 03:57 PM
A typical (unmodified) timeslips page makes 7 queries. The page you're viewing right now makes 19.

Sidewindr
11-22-2005, 08:42 PM
It's odd because it was just that page that caused the problem .. maybe it's doing a more complex query ?? I don't know .. but didn't happen with the other pages only the timeslip page was targetted .. wierd.

noppid
11-22-2005, 11:15 PM
The problem is that the custom fields are not indexed and the userfield table is walked 6 times right off the bat doing compares of the field setting.

On a large forum, this == bad.

Adding an index to the custom fields 51 through 56 could show you an improvement.

Sidewindr
11-23-2005, 03:45 AM
The problem is that the custom fields are not indexed and the userfield table is walked 6 times right off the bat doing compares of the field setting.

On a large forum, this == bad.

Adding an index to the custom fields 51 through 56 could show you an improvement.


How might I index said fields ? :) I am not sure how to do this as I've never done nor had to do this before.

dmark101
11-30-2005, 03:43 PM
i haven't been following this thread in a while. i take it there won't be a version for 3.5.x?

it's a really popular feature on my board and the members are clamoring for it, along with the trader ratings hack. :(

Sidewindr
12-01-2005, 01:25 AM
It would be nice if someone could port it to 3.5 as a product. That somebody would be me if I had the smarts but unfortunatley I'm just a hack ;)

slvr ralliart
12-01-2005, 01:41 AM
I saw someone using vb. 3.5.1 with this hack on their site. I was looking to see if a new upgarde was made and come to see it was this version on their 3.5.1

dmark101
12-01-2005, 04:53 PM
I saw someone using vb. 3.5.1 with this hack on their site. I was looking to see if a new upgarde was made and come to see it was this version on their 3.5.1

really?

i'd love to know how they ported it over.

tteal
12-01-2005, 06:49 PM
It would be nice if someone could port it to 3.5 as a product. That somebody would be me if I had the smarts but unfortunatley I'm just a hack ;)
Just like I've said previously, I'd be willing to pitch in some $$$$ to someone to help with this development effort. Ever since I've upgraded to 3.5 version I've lost the timeslips which is an important part of my automotive website.

Cheers,
Tim

Sidewindr
12-01-2005, 10:49 PM
I started porting it but it would be just a port of the old hack, much better if someone could integrate it into the Product/Plugin Management system etc.

The porting is not going well either, my php is not good enough ;)

meissenation
12-29-2005, 09:29 PM
Bump. Has anyone successfully ported this to 3.5 yet?

XtremeOffroad
12-29-2005, 10:00 PM
I'd like to see this as well for 3.5.2. for Quad and other Offroad trials if possible.
:nervous:

tteal
12-31-2005, 12:43 AM
Would love to have this hack on my site again.... I have all the previous data from when I was running 3.0.X and now running 3.5X ...... anyone that can help?

Carforumsnet
01-18-2006, 07:59 AM
You can list my site http://www.carforums.net as having this hack installed :)

CanuckDave
01-21-2006, 09:37 AM
I run the website for a Supra club, and I'm converting the site to vB 3.5 right now, so I'm wondering if anybody is planning on porting this to the newer vB version? it's a feature that I'd really like to add to the site. If somebody is willing to do the work, I'd be willing to pitch in little $$

peterska2
01-21-2006, 09:43 AM
* peterska2 comes in and looks around whistling

Erm ...... https://vborg.vbsupport.ru/showthread.php?t=104471

* peterska2 goes out again still whistling

CanuckDave
01-21-2006, 10:24 AM
* peterska2 comes in and looks around whistling


Erm ...... https://vborg.vbsupport.ru/showthread.php?t=104471

* peterska2 goes out again still whistling

oh wow.. can't believe I missed that. thanks!

Zachariah
01-26-2006, 09:16 PM
I'll work on a 3.5.
- if hotwheels does not work.

Zachariah
01-27-2006, 03:07 AM
We are good to go, I'll poke around on it next few days.
- I'll need some beta testers.

Thanks for all your hard work Sir.

Good to hear. I've been getting alot requests for that hack aswell but just dont have time to port it right now due to working two jobs. I know a lot of members here will be very happy to see it ported. And sure, if ya have any questions just shoot me a PM. I'm not online every day so it may take a few days for me to reply but I'll answer asap. Good luck with it.

SVTOA
01-27-2006, 12:43 PM
I have a test board for beta testing if you wish...

Sidewindr
01-27-2006, 01:09 PM
Count me in as a Beta Tester ;)

CanuckDave
01-27-2006, 05:21 PM
you can add me to the list of beta testers too if you need, I'd be happy to do it.

garycutri
02-04-2006, 05:06 PM
Hi,

I've just stared a Automotive forum at www.ls6.com.au/forum (not live yet) and I would like to add this timeslip mod to my site. Is there an update for vb 3.5.3?

NitroSimSev
02-04-2006, 05:51 PM
Count me in Zach....I would love to have this on my site... http://www.nitrosim.com

hotwheels
02-05-2006, 06:04 AM
k, i need to make myself a test site without all the extra hack's i have in order to share what i have gotten so far.........I am on my work computer right now, and will be on graves for a few more day's.......i will try tuesday or wends. to post up what i have gotten.......

I believe i have it working fairly well at this point, and all the function's are working as they did on the older version for 3.0........after that, hopefully other's can jump in and help fine tune it.......peace, hotwheels

Zachariah
02-09-2006, 11:48 AM
About 60% done.

:D

hotwheels
02-09-2006, 12:52 PM
You guy's that are posting here in the 3.0 section, are you wanting an upgrade to 3.5? Just curious.........

joeychgo
02-11-2006, 10:46 PM
actually - I want a full release for 3.5

XtremeOffroad
02-12-2006, 04:42 AM
actually - I want a full release for 3.5
ditto

Zachariah
02-12-2006, 01:20 PM
delays delays ... worken on it :D

interceptor
02-12-2006, 01:40 PM
delays delays ... worken on it :D

but how it works on this site:

http://www.tennesspeed.net/forums/timeslips.php

they run 3.5.3 version

Zachariah
02-12-2006, 02:00 PM
Well I was working on less file edits so that the upgrade to next ver of vb3.5 would not need so many file edits to get it working again.

- I can slap it together and make people do file edits. Later work out problems and fixes and less file edits.

Talk to me. :)

interceptor
02-12-2006, 02:11 PM
sorry ,just asking..

Zachariah
02-12-2006, 02:22 PM
No way do I have anger.
No reason to apologize.

Do the masses (all that will use the hack) want a hack ASAP ?
- fast and dirty w/ file edits or wait.

:D

0ptima
02-13-2006, 02:06 AM
Please take your time and release an excellent product!

Sidewindr
02-14-2006, 08:36 AM
Yeap I want it bad .. but I want a nice product version of it too :D

wynode
02-20-2006, 07:03 AM
Just a quick question.

Are the timeslip images stored in the database? Reason being is that all my uploaded timeslip images have been corrupted. Any way I can fix the images (they images load but look all messed up)

Derekclarke
02-22-2006, 02:47 PM
Do you know if this is compatable with Version 3.5.4 ?

Chris 96 WS6
03-01-2006, 08:15 PM
We are good to go, I'll poke around on it next few days.
- I'll need some beta testers.

Thanks for all your hard work Sir.

I'll beta test it... I have 3 vb 3.5 sites...

garycutri
03-18-2006, 03:29 PM
Here it is:

For vB 3.5.x
https://vborg.vbsupport.ru/showt...219#post928219

I have been testing it for over the past month and it works great:

http://www.ls6.com.au/forum/timeslips.php?

Big thanks to deathemperor to fixing this for everyone.

Silver_2000_)!
03-18-2006, 04:41 PM
Here it is:

For vB 3.5.x
https://vborg.vbsupport.ru/showt...219#post928219

I have been testing it for over the past month and it works great:

http://www.ls6.com.au/forum/timeslips.php?

Big thanks to deathemperor to fixing this for everyone.

Your link is broke - you cant copy a long link from another forum post - the ... screws it up

I think you are trying to link here
https://vborg.vbsupport.ru/showthread.php?p=928420#post928420

ddolliver
03-29-2006, 05:14 AM
Add these website to installed users:

http://www.NLOC.net
http://www.NHTOC.com

Thanks!

CrashfAB
03-29-2006, 03:26 PM
I would LOVE to have this for 3.5.4

z06
04-26-2006, 02:48 PM
Is this going to be ported to vB 3.5x anytime soon? I'd like to implement it.

NathanLedet
07-21-2006, 04:06 PM
z06, CrashfAB, I just installed the timeslip db on 3.5.4 and it works great (other than one bug that i've posted already to try to get fixed....here's the link for it:

https://vborg.vbsupport.ru/showthread.php?t=110717

You can check out the timeslips db on my forum, and also please add this web site to the list:

http://www.NitrousForum.com

rcull
11-11-2006, 02:23 PM
I just recently upgraded from vb 3.5.4 and timeslips running 1.1.4

I was hopeing for a quick and easy upgrade like everyone else, but :( I seem to have a problem:

Fatal error: Call to a member function on a non-object in /home/teambuic/public_html/forums/admincp/TDinstaller.php on line 63

What did I do wrong already?

Thanks


line 63 on is:
$DB_site->query("CREATE TABLE " . TABLE_PREFIX . "customtimeslippic (
userid INT UNSIGNED NOT NULL DEFAULT '0',
timeslippicdata 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))");

hotwheels
11-11-2006, 11:12 PM
rcull, the installer no longer works...........you have to use deathemporors 3.5.4, especially if you are on 3.5.4 timeslips (timeslips).............

rcull
11-12-2006, 03:19 PM
Mmmm...

I was running vb3.5.4 with timeslip v1.1.4, I have upgraded to vb3.6.2.

So in order to get my timeslips back up and running, I shouldn't upgrade to timelslip 2.1?

I should just go back and check all the "phrases to add" and continue with the timeslip v1.1.4?

hotwheels
11-12-2006, 04:08 PM
v2.1 is for 3.0............

You will just need to use the one in the link from right above your last post.......

rcull
11-15-2006, 02:11 PM
Sorry, the first instal went so well, this fix ain't...

When I click on a users name in the timeslip list, I get:

Invalid SQL:

SELECT profilefieldid, required, title, type, data, def, height
FROM vb3_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 : Wednesday, November 15th 2006 @ 04:05:15 PM
Script : http://www.teambuick.com/forums/member.php?u=3645
Referrer : http://www.teambuick.com/forums/timeslips.php?
IP Address : 24.66.129.166
Username : rcull
Classname : vb_database


It seems for whatever reason, I now need a profile field "title".
I have clicked on add a field, and find:

1 If field type is "enum" or "set", please enter the values using this format: 'a','b','c'...
If you ever need to put a backslash ("\") or a single quote ("'") amongst those values, precede it with a backslash (for example '\\xyz' or 'a\'b').

2 For default values, please enter just a single value, without backslash escaping or quotes, using this format: a


I have never done this before?!? or.... maybe I am just lost trying to fix this!

ALSO:
The descriptions are missing over all textboxes?

hotwheels
11-15-2006, 07:38 PM
Rcull, you will need to follow these new instruction's to make it work correctly. https://vborg.vbsupport.ru/showpost.php?p=1115079&postcount=354

What that error is telling you, is that you don't have the word "title" in the profilefield. You may need to make sure that your change's go with your mysql. My profilefield is named vb3profilefield, your's might be profilefield, without the vb3 in the front, so you would have to make the change's to the query as such.
Let me know if that make's sense man, i will stop by once in a while to see how thing's are going with the query run....

rcull
11-17-2006, 03:21 PM
Hotwheels,

Thanks! I really enjoyed adding the title and description to the database. I learned a lot (twice nothing is still nothing...:)).

I still am experienceing a problem with fields not showing up. They now have aa and a over each textbox. Have I lost something else in my database?

http://www.teambuick.com/forums/profile.php?&do=edittimeslip

I looks like it has something to do with the install TDinstaller.php which didn't run. It looks like I now have to add some data to the tables?

Thanks

hotwheels
11-17-2006, 06:51 PM
Try going into your vbulletin admincp, and rerunning the .xml.......and click overwrite. Let me know what happens.
If you made the file edit's and then did the queries, (which it sounds like you did). You will need to run the .xml as the last step, this way it will run the rest of the queries that are in deathemperor's file.....

rcull
11-17-2006, 11:02 PM
That doesn't seem to have solved the problem, and it sounded like such a good thing to do! What should I try next?
The aa seems to be coming from the Default2 in the title table
The a seems to be coming from the Default2 in the description table

It would appear that my tables need more development. I know this will work, I just wish I wasn't having so much difficulty.

Thanks

hotwheels
11-19-2006, 02:15 PM
Okay rcull, i registered on your site today and had a look at your timeslip's......

First question, and without seeing your database and mysql, i won't know, but did you do all of the updated file need'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';
} etc............?

and etc...... ###### 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
");

hotwheels
11-19-2006, 02:51 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......

hotwheels

rcull
11-19-2006, 04:39 PM
Hotwheels,

I checked the file edits, then I imported your new .xml and am still stalled.

I do have a test site that is still running 3.5.4 and I just installed timeslips 1.1.4 and it seems to be running. I could try the upgrade and see what happens, but I would be happy to send you the log in info. If you would like to contact me here (http://www.teambuick.com/forums/sendmessage.php), I will send the info to you.

I know your trying hard to help.

Thanks

hotwheels
11-19-2006, 08:00 PM
Rcull, just let me know next time you are online and i will help ya out.........I think we just got smokinz28 hooked up, so we can do your's when you are ready.......

Meantime, i will try to play around with the edit's........and smokinz28's was a fresh install...

If you really need to contact me, just come to my site and we can chat there........I am usually online there all the time......here would be hit and miss...later bro, doug

hotwheels
11-20-2006, 02:41 PM
Please view this thread. (thread.)

shepdogg
12-27-2006, 04:29 PM
i get this if i click time slips on the nav bar

Database error in vBulletin 3.6.4:

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 : Wednesday, December 27th 2006 @ 06:22:32 PM
Script : http://www.fastratproductions.co.uk/...timeslips.php?
Referrer : http://www.fastratproductions.co.uk/forums/index.php
IP Address : 80.193
Username :
Classname : vB_Database

and if i try Edit Vehicle Profile i get this

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.

help please

thanks

chris

wickedstangs
03-03-2007, 12:08 PM
Newbie here.. For the life of me I cannot find these file: (Templates to edit: (2)- USERCP_SHELL, navbar) Where are they located?

thunder_sti
07-17-2007, 03:21 PM
Would any of these 2 - vB Timeslip database versions work with 3.6.7 ???

HotRodGyrl
10-30-2007, 03:22 PM
Is there any support for this anymore?

I think i'm doing it wrong..heh

wickedstangs
10-30-2007, 03:39 PM
Would any of these 2 - vB Timeslip database versions work with 3.6.7 ???

I used this one for 3.6.8 and it works.. Click Here (https://vborg.vbsupport.ru/showthread.php?t=110717)

LCN2007
02-23-2008, 02:47 AM
Is their any support for this mod at all from anyone? i have a couple questions?

CDNR
05-15-2008, 11:43 AM
I just installed the timeslips on dragplace.com, and it works great.

Users are VERY happy. Thanks bunches!

rhorman
10-15-2008, 03:20 PM
Does this work on vBulletin 3.7.3? Anyone know?

Thanks,
Ry