We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

PROFILE JAVA SCRIPT | Forum

Topic location: Forum home » Support » General Questions
Antartis
Antartis Dec 21 '12
We are a gamer community and I want to add into the PROFILES with the custom text/html a java scrpt like this, to see ingame skills etc:


<script>var guildhead_skillcalc = { "hash": "zcc" }</script><script src="http://static.guildhead.com/skill-calc-embed.js"></script>



I did in my own profile and works (I am admin)

http://www.xogamers.com/gamers/user/aNTarTis

, but other members CANT add the java in ther profiles with the "custom text/html" option, how can edit or configure to allow that? is there any way? 

The Forum post is edited by Antartis Dec 21 '12
Antartis
Antartis Dec 22 '12
What I mean is the normal members cant add java scripts into ther profiles with the custom text/html tool only me because I am admin, so is there a way to change that?
Pete
Pete Dec 22 '12
Just add it to all to members profiles ,is it the same script that everybody uses ?
Antartis
Antartis Dec 22 '12
no, thats the problem,  in the { "hash": "mcV9ix9cM" } there is the variation for diferents class/skills, so they need to add that.

But, there is no way to alter the permitions to allow certain role of members to post java scripts in the profiles?


If I can add it myself to each prfile, but admins CANT edit that, is really :/

The Forum post is edited by Antartis Dec 22 '12
Antartis
Antartis Dec 24 '12
still cant find a way
Alia Team
Alia Dec 24 '12
Antartis, what you are trying to achieve can not be done with standard Oxwall settings. Custom code modification is required.

I would suggest creating a new type of field which would accept html/js and add this new type to already existing types for profile questions. This way each user will be able to add his data when registering/editing his profile.

Oxwall doesn't do custom code modifications, but I know that you can find a developer to do this for you at Oxwall Market.