Log in

View Full Version : "Similar Mod" - wrong behavior?...


NLP-er
07-14-2009, 04:34 PM
How it can be that in my mod:
https://vborg.vbsupport.ru/showthread.php?p=1848439

I see 2 similar mods, but neighter of those see my mod as similar?...

Lynne
07-15-2009, 02:31 AM
Have you ever looked at the code for how similar mods are determined? They are determined when posted. Since your thread was made after the other threads, they were available to be listed as similar threads to yours. But, since your mod wasn't available at the time theirs was posted, yours couldn't be listed as a similar mod. If the similar threads script in Update Counters is run again, there is a possibility that yours may be listed in their list.

NLP-er
07-15-2009, 04:10 AM
Have you ever looked at the code for how similar mods are determined? They are determined when posted. Since your thread was made after the other threads, they were available to be listed as similar threads to yours. But, since your mod wasn't available at the time theirs was posted, yours couldn't be listed as a similar mod. If the similar threads script in Update Counters is run again, there is a possibility that yours may be listed in their list.

Thanks :) Where can I see the code for similar mods?...

Lynne
07-15-2009, 02:27 PM
I'm talking about the vbulletin code. You can do a search in the files and find the code used.

Marco van Herwaarden
07-15-2009, 02:59 PM
It is just the similar thread default feature. And if i remember correct this will be populated at the time of thread creation, so older threads will not list a newer.

NLP-er
07-15-2009, 04:55 PM
I'm talking about the vbulletin code. You can do a search in the files and find the code used.

So this is default feature :D Great - how can I turn it on in my forum to show similar threads? :) ALREADY FOUND IT!

--------------- Added 1247680767 at 1247680767 ---------------

It is just the similar thread default feature. And if i remember correct this will be populated at the time of thread creation, so older threads will not list a newer.

1st - great that it's default feature :D STILL HAPPY! :D
2nd - question: how can I turn it on in my forum to show similar threads? :) ALREADY FOUND IT!
3rd - I get 2 different answers, so I'm confused - will old threads/mods show new ones in similar or not :confused: STILL CONFUSED ;)

--------------- Added 1247681234 at 1247681234 ---------------

If the similar threads script in Update Counters is run again, there is a possibility that yours may be listed in their list.

Also do I have to run Update Counters manually or is scheduled and why I have only a possibility to be similar to theme, if they are obviously similar to me? So - this relation is not reversible? (not sure does it is correct English word, but I mean logical relation when if A is related to B then B is related to A)

It is really weird to read that my mod is similar to others, but those only maybe are similar to mine :eek:

Lynne
07-15-2009, 09:15 PM
Similar threads are determined at the time the thread is created, so old thread/mods will not have the similar threads changed to show newer threads. You can run the update counters and it may do that, but there is no guarantee (you'd have to read the code to see how similar threads are determined - it's a formula based on age of the threads, thread titles, and other things I can't remember). And no, the update counters is not run as a scheduled task.

NLP-er
07-16-2009, 04:44 AM
Similar threads are determined at the time the thread is created, so old thread/mods will not have the similar threads changed to show newer threads. You can run the update counters and it may do that, but there is no guarantee (you'd have to read the code to see how similar threads are determined - it's a formula based on age of the threads, thread titles, and other things I can't remember). And no, the update counters is not run as a scheduled task.

Great thanks for answer :)

So next question - are you trigger Update Counters for similar threads on vbulletin.org?

Right now users which are looking for my mod functionality see that they have other choice on my mod page, but if they go first to other mod page then don't see this choice. I really don't believe that people know how tricky "similar mod" works and if someone believes that there is nothing similar he will not look for it...
And I will not ask anybody does they "ever looked at the code for how similar mods are determined" - I will even not have a chance for this (not that I really think about doing it :p).

I think that actual way of working ‘similar mods’ is confusing for people. And I'm not happy about that :(

Marco van Herwaarden
07-16-2009, 12:40 PM
To rebuild (or to include new threads in older ones):

AdminCP -> Maintenance -> Update Counters -> Rebuild Similar Threads.

Updating older threads on each view, would be a performance killer, hence why the list is only populated on thread creation.

Lynne
07-16-2009, 03:32 PM
Great thanks for answer :)

So next question - are you trigger Update Counters for similar threads on vbulletin.org?

From what I have seen, no. There is a search function though. Users should not rely on looking at the similar threads list to find *all* the similar threads.


Updating older threads on each view, would be a performance killer, hence why the list is only populated on thread creation.
Can you image that routine being run every time a new thread is created? :eek:

NLP-er
07-16-2009, 11:02 PM
From what I have seen, no. There is a search function though. Users should not rely on looking at the similar threads list to find *all* the similar threads.


Can you image that routine being run every time a new thread is created? :eek:

Yea - that would kill sever :D So maybe it is good idea to change sign "Similar Mods" to "Some of similar mods" or "Older similar mods" - it wouldn't be so confusing anymore ;)