Mohamed Hamad
Forum Replies Created
-
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Events Manager & YARPPI’ve been having a hard time with this, and i dont seem to get any results from my related posts for an event.
<?php if(function_exists('related_posts')): ?> <?php related_posts(array( 'post_type' => array('event'), 'show_pass_post' => false, 'past_only' => false, 'weight' => array( 'body' => 1, 'title' => 2, 'tax' => array( 'post_tag' => 1, 'category' => 2, ) ), 'require_tax' => array( 'post_tag' => 1 ), 'template' => 'yarpp-template-events.php', 'limit' => 5, 'order' => 'score DESC' ), $post->ID , true); ?> <?php endif; ?>
I get no results. am i doing something wrong? can someone share their code please?
Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopright so in the end, all i had to do really was to remove the following lines from the wp-config.php for a second network to get the wp-signup.php going.
define( 'DOMAIN_CURRENT_SITE', 'memoirsite.com' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
and it seemed to all work fine. in a network, the child site still redirects to the parent for login.
Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopI just tried setting up a brand new wp install, with multi-site enabled, and installed the multi-network plugin. also used your sunrise.php script as you described.
I created a second network and i’m still not able to register a user on a second network. it goes in to a loop as before and the craps out.
am i missing something?Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopon more thing, if i already have a child site, and want to turn that into a network, is that possible?
Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopdont bother answering the question about the domains for the other networks!
Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopI’m starting to get your point of the irrelevance of the domain mapping when you have the multi-network.
I might have to reevaluate my setup in lieu of the child site registration issue. I just might have to make it that i just have a series of networks, instead of network and child sites.
in saying that, how do you map a domain to the 2nd & 3rd network with the multi-network plugin?
my ideal situation is thisnetwork1.com
child1.network1.com -> otherdomain.com
child2.network1.com -> anotherdomain.comnetwork2.com
child3.network2.com -> yetanotherdomain.com
child4.network2.com -> onemoredomain.comwith each of those child sites, a user can register to it directly without being bumped up to the network domain.
Not sure how to make that work without a lot of hacking
Forum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopI have the defin(‘SUNSRISE’,’on’); pretty much where you have it.
Ok, so what i’m getting is that you just use the sunrise.php but not the whole domain mapper plugin.
I’m actually using the plugin.
In saying that, how so you map your child blogs to domains?
My situation is as such. I have a parent site/network, and i have about 3 child sites. Only one of those i need to have user registrations, but i dont want the users registering to have to sign up to the parent site/network. I want them to sign up to that child site on its own domain.
Is this how you have things setup?
thanks in advance for your helpForum: Plugins
In reply to: [WP Multi Network] [Plugin: WP Multi Network] wp-signup.php redirect-loopI’m having the same issue and its driving me nuts.
I have multi-site and multi-network setup.
I tried the modified sunrise.php code above but when i go back to the domain mapping admin, i get an error asking me to move the define( ‘SUNRISE’, ‘on’ ); line above the last require_once in wp-config.
wp-config.php has no require_once code.
you mention you used a modified version of the domain-mapping plugin. is the sunrise.php modification the only modification? or is there another download apart from the official one that i should be using?Forum: Networking WordPress
In reply to: Multi site across 5 different domains?with multisite and wordpress-mu-domain-mapping plugin, each blog you create in wordpress will have its on setup, plugins, themes etc.
you will have a main site, and a whole bunch of sub-sites, but with their own domain.
Any user registrations or signups, will be to the main site, and you can set it up so that a registration to the main one, means a registration to all the sub-sites.