Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 29 users online :: 0 Registered, 0 Hidden and 29 Guests :: 2 Bots
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
Profile Customization Problem
Page 1 of 1 • Share
https://fmdesign.forumotion.com/t203-profile-customization-project
So I have a problem, I tried seeing the profile id of the new profile fields I made.
but they are in weird formats, not a simple number.
its 13_4 , how do I put it??
Will simply writing it like that work?
Simply putting it didn't work. HELP
Also, I have the Profile pop-up given here (and also on support forum) so I don't want it the design as well as the profile fields appear in it, what do I need to do for that?
Forum is Phpbb3
and link is http://onepiecea-edition.yoo7.com
So I have a problem, I tried seeing the profile id of the new profile fields I made.
but they are in weird formats, not a simple number.
its 13_4 , how do I put it??
Simply putting it didn't work. HELP
Also, I have the Profile pop-up given here (and also on support forum) so I don't want it the design as well as the profile fields appear in it, what do I need to do for that?
Forum is Phpbb3
and link is http://onepiecea-edition.yoo7.com
Question, did you copy the profile field that was on your user profile ? i.e. /u1
Add this tool to javascript codes management :
Title : Your choice
Placement : In all the pages
Go to your profile, and click on a profile field's value or name and it will alert the field ID. Then just replace the field IDs in the code below with your own.
When you're finished you can remove the script I gave you before.
Add this tool to javascript codes management :
Title : Your choice
Placement : In all the pages
- Code:
/\/u\d+/.test(window.location.pathname) && $(function(){$('#profile-tab-field-profil dl').on('click',function(){alert('#'+$(this).attr('id'))})});
Go to your profile, and click on a profile field's value or name and it will alert the field ID. Then just replace the field IDs in the code below with your own.
- Code:
var fontColor = $('#field_id5 .field_uneditable').text();
var linkColor = $('#field_id10 .field_uneditable').text();
var bgColor1 = $('#field_id7 .field_uneditable').text();
var bgColor2 = $('#field_id11 .field_uneditable').text();
var bgColor3 = $('#field_id12 .field_uneditable').text();
var bgImage = $('#field_id8 .field_uneditable').text();
var bgRepeat = $('#field_id9 .field_uneditable').text();
When you're finished you can remove the script I gave you before.
that helped thanks a lot!!
So its finally working!
But I have a few questions more :
- I have an announcement set up, the font-color changes in that too.. I don't want that.. And the "All about Guest" text color is unchanged.
- I don't really want to see the "Banner: Font-Color: " etc profile fields when I visit someone profile, can they disappear?
- will you make some more allowance on customizing profile more in future? like maybe font-family, border-style, 2 types of font? (1 header and 1 normal)
So its finally working!
But I have a few questions more :
- I have an announcement set up, the font-color changes in that too.. I don't want that.. And the "All about Guest" text color is unchanged.
- I don't really want to see the "Banner: Font-Color: " etc profile fields when I visit someone profile, can they disappear?
- will you make some more allowance on customizing profile more in future? like maybe font-family, border-style, 2 types of font? (1 header and 1 normal)
For the coloring, you can change what the variables color by editing the stylesheet :
To hide the fields use this inside the code :
I might redo it in the future. That old code is a bit clunky and could be easier to edit than it is now. I'm sorry if I kicked you off before. I was touching up the database methods, so I can make modifications easier.
- Code:
var profileStyle =
'<style id="profileStylesheet">'+
'#main, #page-footer, .module, .panel, #tabs li span { color:'+fontColor+'; }'+
'#main a, #page-footer a { color:'+linkColor+'; }'+
'body, #wrap { background-color:'+bgColor1+'; }'+
'.module, .panel.row3, #tabs a, #tabs .activetab { background-color:'+bgColor2+' !important; border:none !important; box-shadow:none; }'+
'.panel .panel { background:'+bgColor3+' !important; }'+
'#wrap { background-image:url('+bgImage+'); }'+
'#wrap { background-repeat:'+bgRepeat+'; }'+
'</style>';
To hide the fields use this inside the code :
- Code:
$('field1, field2, field3').hide();
I might redo it in the future. That old code is a bit clunky and could be easier to edit than it is now. I'm sorry if I kicked you off before. I was touching up the database methods, so I can make modifications easier.
Oh wait, yeah that wouldn't work. The best thing to do would be hiding them with CSS, because it would hide the whole DL. The only thing that'll look a little weird would be the profile separators. Don't know why that didn't come to mind first.
Just create a rule where the goal is to hide elements. Replace the IDs below with your own, and separate multiple IDs by a comma.
My idea would be to utilize 1 profile field, but create multiple input fields inside it when you edit. Probably will generate the whole style code like below after submission.
Just create a rule where the goal is to hide elements. Replace the IDs below with your own, and separate multiple IDs by a comma.
- Code:
#field_id1, #field_id2, #field_id3 { display:none }
My idea would be to utilize 1 profile field, but create multiple input fields inside it when you edit. Probably will generate the whole style code like below after submission.
- Code:
style = {
fontColor : #FFF;
bgColor : #F66;
bgimage : someimg.gif;
}
- Sponsored content
Similar topics
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum