Navigation

Pligg Support

I am looking at using Pligg as part of a website, and would like to install it in a sub folder of wordpress, I am curious if anyone has been able to do so with success, or what some of the issues may be with this - i am not really looking at integrating, just want pligg, along with a forum app and wordpress app all on one domain - trying to avoid subdomains if possible - any feedback is appreciated - thanks

Possible Answers

    Sorry if someone has covered this already. However this can be done if you pligg is loaded as a sub folder. 3 things you need to do. You'll need to be really good at PHP to do this.

    1. Match the registration... it is possible to load the accounts on the same MySQL database, don't use the same tables but use the same database.

    A. You'll need a script that will upload to the Pligg user table upon wordpress registration. You'll need to used the Pligg password encryption.

    B. You'll also need a script that will upload to the WordPress user table upon pligg registration. You'll need to use the wordpress password encryption.

    2. Sync the Session scripts. So that when you log into one, you log into both.

    3. Link your pligg folder where you want to link it to on your wordpress script.

    | Posted 52 days ago | Permalink | Hide Replies

    There is a unsupported WordPress Plugin and a Pligg module out there to do this.

    I'm running it on one website but haven't got all the bugs out yet.

    Some of my sites run several Pligg instances from one database with different table Prefixes. Multi-Pligg!!!

    Some of my sites run WordPress and Pligg from one database with different table Prefixes.

    Some of my sites run WordPress multisite with domain mapping and Pligg from one database with different table Prefixes.

    My big problem is 'I'm not a good php programmer' but I'm always listening for good ideas and solutions.

    Re: your other post - Grab that Pligg WordPress module. I think you'll see the code you need right there.

    I look forward to hearing more about what you have done Re: your other post!!!

    | Posted 51 days ago | Permalink | Hide Replies

    We developed a Wordpress to Pligg user database mod so that we could do just that on Pligg.com. It's not the most polished script, but it gets the job done. I've wanted to share this for a while, but I didn't want to give it it's own page in the Downloads section because then people would expect me to maintain and support it.

    The script comes in 2 parts. The first part is a Wordpress plugin that handles connecting your Wordpress user database to your Pligg site. Wordpress handles the main login/logout process as well as user registrations, so you will need to disable the Pligg registration page.

    The second part is a Pligg module that will redirect login/logout requests to Wordpress. This script has a few hardcoded URLs in it that require you to customize the wp_redirect_main.php file (search for "/account") .

    | Posted 62 days ago | Permalink | Hide Replies

    Just to let everyone know how this PliggWordPress login module s going......

    I've done a bunch of temporary changes to the module and have it working slightly but it's not ready for production yet.

    It is setting the cookies for Pligg 2.0.x and allowing the one login but it's not looking up and matching the users yet. But I'm getting there for sure.

    | Posted 53 days ago | Permalink | Hide Replies

    Would i need to implement this solution if I am not concerned about integrating log in? I am actually very much ok in my case with wordpress having separate log in from pligg. I just want pligg in a sub folder of the domain for SEO purposes.

    | Posted 61 days ago | Permalink | Hide Replies

    You'll be fine then.

    One tip if you run WordPress as your main or root app. BWP Google XML Sitemaps plugin. I have this one running on Wild Well and it knows about Pligg's site map so the whole system's sitemap is covered from the sitemap index.

    | Posted 60 days ago | Permalink | Hide Replies

    I've tried several times to implement this setup. It would really be nice but I just can't get it working.

    I have WordPress in the root directory and Pligg 2.0.x in a subdirectory. (is this the problem?). I've edited the wp_redirect_main locations several different ways. Didn't help!

    The mnm_user cookie doesn't get set though the mnm_key always does. If I rename the module and deactivate the plugin then clear the cookies I can login to either system just fine.

    I did find an error in the WordPress plugin where Salted was spelled Selted.... fixed that but it still won't work. I've even forced a user name into the Pligg module which finally set the mnm_user but it still didn't work.

    It's not critical that I have this working but I'd really like to get it going so I could document the setup and maybe help other users who want it. Yeah, it would be nice to have it running.

    I'm starting to doubt myself now. Help!!!!!

    | Posted 61 days ago | Permalink | Hide Replies

    I may have missed something in the download package, but as I said I really don't want to provide any support or insight into the matter. I was only hoping to at least provide users with some basic starting blocks.

    | Posted 60 days ago | Permalink | Hide Replies

    Well, I appreciate the download and all the work you all did to build it and provide that foundation. I believe the download is complete as it almost works and I'm sure once I get some time to work with it I'll get it figured out.

    It's setting cookies and acting like it wants to work already. There's just a little problem yet. I'll get it sooner or later.

    | Posted 60 days ago | Permalink | Hide Replies

    W

    | Posted 61 days ago | Permalink | Hide Replies

    This website, Pligg.com, is a hybrid of Pligg and WordPress.

    Many of my websites run WordPress in the root with Pligg as a subdirectory.

    Here's the working website that incorporates the whole 'stack' I run. http://www.WildWellEnt.com. This site is based on Pligg with WordPress doing the blog and other elements including the sitemap.

    Wild Well runs WordPress in the root, Pligg, Openx, SugarCRM, and phpLD (Link Directory) in subdirectories. It's fairly complete now but needs some tweaks and I haven't yet got the shared login worked out but I'm getting there.

    The WordPress is running Multisite with Domain Mapping which is why WordPress has to be in the root directory. The Pligg is the older version, 1.2.2, can run multiple sites/subsites and is the main system on the public side.

    Take a look if you want and I'd be glad to share my htaccess file which makes the whole thing work.

    | Posted 62 days ago | Permalink | Hide Replies

    I would like to know how you made all the apps work in subfolders - would love to have wordpress in main root, pligg and a forum app in two subfolders.

    | Posted 61 days ago | Permalink | Hide Replies

    I've actually setup that exactly early on. Install the WordPress first.

    Create the other two subdirectories. Install the Pligg and I used phpBB for the forum. But there's a good forum plugin for WordPress called BBPress. I use that for forums now.

    You just go to the installers in their subdirectory to setup them up.

    The only problem I had was getting Pligg to act as mainpage/app without clobbering WordPress. That was done with the htaccess but everything else was straight forward.

    | Posted 60 days ago | Permalink | Hide Replies

    I have never had to edit htaccess - care to divulge a bit more on what /how you had to edit there?

    | Posted 60 days ago | Permalink | Hide Replies

    For what I think you want (WordPress in root, Pligg in a subdirectory) you probably don't need to worry about htaccess. If you want Pligg to be the 'frontend' of the site though (with Pligg in the subdirectory) then you'll need to run an enhanced htaccess.

    WordPress provides it's own htaccess file which I added to in order to cause Pligg to answer as the domain (act as the frontend) with Pligg running in the subdirectory.

    If you find you need that after you get WordPress and Pligg running I'll be glad to help you with that.

    I used the rewrite generator from http://seo-website-designer.com/HtAccess-301-Redirect-Generator to create much of the modified htaccess directives

    | Posted 60 days ago | Permalink | Hide Replies

    thanks for the response :)

    | Posted 62 days ago | Permalink | Hide Replies

    I tried to install in sub-folder but always had some issue at different stages. then i installed as sub-domain and it's working good

    | Posted 63 days ago | Permalink | Hide Replies

Who Upvoted this Story

Pligg.com's Support area is where you can ask questions and get answers. Just getting started with the Support area? This section describes tips for participating.

Submitting a Question or Comment

By taking a minute to research previous posts you may receive an answer much faster than waiting for a response to a new question. Begin by searching the support section for an answer. Sometimes you may even want to extend your search to the entire pligg.com domain.

If you are unable to find a relevant answer, submit a new question or comment here. Please provide a detailed description and, when necessary, debugging information such as your server environment (a link to a <?php phypinfo(); ?> .php page would be very helpful), your web browser, and any steps necessary to reproduce your issue.

Submitting an Answer

If you have an answer or useful response that you would like to add to a post, you can submit it as a comment which other users will then vote on. Answers are sorted by most popular to least, allowing the best information to climb to the top of the page.

Please read and vote for existing answers before submitting your own, as there may already be an acceptable answer provided. You can use the "Reply" link found within an answer to submit a response to it, in case you want to expand or comment on someone else's contribution.

Including Files or Code

Sometimes it is necessary for you to attach a file or include a snippet of code for others to reference in your response. In most cases, you can .zip up files and attach them to a question or answer using Pligg's file manager. At times though this may fail, and in these circumstances we recommend using a third party host. Below we are including a list of recommended websites where you can share easily share file uploads (or snippets of code) through the web.