![]() |
Making parts of postbit selectively visible
I've wondered for some time whether there is an easy way to flag part of a post that should only be visible to logged on users. The following hook into showthread_complete does the trick, allowing me to wrap [member] .. [/member] tags around the text. Has anyone already come up with a better way, or have any advice on a better place for the hook? (Or worse, is this already a standard VB feature and I didn't realise??)
Code:
// Remove [member]..[/member] strings unless logged in |
All times are GMT. The time now is 07: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:
|