Skip to main content
Recent Posts
1
Support / Re: How to disable "Currently" section in user profiles?
Last post by Arantor -
If you're looking in the files, ProfileInfo.template.php is the one to look at, on line 659 according to GitHub:

Code: [Select]
	// What are they up to?
if (!isset($context['disabled_fields']['action']) && !empty($context['member']['action']))
echo '
<dt>', $txt['profile_action'], ':</dt>
<dd>', $context['member']['action'], '</dd>';

I assumed since the disabled fields stuff was there, and it follows the same setup as the other disabled fields in SMF (which was previously behind the Core Features > Advanced Profile Fields feature), that this is how it could be disabled without a code edit.
2
Support / Re: How to disable "Currently" section in user profiles?
Last post by Steeley -
Actually, I don't see such a field (that I recognize as such any way), in the profile section (custom or otherwise). Arantor. That's what sent me looking through the php files.

When I found $member['action'] I said "Ah HA!" and stopped searching. If that's the wrong file, I'll start looking again when I get a chance..  it's got to be in one of 'em somewhere.. :-)
3
Support / Re: How to disable "Currently" section in user profiles?
Last post by Arantor -
If you're talking about the profile one only, it looks like you should be able to turn this off in admin. I forget exactly where the field configuration is (maybe you need to turn the custom profile fields on in Core Features first? I recently got a new laptop, have not installed Elkarte on it yet), but if you go into there, you should be able to disable the 'Action' profile field which should do what you're wanting.

What Steeley is referring to is the main who's online page in full rather than the profile page, and presumably is already restricted if you don't want people seeing this.
4
Support / Re: How to disable "Currently" section in user profiles?
Last post by Steeley -
I think you're gonna have to edit the Who.template.php file under Themes/Default  (or whatever themes you have installed and are enabled)

For the default file (assuming v. 1.1.6.. YMMV), you might try commenting out line 85 (containing ->  <div class="online_action">', $member['action'], '</div>] ).

If that works (and doesn't blow anything up), you owe me a beer., If it doesn't work (or does blow up and you have to dig that file out of the rubble), uncomment that line,  and maybe Spuds has a better answer than just my wild guess.  Good luck..
5
Support / How to disable "Currently" section in user profiles?
Last post by karvan -
Is there a way to disable the section of a profile that says what the person is currently doing except for hiding the online status? I couldn't find anything in the admin nor the personal account/profile settings. I'd just like the members to be able to see who is online without being able to see what they are doing.

Thanks in advance :)
6
Addons / Re: [ADDON] Font Awesome Icons in the Editor
Last post by Jorin -
Thanks, Spuds, I'll give it a try.

All is well, yes. Had some life changes the last months, some bad, some good, but overall I am very happy at the moment. I am officially divorced now, but have a wonderful new relationship growing, with kids (I love kids). I am still working in home office, it's save but a bit lonely. I was on holiday with her last week, which was a very good idea (and safe too, because we were still in Germany, no need for risky holidays in Greece or Spain). All is doing great. Thanks for asking, didn't know I was missed.  :D
7
Addons / Re: [ADDON] Font Awesome Icons in the Editor
Last post by Spuds -
I think you may be able to do that w/o the addon. 

If you have Font Awesome enabled for your theme ( which means in your themes index.template.php file you have 'require_font-awesome' => true, in the template_init function )

Then you should be able to add in some HTML like
Code: [Select]
<i class="fa fa-folder"></i>
which will show the folder icon where you place that code.  Pick whatever icon that is available with FA.

PS Nice you see you, hope all is well ! :D
10
Theme development / Re: Basic Form Testing
Last post by Spuds -
Thanks!
As for displayed name I never used that, I keep it disabled.
The default is that the display name is set to their userid ... which is not the ideal.  I could add the field to the form and auto fill it with the userid as well.  That way a user could change it if wanted.  Not sure.

I should have noted in the first post, all of that placeholder text that moves in / out of the text boxes is done only with CSS, not JS is used :D