PDA

View Full Version : Profile Pic Of Newest Member


Gio~Logist
26 Jul 2005, 17:25
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
26 Jul 2005, 18:10
that'd be kind of a cool thing to use on a vbadvanced module or something imo. nice.

Gio~Logist
26 Jul 2005, 18:13
Indeed..... it'd still use the same exact code

Tony G
27 Jul 2005, 06:24
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
27 Jul 2005, 17:49
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
27 Jul 2005, 21:24
Sweet, I like. :)

`SLVR`
12 Aug 2005, 21:34
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
12 Aug 2005, 22:19
Anything is possible :-D

REFRESH!

Gio~Logist
12 Aug 2005, 22:31
I just saw a mistake


*updated*

`SLVR`
13 Aug 2005, 01:09
Anything is possible :-D

REFRESH!

lol thanks, tried it didn't work though

Gio~Logist
13 Aug 2005, 16:08
What happens?

`SLVR`
13 Aug 2005, 18:39
nothing at all as far as viewing

Brinnie
13 Aug 2005, 20:40
Now here's the real question:

How do you get your new members to upload a profile pic upon registration?

Gio~Logist
13 Aug 2005, 21:03
nothing at all as far as viewing


Well are you looking at the post of someone who HAS a profile pic?

`SLVR`
13 Aug 2005, 21:16
yes....

Gio~Logist
13 Aug 2005, 21:38
I found the problem

*instructions updated*

`SLVR`
14 Aug 2005, 00:28
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
14 Aug 2005, 20:11
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.

`SLVR`
15 Aug 2005, 22:12
nice... how's all that commin along?

Gio~Logist
15 Aug 2005, 22:27
He sais he only has a little left, however, he is doing alot of things at the moment.

`SLVR`
15 Aug 2005, 23:39
I was looking through some of the coding from http://www.vbulletin.org/forum/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

`SLVR`
18 Aug 2005, 20:16
any updates?

aJ UnKnOwN
29 Aug 2005, 05:28
He sais he only has a little left, however, he is doing alot of things at the moment.

Any updates?

flup
29 Aug 2005, 15:21
nice idea!

Gio~Logist
05 Sep 2005, 08:20
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
13 May 2006, 03:09
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
20 May 2006, 19:22
I tried to PM you but it says your box is full. Anyone to do the same thing with avatarS?

The Chief
21 Jul 2006, 00:56
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
27 Jul 2006, 04:06
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
28 Jul 2006, 18:43
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
23 May 2008, 16:46
does this work on 3.7?

just77me
03 Aug 2008, 12:34
How does this work in 3.7? thank you very much for your help!!!