vb.org Archive

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

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

Quote:

Originally Posted by 92GreenGT
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....&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

Quote:

Originally Posted by 92GreenGT
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

Quote:

Originally Posted by 92GreenGT
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

Quote:

Originally Posted by EvilLS1
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

Quote:

Originally Posted by EvilLS1
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

Quote:

Originally Posted by corollasbest
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

Quote:

Originally Posted by jeff bourman
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

Quote:

Originally Posted by VB-Fanatiker
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 and see if you can get that to work for you.

VB-Fanatiker 04-05-2005 01:10 PM

Quote:

Originally Posted by welo
Wow. That's a pretty impressive garage. You might wanna look at this 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

Quote:

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

Quote:

Originally Posted by VB-Fanatiker
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

Quote:

Originally Posted by VB-Fanatiker
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

Quote:

Originally Posted by EvilLS1
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

Quote:

Originally Posted by Grant Sherwood
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

Quote:

Originally Posted by NDRPrelude
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.


All times are GMT. The time now is 08:03 AM.

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

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

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

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