Multilingual implementation in buddypress - php

i’m working on the wordpress and buddypress. I was easily implemented the multilingual for wordpress but it’s really very hard to implement for buddypress.
I gone through most of the forums, most of the people said buddypress multiligual plugin only works for Wordpress Multisite. Is it any way to enable the multilingual for buddypress or already any plugin exists for this task??
I tried the buddypress multilingual lpugin too. But it's not supporting!! Please leave your suggestions!

I had the same problem some weeks ago. I'm sorry but you've three options:
Consider modify the Buddypress ML plugin in order to get it working: That's modify every line of code that's not working for the last version of Buddypress and fixing it. It's a lot of work but, for sure, the most valuable option. You can ask for help for this in the community of Buddypress because there're a lot of people searching for it.
Make it multilingual only the labels
and not the post (that can be easy
done modifying your wp-config.php to
get the GET parameter and loading the
needed file of location:
if ( isset($_GET['lan']) && $_GET['lan'] == 'es')
define ('WPLANG', 'es_ES');
The problem with that is you only get located the labels of the website and not the content, obviously, but I think in a community like Buddypress almost all the content is generated by the user so they will write it in his language and you don't have to worry about translate it. (is like Facebook, labels of the site translated but not the content).
Finally, make a blog for each language and
make manual links between them: What about that? Well if Wordpress can do now multisite, you can create a blog for, for example, the Spanish content and another for the English. You will must to hyperlink each post with his translation but may be a easy solution for your problem.
Sorry for my bad english, I'm Spanish but I hope you understand it.

Related

wordpress advanced custom fields and polylang integration

I used ACF plugin to build my page, I wanted to create the page that client could change what he wants in it. But I need to translate this page into 5 languages. I installed polylang, can't buy a pro version. I want to that my custom fields could be translatable, for now i can create a page in different languages, but they share custom fields, so if i set english version for it it would be seen in all language versions... I've search through the internet and can't find a working solution. Maybe someone here could help me. I would be very happy to read your solutions. Thanks.
You have to go into your Polylang settings and under Syncronization, uncheck the "Custom fields" box. This will allow you to have different languages.
Source
I would like to add that if you are dealing with "Theme Options", we did https://github.com/BeAPI/acf-options-for-polylang plugin to support this core-unsupported feature.
It’s a selfworking plugin, nothing to do after installation.
If you have some issues, inquirements, improvements or requests please refer to the github. I will be glad to help you.
So please check it out!
Had similar issue, in my case i had to connect the language versions https://prnt.sc/1u99vor. Add translation for the original page and you are set to go. Btw i am using Polylang free.

edit magento navigation without coding

I just recently started working with a Magento site, and so far I'm really not liking it. I need to remove a couple links from the main navigation, but I can't seem to find the option for it. I've googled it numerous times, and all I see are examples for coding the navigation. My question is, can you edit the site navigation like you can with say wordpress? Seeing how it's a cms I'd imagine the user should be able to make changes to the navigation using some type of interface, and without having to pull the files from the server and edit them.
Also just out of curiosity, for anyone experienced with Magento would you say it's a good choice for a cms? I've heard of it before, but haven't seen many sites that use it.
No!, so you have three options here.
Learn how to extend the navigation with the 100's of tutorials out there, it is really not that hard, assuming you have a theme you just have to edit app/design/frontend/[theme]/default/template/page/html/topmenu.phtml
Get an extension to do it for you.
Hire a developer to do it for you, we create a static block with installer for the html which make it slightly more user friendly to update in the future.
Stackoverflow is a bad place to ask questions like this, it is aimed at programmers and doing such a procedure is rudimentary stuff, I really hope you are a client trying to be cheap rather than someone who claims they can run this site.
Edit: The cms features are ok but you need to be able to code to set them all up so the end user can make the changes with WYSIWYG.
If you don't want to code for navigation then you can do below things
1) Create category and then Display Settings=>Display Mode=>static block only and Display Settings=>CMS Block=>static block name. In static block u can include in page url or custom page
2)You need to hire developer
If you're using Magento and have an integrated WordPress blog, it's possible to design a completely custom menu in the WordPress Admin using the menu builder. You have complete control over what menu items you want and the hierarchy of each item.
To get this to work, you need to integrate your WordPress blog using WordPress Integration in full integration mode. Your Magento template also has to be using the default Topmenu block.

wordpress help... integrating existing PHP code to work side-by-side

I know very little of WP aside form it being a CMS geared towards (or started from) blogging, but may people have found the product capable of functioning as their sites CMS.
I was recently asked to write a PHP app to signup, (with email confirm and email notification to admin), login to make and manage orders. - so a user can register and get an email confirmation... once they are approved, they can log in, and place an order. and manage their information. There is also an admin section to manage the users and requests... ALL very straight ahead.
So I write it - and test it and everything is fine... Until the client tells me that it's going to be part of a WP site.
Problem, the client ONLY knows HTML, NOT PHP... I don't know WP.
When I upload a directory to the root - and try to run the app, I get redirect to /$url .. and a page not found displaying in the WP theme.
I have a feeling it has to do with the AUTH module I'm using... but there is a huge BIG PICTURE issue I need to conquer - how to integrate an existing PHP app into a WP site...
Q: how do I reference and use the WP emailing system?
thx - I know it's a broad question. but if someone can point me into a direction...
I have read the post regarding templates in WP and setting up a template with PHP code so it's executed... but it seems 'wrong' to have to create a template for each php page.
What your app is about ? If you got only the Auth module already coded you should only import user and password because WP does this out-of-the-box.
Wordpress can be twist up for your need but you need to do it in the WP way :).
If you want to add some functions to it check out the plugin library on wordpress.org. If you know wordpress and no plugin match your needs then the best way to go is writing your own plugin : https://codex.wordpress.org/Writing_a_Plugin
Or maybe just add your custom functions into functions.php, see https://codex.wordpress.org/Theme_Development#Functions_File
For pages, you basically have to type of it in WP : articles - i.e. blog posts - and the static pages. You can add some custom one check https://codex.wordpress.org/Post_Types
I know this answer is more a bunch of links but if you don't nothing about WP you should first learn how it works before try to hack it.
Hope it helps !

How to add multi-language support to opencart module

I've gotten pretty good at creating my own vqmods and it has allowed me to customize the cart to my heart's content. I am now at a point where I want to start supporting the other official language in my country.
I've searched and searched plus looked as some modules on the opencart extension store but still can't quite get a grasp on it. There are no posts that I could find in the support forums explaining how to go about achieving this. I have a module that creates a new tab on the product page. On this tab, I have use ckeditor to format the text and all works well.
I've seen it done where you go into a module to customize it and you can see extra buttons to add text for different languages. Just can't find any free modules that uses this so that I could muddle my way through making it work.
Can anyone help me to add multilanguage to my custom opencart modules?
I was able to figure it out by looking at another mod with language files in it.

Wordpress Digg-Like Voting System Plugin

I just found out about BuddyPress (a collection of plugins that convert a WordPress MU install into a social network) and now I was wondering if there are any Digg-like voting plugins for WordPress. This would eventually integrate into a BuddyPress website, where the site members would submit, vote and comment on stories (much like Digg).
I have a feeling I will end up having to build this from scratch, but since the site will be built on WordPress, I was wondering if there were any plugins already available that add this functionality. So far I have come up empty in my search. I did find a Wordpress blog that had this functionality WpVote. It even creates thumbnails of the story webpage automatically (I'm assuming) using websnapr. I browsed through the page source and didn't seem to find any hints of a WP plugin that they are using.
I've successfully used TDO Mini Forms for user submissions combined with Vote it up to build a digg-style site.
You can create a "top votes" page using the MostVotedAllTime_Widget() function from Vote it up, or use the SortVotes() or GetVoteArray() functions to build and style your own top votes list in a customised page template.
You'll find the full list of available functions in /vote-it-up/votingfunctions.php
BuddyPress Links is what you're looking for:
http://wordpress.org/extend/plugins/buddypress-links/
Or you can try:
Pligg Voting CMS
when i was start to build my own social bookmarking, i using voteitup plugin but if you want to build your own vote button you can visit bavotasan.com and search post "simple-voting for-wordpress-with-php-and-jquery"
take a look at my own social bookmarking using it : http://nestdev.com
http://prothemedesign.com/themes/nominate-for-wordpress/
is a premium theme I've come across but never used. It's a WP version of Digg and I believe pretty good.
Personally I use Drigg which is a Drupal version of Digg. See it in action here: http://weblinks.myfriendshotel.com Unfortunately, however, WebSnapr have just changed their code so the site is no longer showing thumbanails but hopefully as a 'non-programmer' I'll find a solution soon...
Is this what you're after?
http://www.tevine.com/projects/voteitup/
I think [wpvote][1] use drigg module for drupal. I've just found buddypress plugin which has similiar function like digg social bookmarking. more detail
Not sure if this is still relevant or not but the theme used for WPVote.com has now been released on Pro Theme Design - http://prothemedesign.com/themes/nominate-for-wordpress/

Categories