Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2009, 04:34 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default "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?...
Reply With Quote
  #2  
Old 07-15-2009, 02:31 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 07-15-2009, 04:10 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?...
Reply With Quote
  #4  
Old 07-15-2009, 02:27 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm talking about the vbulletin code. You can do a search in the files and find the code used.
Reply With Quote
  #5  
Old 07-15-2009, 02:59 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-15-2009, 04:55 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 Great - how can I turn it on in my forum to show similar threads? ALREADY FOUND IT!

--------------- Added [DATE]1247680767[/DATE] at [TIME]1247680767[/TIME] ---------------

Quote:
Originally Posted by Marco van Herwaarden View Post
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 STILL HAPPY!
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:
Originally Posted by Lynne View Post
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
Reply With Quote
  #7  
Old 07-15-2009, 09:15 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 07-16-2009, 04:44 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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 ).

I think that actual way of working ‘similar mods’ is confusing for people. And I'm not happy about that
Reply With Quote
  #9  
Old 07-16-2009, 12:40 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 07-16-2009, 03:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NLP-er View Post
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.

Quote:
Originally Posted by Marco van Herwaarden View Post
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?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09872 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete