Quote:
Originally Posted by KirbyDE
I wonder why it does display anything ... it should be $post[userid].
|
I changed it as you indicated and cleaned it up some more ending up with:
Code:
<img src="image.php?u=$post[userid]&type=profile&dateline=$userinfo[profilepicdateline]" alt="" border="0" />
Quote:
Originally Posted by KirbyDE
However, if you want the dateline in there you must modify the $posts/$cacheposts queries in showthread.php to make a left join on table customprofilepic and get the dateline from this table.
Furthermore, you should add an if to avoid image.php also being called for users that do not even have profile pictures.
|
Could you help me out with this part? I am not familiar enough with PHP to know how to perform these two steps. Thanks in advance.