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


All times are GMT. The time now is 01:46 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.01104 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete