/    Sign up×
Community /Pin to ProfileBookmark

Help with Edit Profile permissions

I’m having a little trouble with getting something the way I want it. There is one thing that I was hoping you might be able to help me with. When you add a new field to ‘both’ what can you add to the code to make it show up in the user’s profile but not the user’s edit profile. Let me explain. On my site, there is a battle system that revolves around Chakra Points (one of the new fields) and I want it to show up in both posts and in the profile when you click on that user’s name. However, I don’t want all users to be able to edit their own points… that will cause me a lot more work. I would rather have it show up under the find/edit/suspend user option when I go to edit details, or atleast be hidden from user’s but not from me so that I can edit them myself. This is basically the last thing I need to complete before my site will be fully ready for business. Any help would be greatly appreciated. Thanks in advance. I will post the code as well incase you need to look at it.

[QUOTE]

<script>// xProfile 1.5 by Markup
on = true
off = false

Age = [on, “<B>”, “</B>”, “<I>”, “</I>”, “Both”]
Location = [off, “”, “”, “<FONT color=red>”, “</FONT>”]
Flags = [off, “<SPAN style=display:none>”, “</SPAN>”, “”, “”, “Profile”]
SoundInProfile = off

i = 0
newField = []

newField[i++] = [“Characterfs Full Name”, “<B>”, “</B>”, “”, “<BR>”, “Profile”, [], 1]
newField[i++] = [“Gender”, “<SPAN style=display:Gender>”, “</SPAN>”, “<LEFT>”, “</LEFT>”, “Both”, [“Male”, “Female”], 2]
newField[i++] = [“Chakra Points”, “<B>”, “</B>”, “”, “<BR>”, “Both”, [], 3]
newField[i++] = [“Jutsus (User may not edit this field. If caught editing, user will be penalized 50% of max CP.)”, “<B>”, “</B>”, “”, “<BR>”, “Profile”, [], 4]
newField[i++] = [“CP Pool (User may not edit this field. If caught editing, user will be penalized 50% of max CP.)”, “<B>”, “</B>”, “”, “<BR>”, “Profile”, [], 5]
</script>
<script src=http://webpost.net/ma/markup/main15.js></script>

<script language=javascript>

[/QUOTE]

Also there’s a link to my site in my signature if you would like to refference it.

Rock Lee
Shinobi Academy Admin

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @Rock_Lee spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...