noitcif
Forum Replies Created
-
By the way, I thought about it, that in the future subscribe to the premium UM private message extension, but now I dont now, this extension to work on subsites, if the plugin run only the network_home… I think no, and until I don’t see it, how it works (where it works), I dont even know, that with minor modifications I can get to compatible to an open multisite.
I think this plugin it would be perfect, if primarily works with globally settings, such as buddypress, so you can set up in your network admin panel. I really dont know, what the reason at all this duplicating system. This is horrible of SEO. On a multisite in 90% you want manages users on only the network home, or no?
Okay, so with the above-mentioned solution you need changes the codes in “includes/admin-bar.php”, and in “yourtheme/comments.php”, because the avatars and author links not working on subsites.
example (maybe this is the most complicated, so according to this you can learn to do it everywhere):
you get the comment author’s UM avatar like this:<?php $author = get_comment_author( $comment_ID ); ?> <?php $the_user_id = get_the_author_meta('ID') ?> <?php echo '<img src="' . network_home_url( '/wp-content/uploads/ultimatemember/' . $the_user_id . '/profile_photo-80.png') . '" class="avatar" alt="' . $author . ' logo" width="" height="">'; ?>Thanks the reply!
…
If someone would still think about it change the biobox code (or you can create your own) with the UM images, here is an example with the “Simple Author Box” by Macho Themes:modified “get avatar”:
echo '<img src="' . network_home_url( '/wp-content/uploads/ultimatemember/' . $sabox_author_id . '/profile_photo-190.png') . '" alt="avatar">';get the cover:
echo '<div class="saboxplugin-wrap" style="background-image: url(' . network_home_url( '/wp-content/uploads/ultimatemember/' . $sabox_author_id . '/cover_photo-600.jpg') . ');">';- This reply was modified 8 years, 3 months ago by noitcif.
Oh god 😐 I worked with this almost a week, now everything is ready on the network_home, attuned to this plugin, and now brighten up, when I tested with a member, THIS NOT WORKING ON MULTISITE!
Can not be set globally user roles, if I have a bigger network, I need to go all the way thousands of times on the settings. If a member create a new site, this plugin create new and new and new subpages of login, register etc, and nothing global settings…
edited:
OKay, maybe exists one solution, but pretty ridiculous and for the time being I dont know I would dare to use it on my live network… so whereas settings the plugin on your network home site, go to network dashboard/plugins and deactivate the Ultimate Member. (Not uninstall, only deactivate.) Your settings, such as roles (and for the time being it seems the features as well) retained on your network home, but the plugin in deactivated condition not create new login,register,user pages on the new subsites.
Cons:
The “profiles” item on the wordpress toolbar shows to the actual subsites/user. This not working, because the page dont exist (This still better, as though duplicated thousands of times), so in this case you need to modify these “My Account” item links in includes/admin-bar.php. So example if you use sub-directorys, replace the
‘href’ => $profile_url
to this:
‘href’ => network_home_url( ‘/user/’ . $current_user->display_name )… Thinkable, that I writeing to here in the next few weeks, because as I see it there is no solution 7 months ago….
- This reply was modified 8 years, 3 months ago by noitcif.
Sorry, the tags left behind, so I can make up for it…