![]() |
put an 'and' in there as well
folderid = 0 AND userid=$bbuserinfo[userid] |
Thank you very much. ;) Would there also be a way to pull out the name of the folder the message is in, too?
|
PHP Code:
|
Quote:
|
So how would the hack look like in total?
I'm kinda confused now. |
Mine is showing last PM by ARRAY..
Do you have the correct code for this? |
Nevermind..
The correct code for template: forumhome_pmlast Code:
<br><b>Latest Private Message:</b> $lastpmstuff[title] by $lastpmuser[username] |
Hmmm... Indeed. Sorry about that.
Other than that, it should've worked. My friend's running it (that's where I got the screenie from.. haven't reinstalled it on my own boards, yet. @_@) |
Is there a way to have this link to the last message shown so all you have to do is click on the link to bring the message up?
|
Yep.
Replace: $lastpmstuff[title] With: <a href="./private.php?s=$session&action=show&privatemessagei d=$lastpmstuff[privatemessageid]">$lastpmstuff[title]</a> |
All times are GMT. The time now is 01:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|