111
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/27 21:55

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


^^XOOPS - PM(Private Message Hack1.5
Yeah...Upgraded^^haha~~~

<Change>
------Ver1.5-------(2004/11/28)
>>some bug fixed.
(Especially,in Ver 1.0, there was a bug that Poster's reading of message in OUTBOX resulted in read_msg=1(it means the receiver reads the PM or deletes it without reading)
>>new functions added.
(Paging function and Sorting function are added to each box^^Wow^^)
-----------------------------

How to upgrade 1.0->1.5
0, No change on PM table^^No touch^^
1, Open this file(/html/language/{yourlanguage}/pmsg.txt)
2, Add the upgraded contents( under//WANISYS.NET PM HACK1.5) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system1.5!!

Demo:

http://kjw0815.codns.com/wanisys/japanese/xoops/html/modules/news/

Downloads:

http://www.wanisys.net/data/wanipmhack.zip


2004/11/28

From wani[wani@wanisys.net]



112
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/26 14:04

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


haha...You're really in a pickle. ,,,,in a special pickle(--;;...unexpected^^
I think your case will make me add page, search and sort function to each box in next version!!^^
So hard .....--;;
Ok^^I will try...^^..in the nex version^^
Have a nice time
bye^^I have to sleep^^(because GMT+09:00)



113
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/26 12:17

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


If you hate the congestion of OUTBOX, you can post a PM with from_delete=1....It means... you post and delete a PM at the same time.
And still your partner can receive your PM because still to_delete=0^^
So you can solve this problem if you use $pm_handler->setFromdelete($pm) at the same time when you post a PM($pm_handler->insert($pm)).



114
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/26 11:51

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:
auto notify pms must send from someone( for example webmaster) so there is a LOT and LOT pms in the outbox. could you put a NOT LIKE ( 'from' , 'subject') for outbox?
many thanks


Normally,people are interested in the status of SENTBOX, not OUTBOX
and ,I think, they can estimate the status of OUTBOX by checking SENTBOX.

As you know, a lot of PMs in one box...doen't mean the overload of PM system...
because one PM...must exist in one box of 3 boxs(when post or when receive)...not existing in two or three boxs at the same time
until both of them(Sender and Receiver) delete one PM ( to_delete=1 and from_delete=1 means real delete of one PM...so..It can't happen^^)
So a lot of PMs in OUTBOX means the minus of that amount in SENTBOX.
^^Umm...
I think Exception is not good in this PM system^^



115
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/26 9:59

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

Herko Coomans wrote:
Very very nice features Can you submit this hack to the XOOPS Core Hack/patch Submission Tracker, so we can review the code and add it to the core? Thanks!

Herko


Thanks for your reply
Umm..
I have submitted this hack^^
Have a nice day^^
bye~~



116
wanikoo
XOOPS PM(Private Message)-Hack
  • 2004/11/26 7:59

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


// XOOPS - PM(Private Message) Hack1.0

This is a XOOPS PM(Private Message)-Hack^^
I hope this hack helpful and useful to XOOPS-users^^

---With this hack,
You can use some PM-Boxs to manage your PMs^^
<RECEIVE>
INBOX( For New PMs[delete button])
READBOX(for PMs already read[delete button,save button])
RSAVEBOX(for saved PMs[delete button])
<POST>
OUTBOX(Posted PMs, not read or not deleted without reading by your partner[delete button])
SENTBOX(Posted PMs, read or deleted without reading by your partner[delete button,save button])
PSAVEBOX(saved PMs[delete button])

This hack is still a beta-version^^
(It tooks two days to make this hack^^...
So..maybe..a few bugs^^??If you find bugs,please inform to me( wani@wanisys.net)

<Upgrade Plan>
planing to add some other functions to this hack^^(someday..Maybe...^^)
filtering,reject, Max-limit for each box etc^^

Demo:

http://kjw0815.codns.com/wanisys/japanese/xoops/html/

Downloads:

http://www.wanisys.net/data/wanipmhack.zip


How to install

1, Open this file(/html/wanipmhack.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
2, Overwrite All files into proper directory!!
(You must back-up original files...before this hack!!!!)
3, Open this file(/html/language/{yourlanguage}/pmsg.txt)
4, Add the contents of pmsg.txt to pmsg.php.
5, That's all!! Enjoy this new PM system!!


PS:
If you want to add my new PM-Partner Search function to this hack,
please follow this link below^^

http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=6274&forum=14

If you want to send a welcome PM to your new member automatically, please follow this link below^^

http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=6253&forum=14

And my other hacks
# Redirection logout Hack,newlogout^^
http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=6237&forum=14

#User Menu Block Hack( How to display {Welcome, ID!, Rank (title and image), Level, Group(s), Last login})
http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=6136&forum=14

#Online Status Block Hack(How to display {Latest,NewToday,NewYesterday,Total Members})
http://www.xoopscube.jp/modules/newbb/viewtopic.php?topic_id=6119&forum=14



^^//...(^^)...

From wani[wani@wanisys.net]

the most educational site, wanisys.net [http://www.wanisys.net ]



117
wanikoo
Re: My new sites!!One with XOOPS and The other with PHPnuke!
  • 2003/12/29 20:15

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

CBlue wrote:
Both sites look great wanikoo! But of course, the XOOPS one looks the best! You did a great job with them!


Thank you for your comment!!

God bless you!!
Happy new year!!



118
wanikoo
My new sites!!One with XOOPS and The other with PHPnuke!
  • 2003/12/27 9:07

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Hi^^
I am Wani and ...Korean^^;;
(Not North Korean(--);;I Love Peace and Music!!(^^)//
Anyway....*.*
Umm....
Recently I made two new websites,one in Japanese with XOOPS and the other in English with PHPnuke!...^^Yeah...It was a painful job ..especially thanks to my poor PHP skill and my pretty(?) girlfriend(--;)! but...Wow! How wonderful!! Both XOOPS and PHPnuke are really great!! They really saved my time and made me feel easy and comfortable!! Thanks,All Developers!!!Yeah...Really Thank you!...you know...I have run my korean website for years without CMS...it's really painful...(x.x)so really felt the convenience of CMS!
...Umm..too long!
Yeah...to the point!!!
^^;;
Your review and comment,please!(x.x);
...
I really want your review,comment...and some advice compared between XOOPS and PHPnuke!

....waiting for your visit!

===Site Url===
(You can access three different versions typing this address!http://www.wanisys.net)
##Japanese version with XOOPS
http://kjw0815.codns.com/wanisys/japanese/xoops/html/
##English version with PHPnuke
http://kjw0815.codns.com/wanisys/english/phpnuke/html/
##Korean version without CMS
http://www.wanisys.net/mainfront.php

Merry Christmas(?*.*)
And
Happy New year
^^;;





TopTop
« 1 ... 9 10 11 (12)



Login

Who's Online

124 user(s) are online (73 user(s) are browsing Support Forums)


Members: 0


Guests: 124


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits