The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
"Similar Mod" - wrong behavior?...
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?... |
#2
|
||||
|
||||
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.
|
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
I'm talking about the vbulletin code. You can do a search in the files and find the code used.
|
#5
|
|||
|
|||
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.
|
#6
|
||||
|
||||
Quote:
--------------- Added [DATE]1247680767[/DATE] at [TIME]1247680767[/TIME] --------------- Quote:
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 STILL CONFUSED --------------- Added [DATE]1247681234[/DATE] at [TIME]1247681234[/TIME] --------------- Quote:
It is really weird to read that my mod is similar to others, but those only maybe are similar to mine |
#7
|
||||
|
||||
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.
|
#8
|
||||
|
||||
Quote:
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 ). I think that actual way of working ‘similar mods’ is confusing for people. And I'm not happy about that |
#9
|
|||
|
|||
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. |
#10
|
||||
|
||||
Quote:
Can you image that routine being run every time a new thread is created? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|