Adding Names under username

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Adding Names under username

Post by coldasice » Thu Jun 05, 2008 1:34 am

well if understand i was wondering if some one has made some script that lets u add some letters words or something below user name. i really need it. i have been looking trough ur scripts.

help please

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Adding Names under username

Post by Brf » Thu Jun 05, 2008 10:32 am

Did you try ranks?

coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Re: Adding Names under username

Post by coldasice » Thu Jun 05, 2008 12:13 pm

hmm that was noot what i was looking for cuz there user cant type extra text but its close

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Adding Names under username

Post by Brf » Thu Jun 05, 2008 1:21 pm

Add a custom profile field.

coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Re: Adding Names under username

Post by coldasice » Thu Jun 05, 2008 2:32 pm

Brf wrote:Add a custom profile field.
will that enable me to add a name under the user name when he has posted?

how do i do that :)?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Adding Names under username

Post by Brf » Thu Jun 05, 2008 2:49 pm

You havent explained what you want the field for? This post here inplies you want the Admin to fill in the field, while the previous post, three up, implies you want the user to fill it in.

In any case, the Custom Profile Field system will allow you to add user-editable and admin-editable fields for each user, and have them appear in viewtopic and profiles.

coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Re: Adding Names under username

Post by coldasice » Thu Jun 05, 2008 3:28 pm

well i want em because i want to be able to type their ingame name there i age of conan :)

i have tryed multi rank theme but when i do that i cannot access ucp or members list :/

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: Adding Names under username

Post by stickerboy » Thu Jun 05, 2008 3:53 pm

Moved to MOD Requests as I don't believe you're trying to develop this yourself ;)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Re: Adding Names under username

Post by coldasice » Thu Jun 05, 2008 3:58 pm

cherokee red wrote:Moved to MOD Requests as I don't believe you're trying to develop this yourself ;)
i aint requesting i think.. cuz i just want to know what to do to get somthing below user name or if there is a mod :/

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Adding Names under username

Post by Brf » Thu Jun 05, 2008 3:59 pm

Yes. Just create a custom profile field called "Ingame Name"

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Re: Adding Names under username

Post by stickerboy » Thu Jun 05, 2008 4:06 pm

coldasice wrote:
cherokee red wrote:Moved to MOD Requests as I don't believe you're trying to develop this yourself ;)
i aint requesting i think.. cuz i just want to know what to do to get somthing below user name or if there is a mod :/
MOD Writers is for users developing their MODs or tools. You would usually have code already written at the time of posting there :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

coldasice
Registered User
Posts: 11
Joined: Thu Jun 05, 2008 1:31 am

Re: Adding Names under username

Post by coldasice » Thu Jun 05, 2008 4:26 pm

cherokee red wrote:
coldasice wrote:
cherokee red wrote:Moved to MOD Requests as I don't believe you're trying to develop this yourself ;)
i aint requesting i think.. cuz i just want to know what to do to get somthing below user name or if there is a mod :/
MOD Writers is for users developing their MODs or tools. You would usually have code already written at the time of posting there :)
oh :)

Brf wrote:Yes. Just create a custom profile field called "Ingame Name"
hmm well that wont make it popp up there ->

tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: Adding Names under username

Post by tommekemc » Thu Jun 05, 2008 4:30 pm

yes it does :p
but it won't if you don't fill out the field.
my sig
my projects

images deleted because of the 6kb (wtf?) rule...

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51865
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Adding Names under username

Post by Brf » Thu Jun 05, 2008 4:45 pm

There is a comment in viewtopic_body that shows you how to make a custom display for your new field.

Code: Select all

		<!-- IF postrow.S_PROFILE_FIELD1 -->
			<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
			<dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
		<!-- ENDIF -->
Just change "FIELD1" to whatever your new field is, and move it up to the spot you want and take out the normal section:

Code: Select all

		<!-- BEGIN custom_fields -->
			<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
		<!-- END custom_fields -->

tommekemc
Registered User
Posts: 457
Joined: Wed May 14, 2008 6:36 pm
Location: Belgium
Contact:

Re: Adding Names under username

Post by tommekemc » Thu Jun 05, 2008 5:34 pm

Code: Select all

					<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
				<!-- END custom_fields -->
this showed the field with me:p
my sig
my projects

images deleted because of the 6kb (wtf?) rule...

Locked

Return to “[3.0.x] MOD Requests”