![]() |
Change Posts per Page Per Style VB4
I'm not sure if this will be useful to anyone, but I've been playing around and just figured this out.
THIS IS FOR VB4 BUT THE CODE WOULD WORK ON VB3.8/3.7/3.6 I believe. Anyhow, if you want to change the posts per page on a thread, you can do so by changing the posts per page of a specific style as VB4 has the option to assign a specific style to a specific forum. The steps are: 1. Assign the specific forum your style (eg. ID is 23). 2. Add New Plugin 3. Product: Vbulletin 4. Hook Location: style_fetch 5. Title; whatever you want. 6. the PHP code is: Code:
if ($styleid == 23){ And there we go, easy as that. Hopefully this can be of help to some. I understand this is very simple stuff but surely there are many more like me who are still learning to use the vbulletin code. |
All times are GMT. The time now is 07:27 PM. |
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:
|