PDA

View Full Version : Hard-coded PM Icons


Kier
Wed 21st Feb '01, 5:13am
For the next release, could the private message folder icons please have their own replacement variables?

perleeeease ;)

The "{images folder}/myimage$onoff.gif" system is the most flexible I've found...

Kier
Wed 21st Feb '01, 5:25am
In the meantime, I've hacked the code to make this possible:

Line 137, private.php: replace existing code with: if ($privatemessage[messageread]) {
$privatemessage[folder] = "";
} else {
$privatemessage[folder] = "new";
} additionally, alter your privfolder_bit template to use this as the image address: <img src="{images folder}/$privatemessage[folder]pm.gif"> (remove the space from {images folder} )

One interesting thing I noticed here is that there is no PHP code to define when the pmreplied.gif image should be used... perhaps that should be addressed too?