Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Custom User Titles V1.0 for YaBB 2.3/2.3.1 (Read 6549 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Custom User Titles V1.0 for YaBB 2.3/2.3.1
Dec 7th, 2008 at 12:52am
Print Post  
Custom User Titles V1.0

Description:
This Mod allows Administrators and Global Moderators (if allowed) to add Custom User Titles to Members.

The order in which the title will appear is like this:

Name
Position
Custom User Title
Additional Member Groups

Credits:
There was a version of this Mod for YaBB 1, I haven't been able to get in contact with the original author(s) but Michael Prager has told me it is okay to release my version of it.
I believe the original author was Godai, and it was also updated by rehlbe and mats.
Batchman requested an update of this Mod.

Screenshots:

Modify Profile - Admin Edits:


Message View:


Profile:


Zip package:
Custom_User_Titles_V1_0.mod

Installation:
1) Modify YaBB files using BoardMod or manually.
2) Load modified files to your server in ASCII mode.

Files to edit:
Admin/ModList.pl
Languages/English/Profile.lng
Sources/Display.pl
Sources/Load.pl
Sources/MyCenter.pl
Sources/Profile.pl
Sources/System.pl

History:
1.0 - By Derek Barnstorm - 6th December 2008
There was a version of this Mod for YaBB 1. I believe the original author was Godai, and it was also updated by rehlbe and mats.
« Last Edit: Jan 5th, 2009 at 12:36am by Derek Barnstorm »  

Custom_User_Titles_V1_0.zip ( 1 KB | Downloads )
Back to top
 
IP Logged
 
Simps
Junior Member
**
Offline


Gruellered!!!

Posts: 60
Location: Midlands, UK
Joined: Dec 24th, 2007
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #1 - Dec 7th, 2008 at 1:22am
Print Post  
Works fine thank you very much  Smiley
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #2 - Dec 7th, 2008 at 1:23am
Print Post  
You're welcome!
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #3 - Dec 7th, 2008 at 2:34am
Print Post  
Any changes to be aware of?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #4 - Dec 7th, 2008 at 2:38am
Print Post  
None at all batchman, it's exactly the same as the one you've already got when we were testing it.
  
Back to top
 
IP Logged
 
ccarr
Ex Member


Re: Custom User Titles V1.0 for YaBB 2.3
Reply #5 - Dec 7th, 2008 at 6:00am
Print Post  
Thanks Derek

I got this to work in my V2.2 board.

I love to see these new mods 8)
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #6 - Dec 7th, 2008 at 6:07am
Print Post  
You're welcome ccar... Glad you got it working with 2.2. too.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #7 - Dec 7th, 2008 at 7:22pm
Print Post  
It's no big deal, but I'd put two 'style=' in one line in this Mod. I've updated the first post.

If you don't want to install it again, find this line in Sources/Profile.pl

Code
Select All
   <td align="left" valign="middle"><span style="vertical-align: middle;"><input type="text" maxlength="100" name="cutitle" size="30" value="${$uid.$user}{'cutitle'}" /> <span style="background-color:${$uid.$user}{'cutitlecol'}">&nbsp; &nbsp; &nbsp;</span> <input type="text" maxlength="7" name="cutitlecol" size="7" value="${$uid.$user}{'cutitlecol'}" /></span><img style="vertical-align: middle;" src="$imagesdir/palette1.gif" style="cursor: pointer" onclick="window.open('$scripturl?action=palette;task=templ', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="" border="0" /></td> 


And replace it with this:

Code
Select All
   <td align="left" valign="middle"><span style="vertical-align: middle;"><input type="text" maxlength="100" name="cutitle" size="30" value="${$uid.$user}{'cutitle'}" /> <span style="background-color:${$uid.$user}{'cutitlecol'}">&nbsp; &nbsp; &nbsp;</span> <input type="text" maxlength="7" name="cutitlecol" size="7" value="${$uid.$user}{'cutitlecol'}" /></span><img src="$imagesdir/palette1.gif" style="vertical-align: middle; cursor: pointer;" onclick="window.open('$scripturl?action=palette;task=templ', '', 'height=308,width=302,menubar=no,toolbar=no,scrollbars=no')" alt="" border="0" /></td> 

  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #8 - Jan 5th, 2009 at 12:23am
Print Post  
This works with 2.3.1 - No update needed.
  
Back to top
 
IP Logged
 
Simps
Junior Member
**
Offline


Gruellered!!!

Posts: 60
Location: Midlands, UK
Joined: Dec 24th, 2007
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #9 - Jan 5th, 2009 at 12:34am
Print Post  
Aye just put it back on, no probs
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3
Reply #10 - Jan 5th, 2009 at 12:35am
Print Post  
Jolly good!  Smiley
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3/2.3.1
Reply #11 - Jan 15th, 2009 at 4:18pm
Print Post  
Color me confused.

I was running my forum as 2.3 for a couple of months with this mod on it, and had assigned custom titles to all of my users.

I upgraded to 2.3.1, still with the custom titles mod on it, but all my custom titles disappeared. I can go in and assign new custom titles, but what happened to all the ones I already had? How were they lost?

Any way to get them back without having to go to tons of work to track down what they were and reassign them?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3/2.3.1
Reply #12 - Jan 15th, 2009 at 6:05pm
Print Post  
Ah, I'd actually changed all instances of 'ctitle' to 'cutitle' in the .mod file before I released it. The best thing to do, so it doesn't happen again in the future, is to open your members .vars files, find this:

Code
Select All
'ctitle',"Test Title"
'ctitlecol',"#cc0033" 



And change to:

Code
Select All
'cutitle',"Test Title"
'cutitlecol',"#cc0033" 


  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom User Titles V1.0 for YaBB 2.3/2.3.1
Reply #13 - Apr 14th, 2009 at 4:56pm
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint