Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 19 May 2015, 05:28
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Okay, here's what I did:

1.) Edit the custom profile field so that its length can contain multiple file names (I like powers of 2 so I used 2^7 = 128)



2.) On my dev site, I went to a random user's profile in the User Manage within the AdminCP and entered the names of two image files I created for testing (separated by a comma):



Note: The add-on assumes the images have the extension "jpg" and are located off the root directory at "static/ranks". The images are stacked from top to bottom in the order in which they are entered into the profile field.

3.) Then I went to a thread where that user has posts, and made sure the images show up in the postbit:



So, please download the attached XML file and install it by following:

AdminCP ► Plugins & Products ► Manage Products ► Add/Import Product.

Click on "Choose File" and browse to the product xml file that you downloaded.

Click "Import"

Let me know about any changes you would like or if something doesn't work as expected.
Attached Images
File Type: jpg bellarankspfieldedit.jpg (11.9 KB, 39 views)
File Type: png bellaranksuserprofile.png (16.3 KB, 39 views)
File Type: png bellarankspostbit.png (13.8 KB, 39 views)
Attached Files
File Type: xml product-bellasranksvb4.xml (1.9 KB, 3 views)
Reply With Quote
  #17  
Old 19 May 2015, 10:13
Guardian Hope Guardian Hope is offline
 
Join Date: Mar 2015
This appears accurate; allowing for the rank badge and the appropriate wings to appear.

To clarify one thing from our correspondences, you had me create a radio selection as opposed to a single line text box. I assume I should convert the radio selection to single line?

After that, all one will have to do is type "admiral,redwings" to get badge 1 as Admiral and Badge 2 as the Red Wings so as long as the images are in /static/ranks (with jpg extensions of course)
Reply With Quote
  #18  
Old 19 May 2015, 10:19
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
This was what I originally sent:

Title: User Rank Level
Description: Used to determine which rank badge to display in user postbits.
Profile Field Category: Ranking (radio button option)
Default Value: 0
Max length of allowed user input: 2
Field Length: 2
Profile Field Type: Single-Line Text Box
Display Order: 5
Field Required: No
Field Editable by User: No
Private Field: Yes
Field Searchable on Members List: No
Show on Members List: No
Regular Expression: (leave blank)
Display Page: Options: Other

But, yes it should be:

Profile Field Type: Single-Line Text Box

And then change the following:

Max length of allowed user input: 128
Field Length: 128

Everything else is correct.
Reply With Quote
  #19  
Old 19 May 2015, 10:49
Guardian Hope Guardian Hope is offline
 
Join Date: Mar 2015
Excellent. I will get this installed this evening and let you know if everything is working.

And again, I do appreciate the effort you've gone through to create this for me.

--------------- Added 20 May 2015 at 04:00 ---------------

Hey Mark,

I got your plugin installed and working though I did have to make two modifications to the XML file:
  • The image source referenced it as /forums/static/ranks; easy fix - changed it to ../static/ranks
  • I had to change 'field6' to 'field7' since it is now a single line text box.

However, I was wondering if there was a way to get it to display directly under the username and above the user title. Right now it displays like this:



The only reason you don't see the wings yet is I didn't specify them as I haven't pulled them from the phpBB forums yet.

This however is an excellent modification and will make the lives of so many people on our board easier once we make the switch to vBulletin in June.

(Yes, I got to be that person who double posts; I feel so ashamed; that's always bad forum etiquette.

--------------- Added 20 May 2015 at 07:25 ---------------

One final post which will be merged with the one above it.

Mark has been excellent in helping me get this setup. I even built on his extension to separate the wings since it looked nicer below the user title.

Here's the final result:

Reply With Quote
  #20  
Old 21 May 2015, 12:47
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Do you mean something like this :




I setup my forum with custom ranks based on post count, but instead of ranks they are Levels. The first image is the Usergroup image, the image at the bottom is the user Rank Level. I custom coded my postbit legacy just for my forum though, so that feature its not in vBulletin by default. But if you need help with the code, I could help you. Just let me know.

In your case you could change the levels with your own images.

I am not sure what you mean by you don't want the ranks to be based on Post Count. How do you want them to work or increase in rank? If you just want only a few people in a usergroup to have a specific rank/badge image, I think the only way to do that is to edit the users rank yourself via AdminCP. As far as I know anyway, but I could be wrong.
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
  #21  
Old 21 May 2015, 23:33
Guardian Hope Guardian Hope is offline
 
Join Date: Mar 2015
Originally Posted by thetechgenius View Post
Do you mean something like this :




I setup my forum with custom ranks based on post count, but instead of ranks they are Levels. The first image is the Usergroup image, the image at the bottom is the user Rank Level. I custom coded my postbit legacy just for my forum though, so that feature its not in vBulletin by default. But if you need help with the code, I could help you. Just let me know.

In your case you could change the levels with your own images.

I am not sure what you mean by you don't want the ranks to be based on Post Count. How do you want them to work or increase in rank? If you just want only a few people in a usergroup to have a specific rank/badge image, I think the only way to do that is to edit the users rank yourself via AdminCP. As far as I know anyway, but I could be wrong.

Thank you for your kind offer but MarkFL was able to write an extension that I have been able to use to meet our needs.

To better explain to you what was going on is that with the change from phpBB to vBulletin planned for June an introduction of a two tiered membership system is being imposed:
  • Community Members - Ranked by post count; this is your traditional user
  • Fleet Members - this is the higher tier membership and its ranking is not based on post count but on earning your way up a ranking chain through actions they take within the community and other aspects that we participate in. We look at how people contributed over the course of a month and then make decisions on where they are to be placed; there are several echelons as well which is where the "wings" came in; a tradition held up since 2002.

vBulletin didn't have the function built in to accommodate something we had been doing since 2002 but Mark was able to build an extension to accommodate this which I later modified into two so that the Wings for each echelon displayed below the user title while the rank displayed above.

Community Members on the other hand will use the built in vBulletin ranking system because their rank is built in post count as part of the community.
Reply With Quote
  #22  
Old 22 May 2015, 02:47
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Originally Posted by Guardian Hope View Post
Thank you for your kind offer but MarkFL was able to write an extension that I have been able to use to meet our needs.

To better explain to you what was going on is that with the change from phpBB to vBulletin planned for June an introduction of a two tiered membership system is being imposed:
  • Community Members - Ranked by post count; this is your traditional user
  • Fleet Members - this is the higher tier membership and its ranking is not based on post count but on earning your way up a ranking chain through actions they take within the community and other aspects that we participate in. We look at how people contributed over the course of a month and then make decisions on where they are to be placed; there are several echelons as well which is where the "wings" came in; a tradition held up since 2002.

vBulletin didn't have the function built in to accommodate something we had been doing since 2002 but Mark was able to build an extension to accommodate this which I later modified into two so that the Wings for each echelon displayed below the user title while the rank displayed above.

Community Members on the other hand will use the built in vBulletin ranking system because their rank is built in post count as part of the community.

Oh ok, I see. I am glad everything worked out for you!
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternative Ranking look Wabuf vBulletin 3.6 Template Modifications 5 15 Dec 2006 13:48



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

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 11:33.

Layout Options | Width: Wide Color: