![]() |
You're right. The '0' wont change anything because the default value is 0 for that function.
I have updated the instructions. The next file edit was wrong as well, I fixed it too. |
Hey,
this could come in handy when i use subscriptions :) thx |
Quote:
Now this won't work with forums you are already subscribed to, right? Any way to run a query to set it up like that? ;) |
It was the "Find:" code that was wrong for forumdisplay.php, not the replacement code.
Basically how it works is this: When you pass the userid to the cache_ordered_forums() function it adds the field [subscribeforumid] to the query. If this field is populated with a value, then that means that you are subscribed to that forum. So it doesnt add any queries, but it makes an existing query slightly more complex. So it will work with existing subscriptions. No need to update anything. |
Ahhh, ok, that makes more sense now. Thank you for the explanation. I was wondering how it worked. ;)
|
Any way to make the links work in the Forum tools dropdown? ;)
|
That is a good question. I will have to look into that. I expect that it will require a different approach since the forum details in ForumDisplay (other than subforums) are not generated by the cache_ordered_forums function.
[Edit] Actually, this has already been done in another hack, here: https://vborg.vbsupport.ru/showthrea...ubscribe+forum [/Edit] |
Quote:
Your hack works like a charm. Thank you, again. ;) |
Well, if there are no more comments/questions, then I will go ahead and write this up as a full release.
There is actually little that can go wrong with this hack since it mostly utilizes the existing code in vB. I just wanted to make sure that my instructions were accurate. |
Accurate and excellent! ;)
|
All times are GMT. The time now is 07:27 AM. |
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:
|