Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter osby

    (@osby)

    Hi!

    Thanks for the suggestions! Forgot to mention that the menu items have been customized heavily so that’s why there is no “My Sites”-menu.

    The last suggestion works pretty well, maybe as good as it gets right now?

    The only “problem” is that if I try to go to my profile or Create a new post, I always land on the dashboard. So is it possible to find out what url the user requested and use that in the code?

    Thread Starter osby

    (@osby)

    I am using this on a multisite (which it doesn’t really work for) but It has worked fine after some tweaks.

    Now it seems I can do a manual update on the streams on my own blog, but not on my girlfriends. And no automatic updates.

    Thread Starter osby

    (@osby)

    Hi again Ipstenu!

    Sorry, but I don’t think this is resolved yet. Not in the way I wan’t it at least ??

    So, here we go:
    I have site A and site B.

    If site A visits site B (B has the join-setting to automatic) site A gets added as a subscriber. Works just like I want it to.

    However, I wan’t site A to click a button on site B to actually join it as a subscriber.

    So, the plugin works good, but the button doesn’t work the way I need it to.

    Thank you!

    Hello!

    I am trying out the new WC 2.0 and everything is working well. But It seems the manual pricing isn’t working for anyone.

    The automatic works ok, but honestly I think most people would agree with me that it’s better to set the price manually for each currency/language.

    Found this: https://wpml.org/forums/topic/unable-to-update-prices-urgent/ and tried it out, but still no luck.

    Hoping for a fix soon, thank you!

    Thread Starter osby

    (@osby)

    Ok, I will try to explain.

    1. I am on this “users” blog. Let’s call it site A.
    2. When viewing this users profile, I want to have a button which says “Add me as friend”
    3. On the profile I want to list a number of recently joined friends (subscribers).

    So, number 3 works good with the get_users.

    I thought that when a (logged in of site B) user clicked the button, it would a be added to site A as a subscriber, maybe through the query “?jmm-join-site”.

    I’m using Gravity forms to sign up on the main sites homepage.

    Thread Starter osby

    (@osby)

    Sorry, I am not getting this at all now.

    So the user will have to sign up using the registration page?

    Thread Starter osby

    (@osby)

    It seems I can’t get it to work properly.

    I’ve network activated the plugin, and visited the settings page on the subsite to save the settings. Then I’ve added a user that’s not connected to the subsite.

    But when I click the following button:
    <a href="?jmm-join-site" id="join-site" class="btn btn-inverse">Phrase here</a>
    Nothing happens, did I misunderstand the href part?

    Thread Starter osby

    (@osby)

    get_users worked like a charm!

    Thank you!

    Thread Starter osby

    (@osby)

    Sorry for that!
    Yes, I wondered if the plugin handled all the other parts (the ifs and elses and all).

    Yes, as I said, that piece of code I got lists the entire networks users.

    I want that to output all the users with a subscriber-level registered to a site (so the site admin and superadmins don’t appear in it).

    So what’s needed is the correct get_results arguments so it finds out which site it’s on.

    Thread Starter osby

    (@osby)

    Aha, I was thinking about that actually after I’ve checked the widget.php. I don’t need a shortcode for that.

    So the plugin handles the logged in user id who visits the url and all that? Cause that would be great!

    And for this I am trying to figure out how to display all the users with a subscription-level on a page.

    Got this now, but it lists all users of the entire network.

    function contributors() {
     global $wpdb;
    
     	$authors = $wpdb->get_results("SELECT ID, user_nicename from $wpdb->users ORDER BY display_name");
    
    	 foreach($authors as $author) {
    	 	$blogs = get_blogs_of_user( $author->ID );
    	 	     if($blogs) {
    	 	     	 foreach ( $blogs as $blog ) {
    	 	         echo '<li><a href="'. $blog->siteurl .'" class="ttip-bottom" data-original-title="'. get_the_author_meta('display_name', $author->ID) .'">';
    	 	         echo get_avatar($author->ID, 64);
    	 	         echo "</a></li>";
    	 			}
    	 	     }
    	 }
     }

    I have been testing some similar plugins to have a blog copied upon user signup and depending on the value of a custom sign up field pick the blog to duplicate.

    Any news on this?

    Why I would like to use this plugin is because of it’s very lightweight and have a low impact as far as I can tell.

    Thank you

    Forum: Plugins
    In reply to: bbPress messes up the site
    Thread Starter osby

    (@osby)

    I’ve found the problem now, and it’s really weird.

    If i run bbPress with default language with bbp-languages folder empty, everything works.

    If I put in sv_SE in it, plugins cant activate and menus cant be edited, posts not updated etc.

    Why is this?

    Have the same problem, but my intention is to use it in posts and pages. However as soon as i have the two activated at the same time, the admin breaks.

    osby

    (@osby)

    Good post, and good answers! But I still can’t get my pagination to work..

    My homepage is set up to be a page with a template. The template serves the following:

    At the top, with a query that looks for posts with “featured” tagged to them. This query shows the 6 latest featuerd posts.

    After that I’ve got the second query that shows all posts that does not carrie the tag “featured”. So, this is the loop I want to paginate. And if possible it would be nice to remove the “featured” slider on the pagination.

    Thanks!

    Thread Starter osby

    (@osby)

    So, I’ve solved this one on my own!

    Thought I’d share my solution to it in case someone else runs in to the same problem.

    The solution to this is to enable the “editor” function in the custom post type, which I did not do, since I’m not going to use it. But, I can just leave it in the top and all the other (7) wysiwyg windows works like a charm!

    The weird thing is that everything but the upload functions/buttons worked.

    Anyway, I’m guessing this one’s solved!

Viewing 15 replies - 1 through 15 (of 21 total)