There are other questions on this, but none seem to fit my user case.
I have two instances of a website, both are in English but using WordPress Multisite there is European version and an American version of the site.
This was set up by a predecessor, but I am trying to find an alternative to WordPress Multisite because most of the posts (~75%) belong on both Europe and America versions, and I don't want the content creators to have to worry about logging in to two dashboards and posting the same post twice.
This really doesn't have to be a WordPress specific question, I am just wondering how typical networking is done for a job like this where:
1). Theme is to remain the same
2). Posts are mostly the same and it would be nice if there was just one dashboard and plugin/function on a post to say publish for Europe, America, or both.
3). Users would have to opt-in to join the Europe site if they were already on the America site, but they wouldn't have to re-register, kind of like how users can join across the StackOverflow network.
I think I know how to do this if I were to write my own little CMS using another PHP or Node framework, it would just be a property of the various posts as to what geo they were published for and similarly each user would say what geo they were registered for, and then when querying the database from a given subdomain I would query for posts by the geo attached to that subdomain, as a kind of constant in the query.
Given I have WordPress install, what is the easiest way to accomplish such goals in WordPress or do I need my own solution? Also how do sites like StackOverflow manage users across various networks?
Furthermore if I wanted to accomplish this in a more do-it-yourself framework like Laravel, what are some of the general principles in order to accomplish this and not manage two sites but leverage something like Cloudlfare to point to subdomains based on gelocation and serve the same site but with different database queries?
I don't even understand why you would need a multisite setup for this. All you are trying to do is organise content, and within Wordpress you do that with taxonomies.
You can use the built in ones like categories or tags or you can create your own. Customise default settings based on geo ip information, or a user setting, or just lets users pick or whatever you want.
You can set it up so users to have to opt in to read posts tagged from across the pond, or just set their default to show local posts but give them a link to view all, or again just put a setting in their admin section.
Build your own CMS if you want, but seems like a real waste of time when this is pretty much exactly what Wordpress was designed for and they probably have 50,000+ developer hours headstart on you.
Related
I have three websites.
1. website1.com
2. website2.com
3 website3.com
All are separate websites. Now I am using drupal7 multisite concept [Different database but same code files].
I have shared users, session, auth tables.
Now I want to share content of specific content type "Case_study".
Please let me know.
I'd not suggest the sharing approach since node IDs will be site dependent, so you might end up in a situation where sharing that many tables will create conflicts between sites.
Can you provide the data via RSS/REST Api and aggregate from other sites? Also you could build a custom module that handles this, internally switching active database to load a specific node, anyway.. I'd go for RSS/REST first.
I'm about to start on a new project but I'm doubting if I should use Multisite for the company's structure or not.
The situation is as follows;
Corporation is based in a few EU countries, which each of the country websites have a consumer website and a professional website.
My thought was; Use multisite to make the consumer/professional switch and use WPML for each website. Things went fine so far. Yet; all websites have one shared product database. I'd like to make a custom post type "Products" and have them available in every language on every website (Consumer/Pro). Yet I cant find a way to have it (easily managable) share that product database and its relations.
So there's my doubt on using MultiSite, and as of yet, I dont see any other option to get what I want; Consumer/Professional sites, all with their own content, but with a shared product database.
You can use the switch_to_blog() function within your product archive (http://codex.wordpress.org/WPMU_Functions/switch_to_blog). This would allow you to get the products from another site within the multisite. Then use restore_current_blog() to return back to your individual site.
I am now working on a drupal project, the client needs same admin side and same database to save the content, But he needs visualize things separately. That is two sites running same code base. These two are sharing same contents. Such as news,reports etc.
What is the best way to implement this, I read some multisite doc, but its based on two admin side and different database.
Thanks in advance.
You should look into the Domain Access module. It will allow you to use a single database for a multisite setup (sharing all users and content). One of the sub modules within it Domain Theme allows you to set the active theme for each domain (making each site look different)
What is the best method, if there is one, of using Wordpress as a CMS for users to input data while not actually building the website on the Wordpress platform?
One possible solution I've found is using a PHP class called "WPGet" (http://peter.upfold.org.uk/projects/wpget) which fetches directly from the database.
You could use Wordpress' API calls, but depending where your "custom built application" sits, it might require including numerous files in your code (not very fun/efficient)
I have a site that requires constant updating. It's a golf club site: results, news etc all updated via wordpress by the club, or individuals with interest (juniors, ladies, seniors each have a mini-site) - and not always by me - so i have a front end, the standard site with static .php pages, which i then feed data to, by calling on posts marked in categories from wordpress, relevent to the site's page. The coding is easy and it's a quick and simple way of using wordpress as a cms, but it does strip away most of the Wordprss functionality, eg. comments, But I even use it for galleries with lightbox.
Like i say - it's nothing major, but sounds similar to what you're asking...?
I've got a client site that will have multiple "mini-sites" for individual web shows and one main site for the company that produces them. Each mini-site has it's own color scheme but has all the same menu items and/or content of the other site such as Photos, News, etc.
I can't seem to figure out how to ensure programatically that the stylesheet I associate with a given mini-site is retained for all interaction within the mini-site, until and unless a user leaves to the HOME page or changes SHOW from the shows menu.
It's possible that I would even use different virtual hosts for the mini-sites, so I want it to feel like they are completely different sites, but rather than maintain multiple instances of the CMS with the same content, they really are powered from one CMS.
I've thought about using JSession to manage sessions, and then grabbing the current mini-site name from session, changing only when a user selects the HOME page, or changes their SHOW from the shows menu. Alternatively I could try to have multiple templates and try to associate them to specific menu items, but that feels a bit ugly.
Does anyone have experience building sites like this in Joomla (or any CMS), and is there a best practice for this?
I think I will have separate sub-menus for each mini-site, so that Photos on each site is a link to a specfic gallery within the photos component, whereas Photos from the main site is a link to the main photo gallery.
I don't really get what you are trying to achieve from your question, but i decipher your question to be
You have multiple sites, [SITE A, MenuA, MenuB, MenuC] , [SITE B, MenuA, MenuB, MenuC] , [SITE C, MenuA, MenuB, MenuC].
2.
Each mini-site has it's own color scheme but has all the same menu items
Does this mean Menu A pointing to siteA, menu B pointing to siteB, MenuC pointing to site C, All menus are the same on each site.
why not have the same template on multiple sites with Different styles, such that If you have the same template, TemplateA, with styleA on siteA, styleB on siteB and styleC on siteC.
And if we are talking about multisites and styles. Are they on the same domain? i.e siteA.yourdomain.com, siteB.yourdomain.com, siteC.yourdomain.com I just learned this from a colleague, apparently you could actually use cookies by posting them to *.yourdomain.com and they will be accessible from all subdomains. Otherwise if the domains are totally differently it won't work for security reason. Something you might want to try
Sorry if i missed it, but maybe an taxonomical scenario will make more sense
Regards!