DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin



DragonByte Tech Proudly Hosted By Hivelocity.net
Cloud Servers from HiVelocity Hosting / Sparknode

View Issue Info: Add Custom user title change

Category:
"How Do I?"
Status:
Answered
Priority:
N/A
Forum Version:
Enter the forum version you are running.
3.8.7
Support Agent:
Belazor

User Tag List

  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Results 1 to 7 of 7

    Thread: Add Custom user title change


    Forum: vBShop Lite Support

    Questions & Answers for vBShop.
    Click here to buy!

    1. #1
      Member
      Level 0 (0 Loyalty Points)
      This user has no status.
       
      I am:
      ----
       

      Gil
      530 (0 Banked)
      Total Contributions For

      tyteen4a03      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jul 2010
      Posts
      44
      Points
      530
      Credits
      332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default Add Custom user title change

      Hi, how do I add custom user title changes? Say I have a new effect called "Rainbow", how do I add it to User title changes for users to select?

    2. #2
      Member
      Level 4 (2,742 Loyalty Points)
      This user has no status.
       
      I am:
      Crazy
       
      xandyx's Avatar
      Gil
      441 (20 Banked)
      Total Contributions For

      xandyx      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jan 2011
      Posts
      47
      Points
      441
      Credits
      4,332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default

      If you really wanted to implement any items like this, you could of course use the 'Custom Item' and in the option for Notifications put your ID and this would inform you of the purchase then you just insert the HTML code to the appropriate field.
      Anything like this I notify the Buyer that the action will be implemented within 24hrs...

      That's How I'm Doing It...

    3. #3
      Member
      Level 0 (0 Loyalty Points)
      This user has no status.
       
      I am:
      ----
       

      Gil
      530 (0 Banked)
      Total Contributions For

      tyteen4a03      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jul 2010
      Posts
      44
      Points
      530
      Credits
      332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default

      Quote Originally Posted by xandyx View Post
      If you really wanted to implement any items like this, you could of course use the 'Custom Item' and in the option for Notifications put your ID and this would inform you of the purchase then you just insert the HTML code to the appropriate field.
      Anything like this I notify the Buyer that the action will be implemented within 24hrs...

      That's How I'm Doing It...
      That's hacky... I would like to see the official way of doing it.
      Dislikes xandyx disliked this post

    4. #4
      Member
      Level 4 (2,742 Loyalty Points)
      This user has no status.
       
      I am:
      Crazy
       
      xandyx's Avatar
      Gil
      441 (20 Banked)
      Total Contributions For

      xandyx      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jan 2011
      Posts
      47
      Points
      441
      Credits
      4,332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default

      That's hacky... I would like to see the official way of doing it.
      There isn't!

    5. #5
      Development Team
      Level 31 (16,306 Loyalty Points)
      is is Pulling my hair out trying
      to code
       
      I am:
      Wtf
       



      Ozzy47's Avatar
      Gil
      37,034 (0 Banked)
      Total Contributions For

      Ozzy47 Points for Posts (Own Threads) Most Problems Solved      $ 28.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Mar 2010
      Posts
      5,514
      Blog Entries
      12
      Points
      37,034
      Credits
      60,803
      Problems Posted
      0
      Problems Solved
      11
      Best Answers
      1
      Good Answers
      2
      Rep Power
      10

      Default

      Their is not a way to do Rainbow effect yet, it was asked before and is currently under consideration for a future update.

      vBDonate has won Mod of the Month for January 2013 at vBulletin.org. Thanks to everyone who voted and made this happen.


    6. #6
      Member
      Level 0 (0 Loyalty Points)
      This user has no status.
       
      I am:
      ----
       

      Gil
      530 (0 Banked)
      Total Contributions For

      tyteen4a03      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jul 2010
      Posts
      44
      Points
      530
      Credits
      332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default

      No, I was asking if I can add them myself, as a mod.

    7. #7
      Member
      Level 4 (2,742 Loyalty Points)
      This user has no status.
       
      I am:
      Crazy
       
      xandyx's Avatar
      Gil
      441 (20 Banked)
      Total Contributions For

      xandyx      $ 0.00
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      Join Date
      Jan 2011
      Posts
      47
      Points
      441
      Credits
      4,332
      Problems Posted
      0
      Problems Solved
      0
      Best Answers
      0
      Good Answers
      0
      Rep Power
      0

      Default

      For those that would like to have Rainbow Text For User Names;

      I've messed about and found a way to give you just what you want....

      Tested on vB4.1.5

      {The PHP code is not mine and is freely available}

      1: Create a usergroup
      Title: Rainbow
      You can set the Usergroup to have any permissions you want. {I just used the basic user permissions}

      If you want the user to determine when they wish to turn off/on the rainbow from their usercp:
      Public Group Settings: YES
      Otherwise leave as no and admin will have control



      Username HTML Markup
      Insert this code into the first box;

      HTML Code:
      <strong style="color: #FFBC58; rainbow: true;">
      And in the second box;
      HTML Code:
      </strong>


      2: Create a new Plugin
      Plugins & Products > Add New Plugin

      Product: vBulletin
      Hook Location: fetch_musername
      Title: Rainbow
      Execution Order: 1
      Active: Yes

      Plugin PHP Code:
      PHP Code:
      if( strpos$user['musername'], 'rainbow: true;' ) !== false )
      {
          
      $i $b 0;
          
          
      $username '';

          
      $colours = array('d31539''ff7e00''ffc20e''90d125''187acb''6f3198''ab1d8e');

          while( 
      $i strlen$user['username'] ) )
          {
              if( 
      $b > ( count$colours ) - ) ) $b 0;
              
              
      $username .= '<span style="color: #' $colours$b ] . '">' $user['username'][$i] . '</span>';
              
              ++
      $b;
              ++
      $i;
          }
          
          
      $user['musername'] = '<strong>' $username '</strong>';

      Save!


      3: Create The Item
      DBTech - vBShop > Manage Items

      From the Item Management dropdown select : Usergroup Change

      Fill in all the fields as you like except for:
      Item Type Specific Fields

      User Group: Rainbow
      Usergroup Type: Secondary Usergroup
      Add / Remove: Add

      To inform the member how to activate/deactivate you could put in the Description something like this:
      Description:
      This Item Gives The Buyer The Opportunity To Have Their Username Shine Like A Rainbow In The Sky.

      To Activate/Deactivate You Will Find The Setting In Your UserCP
      My Settings :: My Account :: Permission Groups

      Or Copy and paste this Url:
      Mysite.com/profile.php?do=editusergroups




      This is the only other way that I have been able to get the rainbow text working for the User name, it also has the advantage of allowing the user to switch on & off.

      Enjoy!
      Last edited by xandyx; 25th April 2012 at 00:49.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. User Title Style Changes Adds Up...
      By CheeSie in forum vBShop Lite Support
      Replies: 2
      Last Post: 22nd July 2010, 12:05

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •