![]() |
Simple forumdisplay hack.. show only threads with attachments
Hi guys, I'm not quite a rookie but I think this hack would just need a modified query to fetch only attachment threads, ...
practically, if the request is /forumdisplay.php?f=46 , then it should show the normal forum display. however, if something like /forumdisplay.php?f=46&attachonly=1 then it should show only the threads with attachments. I looked in forumdisplay.php and the place where the change needs to be made is around line 465 of an unhacked 3.0.7, which reads PHP Code:
If anyone can help i would be really grateful :) okay here is what i have so far.. it's a template mod and does the job ok, but it could be better if forumdisplay.php would be modified. in the phpinclude_start template add to the bottom: PHP Code:
PHP Code:
PHP Code:
this is a quick fix and might be helpful to those that don't like modding their templates but i would still like to hear from anyone that knows how to do it by modding forumdisplay. thanks cruelio |
All times are GMT. The time now is 12: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:
|