71
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/11 15:34

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Upgraded to Ver4.0

<Change>
------Ver4.0-------(2005/1/12)
>>PM System-Policy function added!(configpmsg.php, pmhackconfig.php and others related.)
With this function,you(Admin) can set the PM System-Policy of your system.
#PM System-Policy#
You can set the followings.
=> the default values of PM-Policy,GroupPM-Policy.
(It means new member has these as his/her default PM-Policy,GroupPM-Policy.)
=> ON/OFF(or Selection) of each function prepared for PM-users in this PM system.
(1, PM partner search mode -> Old User-Select-Mode(0), PM Partner Search Popup(Not ReadOnly)(1), PM Partner Search Popup(ReadOnly)(2)
(2, PM Config Function -> OFF-Mode(Not Use)(0), ON-Mode(Use)(1) //To prevent users from accessing PM Config Page(configpmsg.php). [Exception:Admin]
(3, GroupPM(GPM) Function -> OFF (0), ON (1) //To disable GroupPM(GPM) Function [No G-send,GFW button, No access to pmgrouplite.php ]
(4, PM UserKey(PKI) Function -> OFF(0), ON(1) //To disable PM-UserKey(PKI) Function [No Public Key,UserKey button, No access to userkeysearch.php ]
(5, PM Type Function -> OFF(0), ON(1) //To disable PM Type Function [No PM Type Selection in pmlite.php and pmgrouplite.php]
(6, PM Backup Function -> OFF(0), ON(1) //To disable PM Backup Function [No Backup buttons and links, No access to pmbackup.php ]
(7, PM Print Function -> OFF(0), ON(1) //To disable PM Print Function [No Print button, No access to pmprint.php ]
(8, PM Help Function -> OFF(0), ON(1) //To disable PM Help Function [No Popup-Help(overlib_mini.js) ]
(9, PM PDF Function -> OFF(0), ON(1) --not supported yet, maybe next version
(10, PM Buddy Function -> OFF(0), ON(1) --not supported yet, maybe next version
(11, PM Post/Receive Box -> OFF(0), ON(1) --not supported yet, maybe next version
(12, PM Send -> OFF(0), ON(1) --not supported yet, maybe next version
(13, PM Policy(something related with filtering) -> OFF(0), ON(1) --not supported yet, maybe next version
(14, PM-Group Policy -> OFF(0), ON(1) --not supported yet, maybe next version
#How To Set#
1, Access the menu,"Set PM System Policy(Admin Only)" [configpmsg.php?op=editpmsystempolicy]
2, Set Each value in every field and Click Save-Button.
(This will make or upgrade html/cache/pmhackconfig.php. ) [configpmsg.php will include-once this file.]
3, Copy(Not Move) pmhackconfig.php to Root directory( ex: /html/pmhackconfig.php ) [Others(except for configpmsg.php) will include-once this file.]
4, set /html/pmhackconfig.php ReadOnly. [To prevent attacker from overwriting it.]
(I recommend you set also html/cache/pmhackconfig.php ReadOnly. But when edit/set, it must be Writable^^;;)

>>PM Help Function Added.(overlib_mini.js and others related.)
This Function will provide users with Popup-Help[Tip] like Mambo CMS.
(You can/have to write your own Help/Tip...[Sorry^^for my laziness.please edit pmsg.php]
>>Image-Files(related with PM type) redisposed (to prevent collision with other modules such as newbb)
( /html/images/subject ==> /html/images/pmsubject )

-----------------------------
How to upgrade 3.9->4.0
1, No change on PM DB^^No touch^^
2, Open this file(/html/language/{yourlanguage}/pmsg.txt[or pmsg_upgrade3x-40.txt])
Add the upgraded contents( under//WANISYS.NET PM HACK4.0) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
[Notice]
-You must copy pmhackconfig.php to both directories[/html and /html/cache])
-Image-Files(related with PM type) redisposed (to prevent collision with other modules such as newbb)
( /html/images/subject ==> /html/images/pmsubject )
4, That'a all! Enjoy this new PM system4.0!!
------------------------------
How to install[new 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 directories!!
(You must back-up original files...before this hack!!!!)
3, Open this file(/html/language/{yourlanguage}/pmsg.txt[and pmsg_upgrade3x-40.txt if it exists])
Add the contents of pmsg.txt to pmsg.php.
4, Open this file(/html/footer.txt)
Add the wanipmhack section(I mean ////////////////WANIPMHACK3.0) of footer.txt to footer.php.
5, That's all!! Enjoy this new PM system!!
-----------------------------
How to uninstall

1, Replace all changed files with your original files.
(html/viewpmsg.php,readpmsg.php,pmlite.php,footer.php)
(html/kernel/privmessage.php)
(html/language/{yourlanguage}/pmsg.php)
2, Delete all new files.
(html/ configpmsg.php, printpmsg.php, backuppmsg.php, pmgrouplite.php, usersearch.php, userkeysearch.php, pmhackconfig.php, overlib_mini.js)
(html/cache/ pmhackconfig.php)
(html/kernel/ privmessageconfig.php, pmuserkey.php)
(html/images/ inbox.gif, readbox.gif, rsavebox.gif, rtrashbox.gif, outbox.gif, sentbox.gif, psavebox.gif, ptrashbox.gif, pmhelp.png)
(html/images/icons/ backuppm.gif, forwardpm.gif, gforwardpm.gif, printpm.gif, pmuserkey.gif, pmcheck.gif)
(html/images/pmsubject/pm_normal_u.gif, pm_normal.gif, pm_normal_e.gif, pm_re_u.gif, pm_re.gif, pm_re_e.gif, pm_fw_u.gif, pm_fw.gif, pm_fw_e.gif, pm_gpm_u.gif, pm_gpm.gif, pm_gfw_u.gif, pm_gfw.gif)
3, Open this file(/html/wanipmhack_uninstall.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
4, That's all!! Very simple^^;;
----------------------------

Demo:

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

Downloads:
-Stable Version => Ver2.85(default)
http://www.wanisys.net/data/wanipmhack.zip
-Test Version => Ver4.0(+pmconfig+GroupPM+etc)
http://www.wanisys.net/data/wanipmhack40.zip
-DB-toolkit for DB-novice(only for New install/uninstall)
http://www.wanisys.net/data/wanipmhack_dbtoolkit40.zip


2005/1/12

From wani[wani@wanisys.net]

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



72
wanikoo
Re: How about "Help Tsunami victims Block"
  • 2005/1/7 15:22

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

Mithrandir wrote:
What you do is up to you. You may of course encourage everyone to do the same and I have no problems with you using the XOOPS Member's Lounge for that purpose, it was merely an answer
and I just argued that xoops.org was not the place for this block

^^Thanks for your opinion^^
Wow...not easy world^^



73
wanikoo
Re: How about "Help Tsunami victims Block"
  • 2005/1/7 13:22

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

Mithrandir wrote:
I think it would be hypocritical of us to put up this block when we have not done the same for the above mentioned disasters.
No, I am not a heartless bastard, but we are being bombarded with tsunami here and tsunami there - surely it has no added value to add it to this site as well.

^^;;
You think too much....
hypocritical or not? Is it important??
Umm...
anyway...
I will add this block to my site.
Maybe I am hypocritical...^^;;
but......so..what matter?



74
wanikoo
How about "Help Tsunami victims Block"
  • 2005/1/7 12:09

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


As you know,
Now..lots of people in South Asia are suffering and struggling to survive the tragic aftermath of earthquakes and tsunami.
Umm...
How about adding "Help Tsunami Victims Block"(to help an on-line donation) to all Xoops-sites.

Help Tsunami victims Block
--------<<Example>>--------
(1)To add a new block..
System Admin==>>Blocks Administration==>>Add a new block
(2)Set options of Block
>>Block Type
Side Block - Left
>>Weight
9 (^^;;up to your system)
>>Visible
Yes
>>Visible in
Top Page
>>Title
Help Tsunami Victims
>>Content
HTML (example)
-------------
<center>
<a href="http://www.worldvision.org/tsunami" target="_blank" ><img src="http://www.wanisys.net/images/tsunamiblock.gif" /></a>
</center>
-------------
>>Content Type
HTML
>>Cache lifetime
No Cache

(3)Set Block Access Rights.
System Admin==>>Edit Groups==>>Modify Anonymous Group
Block Access Rights ==> (check) Help Tsunami Victims (ID:XX)

<<sample image>>
Resized Image


<<Other Target Links>>
--English sites--

http://www.actionagainsthunger.org/ Action Against Hunger
http://www.redcross.org/donate/donate.html American Red Cross
http://ajws.org/index.cfm?section_id=15 American Jewish World Service
http://www.bapscare.org/mediacenter/announcements/2004/tsunamireliefwork.htm BAPS Care International
http://www.careusa.org CARE
http://www.directrelief.org Direct Relief International
http://www.goal.ie/newsroom/tsunamiappeal.shtml GOAL
https://www.habitat.org/donation/generaldonation/default.aspx?media=Google&lander=MNP&tg=tsunami&sourcecode=10w31&keyword=frontlink Habitat for Humanity International
http://www.ifrc.org/helpnow/donate/donate_response.asp International Federation of Red Cross and Red Crescent
http://www.islamic-relief.com/ Islamic Relief Worldwide
http://www.karunalanka.org/index.html Karuna Trust
http://www.networkforgood.org/topics/international/earthquake/tsunami122604.aspx Network for Good
http://www.oxfam.co.uk Oxfam International
http://www.sarvodaya.org/ Sarvodaya
http://www.savethechildren.org Save the Children
http://www.unicef.org/ UNICEF
http://www.wfp.org/ World Food Programme (UN)
http://www.worldvision.org/tsunami World Vision



75
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/6 10:25

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

migoe wrote:
hope you can make it optional for setting it up in the pm-coniguration because it diverts my visitors an make them confused.

krobi wrote:
first of all one chance is that i dont like, when you want to send a pm to a user i cant select them anymore from the drop-down menu,
i must go to that members search and so on
that a long way for a pm to one user, i like the old methode more.

^^;;
In the next version,
I will finally add the function of PM system config which enables you to set default values of PM policy and PM-environment for your system.
It means you(admin) can set default PM policy(default box_max limit,default GroupPM policy) and default PM-environment(On/Off of each function..maybe--;;) of your system.
so....
maybe you can see what you suggested above...in the next version.
Umm...maybe...^^;;

Quote:

krobi wrote:
i must say that hack have really many features

I know...
but...
In the end...of this PM hack project,
I plan to release three or four different versions of this PM hack.
I mean....
default version(just sort and search function)
type1(default+pm config)
type2(default+pm config+grouppm)
type3(??)....etc.....
^^;;
Quote:

migoe wrote:
i'm using on my site the module "pm-block" witch shows the newest pns in a block on the homepage.

den1662 wrote:
This what i have tried 'Module PM' but getting errors:
'Errors None' by getHtmlErrors. Where did i go wrong?

Umm...
I have never used other PM-hacks( pm-block you mentioned, pm-modules etc)--;;
so...I can't help you without more detailed explanation....sorry--;;



76
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/4 19:52

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

irmtfan wrote:
could you change this hack to a module like "xoopspm" ?

Umm..
I will..someday...but still..not in this stage.
As I had mentioned before,
in this stage(Ver3x)..I will devote myself to improving the functionality of this PM-hack.
^^but....
as you know.....the current version is Ver3.9....
Not too far~~~
(I plan to add whitelist function(pm-buddy system) and sophisticate all functions before Ver4.x)
Umm...
In the next stage(I mean Ver4.x),
I am supposedly(^^) scheduled to do something related with templates and design.
so...if I have any mind/intention to change this hack into something like a module, I will in that stage.
(but..still...that stage(ver4.x)..is just optional for me...because I have some tendency not to do the same thing again.)

Quote:

carnuke wrote:
Is there a demo of this with english characters?
I tried to find the demo on wanikoo's site, but could not register or find a demo area.
It seems wrong to register, just to see this hack.

If you are interested in this PM hack, why don't you test this PM-hack on your test server for yourself.
I think it will take less time than to search a demo-site.
--;;



77
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2005/1/4 14:12

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Upgraded to Ver3.9^^
(~~Happy new year!!)

<Change>
------Ver3.9-------(2005/1/4)
>>A small bug&mistype fixed(privmessageconfig.php, readpmsg.php, pmgrouplite.php)
>>PM type function added!!
(You can set your PM-type when you send your PM and your partner can visually confirm what type it is with its msg_image(gif icon).
#PM types#(If you have any idea or suggestion about this, please inform me^^)
Normal PM - urgent(pm_normal_u.gif), normal(pm_normal.gif), encrypted(pm_normal_e.gif)
RE(Reply) PM - urgent(pm_re_u.gif), normal(pm_re.gif), encrypted(pm_re_e.gif)
FW(Forward) PM - urgent(pm_fw_u.gif), normal(pm_fw.gif), encrypted(pm_fw_e.gif)
GPM(Group PM) -urgent(pm_gpm_u.gif), normal(pm_gpm.gif)
GFW(Group Forward PM) -urgent(pm_gfw_u.gif), normal(pm_gfw.gif)
>>Simple PKI(Public Key Infrastructure) prepared for Encrypted PM and Message-signature.(Still beta..version)
^^Yeah...very simple but generous PKI^^
[Notice: All calculation for en/de-cryption is up to you. Server will manage/provide only Key-Info for you.]
You can register your Public Key with some Info(key_type,key generation algorithm,hash algorithm,description(how to use) etc).
Your PM partner can search/look up your Public Key Info to send you a secret PM encrypted with your public key.
You can append msg_signature encrypted with your private key....to assure it's sent from YOU.(You can use hash^^)
Your PM partner can confirm it's sent from YOU by compare the value(decrypted from msg_signature with your public key) with hash(calculated from your message).
I know it's complicated...and moreover..these processes and calculation for de/en-cryption are all up to you.
Therefore...if you are not good at PKI and feel no necessity of secret PM, Please just ignore this function.
-----------------------------

How to upgrade 3.8->3.9
1, Open this file(/html/wanipmhack38-39.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
2, Open this file(/html/language/{yourlanguage}/pmsg.txt[or pmsg_upgrade3x-39.txt])
Add the upgraded contents( under//WANISYS.NET PM HACK3.9) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system3.9!!

How to install[new 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 directories!!
(You must back-up original files...before this hack!!!!)
3, Open this file(/html/language/{yourlanguage}/pmsg.txt[and pmsg_upgrade3x-39.txt if it exists])
Add the contents of pmsg.txt to pmsg.php.
4, Open this file(/html/footer.txt)
Add the wanipmhack section(I mean ////////////////WANIPMHACK3.0) of footer.txt to footer.php.
5, That's all!! Enjoy this new PM system!!

How to uninstall

1, Replace all changed files with your original files.
(html/viewpmsg.php,readpmsg.php,pmlite.php,footer.php)
(html/kernel/privmessage.php)
(html/language/{yourlanguage}/pmsg.php)
2, Delete all new files.
(html/ configpmsg.php, printpmsg.php, backuppmsg.php, pmgrouplite.php, usersearch.php, userkeysearch.php)
(html/kernel/ privmessageconfig.php, pmuserkey.php)
(html/images/ inbox.gif,readbox.gif,rsavebox.gif,rtrashbox.gif,outbox.gif,sentbox.gif,psavebox.gif,ptrashbox.gif)
(html/images/icons/ backuppm.gif, forwardpm.gif, gforwardpm.gif, printpm.gif, pmuserkey.gif, pmcheck.gif)
(html/images/subject/pm_normal_u.gif, pm_normal.gif, pm_normal_e.gif, pm_re_u.gif, pm_re.gif, pm_re_e.gif, pm_fw_u.gif, pm_fw.gif, pm_fw_e.gif, pm_gpm_u.gif, pm_gpm.gif, pm_gfw_u.gif, pm_gfw.gif)
3, Open this file(/html/wanipmhack_uninstall.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
4, That's all!! Very simple^^;;


Demo:

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

Downloads:
-Stable Version => Ver2.85(default)
http://www.wanisys.net/data/wanipmhack.zip
-Test Version => Ver3.9(+pmconfig+GroupPM)
http://www.wanisys.net/data/wanipmhack39.zip
-DB-toolkit for DB-novice(only for New-install)
http://www.wanisys.net/data/wanipmhack_dbtoolkit39.zip


2005/1/4

From wani[wani@wanisys.net]

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



78
wanikoo
Re: Happy New Year
  • 2004/12/31 14:51

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Happy New Year^^

From GMT+09:00
^^;;



79
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/30 19:57

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Upgraded to Ver3.8
^^I wish you a happy new year!!

<Change>
------Ver3.8-------(2004/12/31)
>>configpmsg.php redesigned into three section.
1,Edit PM Config -> You can set your own PM Config to customize interface and environment of your PM system.
2,Show Status -> You can easily figure out the status of PM-boxes with statistical data.(I will improve this section more and more.)
3,Edit PM Policy(Admin Only) -> Only Admin can set PM-Policy of system.(rbox_max_limit, pbox_max_limit,GroupPM Policy etc)
>>Now You can access/use rbox and pbox to manage your PMs.(viewpmsg.php,readpmsg.php)
rbox= inbox+readbox+rsavebox =>With rbox, you can manage all PMs( received from your partner) in one box.
pbox= outbox+sentbox+psavebox => With pbox, you can manage all PMs (sent to your partner by you) in one box.
>>You can empty any box with one click(+confirm window).(Empty Box function[in Show Status of configpmsg.php])
>>Not only all at once and individually...but also By Group, you(Admin) can designate PM-Policy to users.(configpmsg.php)
-----------------------------

How to upgrade 3.7->3.8
0, No change on PM DB^^No touch^^
1, Open this file(/html/language/{yourlanguage}/pmsg.txt[or pmsg_upgrade3x-38.txt])
2, Add the upgraded contents( under//WANISYS.NET PM HACK3.8) of pmsg.txt to pmsg.php.
3, Overwrite All files into proper directories!!
4, That'a all! Enjoy this new PM system3.8!!


How to install[new 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 directories!!
(You must back-up original files...before this hack!!!!)
3, Open this file(/html/language/{yourlanguage}/pmsg.txt[and pmsg_upgrade3x-38.txt if it exists])
Add the contents of pmsg.txt to pmsg.php.
4, Open this file(/html/footer.txt)
Add the wanipmhack section(I mean ////////////////WANIPMHACK3.0) of footer.txt to footer.php.
5, That's all!! Enjoy this new PM system!!

How to uninstall

1, Replace all changed files with your original files.
(html/viewpmsg.php,readpmsg.php,pmlite.php,footer.php)
(html/kernel/privmessage.php)
(html/language/{yourlanguage}/pmsg.php)
2, Delete all new files.
(html/ configpmsg.php,printpmsg.php,backuppmsg.php,pmgrouplite.php,usersearch.php)
(html/kernel/ privmessageconfig.php)
(html/images/ inbox.gif,readbox.gif,rsavebox.gif,rtrashbox.gif,outbox.gif,sentbox.gif,psavebox.gif,ptrashbox.gif)
(html/images/icons/ backuppm.gif,forwardpm.gif,gforwardpm.gif,printpm.gif)
3, Open this file(/html/wanipmhack_uninstall.sql) and execute the sql query on the file^^
( Use phpmyadmin...if you are DB-novice!!Please, watch out table prefix[xoops_])
4, That's all!! Very simple^^;;

Demo:

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

Downloads:
-Stable Version => Ver2.85(default)
http://www.wanisys.net/data/wanipmhack.zip
-Test Version => Ver3.8(+pmconfig+GroupPM)
http://www.wanisys.net/data/wanipmhack38.zip
-DB-toolkit for DB-novice
http://www.wanisys.net/data/wanipmhack_dbtoolkit.zip

2004/12/31

From wani[wani@wanisys.net]

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



80
wanikoo
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/27 19:54

  • wanikoo

  • Not too shy to talk

  • Posts: 129

  • Since: 2003/12/27


Quote:

irmtfan wrote:
other features:
1- ability to search in whole pms( in all box).now the search function just search in one box.
2- add perfix for group pm (allowed by admin). somthing like this: [send to all members of XXX group]
3- users can create category inside savebox and save pms in individual branchs.
4- ability to epmtied one box with one click and a yes/no box.
5- add draft box ( not importannt IMO but just a thought)

Umm...
At first thought,
1,2 => maybe easy
3 => quite a tough/hard
4,5 => need more detailed explanation.
Anyway....I will think over your idea^^

Quote:

chapi said
I think it would be great if you could start a project for this PM Hack athttp://dev.xoops.org. There you will have many features to control your project. Usefull stuff like bug tracker, feature tracker, forums, etc.
I think this would be usefull for the organisation around this hack.

Yeah^^ You can say that again^^
I will look over dev.xoops.org ^^
Thanks!!




TopTop
« 1 ... 5 6 7 (8) 9 10 11 12 »



Login

Who's Online

142 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits