1
pmhoran
Private Messaging Fix - Avatar & Icon1
  • 2005/8/6 15:27

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


The way I fixed this problem on my site is by editing the Template in the pm module ... pm_readpmsg.html

The line ...
<img src='uploads/<{$poster->getVar("user_avatar")}>' alt='' /><br />

Change to ....
<img src='<{$xoops_url}>/uploads/<{$poster->getVar("user_avatar")}>' alt='' /><br />

AND ... the line that begins with ...
<img src='images/subject/<{$message.msg_image}>' alt='' />&nbsp;

Change to ...
<img src='<{$xoops_url}>/images/subject/<{$message.msg_image}>' alt='' />&nbsp;

All I am really doing is adding the <{$xoops_url}>/ in front of each img src statement

Remember to do an "Update" to your module afterwards.

Worked for me anyways But I am sort of a newbie so ... ???

HTH
Peter

Login

Donat-O-Meter

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