View Full Version : [Should be done] Commenting in posts that only admin/mods can view! [V.2.x.x]
Velocd
07-16-2002, 10:46 PM
As requested here:
https://vborg.vbsupport.ru/showthread.php?s=&postid=273348#post273348
I reposted it here since I figured more would see. A defiantly cool hack it this would be. :)
Velocd
07-17-2002, 05:14 AM
B U M P ;)
U
M
P
Logician
07-17-2002, 08:11 AM
I have coded this hack (a very similiar one indeed: thread inline private messages). I even completed the hack and tested for a long time in my local board. It creates SO MANY problems but I corrected most of them either. However I canceled the project and give it up, because even if the hack seemed ok, I couldnt trust it and comparing the usage benefits, it required too many file editings, introduce so many problems to trace and I could never be sure if it's fully secure (in terms of message privacy).
Some of the problems you encounter:
* You need to cover all gaps without missing one so that the comments are not exposed like when quoting the message, printing the message etc...
* Most crucial part is to hide the message when someone makes a search: You need to change default the message indexing/searching behaviour of vb DRAMATICALLY (IMO which is the most complicated part of vb, search.php). Because even if you hide the comments in showthread.php, printthread.php, newreply.php etc. vb still finds them in a keyword search, besides they are exposed if the searcher choose to preview messages while searching. To solve this problem I used "encryption of private messages" and it worked but it's really a hell of a job..
Anyway as I said it can be done if you work hard and if you work harder to test it very extensively to not to miss a gap to expose the private messages, but I think it is not worth trying so as to get such a feature.. My 2 cents.
Logician
Xenon
07-17-2002, 08:32 AM
there is an easier way an also more secure than logician said:
you have to add a field to table post.
then make a few changes to editpost.php, 1 small addition to functions.php (getpostbitsection) and 2 new templates.
if you have made it right, it's really secure, because everything written at this field than can just be read by mods, and nothing of the text can be seen in the searchfunction (neither by normal users nor by admins)
thats the price of freedom ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.