VVD wrote:I want to add status to user:
SELECT * FROM users_status
sid, statusname
1, Request for regidtration of new User
2, Active User
3, Blocked User
4, Request rejected
I can add new column to table jforum_users with name sid, but better if forum & myapp will use same column for locking users.
By default user can self get account only on forum. In myapp only admistrator can confirm user registration. What column I can use for it: user_active or deleted? (Changes to forum cleasses I'll try to do self.)
VVD wrote:?�???���??�? ?���?� ����?? ?�?� �??�?��? ?���?�?��?��?�???Ȅ?�?�� �?��?� 2 ?�???Ȅ? ?� ???�??? ?�?� ???�??? ?�?� ???�� ?�??�???Ȅ�?�???���� ?�?Ȅ? ?�?�??? ��?�?�?�?
?�?�???�?�?�??�?�� ???�?���?���?�?�???�?�, ����?? ?? ��?�?�?�?�?� �??�?���??? ?��Ą�?� ???�?�??�???Ȅ�?��?�??�܄� ?�???�?�??, ?�??�?��???�� ???� ��??��?���?�? ?�???�?�???Ȅ?��� ?���� ???�???.
?�???�???�???, �? ��??��?�?� ?��?�???�? ��??�ۄ�???�, ?ȄĄ���?� ???� ?�?�?�?���� ��?�?�?�?�� users_status, ?� ?�??�???Ȅ�?�???���� ��?�???Ȅ� /WEB-INF/config/languages/* ?�?Ȅ? �Ʉ�?�???�???�? ???�?�???�???�?? �?��?���Ą???. ??? ???���??�? ??�?�� ��?�??? ???� ?? �?��???. :-)
?���� ???���??�?: ?�?� ?�?�?�?�� �???���?�?�?�???�?? ?���?�?? ��?���?�??? ?�??�???Ȅ�?�???���� ???� jsp, ?� freemarker? (?�???� ?���??�?��?? ?�??��?���?��??? ?� �??�?? ?���???��? - ???�?��� ?�?�??�?��???��?���??? ?�???�?��� �???�܄??�?...)
Serge Maslyukov wrote:��?�?� ?�?�?� �?��??�� ?���???�?��� open source. ?�??? ?�??�???Ȅ�?��?��� ?�???Ȅ΄�???� ?�???�?��?��?��??? �??�?���???. ?�?Ȅ? ��??? ����???��� ???� ???�???�?�?�?? ?�???��?�?�?���?� ?�??�???Ȅ�?�???�???�? ?�???�?�??, ??�?�? ???��? ���???���?�???�?Ȅ�???�?��� ?�???�?�???� ?�?�?�?���΄?�? ???�?�?�???�??�??? ??�� ��?�?��Ą�?�?? ?�?�.
?�???�?�???��� ?�???�?�?�?�?�?���?�? ?�?Ȅ? �?��?���Ą??? ???� ��ۄ�?�???. ?���?�?? ?��� ?� ��?�??�� ?�???�?�???Ȅ?��� )
???���??�? jsp vs freemaker ?ȄĄ���?� ?�?�?�?���� ???� ?�???�?�??�??�??? ?�?���?��??Ȅ?, ?�??��??�ۄ� ?���???�?���?�.
?? ?���?� ?��?��� ??��???�
VVD wrote:
?�.?�. ��?�?�???�?��� ?�???��� ?�?� N ?�???�?�?? - �?��?? ?ȄĄ���?�?? ???���?�?�??��?
?�?Ȅ? �???��?��?�???�?��?� ???�?���?? ???� ???���?�?��� ?�???�?�???��� �??���?�?��� ?�?�?�?�??��?� ?�?�?�� ?? ?�?�?���?�?��Ą�?�?? ?� ???�?�?�??���� ?�???Ȅ΄�?�???� ?���?��???��???� ?�?��??��???� ?���?�???�?�???� ?? readme ����???��� ??�??� ?���?? ?�?�??��?�???��?��?�? �? ��?�?�???-��?? ??��?��??�?� ?�???�?�??�� ?�?�?��Ą?��?��� �?��??�� �??���?�?���. ?�?���?�?? ?�?� �???�??? ��?���?��� "??��?�?�?�?�" ?���??��?�???
VVD wrote:??�� ��?�?� ?�???ȄĄ�?��?�?, ����?? ???�??? ?� ��???�?� ?�?�??�?��???�?� - ?�?�???�?��???�?� ?�???Ȅ�?�???���?�?Ȅ? - ?���?�?��� ??��?�???�??�?��΄?�? ?�??��??�? ��?�?�??��???� �??�??�???�?�???�. ??��?? ???��???�?Ȅ�???
?�?�?�??? - ?�?Ȅ? �??�?��? �? ��?�?� ��?���?�?� ?�?�?� ?���?��� ?�?�?�?����.
?��??�?� ?�???ȄĄ�?��?�? ����??-��?? �?��??�?��?�?� - ???��??�?���?�?Ȅ�??? ??��?�???��� ?�?����.
VVD wrote:?���� ?�???��Ą�??? ???���??�?: �? ???� ???�����?� ?? ?�?�?�?� ???� ???�??? Foreign Key. ?�.?�. ?�?�?��?�-��?? ?��?���, ��???Ȅ�?�?? �??���???��� ?�?�?� ?�?�???�܄� ???� ?�???�?��� ?? ��???, ����?? �?��?? ?�?Ȅ?��.
?�?? ?�?�?�?� �?��?? ???�???���?�??? �??�?�?��???�?���?�? ???� ?���???�?�???�?��?�?Ȅ�???�?��?�.
??��?? �??�?�?�?�??? ��???Ȅ�?�?? ?�?�-?�?� �???��?��?�???�?��?� �??? �?��?��ۄ�???� ?�?�, ?? ?�??��??�ۄ܄� ?�???���??�?��?? ???�?��� ???� ?��܄�� ��?�?�??? ?�???�?��?�? ?�?�?� Foreign Key, ?�?�?� ?���??�?��?? ???��??�?�?�?�?� ?�?�?� ��?�?� ??�� ��?�?�?�� ?�?�?
Whoever got anywhere by being normal? Just ask this exceptional tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|