![]() |
[Help me please] How to use post[postcount] variable in printthread ? [Solved]
Solution found here :
http://www.vbulletin.com/forum/showp...06&postcount=6 I've modified my postbit to restrict access some usergroups to see replies in a thread. For example, a guest will be able to read each first message of a thread, then all replies will be masked. To see how i did, go there : https://vborg.vbsupport.ru/showthread.php?t=103326 But now i've got a problem. The printthread fonction... When a guest (for exemple) click to format the thread for printing, he will see everything ! My purpose is the same as above : allow him to read the first message of a thread, but not the following ones. I think i need to use the $post[postcount] variable to make it possible. But there is may be another solution. Here how i wanted to modify my printthreadbit template, but unfortunately it doesn't work because the $post[postcount] variable is not active. Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%"> |
All times are GMT. The time now is 07:46 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:
|