Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post [OUTDATED] CUSTOMIZATION - How To Increase Topic Title Length 
 
Good morning and mery xmas
I am running Icy Phoenix 1.2.0.27c and I notice that the title topic is 35 characters maximun
Can I increase it to 100 characters?

Second edit ( ~~ novice programmer on both ~~ ):

Solution by raphael10 (Copied from post below):

raphael10 wrote: [View Post]
From the  italian IP forum:


1.    

First of all: backup your database!  

2.

In Mysql database issue the following command:

Code: [Download] [Hide] [Select]
query SQL: ALTER TABLE `ip_topics` CHANGE `topic_title` `topic_title` VARCHAR(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL


3.    

OPEN
posting_body.tpl

FIND
Code: [Download] [Hide] [Select]
<td class="row2" width="78%"><input type="text" name="subject" size="45" maxlength="60" style="width:98%" tabindex="2" class="post" value="{SUBJECT}" {S_AJAX_BLUR} /></td>


CHANGE

Code: [Download] [Hide] [Select]
maxlength="60"


with the number you have put in VARCHAR (100 in this example)

 



 
Edited by novice programmer, Tue 30 Dec, 2008 00:04: Fixed title + structures + spelling to suit into the docs.
Edited by novice programmer, Tue 30 Dec, 2008 00:07: Added solution.
dellmanxSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Increace Topic Title 
 
Yes, but you will have to increase the limit both in the .tpl file and at the DB.

If somebody con give more indications around this it would be fully apreciated. I know it has been answered before, but I am unable to find it now.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Increace Topic Title 
 
From the  italian IP forum:


1.    

First of all: backup your database!  

2.

In Mysql database issue the following command:

Code: [Download] [Hide] [Select]
query SQL: ALTER TABLE `ip_topics` CHANGE `topic_title` `topic_title` VARCHAR(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL


3.    

OPEN
posting_body.tpl

FIND
Code: [Download] [Hide] [Select]
<td class="row2" width="78%"><input type="text" name="subject" size="45" maxlength="60" style="width:98%" tabindex="2" class="post" value="{SUBJECT}" {S_AJAX_BLUR} /></td>


CHANGE

Code: [Download] [Hide] [Select]
maxlength="60"


with the number you have put in VARCHAR (100 in this example)
 



 
raphael10Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Increace Topic Title 
 
That's it!!

Moving to docs!!

Thanks raphael10!
 



 
novice programmerSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron