31
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

the exact path is: ./Frameworks/tcpdf/ , not ./xoops_lib/Frameworks/tcpdf



32
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

hi, chnwalkman

the bug comes from the font used.
in the files ./Frameworks/tcpdf/config/tcpdf_config.php must be replaced 'helvetica' and 'courier' by 'cid0cs'
I tried it at home with simplified Chinese characters and they are displayed correctly



33
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

@Mamba, you're the only person that have reported this blank page issue.

@chnwalkman, I'll look a little better your bug. Can you give me your charset used? Thank you.



34
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

test to replace line 106 of file makepdf.pdf

$pdf=new TCPDF(PDF_PAGE_ORIENTATIONPDF_UNITPDF_PAGE_FORMATtrue'UTF-8'false);


by

$pdf=new TCPDF(PDF_PAGE_ORIENTATIONPDF_UNITPDF_PAGE_FORMATtrue_CHARSETfalse);




35
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

'TCPDF for Xoops' : download it here



36
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

ok, I make the changes



37
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

Hello,
I adapted the TCPDF class and modify the file makepdf.php

You can download here to try it.

thank you for reporting any bugs by MP, mail or forum

language: arabic, armenian, brazilian, bulgarian, chinese, Croation, czech, danish, english, estonian, Euskara, french, galician, georgian, german, hebrew, hungarian, indonesian, italian, japanese, korean, macedonian, malaysian, maltese, nederlands, norwegian, persian, polish, portuguese, romanian, russian, serbian, slovenian, spanish, swahili, swedish, urdu



38
black_beard
Re: Newbb 4.3

hello,
I have corrected two bugs that are reported here

the first :

Replace line 286 in ./class/user.php

$ranks[$myrow['rank_id']]['rank_image'] = "<img src='" XOOPS_UPLOAD_URL "/rank/" htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />";


by

$ranks[$myrow['rank_id']]['rank_image'] = "<img src='" XOOPS_UPLOAD_URL "/" htmlspecialchars($ranks[$myrow['rank_id']]['rank_image'], ENT_QUOTES) . "' alt='' />";


And for the second bug fix

Replace line 235 in ./post.php

if (rename(XOOPS_CACHE_PATH "/" $attachments_tmp[$key][0], XOOPS_ROOT_PATH "/" $xoopsModuleConfig['dir_attachments'] . "/" $attachments_tmp[$key][0])) {


by

if (is_file(XOOPS_ROOT_PATH "/" $xoopsModuleConfig['dir_attachments'] . "/" $attachments_tmp[$key][0])) {



39
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

ok Mamba, I'll do that.
I'll rewrite it to use tcpdf.
For the PDF, it's an idea. I will create a module / plugin just after.



40
black_beard
Re: News 1.67 Final released for XOOPS 2.5.5

This bug comes from the UTF-8 multi-byte. Black_beard and Cesag's methods was designed for Latin characters only.

I will see to that makepdf also works with Chinese characters




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

244 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 244


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