vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Profile Enhancements - User name images (https://vborg.vbsupport.ru/showthread.php?t=218327)

WorldDomination 07-09-2009 10:00 PM

User name images
 
1 Attachment(s)
IMPORTANT UPDATE
I forgot to mention a vital part of the installation in the previous versions. When setting up the Custom Profile Field you must not make the location of the field in 'Edit Your Details', otherwise people that do not have the proper permissions to edit this field can do so VIA viewing their profile. I have updated the .zip with the updated instructions. Sorry for any inconvenience.

I've seen quite a few people asking about a mod to display an image in their user name spot, and haven't been able to find a working one.

What does this mod do?

This mod uses a Custom Profile Field to display an image for a persons user name rather than their default, boring text user name. It will display in all the users posts and in the users profile.

About this Mod:
  • Which user groups can view the Profile Field used for this mod
  • The size of the Image that can be used
  • Any user that doesn't have access to this field, or chooses not to use it, will have their normal text user name displayed.
  • It works with both Postbit and Postbit Legacy styles.
Please Mark Installed if you use!

This is my first released MOD, so some feedback would be very helpful, plus maybe some ideas on what else to add etc. to this MOD would be helpful.

INSTRUCTIONS ARE IN THE .ZIP FILE!

P?ŋĭsЋ?я 07-10-2009 07:02 PM

very nice thanks voaw:D

WorldDomination 07-10-2009 07:03 PM

Quote:

Originally Posted by P?ŋĭsЋ?я (Post 1846549)
very nice thanks voaw:D

Your welcome. :) Let me know if you run into any problems.

SwollenCranium 07-10-2009 07:50 PM

You should specify if this is a POSTBIT only mod.

Some of us prefer Legacy.

WorldDomination 07-10-2009 08:18 PM

Quote:

Originally Posted by SwollenCranium (Post 1846572)
You should specify if this is a POSTBIT only mod.

Some of us prefer Legacy.

Oh right. Sorry I didn't even think about that. I will edit the MOD so it works for a few. Will update soon. :)

WorldDomination 07-10-2009 08:43 PM

Updated. Now includes instructions for both postbit and postbit legacy.

macc 07-10-2009 09:16 PM

Nice! Thanks

will test ...

must we make own image?

regards

macc

SwollenCranium 07-10-2009 09:37 PM

Quote:

Originally Posted by WorldDomination (Post 1846584)
Oh right. Sorry I didn't even think about that. I will edit the MOD so it works for a few. Will update soon. :)


Thank you, sir.

Sofia 07-10-2009 11:09 PM

Hummm... Pages take longer to load due to images.

I don't use your mod but I like this idea. So I click Installed. Good work :p

WorldDomination 07-10-2009 11:12 PM

Quote:

Originally Posted by macc (Post 1846607)
Nice! Thanks

will test ...

must we make own image?

regards

macc

You have to create one with your name on it, yes.

Quote:

Originally Posted by SwollenCranium (Post 1846616)
Thank you, sir.

You're welcome. The two different postbits didn't cross my mind when I was making the mod. Thanks for pointing it out.

Quote:

Originally Posted by Sofia (Post 1846655)
Hummm... Pages take longer to load due to images.

I don't use your mod but I like this idea. So I click Installed. Good work :p

Naturally that's going to happen, using .gif images will help it load faster. And thanks. :)

Itchy Nips 07-10-2009 11:26 PM

installed and voted

WorldDomination 07-10-2009 11:29 PM

Quote:

Originally Posted by Itchy Nips (Post 1846662)
installed and voted

Thanks!

florkat 07-11-2009 06:00 AM

marked as installed ^^ i'm going to try this tomorrow. i think if we use .png image it will be faster to load. that i don't think will be my problem. but i'm new on vb so here's my question
how do i set the option to display user avatar and info at the left column of the thread post like on the 3rd screenshot?

WorldDomination 07-11-2009 06:06 AM

Quote:

Originally Posted by florkat (Post 1846790)
how do i set the option to display user avatar and info at the left column of the thread post like on the 3rd screenshot?

Admin CP -> vBulletin Options -> Style & Language Settings -> Scroll too
Use Legacy (Vertical) Postbit Template and choose yes then hit save.

willy888 07-11-2009 12:43 PM

Thanks for this mod
I install it ok but in user's profile /About me shows the path link to the image

princeedward 07-11-2009 01:46 PM

great and thanks...might try this...

WorldDomination 07-11-2009 06:51 PM

Quote:

Originally Posted by willy888 (Post 1846946)
Thanks for this mod
I install it ok but in user's profile /About me shows the path link to the image

I'll look into that.

Quote:

Originally Posted by princeedward (Post 1846974)
great and thanks...might try this...

You're Welcome! :)

Itchy Nips 07-11-2009 07:09 PM

great mod. installed and voted!

my only feedback so far is that the menu that appears when you click the username, does not appear anymore when you use the username image. Instead, it goes right to their profile.

any ideas?

WorldDomination 07-11-2009 07:27 PM

Quote:

Originally Posted by Itchy Nips (Post 1847125)
great mod. installed and voted!

my only feedback so far is that the menu that appears when you click the username, does not appear anymore when you use the username image. Instead, it goes right to their profile.

any ideas?

The pop up menu works for me. Are you cure you copied the code correctly? Double check that then post here if that wasn't the problem.

Itchy Nips 07-11-2009 09:28 PM

you are correct, sir! I did not have the right code in there. I realized what happened, and this is another feedback for you.

When I pasted that code in replacement of the old code from step 2 (in the instructions), it puts an online status icon next to the username. But their online status also appears where it should (on the bottom of the postbit).

I had to edit your code from this:

PHP Code:

<div id="postmenu_$post[postid]">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field8']"><img src="$post[field8]border="0"/></a> <else />$post[musername]</a></if>
                    
$post[onlinestatus]
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div

to this:

PHP Code:

<div id="postmenu_$post[postid]">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field7']"><img src="$post[field7]width="150" height="30" border="0"/></a> <else />$post[musername]</a></if>
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div

getting rid of the:
PHP Code:

$post[onlinestatus

after the </a></if> code.

it all works fine now :)
kudos to you!

WorldDomination 07-14-2009 12:54 AM

Quote:

Originally Posted by Itchy Nips (Post 1847181)
you are correct, sir! I did not have the right code in there. I realized what happened, and this is another feedback for you.

When I pasted that code in replacement of the old code from step 2 (in the instructions), it puts an online status icon next to the username. But their online status also appears where it should (on the bottom of the postbit).

I had to edit your code from this:

PHP Code:

<div id="postmenu_$post[postid]">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field8']"><img src="$post[field8]border="0"/></a> <else />$post[musername]</a></if>
                    
$post[onlinestatus]
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div

to this:

PHP Code:

<div id="postmenu_$post[postid]">
                    <if 
condition="$show['profile']">
                    <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field7']"><img src="$post[field7]width="150" height="30" border="0"/></a> <else />$post[musername]</a></if>
                    <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                    <else />
                    
$post[musername]
                    </if>
                </
div

getting rid of the:
PHP Code:

$post[onlinestatus

after the </a></if> code.

it all works fine now :)
kudos to you!

Oh right. I completely forgot about it doing that in postbit legacy. Thanks for the fix, will update now. ;)

Feanor_87 07-16-2009 06:03 AM

Thanks for sharing! :) Installed*

Is there anyway for it to show up in Memberslist?

willy888 07-17-2009 06:18 AM

What about for those who have already installed it ?
Any update info what to change ?

Huy Ho?ng 07-19-2009 07:04 AM

Please let me know what's new in this new version?

tehone 07-22-2009 07:07 PM

Hey, I have a problem. I have yet to install this, but I've downloaded it and had a little read through. I was wondering in the Username Image part in the user CP.. do you put the link to the image or put it in HTML tags? Please PM with a response as I might forget to check back here.

Cfreyna 07-29-2009 10:47 PM

Haha I always wondered if this was the World Domination from sythe and rsforums.

This one works really good.

Thank you

WorldDomination 07-31-2009 05:59 AM

Quote:

Originally Posted by willy888 (Post 1850377)
What about for those who have already installed it ?
Any update info what to change ?

Nothing is changed. I changed something, then changed it back becuase it didn't work. Sorry for the confusion.

Quote:

Originally Posted by tehone (Post 1853703)
Hey, I have a problem. I have yet to install this, but I've downloaded it and had a little read through. I was wondering in the Username Image part in the user CP.. do you put the link to the image or put it in HTML tags? Please PM with a response as I might forget to check back here.

You OBVIOUSLY got it working.

Quote:

Originally Posted by Cfreyna (Post 1858177)
Haha I always wondered if this was the World Domination from sythe and rsforums.

This one works really good.

Thank you

Yes it is I. ;) And you're welcome, sir.

BigDog56 08-01-2009 11:29 PM

Works great! Thank you!

Cfreyna 08-04-2009 04:00 AM

I got this error when trying to make it changeable in users profiles.

Parse error: syntax error, unexpected ')' in /includes/adminfunctions_template.php(3939) : eval()'d code on line 1

florkat 08-24-2009 06:19 AM

hey world domination, i have a little problem about this. I get the "User Name Image" input field, and I have followed your steps correctly and I've tried this 3 times and I can't find where my mistake is. When I put the image URL it saves the changes and the image shows perfectly on the profile field, but the image won't show on the forums. I have tried this with html, direct link, url tags, etc. and it doesn't work for me. Is there any way the image can show not only on my profile, but also on the forums posts? thanks in advance!

Ezud 09-20-2009 03:34 PM

dude you made me jizz all over my pants with this mod! been looking for it for ages!

WorldDomination 12-07-2009 06:15 PM

Hey all,
I've been very busy as of late and have had no time to work on nay of this, so if anyone has any problems with it please let me know ASAP so I can get them fixed.

Skyrider 12-07-2009 08:51 PM

Possible someone can share the code for whosonlinebit so I can see the images within Currently Active Users? That would be great!

Zigeto 12-21-2009 06:31 PM

Great Guy. He set it up for me and everything. Again thank you!

bacemail 12-21-2009 09:58 PM

I was hoping to find a modification that would place the user's avatar in the thread list next to the user name? Have you made anything like this? ESPN has a board that does this. It looks great and would be a great mod... IMO.

Example...

http://boards.espn.go.com/boards/mb/...rt=ncaa&id=ncf

Sven2488 12-28-2009 08:00 AM

Is it possible to show the Username Images in the Memberlist and in the Currently Active Users List?

Negrosoo 01-01-2010 08:16 AM

I don't like this mod , but thanck you for the work ;)

FRANKTHETANK 2 01-03-2010 05:53 AM

awesome mod. thanks alot

KyleWhitey 01-27-2010 11:10 PM

I can't get the images to show, i did all the steps right too. i put the html link to the image right?

dtv100 01-30-2010 06:41 AM

is this correct ?


Quote:

<if condition="THIS_SCRIPT != 'profile' OR (!in_array($profilefield[15], array(15)) OR is_member_of($bbuserinfo, 2))">





All times are GMT. The time now is 04:35 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.01407 seconds
  • Memory Usage 1,869KB
  • 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
  • (6)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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