$Id: readme.txt,v 1.16 2006/09/16 04:16:55 ohwada Exp $

=================================================
Version: 1.12
Date:   2006-09-16
Author: Kenichi OHWADA
URL:    http://linux2.ohwada.net/
Email:  webmaster@ohwada.net
=================================================

* Main changes *
This is the beta version of "module duplication". 
There are same changes of functional addition, "enable to use of HTML tags" and etc.
And more changes of implementation about handling database. 

If you dont use "enable to use of HTML tags", please use v0.97. 

* bug fix *
(1) 4164: number of comments is wrong
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4164&group_id=1199&atid=971

(2) 4168: not show catpath in viewmark
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4168&group_id=1199&atid=971

(3) 4169: not show total in index
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4169&group_id=1199&atid=971

(5) not clean old feeds in singlelink
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=509&forum=5

(6) category is html sanitized twice in edit form

=================================================
Version: 1.11
Date:   2006-07-23
=================================================

* Main changes *
This is the beta version of "module duplication". 
There are same changes of functional addition, "enable to use of HTML tags" and etc.
And more changes of implementation about handling database. 

If you dont use "enable to use of HTML tags", please use v0.97. 

* bug fix *
(1) 4029: mistake table name 
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4029&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=464&forum=5

(2) 4030: cannot change recommend, mutual
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4030&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=471&forum=5

(3) 4032 : cannot create table in MySQL 3.23
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4032&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=464&forum=5

(4) 4060: The command line of refreshed sites are limited to 10 sites.
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4060&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=474&forum=5

(5) 4085: Fatal error: Call to undefined function: weblinks_page_frame_basic()
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4085&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=482&forum=5

(6) 4130: cannot show recommend mark
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4130&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=492&forum=5

(7) 4152 : not show catpath in link list
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4152&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=488&forum=5

(8) 4153: not show catpath in search
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4153&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=497&forum=5

(9) 4154: always update time_update in admin mode
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=4154&group_id=1199&atid=971


=================================================
Version: 1.10
Date:   2006-05-24
=================================================

* Main changes *
This is the beta version of "module duplication". 
There are same changes of functional addition, "enable to use of HTML tags" and etc.
And more changes of implementation about handling database. 

If you dont use "enable to use of HTML tags", please use v0.97. 

1. Added the following options.
(1) 3023 can use HTML tags in link content
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3023&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=74&forum=2

(2) choice to use or not XOOPS code in link content
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=454&forum=5

(3) 3037 choice to show or not RSS/ATOM feeds 
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3027&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?post_id=274&topic_id=90&forum=2
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=178&forum=5

(4) 3515 choice to show or not category list in sub menu. 
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3515&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=132&forum=2

(5) 3802 choice to show or not link list in main page
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3802&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=142&forum=2

(6) choice to show or not "recommend site" and "reciprocal site" on a higher rank
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=336&forum=5

(7) choice to use or not "Report Broken Link"

(8) choice to use or not "Link Hits"

(9) Selection of "indirect" and "direct" of URL display form
In "indirect", not show URL but visit.php
In "direct", show URL and count links hits via JavaScript. 

(10) choice to get or not banner image size automatically

2. Registration and edit of link information 
(11) guest can to register and change a password. 

(12) decide anonymous user's edit authority with a password. 
Anonymous user with authority can edit link information. 
Anonymous user without authority cannot see an edit form. 
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3419&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=121&forum=2

(13) when user have no authority, not show "submit" and "modify" button.
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=388&forum=5

(14) enable to change the item name at registration and edit
http://linux.ohwada.jp/modules/newbb/viewtopic.php?viewmode=flat&topic_id=261&forum=5

3. Admin Management 
(15) renewal menue in admin page.

(16) Added bulk registration of categories and links 
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=68&forum=5

4. Template 
(16) adopted style sheet 
(17) changeed table tag to div tag. 
(18) added bread crumbs

5. Others 
(19) added PRINT page
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=307&forum=5

(20) 3026 TITLE and URL was extended to 255 characters. 
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3026&group_id=1199&atid=974
http://linux2.ohwada.net/modules/newbb/viewtopic.php?viewmode=flat&topic_id=87&forum=2

6. language pack
(21) Added german (correspond v0.90)
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=168&forum=2


* Change of implemantation about handling database * 
Logic structure had changed into the complicated spaghetti state. 
since the conventional code repeated the functional addition, 
The code was rewritten extensively. 

(1) It separated into the object class and the handler class about handling database. 
(2) It separated into the class of direct handling database for link information 
and the class of showing and processing in registration and edit. 

(3) It arranged the complicated relation, 
which class A calls class B, and class B calls class B.


* Update *
(1) Overwrite the files below weblinks directory. 
I change the file name of many files. 

Although remained in overwrite, without deleting an old file,  
there is no trouble in operetion. 
If you worry it, 
please delete old files and copy new files. 
since you take backup of old files. 

(2) Update weblinks module in XOOPS management. 
You MUST do it, since I change the template files. 

(3) upgrade config table in admin page.
the message is showing, if not newest version. 

(4) Change a template if needed. 
I change the structure of a template. 
When you customized the template files, 
you need to re-customizedA template files. 


* Notice *
I change almost all files. 
I change table structure of a database a little.
Although there are no big problem, but I think that there are any small problem. 
Even if some problems come out, only those who can do somehow personally need to use. 
Welcome a bug report, a bug solution, and your hack, etc.


* TODO *
Next version, I will plan to add the linkage with "RSS Center module."


* For translator *
Please change language files with a sample about English files. 
I cannot change them, since I dont have non-English editors. 


=================================================
Version: 1.02
Date:   2006-05-14
=================================================

* Main changes *
This is the beta version of "module duplication". 
If you dont use "module duplication", please use v0.97. 

BugFix
(1) 3858 Fatal error when allow_url_fopen = off 
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3858&group_id=1199&atid=971

(2) 3859 Parse error in atomfeed.inc.php 
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3859&group_id=1199&atid=971
http://linux.ohwada.jp/modules/newbb/viewtopic.php?topic_id=441&forum=5

(3) 3860 mysql error when guest report broken link
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3860&group_id=1199&atid=971
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=154&forum=2

(4) 3922 Fatal error when use category image 
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3922&group_id=1199&atid=971
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=161&forum=2


=================================================
Version: 1.01
Date:   2006-03-26
=================================================

* Main changes *
This is the beta version of "module duplication". 
If you dont use "module duplication", please use v0.97. 

Request
(1) 3807: Description in main page
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3807&group_id=1199&atid=974

BugFix
(1) 3743: fatal error ocucred when six or more links waiting to apoval
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3743&group_id=1199&atid=971

(2) 3746: show submenu incorrectly
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3746&group_id=1199&atid=971

(3) 3799: cannot display brokenlink 
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3799&group_id=1199&atid=971

=================================================
Version: 1.00
Date:   2006-01-15
=================================================

* Main changes *
This is the beta version. 
This change is only a functional addition of a "module duplication". 
This function is the same as TinyD module, etc. 
Currently prepared module name are "weblinks", "weblinks0", "weblinks1" and "weblinks2". 

If you dont use "module duplication", please use v0.97. 

* Update *
(1) Overwrite the files below weblinks directory. 
I change the file name of many files. 

Although remained in overwrite, without deleting an old file,  
there is no trouble in operetion. 
If you worry it, 
please delete old files and copy new files. 
since you take backup of old files. 

(2) Update weblinks module in XOOPS management. 
You MUST do it, since I change the template files. 

(3) Change a template if needed. 
I change the structure of a template. 
When you customized the template files, 
you need to re-customizedA template files. 

* Notice *
I change almost all files. 
I dont change the database structure.
Although there are no big problem, but I think that there are any small problem. 
Even if some problems come out, only those who can do somehow personally need to use. 
Welcome a bug report, a bug solution, and your hack, etc.

* TODO *
Next version, I will plan to add the linkage with "RSS Center module."

* For translator *
Please change language files with a sample about English files. 
I cannot change them, since I dont have non-English editors. 


=================================================
Version: 0.97
Date:   2006-01-14
Author: Kenichi OHWADA
URL:    http://linux.ohwada.jp/
Email:  webmaster@ohwada.jp
=================================================

Request
(1) 3226: ATOM 1.0 parse
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3226&group_id=1199&atid=974


Bug fix
(1) 3429: wrong link in admin/link_broken_check.php
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3429&group_id=1199&atid=971

(2) 3430: sorting dont work in admin/link_list.php
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3430&group_id=1199&atid=971

Language Pack
(1) add spanish v0.96
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=126&forum=2

(2) update french v0.96
http://linux2.ohwada.net/modules/newbb/viewtopic.php?topic_id=127&forum=2


=================================================
Version: 0.96
Date:   2005-11-20
=================================================

Request
(1) 3196: direct link
hack by snakes
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3196&group_id=1199&atid=974
http://www.xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=42078&forum=15

Bug fix
(1) 3209: typo X-Mailer
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3209&group_id=1199&atid=971


=================================================
Version: 0.95
Date:   2005-10-28
=================================================

Request
(1) 3028: send apoval email to anonymous user
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3028&group_id=1199&atid=974

(2) 3110: Add in this category
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3110&group_id=1199&atid=974


Bug fix
(1) 3031: timeout occurs if many waiting links
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3031&group_id=1199&atid=971

(2) 3032: "mutual site" is not suitable English
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3032&group_id=1199&atid=971

(3) 3095: the number of links does not change, if delete link
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3095&group_id=1199&atid=971

(4) 3106: cannot find a relative RSS url correctly
http://dev.xoops.org/modules/xfmod/tracker/?func=detail&aid=3106&group_id=1199&atid=971

(5) 3108: errors occur when allow_url_fopen = off
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3108&group_id=1199&atid=971

(6) 3111: timeout occurs in popular site if many top categories
http://dev.xoops.org/modules/xfmod/tracker/index.php?func=detail&aid=3111&group_id=1199&atid=971


* added or changed files
xoops_version.php
submit.php
topten.php
admin/admin_functions.php
admin/admin_header.php
admin/broken.php
admin/category_manage.php
admin/link_manage.php
admin/modify.php
admin/table_check.php
class/class.rss_atom_parser_base.php
class/table_modify.php
class/remote_file.php
class/rss_atom_collect.php
include/function.php
include/submit_form.php
templates/weblinks_topten.html
templates/weblinks_topten_mixed.html
templates/weblinks_header.html

language/english/admin.php
language/english/main.php
language/english/modinfo.php
language/english/mail_template/link_approve_notify_anon.tpl
language/english/mail_template/link_refusued_notify.tpl
language/english/mail_template/link_wating_notify.tpl

language/japanese/admin.php
language/japanese/main.php
language/japanese/modinfo.php
language/japanese/mail_template/link_approve_notify_anon.tpl
language/japanese/mail_template/link_refusued_notify.tpl
language/japanese/mail_template/link_wating_notify.tpl


=================================================
Version: 0.94
Date:   2005-09-06
=================================================

Request
(1) 2933 in search, easy to understand error message 

Bug fix
(1) 2863 Fatal error: Call to undefined method xoops_form_extend::start_tray()
(2) 2929 random jump becomes an infinite loop None
(3) 2931 unmatch popup menu 'prefrence' and index menu 'module setting'
(4) 2932 dont work correctly when register_long_arrays = off 
(5) 2946 dont work correctly when allow_url_fopen = off


=================================================
Version: 0.93
Date:   2005-08-09
=================================================

Bug fix
(1) 2790 not show rss site
(2) 2793 Fatal error: Call to undefined function: _print_sql_error()
(3) 2827 RSS refresh: Invalid argument supplied for foreach()
(4) 2828 submit form is not displayed correctly in PHP 5.0.4 


=================================================
Version: 0.92
Date:   2005-07-18
=================================================

Bug fix
(1) 2150 cannot modify link
(2) 2158,2299 "Number of link broken count to stop a display" dont work
(3) 2300 show all sub categories when paramter = 0
(4) 2402,2410 pagenavi dont work correctly in Admin link list
(5) 2409 when anonymous users rate a link, sql error is displayed
(6) 2670,2698 Cannot redeclare table_config::$post_rss_url
(7) 2707 display BB code in short description
(8) 2772 dont show notify when preview to submit
(9) 2773 dont show _WLS_MODIFY to modify None 

added language pack
(1) french
(2) persian
(3) portugues.do.brasil


=================================================
Version: 0.9
Date:   2005-01-20
Author: Kenichi OHWADA
URL:    http://linux2.ohwada.net/
Email:  webmaster@ohwada.net
=================================================

This module is web links directory.
This is more powerful than mylinks, 
and upper compatible for mylinks.

* The main functions

1. The number of categories
One link can belong to two or more categories.
It is possible to set up arbitrary numbers. 
A default number is 4.  


2. Item of link infomation
This module have same items of link infomation,
name, email, address, telephone number, etc.
You can use as an address book.

2.1 URL
It is possible to register same URL. 
It is possible to register no URL. 
It will discover RSS URL and collect feeds automatically, if correspond to RSS Auto Discovery.

2.2 Link image
User can register a link image. 

2.3 Map site
Show the link to a map site "http://maps.yahoo.com/", when link infomation have the address.


3. Preview
It is possible to preview link infomation when submit or modify link.


4. Menu
This module have same menus. 

(1) Main
(2) Submit New Link
(3) Popular site
(4) Top rated site
(5) Recommned site
(6) Mutual site
(7) Category List
(8) RSS/ATOM Site
(9) RSS/ATOM Feed
(10) Randum jump


5. Blocks
This module have 6 Blocks.

(1) Recent Links
(2) Top Links
(3) Popular Links
(4) Category list of Web links
(5) Latest RSS/ATOM feeds of Web links
(6) Show blog of Web links


6. Dispaly and templates
This module have 19 templates. 

All templates passed W3C Validator.
http://validator.w3.org/


7. Admin Nenu
This module have same admin menus. 

(1) Module Configuration

(2) Management of Category
Category list which is listed by older id or tree style.
It is possible to change the order of category. 

(3) Management of Link
Link list which is listed by older or newer id.

(4) Managemnt of RSS/ATOM feed
RSS/ATOM feed clear and refrsh

(5) Managemnet of user
Admin can send email to user.


8. Access authority
This module have 5 Access authorities.
(1) submit a new link
(2) approve automatically when submit a new link
(3) modify a link
(4) approve automatically when modify a link
(5) rate a link

The setting method is that select the groups which have access authority, 
webmaster, registered users, anoymous users, etc.


9. Command line mode
This module have 3 batch programs.
It assumes that it performs them by cron.

(1) link broken check
(2) RSS/ATOM feed refresh
(3) RSS/ATOM search site feed refresh

10. Security
10.1 Correspond to register_globals off. 

10.2 Correspond to allow_url_fopen off. 
Please enable to write "cache" directory. 
Image data is stored temporarily, when image size is getting.


* Installation
(1) The "weblinks" directory will be made when unzip this download file.
(2) Install a module in XOOPS Modules Administration. 

* Command line mode
It assumes that it performs them by cron.
Please delete "bin" directory, if unnecessary. 

When you use command line mode.

(1) Enable to write the "cache" directory,

(2) Exucute in admin menu.
"other functions" -> "create config file for bin".

(3) Change $XOOPS_ROOT_PATH in the following program files to meet your XOOPS environment .
- bin/link_check.php
- bin/rss_refresh_link.php
- bin/rss_refresh_site.php

(4) Caution
Everyone can excute this program. 
Please change a program name and permit the cron user to excute, 
if you do not get into mischief, 


*  Necessary to change XOOPS core.
(1) Correspond to RSS Auto Discovery.
Please use my hack version of the XOOPS header.php.

Uncomment the following line in 40th line of viewfeed.php. 
-----
//$xoopsTpl->assign('lang_atomfeed_firefox', _WLS_ATOMFEED_FIREFOX);
-----


* Transfer from mylinks 
(1) Clean up the table of mylinks. 

(2) Enable to write the "weblinks/cache" directory.

(3) Exucute in admin menu.
"other functions" -> "transfer DB mylinks v1.1 to weblinks v0.9"

The following are copied. 
- Snapshot images 
- category table 
- links table 
- votedata table 
- XOOPS comments table which mylinks use.

The following are not copied. 
- modify table 
- broken table 

(4) Incompatible for mylinks
In mylinks, the registration method of Snapshot images is that choice from the image in the "shots" directory.
In weblinks, it changed into the method which specifies full URL.
The specification full URL of weblinks style is like
"http://***/modules/weblinks/images/shots/xxx" .
In a transfer program, it changes automatically.

