UltraBB Forums Home 
Home Search search Menu menu Not logged in - Login | Register
UltraBB Forums > UltraBB > Software Assistance > Any way of making the Custom Title field longer?

Welcome to the UltraBB public support forum! Did you know there is an inexpensive totally integrated gallery available for UltraBB? Read more here: Gallery Details

 Moderated by: Jim
New Topic Reply Printer Friendly
Any way of making the Custom Title field longer?  Rate Topic 
AuthorPost
 Posted: Sun Mar 7th, 2010 07:55 am
  PM Quote Reply
1st Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Any way of making the Custom Title field a bit longer? Is this something easy? :)

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 08:58 am
  PM Quote Reply
2nd Post
tanygaer
TOIDI


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 2776
Status: 
Online
Mana: 
User Gallery
It is currently a varchar(30), it is theoretically expandable, but I am unsure of the impact of doing so elsewhere in the software.

Probably suck it and see would be the best approach, try expanding it to a length of 50, if it crashes somewhere you'll know you have a problem.

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 11:14 am
  PM Quote Reply
3rd Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
I'll settle for 40. :) Where do I change it?

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 11:54 am
  PM Quote Reply
4th Post
tanygaer
TOIDI


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 2776
Status: 
Online
Mana: 
User Gallery
In phpMyAdmin wowbb_users table structure, select the field and alter the length attribute.

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 12:26 pm
  PM Quote Reply
5th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
it seemed to be set to 25. I changed it to 40, didn't seem to do much. :squint:

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 12:32 pm
  PM Quote Reply
6th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
I've got the maxlength set in the html also, need to change that. I'm out the door, it would have to be done in each active theme.

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 12:52 pm
  PM Quote Reply
7th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
I was changing the wrong one I think. One was custom_title the other custom_user? something like that. I changed custom title from 30 to 40. Still didn't do anything.

HTML? Is that in the admin panel?

Thanks!

Last edited on Sun Mar 7th, 2010 12:53 pm by snooze

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 01:29 pm
  PM Quote Reply
8th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
k, can't find it in the template, nothing I could see in user profile, I'll wait for a hint. ;)

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 02:22 pm
  PM Quote Reply
9th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
I only use one theme, btw. Don't ever want to have to do all this stuff more than once!

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 08:07 pm
  PM Quote Reply
10th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
I better check and see what "you done" because it is user_custom_title in the database as of 1.17 unless Steph out did me.

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 08:11 pm
  PM Quote Reply
11th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Looks like you found it OK and changed it. Both in the database and the template... good job!

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 09:10 pm
  PM Quote Reply
12th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
uh... couldn't find it anywhere other than a profile pop up in the template, and it didn't seem to change the length when I go into 'edit profile'. Is it somewhere else?

Back To Top PM Quote Reply

 Posted: Sun Mar 7th, 2010 09:20 pm
  PM Quote Reply
13th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1819
Status: 
Offline
Mana: 
User Gallery
snooze wrote: uh... couldn't find it anywhere other than a profile pop up in the template, and it didn't seem to change the length when I go into 'edit profile'. Is it somewhere else?
Hi Snooze,

For the input tag, change size to match maxlength:

<input type="text" maxlength="40" size="40" ...

Maxlength is the maximum number of characters which can be entered.

Size is the width of the box, showing how many characters are visible without scrolling.

regards,

Martin.

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 09:34 pm
  PM Quote Reply
14th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
snooze wrote: uh... couldn't find it anywhere other than a profile pop up in the template, and it didn't seem to change the length when I go into 'edit profile'. Is it somewhere else?

Ha I get it. Yes anything in the admin panel is in it's own template. /admin/admin_templates.txt

So you want to be able to change them... I always thought of it as a user function. Users can make it longer for themselves the way it is.

Back To Top PM Quote Reply

 Posted: Mon Mar 8th, 2010 03:22 am
  PM Quote Reply
15th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
hokay, where do I find the admin template?

Back To Top PM Quote Reply  

 Posted: Mon Mar 8th, 2010 03:35 am
  PM Quote Reply
16th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Hang on.

Back To Top PM Quote Reply

 Posted: Mon Mar 8th, 2010 03:37 am
  PM Quote Reply
17th Post
Jim
I work here


Joined: Wed Apr 11th, 2007
Location:  
Posts: 6649
Status: 
Offline
Mana: 
User Gallery
Done

Back To Top PM Quote Reply  

 Posted: Mon Mar 8th, 2010 03:56 am
  PM Quote Reply
18th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 147
Status: 
Offline
Mana: 
User Gallery
Yay!! Whottta guy!!!!

Back To Top PM Quote Reply

Current time is 09:28 am  
UltraBB Forums > UltraBB > Software Assistance > Any way of making the Custom Title field longer? Top



Hosting

UltraBB 1.17 Copyright © 2007-2011 Data 1 Systems, INC.
Page processed in 0.2708 seconds (14% database + 86% PHP). 27 queries executed.