Changes between Version 2 and Version 3 of WordPressInt


Ignore:
Timestamp:
Sep 19, 2011, 2:51:53 PM (13 years ago)
Author:
carlgt1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WordPressInt

    v2 v3  
    1 = WordPress CMS Integration with BOINC =
     1= [http://wordpress.org WordPress]  CMS Integration with BOINC =
     2[http://wordpress.org WordPress] is a popular Content Management System (CMS) for easily creating robust and feature-rich websites.  It is ideal to use for a main website with or without integrating BOINC pages.  It can be useful to have a basic WordPress website with no logins, but if a user logins they get more features from the website.  Rather than having a separate Word Press user table, it is possible to authenticate using an external database table, such as the mysql database table 'users' in BOINC.
    23
    3 WordPress http://wordpress.org is a popular Content Management System (CMS) for creating robust and feature-rich websites.  It is ideal to use for a main website with or without integrating BOINC pages.  It can be useful to have a basic WordPress website with no logins, but if a user logins they get more features from the website.  Rather than having a separate Word Press user table, it is possible to authenticate using an external database table, such as the mysql database table 'users' in BOINC.
     4* To setup [http://wordpress.org WordPress] to authenticate with your BOINC mysql 'user' table, install the external database authentication plugin http://wordpress.org/extend/plugins/external-database-authentication [[BR]]
     5* You will then want to 'Activate' this plug-in in your WordPress Plugins admin screen * In the Settings bar on the left side of your WordPress Dashboard screen, choose the 'External DB Settings' link * You will want to select the MySQL support, fill in your appropriate names for the database host, TCP port (if not the mysql default of 3306),  username, password, and of course the BOINC mysql table name 'user' [[BR]]
     6* in the External Database Source fields, you will want to make username "email_addr"  (mapping the BOINC user table email_addr to the wordpress username - a record will be created in WordPress to match these defaults). [[BR]]
     7* for Password, put in "passwd_hash", and Password Encryption Method is "Other" * the Hash Code field should be "$password2 = md5($password . $username)".   This is how WordPress can create a password hash that the BOINC mysql 'user' table can authenticate. [[BR]]
     8* Then for Homepage you can put the user's boinc "url" and Email is of course the BOINC user field "email_addr" * you may want to put in a special login message (not shown on the screenshot, but the last entry on the page) such as:
    49
    5 * To setup WordPress to authenticate with your BOINC mysql 'user' table, install the external database authentication plugin http://wordpress.org/extend/plugins/external-database-authentication
    6 * You will then want to 'Activate' this plug-in in your WordPress Plugins admin screen
    7 * In the Settings bar on the left side of your WordPress Dashboard screen, choose the 'External DB Settings' link
    8 * You will want to select the MySQL support, fill in your appropriate names for the database host, TCP port (if not the mysql default of 3306),  username, password, and of course the BOINC mysql table name 'user'
    9 * in the External Database Source fields, you will want to make username "email_addr"  (mapping the BOINC user table email_addr to the wordpress username - a record will be created in WordPress to match these defaults).
    10 * for Password, put in "passwd_hash", and Password Encryption Method is "Other"
    11 * the Hash Code field should be "$password2 = md5($password . $username)".   This is how WordPress can create a password hash that the BOINC mysql 'user' table can authenticate.
    12 * Then for Homepage you can put the user's boinc "url" and Email is of course the BOINC user field "email_addr"
    13 * you may want to put in a special login message (not shown on the screenshot, but the last entry on the page) such as:  Please use your BOINC account to sign in.
    14 If you dont have one, please <a href="http://qcn.stanford.edu/sensor/login_form.php" target="blank" class="fancy_button">register!</a>
     10{{{
     11Please use your BOINC account to sign in.  <BR>
     12If you dont have one, please <a href="http://your.boinc.site.url/login_form.php" target="blank" class="fancy_button">register!</a>
     13}}}
    1514
    1615