inherit
201888
0
Nov 18, 2020 8:42:56 GMT -8
jok3r
47
November 2013
jok3r
|
Post by jok3r on Nov 14, 2013 12:03:39 GMT -8
Hello all! I am using the plug-in social manager and wondering if this can be replaced with a Template so forum runs smoother. Explaining my needs: - Remove Social Websites
- Remove Instant Messengers
- completely remove "Social" tab out of profiles
Can this be done?
Thanks in advance!
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 13:00:56 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 14, 2013 13:15:38 GMT -8
Removing social websites could be done by removing those variables from the layout templates. Same for removing instant messengers. For "social" tab, do you mean the one in Edit Profile? I don't think that can be edited, maybe by JavaScript, but if you remove the variables from the layout template like I mentioned then even if they filled out social fields it wouldn't show up anywhere. If you'd like me to remove them from the layout templates, then go to Admin > Themes > Layout Templates > Mini-Profile and copy/paste that code here and then Admin > Themes > Layout Templates > User Profile > Summary copy/paste that code here as well.
|
|
inherit
201888
0
Nov 18, 2020 8:42:56 GMT -8
jok3r
47
November 2013
jok3r
|
Post by jok3r on Nov 14, 2013 13:51:25 GMT -8
Thank you ? ??ƒ ? for your reply! Yes i also want the Social tab completely removed from edit profile. One of the reasons is to keep things more simple. The Plug-In also removes that one. If it can't be completely removed by a template then i think keeping the plugin will be my personal solution.
|
|
inherit
The Great Cinnamon Roll
191518
0
Oct 19, 2016 22:17:44 GMT -8
David Clark
Care for some tai chi with your chai tea?
17,602
March 2013
davidlinc1
|
Post by David Clark on Nov 14, 2013 14:05:08 GMT -8
jok3r, the tabs are generated by a foreach loop that just runs through the list of menu items, so to remove it you'll need an if statement. In your Edit Profile template you should see this code: {foreach $[menu]} <li{if $[menu.active]} class="ui-active"{/if}><a href="$[menu.href]">$[menu.text]</a></li> {/foreach} Using this instead should ensure the Social tab does not appear. Keep in mind that while users won't be able to access the section via this button, they will still be able to by going to YOURFORUMURL.proboards.com/user/THEIR-USER-ID/social - pretty sure the plugin disables the section even when visiting the URL directly, and this can't be done via template modification.
|
|
inherit
201888
0
Nov 18, 2020 8:42:56 GMT -8
jok3r
47
November 2013
jok3r
|
Post by jok3r on Nov 14, 2013 14:09:38 GMT -8
Thank you David, will try this!
|
|