![]() |
If permissions are set for that forum so that those groups can't view other's threads then they shouldn't be visible in the latest forum topics. If for some reason that doesn't work though just check the post jarvis pointed out above. And thanks for pointing out that typo jarvis. :)
|
whats the code if i wanted to put more than 1 forum in that XX ?
|
also i put in that code with the correct forum id where the xx were but it still shows in the myvbindex.
|
Ahhh, it's probably still telling it to pull threads from that forum because of the forum permissions. That code you added in would tell it not to look in that forum, but the part for the forum permissions would tell it to look in that forum, so I guess the permissions are canceling that part out. If you look for this line of code instead:
PHP Code:
|
im a bit confused. Should i replace this new line you just gave me with the code from before? What do I do with the line I already replaced? Should I put it back to the original line or are you saying I should modify 2 lines of code with the XX line?
|
You can change the first line in the threads query back to the way it was (removing the AND forumid!=XX).
Then look for this line of code: PHP Code:
PHP Code:
|
thanks plurplanet, that worked fabulously.
I have another question tho, I want to understand how the latest threads get picked to be displayed? I checked my latest threads and I know their are threads that are newer then some of the threads it picks for the latest threads table in myvbindex. So im wondering how it picks them? |
nevermind i was looking at the thread creation date. But just to confirm how this work, it will look in all forums that do not have != and look for the latest post and display the value of how many you wanted in the table from what it finds? correct?
|
Yes, it will check through all forums except those that you added with the != in front of them. It will also check the forum permissions, so if a user doesn't have access to a forum, those topics should be excluded as well. And yes, it looks for the latest X posts and displays those. By the way, did you ever check to see if the forum permissions for those forums were set to not allow those groups to view others' threads? If all the permissions are set correctly, I'm pretty sure those threads should't be displayed anyways.
Also, if you would prefer for it to show the last poster and time instead, search this thread for "lastposter". I know I've posted instructions for others on how to change this at least once or twice. ;) |
Which country's weather does the weather box report?
|
All times are GMT. The time now is 11:54 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:
|