![]() |
Quote:
|
This hack is a good idea.
Is there something similar that will allow the user to add say 4 images via an upload button, some custom fields & a 500 character description field? I run an automotive site. This is our current member gallery: http://www.aussiefrogs.com/gallery/usergallery.htm It is cluttered & requires a lot of maintenence. If the members could update their own page within the forum software it would be really good :classic: |
Quote:
Christian |
Quote:
<tr align="center"> <td class="alt1">$rank</td> <td class="alt2""><a href="member.php?$session[sessionurl]u=$userinfo[userid]">$username</a></td> <td class="alt1">$ride</td> <td class="alt2">$induction</td> <td class="alt1"">$avghp$rwhp</td> <td class="alt2">$avgsf$sixty</td> <td class="alt1"">$avge$eighth$atmph1$eighthmph$spacer $avgemph</td> <td class="alt2">$avgq$quarter$atmph2$quartermph$space r$avgqmph</td> <td class="alt1"">$details</td> <td class="alt2">$slip</td> </tr> And my user fields include 1-10 and 50-65. |
Quote:
|
Quote:
If you just need a good gallery, there are a few free ones that are good. Coppermine is good. Or if you want to pay for a gallery, check out PhotoPost. |
gibgib,
Yeah what you want is the vbgarage that everyone keeps requesting.. Not sure if anyone is developing it or not.. Theres a thread in the request forum about it. PranK, So the fields that are still in your database are 80-95 and fields 50-65 no longer exist correct? If so, in member.php, includes/functions_user.php, and profile.php you'll need to make sure the field ID#s match the field IDs that you have in your database. In those files, find all instances of this (there will be several): Code:
(50,51,52,53,54,55,56,58,59,60,61,62,63,64,65) Code:
(80,81,82,83,84,85,86,88,89,90,91,92,93,94,95) PKRWUD, For some reason your timeslipsbit template isn't being displayed. Make sure the template name is spelled correctly (its timeslipsbit not timeslipbit).. If thats not it send me a copy of your timeslips.php file and I'll take a look. gearshifter47, This will make it show everyone who has entered something into the ride field when sorting by username: In timeslips.php find: Code:
else if ($_REQUEST['do'] == 'username') Code:
else if ($_REQUEST['do'] == 'username') To make it show all N/A cars (when sorting by N/A) regardless if 1/4 mile ET has been entered find: Code:
else if ($_REQUEST['do'] == 'na') Code:
else if ($_REQUEST['do'] == 'na') |
Heh, my scripts name has surpassed the script itself. vBGarage was short lived, the "powers that be" yanked it, because I used a portion of code from a coder who is no longer around to give consent. /shrug
It was for vB2, anyway. I've been developing a vB3 version, but unfortunately I started a new job and don't have the time to beat on it full time, so I can't really guestimate a release date. FOCUS: EvilLS1, as always, still diggin' the hack.. the users love it. ;) |
this will still keep them in order right?
and how could i make username the default sort when i start up.. |
Quote:
Quote:
To make username the default sort method open timeslips.php and find: Code:
// If no action is set order by quarter Code:
// If no action is set order by username Code:
} Code:
} |
Quote:
Evil- You really are a credit to programmers everywhere, especially the way you offer so much assistance. Most people would be sick of it, I'm sure. Thank you again for your patience and your help. Take care, ~Chris P.S. It's now available if you want to link to it... http://www.ricehatersclub.com/vbulletin/timeslips.php? |
Quote:
Now if we can only find a way to allow users or Admins/Mods to add multiple car listings or non-members info (maybe something in addition to using the member list??) with a few mods, we could end up with a vBgarage type hack. |
Thanks for the kind words guys, and glad to hear its working for you now Chris. :)
Added your link btw. |
Thanks for your responses.
I am pleading my case here now I know the name of the hack I need! gibgib |
I dont know if I missed a step or something is just not right.. but:
The hack is working perfectly, except I want it to show the custom profile fields(ride, mods...) when you click on a member under the "additional information". It did it on one of the installs I did, but this time no luck. In my admin CP I have them set as able to be seen in the member list. My timeslip profile fields are the standard 50-*. I can call $post[field50] and it will show the users 'ride', but for some reason inside my memberinfo_customfields template it wants $profilefield[value]. Anyone? :) Steve |
SNovotn2,
In the earlier versions the vehicle info was displayed in the user's regular profile (there was no vehicle profile).. With version 1.3 or later all vehicle details are displayed separately. But if you want to show the vehicle details in the user's regular profile (aswell as the vehicle profile) you can do it like this: In member.php find: Code:
// ********************* Code:
// ********************* |
Quote:
Thanks mate, all fixed! Christian |
Just installed.. Killer!!
How hard would it for someone to modify it for users to have multiple car listings :speechless: |
Quote:
To add a field for another car just go to your admincp, add a new custom profile field for the extra vehicle, make a note of the field ID, then in member.php, includes/functions_user.php, and profile.php find all instances of this: Code:
(50,51,52,53,54,55,56,58,59,60,61,62,63,64,65) |
Quote:
|
Quote:
|
would this work with my forum running on php4 extensions?
thanks -Brian |
Quote:
|
well its all up and working now (somewhat) but it doesnt seem to save the data you enter
any idea what i could have missed or done wrong? i tried this already https://vborg.vbsupport.ru/showpost....&postcount=111 http://www.highertuning.com/forums/timeslips.php4? |
oh,
in the top 5 hack you posted up, i cant find a couple of things you mentioned.. "In the $templatesused section" and "eval("dooutput(\"".gettemplate('index')."\"); ");" thanks for the help -Brian |
Quote:
As for the top 5 addon, thats for VB2 and will not work with VB3 portals. |
Brian,
Its working fine. I just entered my data and its there. Keep in mind that the default sort method is 1/4 mile ET and will only display users who have entered something into that field. |
Quote:
just checked and it is spelled correctly, it works on my test forum just fine which is just a php extension, so i must of messed something up in the conversion.. Quote:
-Brian |
Quote:
maybe it just needed your touch? LOL seems to be working fine now thanks a ton! |
Alrgihty, glad its working for ya now. :)
|
Nice work. I accually customized it for my Sportbike website. Had to change a few things in the database and code but otherwise the setup is the same.. Mostly the detail information needed to be suited for sportbikes but after i found out where your installed put the entries it was pretty simple. Thanks for sharing!
|
Quote:
I guess I should mention (for everyone else who hasn't noticed) that all of the fields can be easily edited or customized in the admincp under custom profile fields once the hack is installed. |
I've installed this for someone but there are small bugs in timeslips.php file
You need to rename tables name in your query coz if there is a prefix, the table's name will not be correct Replace PHP Code:
PHP Code:
And PHP Code:
with : PHP Code:
|
Good catch VBDev. Thanks. :) I'll change that in the next update. That didn't even cross my mind. I never paid much attention to the table prefix stuff b/c I don't use them.
|
I searched the thread, but didn't see this question. How hard would it be to display the user's rank by ET in the postbit?
|
Quote:
https://vborg.vbsupport.ru/showpost....4&postcount=76 That shows the user's ET club in the postbit, but it would be really simple to change it so that it displays a rank image based on the ET. All you would need to do is change what the variable displays to an image instead of showing the club. For example: If the member has a 10 second car, $poop = "<img src=\"rankimage1.jpg\">"; else if the member has an 11 second car show: $poop = "<img src=\"rankimage2.jpg\">"; etc, etc. |
Has anyone installed this with 3.0.1 yet? Any issues?
|
Thanks for pointing out that post. That gives me a few ideas I might try. What I was thinking of though was having something like this in the postbit.
Join Date: Nov 2002 Location: Houston, TX Age: XX Posts: 1247 Best Time: 12.984@104.39 Ranked: #8 using their placement on the the timeslips list sorted by ET. (I'm liking the rank image thing though :D ) |
Quote:
SVT, That should be fairly easy to do also. If you can't get it I'll look into it after I finish upgrading my site. |
You finally decided to take the plunge huh? I can't wait to check it out.
I may be able to figure the rank issue out. I just need to spend a little more time digging through the code. Thanks! |
All times are GMT. The time now is 12:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|