11
jcweb
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/20 22:23

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Sorry, IMHO its not fixed. Example: (trunk version)

wwwroot/modules/system/admin/userrank/main.php line 75 in the trunk version shows me:

$userrank['rank_image'] = '<img src="'.XOOPS_UPLOAD_URL.'/'.$rank_img.'" alt="" />';


For me the path is incorrect, or? The path is exact the path from the the 2.5.0 final Version and did not work for me. I search for the other bugs (smilies, profile module), it seems the bugs are not fixed too?

Greets Andy

12
edipinho
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/21 12:24

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


@jcweb, perfect error also in MP.

Thank you very much


13
edipinho
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/21 15:12

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


Another error in the comments is missing the /ranks


/modules/system/templates/system_comment.html
Line 13
(so this)
// <img class="comUserRankImg" src="<{$xoops_upload_url}>/<{$comment.poster.rank_image}>" alt="" />
(is thus)
<img class="comUserRankImg" src="<{$xoops_upload_url}>/ranks/<{$comment.poster.rank_image}>" alt="" />


14
edipinho
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/23 5:46

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


Do not know how Xoops shows the smilies in the comments.

The smilies are not showing up in the comments.

Anyone can help me solve this problem?

15
ghia
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/23 9:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What is in the HTML source? (Probably also a /smilies/ directory missing?)

16
edipinho
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/23 11:28

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


I'm using version xoops2.5 final and it was created folders for smilies and ranks and were not targeted in the programs, most likely for compatibility with older versions, some programs have corrected in the case of the commentary is more complicated, if you give me a hint as xoops interprets the text of the smilies I might find the error.

Sorry my english.

17
artsgeral
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/23 12:51

  • artsgeral

  • Just popping in

  • Posts: 3

  • Since: 2011/1/23


Hi.

smilies used in comments
/class/module.textsanitizer.php line 285

of
$message str_replace($smile['code'], '<img class="imgsmile" src="' XOOPS_UPLOAD_URL '/' htmlspecialchars($smile['smile_url']) . '" alt="" />'$message);


to
$message str_replace($smile['code'], '<img class="imgsmile" src="' XOOPS_UPLOAD_URL '/smilies/' htmlspecialchars($smile['smile_url']) . '" alt="" />'$message);


Bye

18
edipinho
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/23 13:21

  • edipinho

  • Not too shy to talk

  • Posts: 107

  • Since: 2003/10/15


Hello AG, that's it, worked perfect.

Recalling that the changes only for new installations of Xoops2.5.0 or if you upgrade, pass the smilies and ranks to the correct folders.

File from download updated:
http://edipinho.uni.cc/uploads/correcaoX250-ranks-smilies.zip

Thanks AG.

19
jcweb
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/24 0:50

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Dear friend @edipinho
Thank you very much for sharing with us. I hope some of the developer read this thread and copy it to the svn.

Greets and thanks again!
Andy

20
jcweb
Re: Small correction in Xoops 2.5.0 (Ranks and Smilies)
  • 2011/1/24 11:48

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Another problem, some other users report me. The rank images will not work if you create a new rank. I can confirm, i see it on some other xoops installations too. Can anyone other confirm?

Greets Andy

Login

Who's Online

266 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 266


more...

Donat-O-Meter

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

Latest GitHub Commits