![]() |
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. |
where is zip ? ?
|
It's coming
|
Thanks, works GREAT!
|
Nice. Installed
How do we add the image in the active users online in past 24hrs list as well? |
I'll look at other locations to add this later on today.
|
I've updated the mod to include instructions for adding the username image to users' profiles and to who's online.
Quote:
|
screenshot or demo ??
|
Quote:
|
Quote:
Thanks. I think to who's online is great enough. Thanks dude.... |
any demo?? i see, it's added another field.
|
Yes it adds a profile field to the usercp. In the field you put the full URL to the image you want to use to display your username.
|
.04 update contains image restriction in the img tag. This is useful if you are allowing your members to add their own image in the usercp, so they can't put up a huge image to distort the page.
Remember to mark installed if you use. |
Can you add an image example?
|
Screenshot added
|
It's Not Work For Me
|
What's not working?
|
works great m8, thanks
|
So any coders out there willing to help out with this and make a full out mod???? please!!!! and thanks Spank for the template edits.
|
Very Niace!
|
can anyone do user image to forumhome, forumdisplay, showthread .........?
|
can you help me do the Username Image that can show in all forumhome, displayforum ........????
|
Not at the moment no, it's a bit more complicated to do those.
|
you know how you can make this modification more productive?
A lot of people when they come on the forum, leave their email id in it.. then some dumb spammer grabs those email ids with softwares and makes them vulnerable to spam This mod of yours can actually turn those email ids into images and protect them from the robots that grab email ids. Hope you'll take this suggestion and release a mod to that extent. Regards. |
I found a small error.
To display it in the member profiles, it does not work, instead of displaying the image of the users profile your viewing it displays yours. Can anyone help fix this? I've tried editing the code but no luck. |
Hmmm you're right, not sure why I didn't notice this, I'll try and look into fixing it, not got a great deal of time spare at the mo, but I'll do it as soon as I get chance.
|
Quote:
|
Okay i fixed it to the point of it working on Posts only, Although as for member profiles...it either does not show at all, or shows the same image on every profile.
|
When i add user title goes big and links to profile... Help?
|
Quote:
|
<div id="postmenu_$post[postid]">
<if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><if condition="$post['field5']"><img src="$post[field5]" /> <else />$post[musername]</a></if> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </div></if> </div> is it coz im using on 3.8.2? |
I've tested it with 3.8.x and it works show that shouldn't be a problem.I can't see from what you've posted anything that would cause your problem.
|
Same.... So you can't help me? Also i noticed the user title code is underneath this maybe it is joining the code
|
it probably is, can you post that part of the template.
|
Hers whole template:
Code:
$template_hook[postbit_start] |
Ok, replace it with this one:
Code:
$template_hook[postbit_start] |
Didn't seem to work =/
|
dw i fixed it thanks for help!
|
Member Profile one still doesnt work right? Any help?
|
teh, your a retard you can't even fix those things.
Hahah |
All times are GMT. The time now is 05:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|