![]() |
Image in profile
This hack was requested by NerdNations.
Here is what you need to do to add a image field to user profiles. That's it. ;) |
Here is a sample screen shot of my profile: http://www.ls1.com/forums/member.php...fo&userid=4112
Also note that if the image is larger than 640x480, the code will automatically scale it to fit witin a 640x480 area. ;) |
Thank you! I will look into it. Very nice :)
|
nice car ed.. :) the hack also.
|
i want this car :)
Zzed, gift me, please :D :lol: Hack also cool ;) And I have one question: If user don't post Picture, field picture showed in profile or not? |
i already know how to do the picture, like this
<add this to postbit> Code:
<tr> i wanted to know how to do it like sitepoint, where if there isnt a picture submited it will put a blank image in its place |
Thank you guys for the kind words. :)
inetd, If the user does not enter a vlaue, the field still shows up, but it will be empty. Here is a sample of one of my alter egos on my site: http://www.ls1.com/forums/member.php...o&userid=24578 |
Very nice Zzed...
I am glad you released it... :tup: Satan |
Thank you hellsatan.
|
|
I still prefer Zzed's...
Btw : Zzed - For the Image, you have to enter a url right? So...Is there any way to add like a description to it? What I mean is : in HTML, you use the tag : Code:
alt="yourtext" Could that be done for your hack? Satan |
Here is a Screenshot of my Forums...
@Zzed - When I tried to add a profile field above the Picture field, I got an error saying : No Valid Link specified : Why is that? Satan |
Quote:
|
Quote:
|
nice car.. i'm betting my mx-6 could take you :)
Custom installed body kit (fiber-glass) greddy dual exhaust 16 psi basch platinum plugs strut tower bars 2 inch koniing adjustable coilovers Magnecor Wires JL Audio 12W6 Subs Cone Filter new cold air intake. hehe ok i'm getting carried away. think vB. btw no i don't have a picture at the moment. |
How much horsepower did the subwoofers add? Just wondering... I mean, they're listed right there with the other, um, "performance" mods. ;)
|
Quote:
http://www.ls1.com/forums/showthread.php?threadid=89870 |
Quote:
I will also look into the other problem with the image. :) |
Quote:
|
Quote:
|
Thanks Zzed...
:tup: Satan |
Quote:
Mine are rear wheel numbers. |
Seems like an excellent hack, but all I get when I try to use it is:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\Program Files\Apache Group\Apache2\htdocs\member.php on line 2 Parse error: parse error, unexpected T_STRING in C:\Program Files\Apache Group\Apache2\htdocs\member.php on line 2 Is this the revenge of PHP4.2? |
Quote:
https://vborg.vbsupport.ru/ |
I'm using 2.2.5, only the URL is coming up and I've double checked the location. What am I missing?
|
nevermind, I'm an idiot!! Loaded up the member.php file into the wrong directory (portals root) by mistake. Works great, thanks for the hack!!
|
this might be daft, but how do I link an image? I cant seem the guess the syntax :(
|
Quote:
|
Zzed, this is the weirdest thing. The hack worked great when I installed it yesterday, I input my URL and it appears. I tried to input the info myself as admin level access into 2 users profile. the reason is, one of them put a URL in and it just showed the white box with an x. When I checked their URL, it was fine.
I then saw this error when I tried to save his record: Code:
Database error in vBulletin Control Panel 2.2.5: I only have 1 forums directory, so it should be ...forums/admin/user.php Where might I find the problem here? Confused. Great hack by the way! |
From that user.php file, here's the code, but this doesn't appear to be a problem:
Code:
if ($exists=$DB_site->query_first("SELECT userid |
Keith, See this thread for the Mysql error: http://www.vbulletin.com/forum/showt...sql+error+1064 :)
|
Zzed, I cannot believe I missed that. Geezus, thanks. The irony is Smachol just pointed me to the patch a few seconds ago.
The link he gave me is for registered license users in the members section, won't work for everyone, so I've edited it out from this thread. The other is public I'm assuming. Many thanks, I'm installing it now. UPDATE: The patch fixed my probs. |
that link you gave said your account was banned
|
how can I make it so that I can use something like this $profilepic and then I can put it anywhere I want... because I have a customized profile layout. thanks
|
Quote:
|
Quote:
|
Quote:
|
i haven't read any replies before me, i was just looking at the code and :p, index 3 of getimagesize contains the correct html height and width code. You don't have to use ysize of xsize.
|
Quote:
The index 3 value shows up like this: width="xxx" height="xxx", which means I have to further parse into it to extract those values, whereas I can just grab them from index 0 and 1. ;) |
I dont want to push you Zzed, but do you think you could have the new code done by sometime tomorrow at the latest? if you cant i understand
|
All times are GMT. The time now is 04:44 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:
|