Forum Replies Created

Viewing 15 replies - 46 through 60 (of 92 total)
  • Hey Camu – last night i started building out the production site and voila – encountered same thing as originally reported by Todd and myself (e.g., this error -> In order to cancel or suspend one or more notifications, select the corresponding checkbox(es) and click on the button at the end of the list. No subscriptions match your search criteria.”

    so i did a variety of tests today to try to debug this issue and came to following conclusion which is that this appears to be an admin (and admin as author of post) thing in that if i am admin and try to reply to my own thread, then i only see this option without a check box -> “You can manage the subscriptions of this post.” and when i click on the link i get the error … but if i logged in as another user (author or susbsciber) then the check box does appear allowing me to subscribe to comment thread …

    and if i log in as admin and try to comment on another users post, ditto on no option to subscribe just the “You can manage subscriptions” to which i get error when click on link – unless there are subscribers to comments for that post – in that case as admin i see emails and options but cannot subscribe …

    i had thought initially that my discussion settings might have been at play as this new site only had one user (the admin) with the default Hello world post and comment … yet no matter what discussion settings i changed, my results were always the same …

    so i de-activated and re-activated plugin and again, no impact … so then i created some more posts, and comments but results were same …

    lastly, i created a new user and gave him subscriber status and logged in as that subscriber, voila, STCR worked … so then i changed the role to author and it still worked … but when i changed that test user’s role to admin, then i got the same thing as initially reported … however, if i went to a post that already a subscriber to the comments, then that admin (as well as super admin) could see the emails and modify with the various options …

    Hey Ron – great stuff here and thanks to you and Andrea for sharing …

    my only thought in this dept is to add default page (or some how be able to share a page blurb outside login form) … meaning that when non-logged-in-users see private site they see a default page (other than log in page) that has content about site and provides links to join, etc … not sure is possible … but share just in case … as it is now, when plugin is activated it defaults to login form … thus my preference would be to default to page besides login form and say something like -> “hey – welcome but gotta join and here’s why and click here to login yada yada” vs default login form which does not say anything about why site is private or how can access private, etc ….

    regardless, kudos to you both for your ongoing WP sensibilities … cordially, chuck scott

    Hi Camu – thanks for quick response … i did a variety of other tests since and will share below as fyi …

    a) initially when i got the error above i was logged in as super admin and there was only the default wordpress hello world with the one quote … thus i’m thinking that the error might be because of no real data or a super admin thing ..??..

    b) so next i deactivated your plugin and activated subscribe to comments plugin … this worked .. i did some comments, subscribed, more comments etc and still fine … so then i unactivated subscribe to comments and re-activated your reloaded plugin and voila – now it was working …

    c) so then i tried another site on my test network – actually i tested it on five sub sites … and i thought i saw the same thing in that if i was super admin and there was no comments but only once (and even here i might have confused the “no subscriptions to manage” message with the one reported above on the first site) … so i activated your plugin on all the other sites and was not able to repeat the message first seen … i did get some strangeness about not being able to see network options even though logged in as super admin but that was mostly like a browser cache thing as once i dumped all browser sessions and started fresh, everything on all the sub sites hummed along as planned …

    moral of the story = so far your plugin is working … i’ll certainly loop back if i encounter strangeness as soon i will be moving these test sites over to live site thus will repeat my plugin activation on another network …

    again, thank you for super prompt response and what looks to be like a wonderful plugin :>) cheers – chuck scott

    Hi – i too am having same issue as Todd Lahman initially mentioned … yet i have NO other plugins activated other than this Subscribe to Comments Reloaded 2.02 plugin … i am working on a sub site of a WP Multisite Network thus not sure if this has impact or not …

    Thread Starter chuckingit

    (@chuckingit)

    WOW – fascinating – the user_edit role not allowed on WP Multisite but only for Super Admins … yikes … certainly this is something the core WP team might want to re-evaluate but i digress … at least we now know where the culprit lies …

    okay … a) i tried your new beta2 file on the original site i was working on and it works – meaning that when i log in as a site admin on that sub site, then yes, now your Cimy User Manager link appears in the User Menu … and i can see how you blocked out the upload option … and yes, when i log back into that site as Super Admin, i can also see the Cimy User Manager link in the User Menu plus when i click on that i do see the file import option …

    b) import is important feature for me as that was purpose of installing your plugin for this particular site – in that i wanted to allow the Site Admins to upload csv files as they needed to … plus i am using the MultiSite User Management plugin ->
    http://wordpress.org/extend/plugins/multisite-user-management/

    thus have it configured so that when new users are created per your plugin’s upload on sub site, they automatically get added to all the other sub sites on network per the default roles set for those sub sites (which is mostly subscribers) …

    c) your link to the StackExchange thread = genius … thank you as that thread also spiders off into a couple neat directions that confirm the WP Multisite issue with admins not being able to edit users … this thread in particular looks like a winner ->
    http://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/

    accordingly, i’m thinking that i could add Brents’ solution via functions.php file and that should allow Site Admins edit user rights thus your original plugin would work (see function code below) … alternatively, maybe you want to include said function into your plugin thus allow for Site Admins to have full access to your plugin (import and export) ..??..

    again, thank you very much for all your help and to be continued :>) cordially, chuck scott

    Code Suggested to Allow Site Admins right to edit users – per Brents link above:

    function mc_admin_users_caps( $caps, $cap, $user_id, $args ){
    
    	foreach( $caps as $key => $capability ){
    
    		if( $capability != 'do_not_allow' )
    			continue;
    
    		switch( $cap ) {
    			case 'edit_user':
    			case 'edit_users':
    				$caps[$key] = 'edit_users';
    				break;
    			case 'delete_user':
    			case 'delete_users':
    				$caps[$key] = 'delete_users';
    				break;
    			case 'create_users':
    				$caps[$key] = $cap;
    				break;
    		}
    	}
    
    	return $caps;
    }
    add_filter( 'map_meta_cap', 'mc_admin_users_caps', 10, 4 );

    Thread Starter chuckingit

    (@chuckingit)

    thanks marco for hanging in there with me but i tried your new development version on the clean site and still get same results …

    i even added this same user to the primary site as admin but still no Cimy User link unless Super Admin …

    Thread Starter chuckingit

    (@chuckingit)

    pss – i created a brand new WP Multisite network with other domain … no users … no other plugins … thus clean slate … i created a new sub site called “test” then created a new admin user for test site called “dude” … i log out from Super Admin … next i log in as dude into the test sub site … i activate the Cimy plugin and it activates but again, no Cimy link in the Users menu …

    so then i log out, log back in as Super Admin, and voila – there is Cimy User Manager link in the Users menu .. but i log out, log back in as the dude admin and still no Cimy link in Users menu …

    thus there must be something wierd about how WP Admins are treated on a Multisite network that is playing havoc with your plugin ..??..

    Thread Starter chuckingit

    (@chuckingit)

    ps – i just went back and created a new admin user on that sub site thinking maybe something might have got corrupted with prev admin but here again, with this new site admin, the plugin shows as active in the plugins page but the Cimy User Manager link is missing from the Users menu …

    Thread Starter chuckingit

    (@chuckingit)

    okay – i went back and did as you outlined but still does not show up even when i activate the plugin at sub-site level as the admin for that sub site …

    so in the plugins page it shows as active with option to “Deactivate” but in the menu Users there is no CIMY link – just -> All Users … Add New … Your Profile … Roles … Add New Role …

    but when i log out as admin, and then log back into same sub site as Super Admin, then the Users menu shows the Cimy User Manager link (just under Your Profile and above User Role Editor …

    accordingly the Site Admin is still not able to see the activated plugin … ugh …

    as to Network Activation – i’m with you on this … i really don’t like to network activate most plugins on a WP Multisite Network as i prefer to activate each plugin at sub site level and then dial in any settings / tweaks that apply or are unique to that sub site but i digress …

    Thread Starter chuckingit

    (@chuckingit)

    I’m with you on the editor role but i can’t get it to work with default admins – only with Super Admin …

    Thread Starter chuckingit

    (@chuckingit)

    Hi Marco – thanks for getting back to me and i did as you suggest but still does not work … i tried two roles plugins – first Justin Tadlocks Members plugin and then modified the editor role to include the following additional capabilities -> create_users, edit_users, delete_users, list_users, remove_users, import, and manage_network_users … but when i logged in as editor with these new capabilities, the CIMY User links in the Users left menu area was not present …

    so then i activated the other plugin, User Role Editor by shinephp.com, and that had same options as Members but with addition of changing levels so i checked all levels (1-10) for editor and tried again but to no avail …

    since your plugin was activated at the sub-site level, i thought i’d deactivate it, then network activate so it was available on all site but again, the menu does not appear …

    forgetting about the editor role, even when i promote said user to sub-site admin, the plugin does not show – network activated nor at sub site activation … thus i’m pretty sure you would want your plugin to work for site admins yet i’m lost as to what next to try to get this to work as sub-site admin ..??..

    part of me wonders if indeed the plugin is working but is not showing in the Users menu list per a WP thing and maybe if you put it in its own menu then it would appear vs trying to hook into the Users menu ..??..

    very much appreciate your help with this … cordially, chuck scott

    Thread Starter chuckingit

    (@chuckingit)

    okay just to add a bit more info here … here is more specific set of examples …

    if i am on the mystjoe site the activation link on this site =
    http://stjosephbrookfield.com/mystjoe/wp-admin/plugins.php?action=activate&plugin=subscribe-to-comments-reloaded%2Fsubscribe-to-comments-reloaded.php&plugin_status=all&paged=1&s&_wpnonce=df8f95d311

    yet result is that it takes me to another site when i click on that link – in this case the “community ads” site and says “plugin activate” … but if i go back to teh “mystjoe” site, it still shows as not activate …

    and if i try to deactivate on another site, “photos”, the deactivate link on photos site =

    http://stjosephbrookfield.com/photos/wp-admin/plugins.php?action=deactivate&plugin=subscribe-to-comments-reloaded%2Fsubscribe-to-comments-reloaded.php&plugin_status=all&paged=1&s&_wpnonce=bb9549a578

    yet result is that it takes me back to “community ads” site and shows the plugin deactive on that site but when i go back to the photos site it still shows as active thus no way to deactive the plugin on photos site as it keeps going back to the community ads site …

    Thread Starter chuckingit

    (@chuckingit)

    thanks for link and i put those files on site but the plugin is still broken per my example above – including even when i try to de-activate the plugin on one it takes me back to another site on network …

    thus no way to activate or deactivate as it gets confused and keeps taking me back to Site-A regardless of what other site in trying to activate or deactivate it …

    so i deleted the plugin and reinstalled thinking that might help but no … same result …

    i’m wondering given some of the error messages that maybe the meta data got corrupted a bit but not sure what i should try to delete via phpMyAdmin and/or in what tables …

    all of this is a bit wierd as i don’t recall having any issues within multisite network before so not sure if this is a 2.0.1 thing or perhaps was wierd before latest version ..??..

    thanks again for any help you can provide … cordially, chuck scott

    Thread Starter chuckingit

    (@chuckingit)

    Hi Camu – thanks for quick response (and thanks in advance for fix) … do you have a link to the repository files ..??.. i just found out that it is also bombing on a multisite network in that if installed on Site-A and then i try to install another instance of it on Site-B, it takes me back to Site-A thus does not work with Site-B and suspect this database thing might be part of issue hence looking forward to trying new files … cordially, chuck scott

    chuckingit

    (@chuckingit)

    Hey Erik – thanks for quick response … yes, would welcome opportunity to look at it as i too have very narrow case … in that i have a sub blog called photos, and only want to pull the top 3 or 5 thumbs and post titles from that blog id and then show those posts / thumbs as widget in primary site … can’t believe how difficult it has been to try to find a solution thus far but i digress … cheers – chuck scott

Viewing 15 replies - 46 through 60 (of 92 total)