PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
pan
Involved
Involved


Joined: Jul 25, 2006
Posts: 354

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

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
Involved
Involved


Joined: Jul 25, 2006
Posts: 354

PostPosted: Tue Jun 16, 2009 5:32 pm Reply with quote Back to top

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?
View user's profile Send private message
ToolBox
Regular
Regular


Joined: Mar 16, 2005
Posts: 74

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

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
Involved
Involved


Joined: Jul 25, 2006
Posts: 354

PostPosted: Tue Jun 16, 2009 10:20 pm Reply with quote Back to top

Thanks!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum