vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Username Image (https://vborg.vbsupport.ru/showthread.php?t=198287)

Spank 12-07-2008 10:00 PM

Username Image
 
Hi all, this is a very basic template edit to allow username images.
I'm not a coder, so I'm hoping that the more experienced members will help out in perfecting this.

What does this mod do?

This mod allows you to change the username display on the postbit to an image. If a URL is added to the profile field it will display the image, if it is left blank the normal text username is displayed.

What doesn't this mod do?

Nothing else. I'm hoping that some of the more experienced can help turn this into a full modification with usergroup controls, size limit controls, browse local files and upload controls, etc. If you are able to help out with this, please let me know :)



This runs off of the User Profile Fields in vb, I would suggest you make it not user editable, as I'm not sure if there are any security risks with allowing your members to insert a URL to an image.

Install instructions are in the zip. If you use, please be kind enough to mark as installed.

------------------
Updates
------------------
.02 - Missing </a> added. This made the rank part of the profile link.
.03 - Added instructions for applying the username image to user's profile and who's online.
.04 - Added height restriction to image tag.

arauf 12-08-2008 12:06 AM

where is zip ? ?

Spank 12-08-2008 12:18 AM

It's coming

exel 12-08-2008 01:20 AM

Thanks, works GREAT!

wAnBoA 12-08-2008 06:41 AM

Nice. Installed
How do we add the image in the active users online in past 24hrs list as well?

Spank 12-08-2008 06:56 AM

I'll look at other locations to add this later on today.

Spank 12-08-2008 09:30 AM

I've updated the mod to include instructions for adding the username image to users' profiles and to who's online.



Quote:

Originally Posted by wAnBoA (Post 1680753)
Nice. Installed
How do we add the image in the active users online in past 24hrs list as well?

Because the Member's who have visited Mod has it's own variables, it's more difficult to apply this. I'll look into it, but I can't promise anything on this.

shadowevil 12-08-2008 09:38 AM

screenshot or demo ??

Spank 12-08-2008 10:01 AM

Quote:

Originally Posted by shadowevil (Post 1680816)
screenshot or demo ??

Not really needed as all it does is replace the username text with whatever image you link it to. Once I install on my live board though, I can put up a demo link.

wAnBoA 12-09-2008 03:56 AM

Quote:

Originally Posted by Spank (Post 1680815)
I've updated the mod to include instructions for adding the username image to users' profiles and to who's online.

Because the Member's who have visited Mod has it's own variables, it's more difficult to apply this. I'll look into it, but I can't promise anything on this.



Thanks. I think to who's online is great enough. Thanks dude....


All times are GMT. The time now is 05:04 AM.

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.01053 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_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