The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[ask] How to show latest visitor messages on postbit ?
I want to show latest visitor messages on postbit
|
#2
|
||||
|
||||
What do you mean? Can you provide an image that shows what you want?
|
#3
|
|||
|
|||
Quote:
eg: Username: Lynne Join Date: Sep 2004 Location: California Real name: Lynne Posts: 27,688 Message : "Latest Visitor message" |
#4
|
||||
|
||||
I think you'll have to use a plugin and do a query on the visitormessage table and get the latest message from there:
SELECT pagetext FROM visitormessage WHERE userid=$post['userid'] ORDER by vmid DESC Something like that? You'll have to get it formatted correctly and add the query_first in front of it. You may have to do something to the pagetext also cuz it could be a really long message and I would guess you don't want to show the whole thing if it is. |
#5
|
|||
|
|||
Try have a look at the simple script I made, it also shows how to limit the message output.
https://vborg.vbsupport.ru/showthread.php?t=259600 Might help you with what you wanted to do. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|