vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Profile Pic Of Newest Member (https://vborg.vbsupport.ru/showthread.php?t=92932)

Gio~Logist 07-25-2005 10:00 PM

Profile Pic Of Newest Member
 
Suprised no one has done this..... it's probably the easiest "hack" i've done.

Go to your forumhome template and inser this code

HTML Code:

<img src="image.php?u=$newuserid&type=profile">
Wherever you'd like the pic of your newest member to show.


[high]Members profile pics show in postbit instead of avatar[/high]

Find this code in postbit or postbit_legacy (whichever you use)
HTML Code:

<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
HTML Code:

<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


[high]*updated*[/high]

???`S?LV?R???` 08-13-2005 12:09 AM

Quote:

Originally Posted by gio~logist
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

Quote:

Originally Posted by ???`S?LV?R???`
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

[high]*instructions updated*[/high]

???`S?LV?R???` 08-13-2005 11:28 PM

Quote:

Originally Posted by gio~logist
I found the problem

[high]*instructions updated*[/high]

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....0&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

Quote:

Originally Posted by gio~logist
He sais he only has a little left, however, he is doing alot of things at the moment.

Any updates?

flup 08-29-2005 02:21 PM

nice idea!

Gio~Logist 09-05-2005 07:20 AM

Quote:

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

Code:

<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

Quote:

Originally Posted by The Chief
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!!!


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
  • Page Generation 0.01381 seconds
  • Memory Usage 1,774KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete