How do I remove a default profile field?

Discussion forum for MOD Writers regarding MOD Development.
Locked
PyromancerJ
Registered User
Posts: 9
Joined: Tue Jul 27, 2010 1:46 am
Contact:

How do I remove a default profile field?

Post by PyromancerJ » Wed Jan 19, 2011 6:31 pm

Hi everyone,

I would like to remove the default profile field "website and location" but I'm not sure how.

How do I do this?

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: How do I remove a default profile field?

Post by AGC » Wed Jan 19, 2011 9:48 pm

From where you want it to be removed?

For example:
to remove it from the UCP, you can find: (in [b]"ucp_profile_profile_info.html"[/b])

Code: Select all

	<dl>
		<dt><label for="website">{L_WEBSITE}:</label></dt>
		<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="location">{L_LOCATION}:</label></dt>
		<dd><input type="text" name="location" id="location" maxlength="255" value="{LOCATION}" class="inputbox" /></dd>
	</dl>
and remove it.
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

PyromancerJ
Registered User
Posts: 9
Joined: Tue Jul 27, 2010 1:46 am
Contact:

Re: How do I remove a default profile field?

Post by PyromancerJ » Thu Jan 20, 2011 12:01 am

I know I should know this, but what and where is the UCP?

User avatar
Saldash
Registered User
Posts: 619
Joined: Mon Nov 10, 2008 8:08 am
Location: Flintshire, UK
Name: Stuart Jackson
Contact:

Re: How do I remove a default profile field?

Post by Saldash » Thu Jan 20, 2011 11:35 pm

UCP is your User Control Panel.
The file path is ./styles/yourstyle/template/ucp_profile_profile_info.html

From there, it's just as AGC mentioned.
World Recoded UK - DreamHost Site of the Month winner February 2011!

PyromancerJ
Registered User
Posts: 9
Joined: Tue Jul 27, 2010 1:46 am
Contact:

Re: How do I remove a default profile field?

Post by PyromancerJ » Fri Jan 21, 2011 12:37 am

I am such a noob to this, where do you find that?

User avatar
Saldash
Registered User
Posts: 619
Joined: Mon Nov 10, 2008 8:08 am
Location: Flintshire, UK
Name: Stuart Jackson
Contact:

Re: How do I remove a default profile field?

Post by Saldash » Fri Jan 21, 2011 11:54 am

Its at the root of your forum. ./ refers to the root of a folder.

Go to the folder you installed phpBB to and find the styles folder.
Inside the styles folder are the installed styles your board can use.
Open the folder for the style you board currently uses, and drill down to templates/ where you will find that file.
World Recoded UK - DreamHost Site of the Month winner February 2011!

PyromancerJ
Registered User
Posts: 9
Joined: Tue Jul 27, 2010 1:46 am
Contact:

Re: How do I remove a default profile field?

Post by PyromancerJ » Fri Jan 21, 2011 1:52 pm

Oh, Okay. Thanks so much, I'm just really new to this.

DaveH
Registered User
Posts: 126
Joined: Wed Jan 15, 2003 10:42 pm

Re: How do I remove a default profile field?

Post by DaveH » Fri Jan 21, 2011 8:44 pm

I'm trying to remove a bunch of default fields, too (well, hide them).

So, I will need to remove them from the templates:

- registration
- ucp

Where else will I find them? I am trying to simplify the forum for a group of unsavvy users, so I'm cleaning everything up that I can!

User avatar
AGC
Registered User
Posts: 292
Joined: Sat Sep 15, 2007 10:26 pm
Contact:

Re: How do I remove a default profile field?

Post by AGC » Sun Jan 23, 2011 12:19 am

I don't understand.
You want to remove the registration ?
Access to the User Control Panel?
(phpBB 2.0.x): []Admin Topics List[] MOD. << Description & Download. , []Highlight Author[] MOD.

Donate-paypal
(phpBB 3.0.x)[ver] MODs: [RC1] >Import old *.pak files MOD. + . . .[8] > ACP - Modules Quick Access (MQA) MOD. + . . . [7-PL1] > Multi Smile (actions) MOD

User avatar
Saldash
Registered User
Posts: 619
Joined: Mon Nov 10, 2008 8:08 am
Location: Flintshire, UK
Name: Stuart Jackson
Contact:

Re: How do I remove a default profile field?

Post by Saldash » Sun Jan 23, 2011 7:07 pm

AGC wrote:I don't understand.
You want to remove the registration ?
Access to the User Control Panel?
I think he means remove the fields he doesn't want from the Registration and UCP templates.
Could be as simple as defining a default value and using the Hidden type attribute?
World Recoded UK - DreamHost Site of the Month winner February 2011!

abumslife
Registered User
Posts: 192
Joined: Thu Apr 10, 2003 8:26 pm

Re: How do I remove a default profile field?

Post by abumslife » Tue Feb 22, 2011 8:58 pm

how do i hide all of that -----(member profile pane)------->

i don't want to delete all the info because i want peoples profiles to still have all that information... i would like to hide it so posts can use the space instead... will possibly move some of that into the members posts... thanks

User avatar
imkingdavid
Former Team Member
Posts: 2667
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: How do I remove a default profile field?

Post by imkingdavid » Tue Feb 22, 2011 9:23 pm

The stuff in the postbit (to the left of each post) is in viewtopic_body.html in your style's template folder.
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

abumslife
Registered User
Posts: 192
Joined: Thu Apr 10, 2003 8:26 pm

Re: How do I remove a default profile field?

Post by abumslife » Wed Feb 23, 2011 2:06 am

how do i hide it without breaking the post space?

Locked

Return to “[3.0.x] MOD Writers Discussion”