![]() |
hey luroca, for my board (and im sure many others), it would be really useful if the first post was also hidden, do you think you could add that feature to the options? thanks!
because the first post is what usually contains the most content that pulls in paid subscribers. |
[QUOTE=Stifler]would be really useful if the first post was also hidden, do you think you could add that feature to the options? QUOTE]Hello, I?ll try when ia have time.
As a quick solution, not tested but it must work: Change Code:
if ($post['dateline']>=(TIMENOW-($this->registry->options['delayrecent']*3600)) and (!in_array($this->registry->userinfo[usergroupid], array($canreadrecent)) and ($this->thread['firstpostid'] != $this->post['postid']) and !in_array($post[usergroupid], array($canshowrecent)) and $this->registry->userinfo['userid'] != $post['userid']) and (!in_array($this->thread['forumid'], array($recentforums)))) Code:
if ($post['dateline']>=(TIMENOW-($this->registry->options['delayrecent']*3600)) and (!in_array($this->registry->userinfo[usergroupid], array($canreadrecent)) and !in_array($post[usergroupid], array($canshowrecent)) and $this->registry->userinfo['userid'] != $post['userid']) and (!in_array($this->thread['forumid'], array($recentforums)))) Code:
and ($this->thread['firstpostid'] != $this->post['postid']) |
[QUOTE=luroca]
Quote:
THANKYOU Very much! |
This is a great mod except for one issue I have.
If you add new forums, you have to remember to exclude them. It would be nicer if you could just select which forums this applies to rather than affecting all new forums by default. |
Quote:
Code:
and (!in_array($this->thread['forumid'], array($recentforums))) Code:
and (in_array($this->thread['forumid'], array($recentforums))) Regards |
Dear luroca,
the hack is working on the posts only. not on the thread itself. i want it to work on both threads and posts. please help ... |
Hello, Habboubi, the hack works ok in vb 3.5.2, have you edited the hack or have another hack troubling?
As the hack uses the same code and hook in thread and post, it must work in both :ermm: |
does this work on 3.61?
|
All times are GMT. The time now is 07:43 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:
|