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 06:55 am
  PM Quote Reply
1st Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 07:58 am
  PM Quote Reply
2nd Post
tanygaer
CentOS Guru


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 1244
Status: 
Offline
Mana: 
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 10:14 am
  PM Quote Reply
3rd Post
snooze
License Holder
 

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

Back To Top PM Quote Reply  

 Posted: Sun Mar 7th, 2010 10:54 am
  PM Quote Reply
4th Post
tanygaer
CentOS Guru


Joined: Mon Jun 16th, 2008
Location: Rhosgadfan, North Wales, United Kingdom
Posts: 1244
Status: 
Offline
Mana: 
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 11:26 am
  PM Quote Reply
5th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 11:32 am
  PM Quote Reply
6th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
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 11:52 am
  PM Quote Reply
7th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 11:53 am by snooze

Back To Top PM Quote Reply  

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

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 01:22 pm
  PM Quote Reply
9th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 07:07 pm
  PM Quote Reply
10th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
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 07:11 pm
  PM Quote Reply
11th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
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 08:10 pm
  PM Quote Reply
12th Post
snooze
License Holder
 

Joined: Sun Mar 16th, 2008
Location:  
Posts: 132
Status: 
Offline
Mana: 
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 08:20 pm
  PM Quote Reply
13th Post
martin_wynne
Licence Holder


Joined: Sun May 25th, 2008
Location: West Of The Severn, United Kingdom
Posts: 1115
Status: 
Offline
Mana: 
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 08:34 pm
  PM Quote Reply
14th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
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 02:22 am
  PM Quote Reply
15th Post
snooze
License Holder
 

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

Back To Top PM Quote Reply  

 Posted: Mon Mar 8th, 2010 02:35 am
  PM Quote Reply
16th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
Hang on.

Back To Top PM Quote Reply

 Posted: Mon Mar 8th, 2010 02:37 am
  PM Quote Reply
17th Post
Jim
Father


Joined: Wed Apr 11th, 2007
Location:  
Posts: 4684
Status: 
Online
Mana: 
Done

Back To Top PM Quote Reply  

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

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

Back To Top PM Quote Reply

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



Hosting

UltraBB 1.17 Copyright © 2007-2008 Data 1 Systems
Page processed in 0.2442 seconds (8% database + 92% PHP). 27 queries executed.