vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=207853

First Post In Thread
by 1Unreal
09 Mar 2009 22:59

In a plugin Im trying to do something but I want it to only effect the first post in a thread. I know in templates I can use $post[postcount] but is there a PHP equvilent?

I tried this but it didn't work...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Could someone point me in the right direction please :)

Lynne 09 Mar 2009 23:31

Which hook location are you using? Have you tried changing it?

1Unreal 10 Mar 2009 00:09

Postbit_display_complete


All times are GMT. The time now is 12:06.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.