View Full Version : Remove Visitor Messages from ACtivity Stream
bestgfe
01-08-2015, 01:19 PM
How can one remove VMs from the Activity Stream in the NAVBAR? It would seem there should be an option on VB5 to select what you want to show there, but there is not an option. Why should everyone see the VMs (maybe left privately) for others.
How can Visitor Messages be removed from the Activity Stream?
Budget101
01-24-2015, 11:56 AM
How can one remove VMs from the Activity Stream in the NAVBAR? It would seem there should be an option on VB5 to select what you want to show there, but there is not an option. Why should everyone see the VMs (maybe left privately) for others.
How can Visitor Messages be removed from the Activity Stream?
Those should only be displaying to YOU as a Mod/ Site Admin. Have you looked as an unregistered user or regular member to see if those items are available?
Lynne
01-24-2015, 07:00 PM
You may be able to just add this to the end of the json search line:
&exclude_type=vBForum_VisitorMessage
bestgfe
01-29-2015, 06:50 PM
Those should only be displaying to YOU as a Mod/ Site Admin. Have you looked as an unregistered user or regular member to see if those items are available?
Not true. Any registered user can see. That is the problem. Someone leaves what they think is a semi private message on a members VM board, and it is there in the Activity Stream for all to see. You may think "well then leave a PM!" but users don't always think.
You may be able to just add this to the end of the json search line:
&exclude_type=vBForum_VisitorMessage
I tried Lynn. I posted the entire string in the programming section HERE (https://vborg.vbsupport.ru/showthread.php?t=317022). Not sure where to post it, sorry if it is in wrong place or duplicated. Bold is what I added to string.
http://www.mysite.com/search?searchJSON={%22date%22:{%22from%22:%222%22} ,%22type%22:%5B%22vBForum_Gall ery%22,%22vBForum_Link%22,%22vBForum_Photo%22,%22v BForum_Poll%22,%22vBForum_Text %22,%22vBForum_Video%22%5D,%22channel%22:{%22param %22:%22channelid%22},%22sort%2 2:{%22created%22:%22desc%22},%22view%22:%22%22,%22 exclude_type%22:%5B%22vBForum_ PrivateMessage%22,%22vBForum_VisitorMessage%22%5D}
Lynne
01-30-2015, 06:46 PM
Have you seen this article - http://www.vbulletin.com/forum/articles/vbulletin-5-connect-aa/vbulletin-5-tutorials-aa/4280580-using-the-search-json
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.