21
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/1 16:00

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

I make a german version of the 2.5 Hack - you can download it on myxoops.org (German Support)

Guten Tag,migoe^^
Danke!!
Was ich mich freue!
^^;;correct??
(I studied German long~~~ long~~ times ago...
haha..but now...,as you know,...can't remember even a basic expression!!
...^^BTW...
Thanks for the German version of PM-hack^^...Thanks a lot^^

Quote:

just 2 more things
feature 1: change the order (asc/decs) with the comment/forum posts order that user choose at edit profile.
feature 2: put "AND" , "OR" ,"NOT" for search function.

Umm..I will try...^^...
but...
lots of things to do...in this week..
so....
I think I can't release the upgraded version until this weekend.
Anyway...I will try^^
(ASAP~~)

22
mizi_
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/1 18:21

  • mizi_

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


If I want to write a new message to a member I must select it from the list. Because my site has more than 5000 members, its difficult to search. It is possible to make a field in pmlite.php to write directly the username.

23
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/1 18:43

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

mizi_ wrote:
If I want to write a new message to a member I must select it from the list. Because my site has more than 5000 members, its difficult to search. It is possible to make a field in pmlite.php to write directly the username.


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

And
if you want to write username directly...
Please remove READONLY^^

//popup user search hack start
echo "ID";
echo " Name";
echo " ";
//popup user search hack end

24
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/1 20:03

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Umm..
let me explain my new PM-Partner Search Hack briefly.
With this PM-Partner Search hack,
You can search and find your PM-Partner easily in the new popup window which has user-search form.
When you find your partner in this popup window,
just click SELECT and your partner's data(uid,uname) will be transfered automatically to the form of opener window(coolsus of pmlite.php)...
and moreover the popup windows will close of itself^^
Just try it^^
(You must back-up original files...before this hack!)

25
mizi_
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/1 21:01

  • mizi_

  • Just popping in

  • Posts: 8

  • Since: 2004/11/16


Thnx for your answer.

I have added the search hack, but when I try to type a ID or username, I can't do it. The second problem: When I click the search button, the popup window doesn't open. I think I have puted the code correctly. And I have uploaded the usersearch.php in the xoops-root directory. Where can the problem be?

echo "n";
echo 
""._PM_TO."";
if ( 
$reply == ) {
echo 
".$pm->getVar("from_userid")."' />".$pm_uname."";
} elseif ( 
$send2 == ) {
$to_username XoopsUser::getUnameFromId($to_userid);
echo 
".$to_userid."' />".$to_username."";
} else {
//comment処理します
// echo "";
// $result = $xoopsDB->query("SELECT uid, uname FROM ".$xoopsDB->prefix("users")." WHERE level > 0 ORDER BY uname");
// while ( list($ftouid, $ftouname) = $xoopsDB->fetchRow($result) ) {
// echo "".$myts->makeTboxData4Show($ftouname)."";
// }
// echo "";
//popup user search hack start
echo "ID";
echo 
" Name";
echo 
/usersearch.php","searchuser",450,380);' />";
//popup user search hack end
}
echo 
"";
echo 
""._PM_SUBJECTC."";

26
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/2 2:34

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

mizi_ wrote:
Thnx for your answer.

I have added the search hack, but when I try to type a ID or username, I can't do it. The second problem: When I click the search button, the popup window doesn't open. I think I have puted the code correctly. And I have uploaded the usersearch.php in the xoops-root directory. Where can the problem be?


Umm...I think
.You need to check the spelling of javascript.
(No java script!! No blank or whitespace or tab between java and script^^...As you know,this forum system makes blank between javascipt forcibly to prevent XSS or something.)
.If you typed "javascipt" correctly,you need to check if you use any program which prevents popup-window or not.

Please use this file^^
http://www.wanisys.net/data/pmlite.zip
And
Quote:

if you want to write username directly...
Please remove READONLY^^

27
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/2 16:33

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


---XOOPS - PM(Private Message) Hack2.7

Upgraded to Ver2.7^^

------Ver2.7-------(2004/12/3)
>>some bug fixed.
(Especially,in Ver 2.5, there was a bug that when you come back and click page_number after reading any message , you lose $_GET value and can't move to other pages with your search-result.)^^Sorry
>>new functions added.
(Search function upgraded.(Multi-Keywords Search supported with AND and OR^^Wow^^)
- separator=> (white)space
ex)happy news morning
-----------------------------
How to upgrade 2.5->2.7
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 HACK2.7) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system2.7!!

Demo:

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

Downloads:

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

2004/12/3

From wani[wani@wanisys.net]

28
irmtfan
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/2 17:31

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i upgrade as laways.
also "NOT" is more important than "OR" for the search functions in pm
thanks a lot and KEEP UP WORKING.

29
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/2 18:04

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


---XOOPS - PM(Private Message) Hack---
##Upgrade Plan##
From Ver3.0,
I will make a DB table and a class related with PM-Config
for you to set your PM-Config.
(Filtering,Reject Y/N and reason,default sorting method,Box limit etc)
Umm....
So...
From now(Ver2.7) till Ver3.0...
there won't be any major change in this PM Hack.
(but Bugging and small upgrade still continue^^)
haha...

Anyway...
I will continue to upgrade this PM-Hack~~
Just enjoy^^

Quote:

irmtfan wrote:
also "NOT" is more important than "OR" for the search functions in pm

Umm...
No plan to add "NOT" to the search function at this point.
I don't think "NOT" is more important than "OR" ^^;;
(but maybe.... in the future version....^^;;)

From wani ( wani@wanisys.net )

30
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/4 12:35

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


---XOOPS - PM(Private Message) Hack
Upgraded to Ver 2.8^^


------Ver2.8-------(2004/12/5)
>>More User-friendly!!! User-Interface improved.
(By how each condition of your search is always displayed (in each box) with your options(selected in the search-form) selected and with your search-keywords(entered in the search-form) shown,
you may/can perceive and understand the status of your search-job more easily and more visually.
>>new function added.
(Search function upgraded.(Multi-Keyword Search supported with "NOT" ^^Wow^^)
- separator=> (white)space
ex)violence sex fight (=> not included all of them)
-----------------------------

How to upgrade 2.7->2.8
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 HACK2.8) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system2.8!!

Demo:

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

Downloads:

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

2004/12/5

From wani[wani@wanisys.net]

Login

Who's Online

367 user(s) are online (259 user(s) are browsing Support Forums)


Members: 0


Guests: 367


more...

Donat-O-Meter

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

Latest GitHub Commits