![]() |
Plugin Conditional
Hi, I have a latest post plugin and I want to not show certain forums, what would I add to this plugin to do so?
Code:
$siteposts = $db->query_read(" |
In the query you need to add a WHERE clause with something like
[sql] WHERE thread.forumid NOT IN (X,Y,Z) [/sql] Replace X, Y, Z with actual forumids. Keep in mind that your code does not consider forum permissions! |
Quote:
How would I add this? and where would I add this? Im still a newbie at coding. |
Sorry, I don't have access to the code right now... I think your best bet would be to search for such a modification, I doubt that one hasn't been released yet. Maybe you can adapt to it to suit your needs.
|
All times are GMT. The time now is 05:00 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:
|