Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Personal User Badges Details »
Personal User Badges
Mod Version: 1.00, by Jordan S Smith (Member) Jordan S Smith is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (1 vote - 4.00 average) Installs: 11
Released: 30 Jul 2013 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This is something I came up with for a site I help manage. It gives users the option to set a custom badge that is displayed in the postbit_legacy. Sorry if I got the prefix wrong, I couldn't think which one this best belonged in.

Anyway, this is going to take advantage of template modification and profile field creation.

So, for starters, we're going to make the profile field that will be used for the badges. Open up your ACP and click on 'Add New User Profile Field'. Select 'Single-Line Text Box'. Title 'Personal User Badge'. Description can be whatever. Put it in the appropriate Profile Field Category.

Leave the default value blank. Make sure the field length is high, I use 100. That's for long image links. Set field length to 50. Don't mess with display order. Make sure field required is set to no. Field editable by user should be set to yes. Private field should be set to yes. This makes it so users can't see each others links. It makes the profile page look bad. Staff will still be able to see the links.

Field searchable on members list and show on members list should both be set to no. That's it, now click save. You should be redirected to the profile field manager.

When finished, it should look something like this when you click on edit:


Take note in the field manager of the 'name' column. This is important and will be needed later on. Find the 'name' for the newly created profile field.

Next your going to want to open your master style so this template edit will inherit. If it will not inherit you will have to add this manually to each individual style.

Find and open the template: postbit_legacy

Find this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You're going to want to place this before the closing tag:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So it will look like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now take the 'name' mentioned earlier. Replace the red text with that. Save your template and you're done!! Users can now add their own personal badges. Resolution is 180x26 by default. If you'd like to change that simply edit the green portions of the code.

If this receives enough attention I'll update with the personal links option. This allows users to set a link for their badges so that when users click on the image they'll be redirected.

EDIT: Here's a demo site.

I've directed you to a post by me. As you can see there are two badges. I used this feature to make one for staff only. That's how it will appear though.

EDIT2: Here's a screen capture of what it would look like for those of you who don't or can't view the demo site.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Capture.PNG
Views:	959
Size:	136.7 KB
ID:	145968  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 30 Jul 2013, 08:49
Jordan S Smith's Avatar
Jordan S Smith Jordan S Smith is offline
 
Join Date: Feb 2013
Reserved.
Reply With Quote
  #3  
Old 30 Jul 2013, 09:24
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Demo or images?
__________________

Reply With Quote
  #4  
Old 30 Jul 2013, 09:35
Jordan S Smith's Avatar
Jordan S Smith Jordan S Smith is offline
 
Join Date: Feb 2013
Originally Posted by GaryT View Post
Demo or images?
Sorry about that. I've added the demo link.
Reply With Quote
  #5  
Old 02 Aug 2013, 09:14
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Demo's tend to go down in the future though (like the demo is down now), would be nice to show images in the main post uploaded on vbulletin.
Reply With Quote
  #6  
Old 02 Aug 2013, 18:49
Amaury Amaury is offline
 
Join Date: Nov 2011
Real name: Amaury
Originally Posted by FF|Skyrider View Post
Demo's tend to go down in the future though (like the demo is down now), would be nice to show images in the main post uploaded on vbulletin.
The site's working fine.
__________________
I am a former vBulletin user and am no longer regularly active here.

KH-Flare moved to XenForo on January 1, 2014.
Reply With Quote
  #7  
Old 02 Aug 2013, 20:08
STR8H8TEx STR8H8TEx is offline
 
Join Date: Apr 2013
down for me
Reply With Quote
  #8  
Old 02 Aug 2013, 20:30
Amaury Amaury is offline
 
Join Date: Nov 2011
Real name: Amaury
Originally Posted by STR8H8TEx View Post
down for me
Well, it's working here.

It's most likely just you, so check and see what Down for Everyone or Just Me says.
__________________
I am a former vBulletin user and am no longer regularly active here.

KH-Flare moved to XenForo on January 1, 2014.
Reply With Quote
  #9  
Old 07 Aug 2013, 00:59
Jordan S Smith's Avatar
Jordan S Smith Jordan S Smith is offline
 
Join Date: Feb 2013
Once again, I have updated the OP. This time with a screen of how the modification would appear. Note, there are two in this screen because I used it twice. If you only want one, that's what this modification will give you. Lest you have the ingenuity to figure out how to place two within the postbit.

The link is not solely a demo site. It is an actual live forum. The site is currently working, I see no issues. As Amaury said, check to make sure that it's not something wrong on your end. I uploaded the image anyway for ease of access.

If you have any more issues viewing what this modification would look like, you'll have to try it out and see because I don't have any more options. I'm afraid anything short of a youtube video will not do any better.

Any further questions, please do not be afraid to PM me instead of flooding the thread with questions about what it looks like. If you do run into a problem using the modification, however, feel free to post in the thread.

Thank you.
Reply With Quote
  #10  
Old 09 Aug 2013, 17:45
xFuZioNx xFuZioNx is offline
 
Join Date: Jul 2013
I know this may not be about this mod but can you tell me what size your avatars are for the unicorn? also can you tell me what mod you used for the online on that posts its pink and all that information, and what award system do you use?
Reply With Quote
  #11  
Old 09 Aug 2013, 17:58
Amaury Amaury is offline
 
Join Date: Nov 2011
Real name: Amaury
Originally Posted by xFuZioNx View Post
I know this may not be about this mod but can you tell me what size your avatars are for the unicorn? also can you tell me what mod you used for the online on that posts its pink and all that information, and what award system do you use?
You couldn't ask him in a PM?
  1. 200 x 200
  2. Status Online Postbit Text
  3. Yet Another Awards System
__________________
I am a former vBulletin user and am no longer regularly active here.

KH-Flare moved to XenForo on January 1, 2014.
Reply With Quote
  #12  
Old 03 Sep 2013, 17:38
Jordan S Smith's Avatar
Jordan S Smith Jordan S Smith is offline
 
Join Date: Feb 2013
Originally Posted by xFuZioNx View Post
I know this may not be about this mod but can you tell me what size your avatars are for the unicorn? also can you tell me what mod you used for the online on that posts its pink and all that information, and what award system do you use?
As Amaury stated, I would've been more than happy to answer you via PM. It doesn't really matter though, I suppose.

And Amaury was right on all accounts.

The avatar was 200x200 in size.
Simple template edits for the Online status.
We use YAAS for our awards.
Reply With Quote
  #13  
Old 08 Sep 2013, 22:29
Spangle Spangle is offline
 
Join Date: Jun 2011
Ok I must be a little thick :

Take note in the field manager of the 'name' column. This is important and will be needed later on. Find the 'name' for the newly created profile field.

I can't see a "name" column ?

The other thing I can't understand is why you would want to duplicate a "badge" that is already there, I noticed in the thread I landed on in your forum that hardly any of your members are actually using this feature.

Surely if someone wants a "custom badge" they can use their avatar to display it, isn't that what it is ?
Reply With Quote
  #14  
Old 08 Sep 2013, 22:34
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
The name column is in the User Profile Field Manager, third one from the left
Reply With Quote
  #15  
Old 30 Sep 2013, 23:48
Jordan S Smith's Avatar
Jordan S Smith Jordan S Smith is offline
 
Join Date: Feb 2013
Originally Posted by Spangle View Post
Ok I must be a little thick :

I can't see a "name" column ?

The other thing I can't understand is why you would want to duplicate a "badge" that is already there, I noticed in the thread I landed on in your forum that hardly any of your members are actually using this feature.

Surely if someone wants a "custom badge" they can use their avatar to display it, isn't that what it is ?
It looks like Ozzy already got to your first question.

As for your second one, avatars are used to display most commonly images that are perfectly square or sometimes rectangular. The point of this modification is for users to be able to add a custom badge, which is smaller than an avatar by far, and even a custom link. Could you make a profile field to just display a link, yes, but it's not as fun.

Hardly any of the users use it because they aren't as active as I'd like. Most just pop in for sip of tea and then leave.

And I'd also like to say that, no an avatar is not a badge. An avatar is an avatar. A badge is a badge.

This is simply a fun modification for whomever would like to use it. If you think it's pointless or redundant then simply don't use it. I'm not forcing anyone's hand here. I discovered a neat little feature and decided to share it out of the kindness of my heart.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:42.

Layout Options | Width: Wide Color: