View Full Version : Profile Pic Of Newest Member
Gio~Logist
07-25-2005, 10:00 PM
Suprised no one has done this..... it's probably the easiest "hack" i've done.
Go to your forumhome template and inser this code
<img src="image.php?u=$newuserid&type=profile">
Wherever you'd like the pic of your newest member to show.
Members profile pics show in postbit instead of avatar
Find this code in postbit or postbit_legacy (whichever you use)
<if condition="$show['avatar']"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a><br /></if>
Replace it with this
<a href="member.php?$session[sessionurl]u=$post[userid]"> <img src="image.php?u=$post[userid]&type=profile" border="0"> </a><br />
EasyTarget
07-26-2005, 05:10 PM
that'd be kind of a cool thing to use on a vbadvanced module or something imo. nice.
Gio~Logist
07-26-2005, 05:13 PM
Indeed..... it'd still use the same exact code
Tony G
07-27-2005, 05:24 AM
Thank you for sharing your mod.
I think you should offer a suggested place where this should be added. Some members may not know where to add it or understand the code in the templates. And then, you should put it in a .txt file and attach it. :)
Gio~Logist
07-27-2005, 04:49 PM
I'm working on a mod that shows the 3 newewst members and i'll make it so that it shows their pics as well. Once im done with that mod... i'lll probably make it version 2 of this and tell them where to put it.
FleaBag
07-27-2005, 08:24 PM
Sweet, I like. :)
???`S?LV?R???`
08-12-2005, 08:34 PM
this is kinda related to this kinda hack.... I wanted to ask gio~logist about instead of placing it in the forumhome, how you would post it in the postbit, because what I'm trying to do is: Make a thumbnail of the member's profile pic in the postbit instead of their avatar.
Gio~Logist
08-12-2005, 09:19 PM
Anything is possible :-D
REFRESH!
Gio~Logist
08-12-2005, 09:31 PM
I just saw a mistake
*updated*
???`S?LV?R???`
08-13-2005, 12:09 AM
Anything is possible :-D
REFRESH!
lol thanks, tried it didn't work though
Gio~Logist
08-13-2005, 03:08 PM
What happens?
???`S?LV?R???`
08-13-2005, 05:39 PM
nothing at all as far as viewing
Brinnie
08-13-2005, 07:40 PM
Now here's the real question:
How do you get your new members to upload a profile pic upon registration?
Gio~Logist
08-13-2005, 08:03 PM
nothing at all as far as viewing
Well are you looking at the post of someone who HAS a profile pic?
???`S?LV?R???`
08-13-2005, 08:16 PM
yes....
Gio~Logist
08-13-2005, 08:38 PM
I found the problem
*instructions updated*
???`S?LV?R???`
08-13-2005, 11:28 PM
I found the problem
*instructions updated*
Rhat one worked :)
Any possible way to set the pictures to a default size thumbnail? lol
Example
|
|
|
Gio~Logist
08-14-2005, 07:11 PM
Im actually having hellsatan make a hack like that for me :-D... till then i guess you're just going to have to use width and height tags in the <img> code.
???`S?LV?R???`
08-15-2005, 09:12 PM
nice... how's all that commin along?
Gio~Logist
08-15-2005, 09:27 PM
He sais he only has a little left, however, he is doing alot of things at the moment.
???`S?LV?R???`
08-15-2005, 10:39 PM
I was looking through some of the coding from https://vborg.vbsupport.ru/showpost.php?p=586660&postcount=30 and I was working with a few diff combinations of codes but with no luck as far as displaying the thumbnails. If anything I'd imagine we could alter it a little bit and get this working today (I'm motivated lol), we could ask Harold T for some help with it since he said he used some of the coding from "Thumbnail of Attachments on forum display
View Single Post" to create his gallery hack. I know some of the last touches of this has to do with "$displaythumbs" to get the final part of this hack to work
???`S?LV?R???`
08-18-2005, 07:16 PM
any updates?
aJ UnKnOwN
08-29-2005, 04:28 AM
He sais he only has a little left, however, he is doing alot of things at the moment.
Any updates?
Gio~Logist
09-05-2005, 07:20 AM
Any updates?
He's been busy with his own life and i'm not quite sure when he'll be releasing this hack.
GamerJunk.net
05-13-2006, 02:09 AM
I was wondering what other type of profile fields or options could be displayed in that same manor.
<img src="image.php?u=$newuserid&type=profile">
What if I wanted to display their avatar or certain profile fields?
Thanks in advance for the help.
GamerJunk.net
05-20-2006, 06:22 PM
I tried to PM you but it says your box is full. Anyone to do the same thing with avatarS?
The Chief
07-20-2006, 11:56 PM
Is there a way to put more then one new user and their profile picture?
Would really like to know :)
Thanks!
Charles
myetalk.com
The Chief
07-27-2006, 03:06 AM
Is there a way to put more then one new user and their profile picture?
Would really like to know :)
Thanks!
Charles
myetalk.com
*bump* for gio :)
chkdgate
07-28-2006, 05:43 PM
I'm running vbs cmps 2.1.0. I like this hack and I want to run it but where should I place it?
just77me
05-23-2008, 03:46 PM
does this work on 3.7?
just77me
08-03-2008, 11:34 AM
How does this work in 3.7? thank you very much for your help!!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.