Discuz Thai! 's Archiver

i~Designs กระทู้เมื่อ 2008-10-12 14:08

Ucenter/Discuz+Joomla

ผมไม่ได้ทดลองนะครับ ผ่านไปเจอเลยเอามาฝากกันG2[`;B6GY]%I4V
จากที่นี่[code]http://blog.treeber.com/?p=377[/code]Comsenz application to extend one of the series: Ucenter / Discuz fully integrated with the depth of Joomla solutions: 2 version of the installation instructions.b#Zi4g8e%WW:z&V

_3UnjPHPt.\?9zp*E It was recently found to provide a drupal module for integration discuz.
ax s!n^_:q f :z F7oE3Q8k\ n
And we joomla and discuz increasing demands for integration (that is, there are a few years ago mambochina head of the development of integrated components). The author recently started a project, incidentally, completed the integration of this function, nearly a month since a good test run.
;g ?}d7[wV`)yk]
d G-s.F Rn6r+A6C Comsenz thanks to the introduction of Ucenter, very short code does not need to modify any of the existing core code. From today's 3:00 now, these simple procedures for sorting out is for the benefit of all-you Joo.
R2B:Eq Z;v f
l:K[7G2G&Z r2D ,JrZx#_ N*F}'^T:U
The main features:
#_m?2v Zm| 1. Ucenter API use interface, the standardization of user, simple code; | |"cX K
2. With the support of all other Ucenter based on the application of interoperability, such as Discuz, Supesite, EcShop, and so on, through various types of operations can be automatically synchronized Ucenter to Joomla;
TkT&H? 3. Joomla using common components provided by the CB plug-in features, user registration, log on, write-off, change its name change synchronized to close the whole station Ucenter application.
BfHb}q5Sp 4. On this basis, a short news stations, system integration, synchronization and so on the head only 3-5 hours of coding work;
ss0Ynb 5. Joomla1.5 will improve support;
?%u4y2e!x*QO 6. Permanently free of charge and will demand to produce more peripheral expansion. b8`k(HFb!O
k:n/\{ pBY
To install a few simple steps: %F-JT$w/m#]-e9\C
1. Please install conventional Discuz (Ucenter version), Ucenter server-side (in the light of comsenz.com site ucenter installation configuration that), Joomla1.0.x + CB1.0.x components;
n#X5?-d_ R!exC)b 2. Ucenter and to ensure that the joomla user name, user id is not repeated, to ensure that ucenter / discuz current id is greater than the maximum possible joomla largest id; {8DD&QYu&dP
3. Joomla modify configuration files in configuration.php, it included at the bottom of the ucenter client configuration parameters are as follows
:Y H5v M-`!R g.S#o Z"~)d
define(’UC_CONNECT’, ‘mysql’);                // a way to connect UCenter6m oiM1cA*Q&V0xm]
define(’UC_DBHOST’, ‘localhost’);            // UCenter database host
o,h}s9P FYjG ZK define(’UC_DBUSER’, ‘dbuser’);                // UCenter database user name
7UL/I f7v YJ define(’UC_DBPW’, ‘dbpass’);                // UCenter database password
[jEd{3e];Z define(’UC_DBNAME’, ‘dbname’);                // UCenter name of the databaseq)YE%g_ K
define(’UC_DBCHARSET’, ‘utf8′);                // UCenter database character set}-e:JK/r&CU#P
define(’UC_DBTABLEPRE’, ‘dbname.uc_’);  // UCenter data table prefix S*ph.X&{V;l$PuO
define(’UC_DBCONNECT’, ‘1′);                // UCenter persistent database connection
F5RIa7M0T{G0X define(’UC_KEY’, ‘dsafasdfwer42141235fgvgd’); // communication with the key UCenter%@7?7m-x\ t8V_;ewZj/{
define(’UC_API’, ‘[color=#cc0000]http://zhonghuayixue.com/ucenter[/color]‘);   // UCenter  URL^l!c[S,RNi,yR0i {
define(’UC_CHARSET’, ‘utf-8′);                // UCenter character set
7a+EmD BC[ define(’UC_IP’, ‘58.30.16.108′);               // UCenter of IP
c*|G2Rc9qHf define(’UC_APPID’, 3);                    // current ID applications(kv'D jd/{@;|

o?0y L1K3MZP 4. Ucenter will install the package uc_client directory to extract joomla root;
HJK+P(r7Ek&P 5. Will file the following api / uc.php placed in the joomla root / api / uc.php, this version of the document to achieve a function, that is, Ucenter to Joomla synchronization;%H8` B,u&T$B$c
6. CB in the cb plug-in components to install plug_cbucentertreeber.zip, the opening of the plug-in, plug-in version 2 functions to achieve, that is, simultaneously Joomla to Ucenter;W:j2T l+f['sK X
7. Revision / com_comprofiler / comprofiler.php:
'Q1JQY^ – Find onAfterUserUpdate line, the original code for:
4g~C#ELF-@8u*Qa $_PLUGINS->trigger( ‘onAfterUserUpdate’, array($row, $rowExtras, true));
4i\\t D#Y9Q u%T – Please read bcJ7p as,FO
$_PLUGINS->trigger( ‘onAfterUserUpdate’, array($row, $rowExtras, true, $_POST["password"]));
6J~8ev7Cs,`1F4K
0p+V eQK wUj Modify / administrator / components / com_comprofiler / admin.comprofiler.php documents, pay attention to trigger a slightly different name (which is still in CB1.2RC2 in two different flip-flop): 1k!G6C_-FJTqd5O;^
$ _PLUGINS-> Trigger ( 'onAfterUpdateUser', array ($ row, $ rowExtras, true)); /ea"h3nv8aO;H ^ l
- Please read
2w2AKE9Cc pk{p $ _PLUGINS-> Trigger ( 'onAfterUpdateUser', array ($ row, $ rowExtras, true, $ _POST [ "password "]));
k,Clp.N*QqW I Unl`6u ITb q;\
8. Test.[code]Action in the application of operation
f[5A!LE&N/p0D!czz ucenter joomla discuz supesite
S#VvC4g9v2Z4`f Through the adoption of registered users through the adoption of &g5narNS;i Te
Users log in through through through through!! New registered users, to be the first forum supesite activated before they can log in (1) 8GM(h7\%~Z
Users through the write-off through the adoption of the adoption of 3q9`.X lkk2sD
Profile changes did not pass through here, through the adoption of ucenter can change the email, but did not pass the test (Note 2) F3L \C&iv`
Users did not pass through the nickname change did not pass did not pass!! Relating to the user to change the nickname of the operation, only ucenter change in (Note 3)
r&J3MW@6G!r User password change through the adoption of here, including through the adoption of changes to information at the same time to change the password to change your password or a separate (Note 4)
,R0}E/DO4rx Delete users through the adoption of the adoption of[/code]* Note 1: If the installation supesite / xspace, be sure to prompt the user to re-activate the forum in the use of supesite. Another, the use of google chrome browser, log on, click a few cases of personal data may not exist, but the recurrence of such cases is very low, to be considered CB1.02 code :?~_ pjK
* Note 2: ucenter change in the Email applications are not the update, discuz in email and will not change but the change in the use of email will be able to feedback in ucenter. Brought to you be used with caution, pending an official explanation or analysis of the code. yBNc L
* Note 3: But compared with other types of operations are also significantly delayed, as detailed in the official [url]http://www.discuz.net/thread-1038512-1-1.html[/url], has yet to be explained
8OT9Li,u2m * Note 4: comprofiler change the password information is divided into front and back, were tested successfully. *bZ0]+Sv
Gh0`SHIoX
Sum (further reminder): | uX%t(R"F%O?
1. Joomla Please do not use the background information on the user's own change of function to change the username or password - it will not sync to update ucenter, to ensure that the use of CB components of the user or other management applications. "O/?!}g h%_6[
2. Shenxing please change the nickname, at least to ensure that changes in ucenter
s#t9Z3bi ~ 3. Shenxing please change the email address, in an application to change
n!b N&zG;@ 4. Can be used in the production of the current system, but at some point need for a permanent abolition of the ucenter articulated, it may appear as follows: V(M[S,M,Pq7k c/P
In the part of the pre-registered articulated and articulated after the unknown user data ucenter system is still not in sync to joomla (it seems that not a problem). zS9kz"_Ip_

2]8@,^$E:\j4k.m Ucenter look forward to the development team can improve in ucenter update email users after the notice from the application and provide updates Broadcasting in ucenter user nickname.
l `v2cv
,`kQE4m-^ Any questions, please reply to this message next to the author or walk home message [url]http://blog.treeber.net[/url]
y`UMM9f If so, the revised version does not mind, after the release smoothly to a message issued to the author to pay respect for.
7s8T)E4? y Six years experience in Web development, CMS development experience over the years, the ashes of three-class experienced players Joomla, the main interest in the current Joomla / drupal and the framework of research, based on the framework for the development of JS also concerned about the welcome the development of cooperation (for or interest in the business applications Can).
Z9OqL7M,n'c Z M)F)O.b,k&fne
Please note that this program only Joomla1.0.x to install Community Builder 1.02/1.03 components.[code]http://www.joomlagate.com/component/option,com_remository/Itemid,48/func,fileinfo/id,54/[/code]CB1.2RC to install Joomla 1.5.x version is still in testing.
wm8M)RR2S7KdSBw+h;a
v)_2o*z6wcwE9P4z c;fC|_kcXB$E
_F#m$OfE
Annex are as follows: 1f@(A5` Tn!R
api.zip (updated on 2008.09.15 11:50)[code]http://blog.treeber.com/api.zip[/code]plug_cbucentertreeber.zip (updated on 2008.09.15 11:50)[code]http://blog.treeber.com/plug_cbucentertreeber.zip[/code]#z ^qN+gS)u w

Q W#V+U&T;eP [[i] แก้ไขล่าสุด i~Designs เมื่อ 2008-10-12 14:09 [/i]]

buachompoox กระทู้เมื่อ 2008-10-12 15:12

ตอบกลับโพสของ หนึ่ง i~Designs

ไม่แปลไทยซักหน่อยรึ -*-
-P/Jd} K} ปล.มีคนลองแล้วรึยังตัวนี้

acaz กระทู้เมื่อ 2008-10-12 15:14

ขาจูมล่าลองกันหน่อยสิๆๆๆ

thaizeal กระทู้เมื่อ 2008-10-14 19:53

เข้าไปดูแล้ว งงครับ:L

kikok กระทู้เมื่อ 2008-12-22 16:29

เคยทำแต่แมมโบ้ แต่ไม่กล้าลอง ปวดหมอง

adman กระทู้เมื่อ 2009-1-14 15:27

จะได้ไหม ครับ เนี่ย $il'_ @$a5rl
ขอลองดู ละกันครับ 3DK j6Rf*^4b'Z w
..ไม่ค่อยเก่ง อังกฤษ ด้วย...:victory:

phraisohn กระทู้เมื่อ 2009-2-6 14:04

อ่า มีคนลองยังอ่าคับ

hengworld กระทู้เมื่อ 2009-6-29 00:10

น่าลองๆๆมากกกกครับ

golf_eka กระทู้เมื่อ 2009-8-17 19:34

ขอภาษาไทยได้ไหมครับ

หน้า: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.