Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
pan
Involved
Involved


Joined: Jul 25, 2006
Posts: 354

PostPosted: Tue Jun 16, 2009 12:29 am Reply with quote

How do I allow for more text to be entered into these 2 fields in the profile section?

Will I need to edit data in both 'Your Account' section and the phpbb 'Profile' section?


Last edited by pan on Tue Jun 16, 2009 10:51 pm; edited 1 time in total 
View user's profile Send private message
pan
PostPosted: Tue Jun 16, 2009 5:32 pm Reply with quote

pan wrote:
How do I allow for more text to be entered into these 2 fields in the profile section?

Will I need to edit data in both 'Your Account' section and the phpbb 'Profile' section?


Disregard.

My question is this:

How do I allow for more text to be entered into the Occupation field of the phpbb forums profile editing section?
 
ToolBox
Regular
Regular


Joined: Mar 16, 2005
Posts: 74

PostPosted: Tue Jun 16, 2009 8:01 pm Reply with quote

In you DB, find table nuke_users
A field which belongs to this table is user_occ.
user_occ should have varchar(100), a linear string, which you will change to text

Now, open your themes/fourms/templates/profile_add_body.tpl
and
modules/forums/templates/silver/profile_add_body.tpl

(changing them in both files is same)

find the following block:
Code:


   <tr>
     <td class="row1"><span class="gen">{L_OCCUPATION}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="occupation" size="25" maxlength="100" value="{OCCUPATION}" />
     </td>
   </tr>


here, change input control to textarea control.

that's all.

Good Luck.
 
View user's profile Send private message
pan
PostPosted: Tue Jun 16, 2009 10:20 pm Reply with quote

Thanks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©