1
yerres
wordbook 1.16.1
  • 2006/9/2 12:42

  • yerres

  • Just popping in

  • Posts: 14

  • Since: 2006/9/1 7


I have customized Wordbook 1.16 to my needs. Maybe this is of use for someone.

The new PDF-function still has to be revised.
I wanted to use FPDF 1.53 (like inNews 1.44) but could not set the parametres in makepdf.php. If somebody knows a solution, send me a PM.

also included a script to clone the module.
samples of clones: Encyclopedia, Diccionario

EDIT: *Temporary Links removed*

You can download this first beta version here


Changelog of Wordbook v 1.16.1 (1.17) beta
- Redesigned Admin-Area
- Add: 8 (eight) new Options in Module Preferences (to customize the startpage of WB)
- Add: Security Image
- Add: Basic Notification
- Add: function makePDF (beta!!)
- Add: Clone-script
- Add: Import-scripts (Import Glossary, xwords or a cloned Wordbook)
- Add: four more Translations which still have to be updated (it,jp,portbr,schin)
- Updated Translations (en,de,fr,es)
- replaced some deprecated functions (makeTboxData4Show($text), makeTboxData4Show($text)) ... sure there are more
- Dropped Date on index-page
- Fix: Display 'allentries'
- Changed Styles
-
- ... work is still in progress ...

2
wcrwcr
Re: wordbook 1.16.1
  • 2006/9/2 13:45

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi yerres

Good news, i?m glad you?ll be continue to develop that nice mod

I?d like to point to you some troubles with html and the search function of the old mod. I don?t know if you?ve cleaned all those old bugs, so:

https://xoops.org/modules/newbb/viewto ... de=flat&order=ASC&start=0

https://xoops.org/modules/news/article ... flat&com_order=0&start=20

I guess that a module like that will be a sucess

Let me know if i can help you with portuguese translations, ok?

Good job,
Wilson

3
yerres
Re: wordbook 1.16.1
  • 2006/9/14 16:12

  • yerres

  • Just popping in

  • Posts: 14

  • Since: 2006/9/1 7


You can Download the second beta version here (523kb).

I have done some final changes and rewrote the search-function,too.
It's now possible to search in the fields 'terms', 'definitions' and 'references' without getting nonsense-results.

please test it.

some more cloned wordbooks (provided for a certain time only):
Almanach, Bibliography, Dictionnaire, Lexikon, Formula1, Dizionario.(each 330 kb)

EDIT: *Temporary Links removed*

4
wcrwcr
Re: wordbook 1.16.1
  • 2006/9/14 16:23

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hey yerres

Nice job

I?ll install asap

BTW> did you include some "autoclonable" function on it?

5
irmtfan
Re: wordbook 1.16.1
  • 2006/9/14 21:43

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


its a very needed module to develope.
@ yerres:
thank you for your work i still dont test the new version but the last version have an important problem in multi-bytes languages:
http://dev.xoops.org/modules/newbb/vi ... ost_id=7354#forumpost7354

also there is some features for this module in dev.xoops.org and wordbook project:
http://dev.xoops.org/modules/xfmod/tracker/?group_id=1019&atid=180

also i want to disscuss about another feature somewhere:
- have more than one field for term like this:

term:
synonym1:
synonym2:

definition:

source:

6
yerres
Re: wordbook 1.16.1
  • 2006/9/21 18:11

  • yerres

  • Just popping in

  • Posts: 14

  • Since: 2006/9/1 7


I have uploaded the 4th version.

changes:
- Letters and Categories without entries are not linked
- I borrowed the built-in code-request from the recent liaise-hack
- it is now possible to individually set the Timestamp of entries
- Request option in main menue can be set in preferences

There are now 32 options to customize the module (compared to 13 Options in the Original version)


@wilson
autoclone like in xhld is a heavy thing to do.
If you have a tutorial at hand I sure would like to include this. But as long as there is no tutorial around this will take a while, maybe a long while ...

BTW: all translations are welcome!

7
surfinsaxman
Re: wordbook 1.16.1

I am glad to see someone is going to improve this module!

The possibility to use subcategories would be great.

8
irmtfan
Re: wordbook 1.16.1
  • 2006/9/25 4:09

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


@ yerres :
I install The last version you send me by pm and it has following errors in XOOPS 2.2.4 php5 and mysql5:

- in the main page i have this notice:
Notice [PHP]: Undefined variable: microlinks in file ...\modules\wordbook\index.php line 300

- in admin i cant create any category.
I go to modules/wordbook/admin/category.php and post it and it said : "New category was created and saved" but it failed to create any.

- it doesnt show anything in the home page after i add an entry.

No other notice, warning and fatal error as i can see.

and this is the link about auto link problem in multi-bytes charset in d.x.o:
http://dev.xoops.org/modules/newbb/vi ... ost_id=7354#forumpost7354

you must login to see that. i quote the first post:
Quote:

the autolink feature in "wordbook" module doesnt work for unicode(utf-8) charset when the $search_term have more than 3 character. i dont know about the pattern of this function.
can anybody help?

this is the code from wordbook/entry.php

// singular
$term_q = preg_quote($term, '/');
$search_term = "/\b$term_q\b/i";
$replace_term = "<span><b><a style='color: #2F5376; text-decoration: underline; ' href='".XOOPS_URL."/modules/".$xoopsModule->dirname()."/entry.php?entryID=".ucfirst($entryID)."'>".$term."</a></b></span>";
$parts[$key] = preg_replace($search_term, $replace_term,$parts[$key]);



for example with this term it works fine:
$search_term = "/\bعلی\b/i";
but if i use a more than 3 character term it is fail to find that term:
$search_term = "/\bعلیب\b/i";


about alphabet add for any language i send a hack some month ago to wordbook project here:
a hack for add other alphabets

9
irmtfan
Re: wordbook 1.16.1
  • 2006/9/27 1:22

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


I test the latest version and it has exactly the problem of not showing autolink in multi-bytes languages for words that have more than 3 characters.

also it doesnt work in php5 but works fine in php 4.3.3.

10
yerres
Re: wordbook 1.16.1_additions
  • 2006/9/27 9:20

  • yerres

  • Just popping in

  • Posts: 14

  • Since: 2006/9/1 7


I will check it on php5.

Did you try the hack for site-wide autolinking with wordbook? I may work with multibyte-languages. I included the files.

In the current version (same download address) there are more additions.
If you're on previous versions it might be worthwhile downloading again:

Categories and Letters are now sortable by Name, Date or Popularity (like in mylinks)
I added as well the XFG-Hack (Xoops for Google): Entry, Category, Definition generate automatically Pagetitle, Meta-keywords and Meta-description. (still have to adapt this for XOOPS 2.0.15).

I will continue updating the file. so please check for changes from time to time.

This is how looks like right now.

Login

Who's Online

64 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 64


more...

Donat-O-Meter

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

Latest GitHub Commits