<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged related</title>
<link>https://www.question2answer.org/qa/tag/related</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to show similar questions on single QA page?</title>
<link>https://www.question2answer.org/qa/95352/how-to-show-similar-questions-on-single-qa-page</link>
<description>Can I show similar questions on the page to enhance page views?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/95352/how-to-show-similar-questions-on-single-qa-page</guid>
<pubDate>Wed, 11 Aug 2021 08:20:27 +0000</pubDate>
</item>
<item>
<title>show related question inside answer content</title>
<link>https://www.question2answer.org/qa/82745/show-related-question-inside-answer-content</link>
<description>How to show related question in advance theme , inside the answer content</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/82745/show-related-question-inside-answer-content</guid>
<pubDate>Tue, 14 Apr 2020 07:19:05 +0000</pubDate>
</item>
<item>
<title>How can make users get new question email notification   ?</title>
<link>https://www.question2answer.org/qa/71222/how-can-make-users-get-new-question-email-notification</link>
<description>If someone post question then all related users get the notification that time.&lt;br /&gt;
&lt;br /&gt;
How can make it?&lt;br /&gt;
&lt;br /&gt;
1. The users get the new question email notification. &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
2. Users get Related (interested) question notification.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/71222/how-can-make-users-get-new-question-email-notification</guid>
<pubDate>Fri, 28 Dec 2018 17:53:06 +0000</pubDate>
</item>
<item>
<title>PHP warning for 'related question'</title>
<link>https://www.question2answer.org/qa/63389/php-warning-for-related-question</link>
<description>

&lt;p&gt;Getting the below warning for related questions. This warning gets repeated for each of the related questions.&lt;/p&gt;

&lt;p&gt;Can you help to either fix or suppress this&amp;nbsp;warning message?&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=4023873237136976649&quot; style=&quot;height:286px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/63389/php-warning-for-related-question</guid>
<pubDate>Sun, 08 Apr 2018 16:25:14 +0000</pubDate>
</item>
<item>
<title>Can I link questions as related after they have been created non related?</title>
<link>https://www.question2answer.org/qa/49787/link-questions-related-after-they-have-been-created-related</link>
<description></description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/49787/link-questions-related-after-they-have-been-created-related</guid>
<pubDate>Sun, 10 Jan 2016 06:46:35 +0000</pubDate>
</item>
<item>
<title>Related Ads Plugin</title>
<link>https://www.question2answer.org/qa/48281/related-ads-plugin</link>
<description>

&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am working on a plugin and I'm stuck.&lt;/p&gt;

&lt;p&gt;I want to remodel the related Questions Plugin to a Related Ads Plugin&lt;/p&gt;

&lt;p&gt;How it works is this.&lt;/p&gt;

&lt;p&gt;Admins Create a category called Ads or Any name&lt;/p&gt;

&lt;p&gt;Questions that are ads will be put under that category.&lt;/p&gt;

&lt;p&gt;When a normal question is viewed, A query will be done to select all questions that are related to the the question being viewed from the Ads Category.&lt;/p&gt;

&lt;p&gt;This works like a keyword ads system which will later be improved .&lt;/p&gt;

&lt;p&gt;My problem is,&lt;/p&gt;

&lt;p&gt;How do I modify the the related questions query seen in qa-db-selects.php&lt;/p&gt;

&lt;p&gt;to search for title words and tags related to a particular question but from a specific category say Ads?&lt;/p&gt;

&lt;p&gt;The full related questions function is below&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;em&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt; function qa_db_related_qs_selectspec($voteuserid, $questionid, $count=null)
&lt;br&gt;/*
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Return the selectspec to retrieve the most closely related questions to $questionid, with the corresponding vote
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;made by $voteuserid (if not null). Return $count (if null, a default is used) questions. This works by looking for
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;other questions which have title words, tag words or an (exact) category in common.
&lt;br&gt;*/
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$count=isset($count) ? min($count, QA_DB_RETRIEVE_QS_AS) : QA_DB_RETRIEVE_QS_AS;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$selectspec=qa_db_posts_basic_selectspec($voteuserid);&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$selectspec['columns'][]='score';&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// added LOG(postid)/1000000 here to ensure ordering is deterministic even if several posts have same score&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;//Query to be modified is this&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;strong&gt; &amp;nbsp;$selectspec['source'].=&quot; JOIN (SELECT postid, SUM(score)+LOG(postid)/1000000 AS score FROM ((SELECT ^titlewords.postid, LOG(#/titlecount) AS score FROM ^titlewords JOIN ^words ON ^titlewords.wordid=^words.wordid JOIN ^titlewords AS source ON ^titlewords.wordid=source.wordid WHERE source.postid=# AND titlecount&amp;lt;#) UNION ALL (SELECT ^posttags.postid, 2*LOG(#/tagcount) AS score FROM ^posttags JOIN ^words ON ^posttags.wordid=^words.wordid JOIN ^posttags AS source ON ^posttags.wordid=source.wordid WHERE source.postid=# AND tagcount&amp;lt;#) UNION ALL (SELECT ^posts.postid, LOG(#/^categories.qcount) FROM ^posts JOIN ^categories ON ^posts.categoryid=^categories.categoryid AND ^posts.type='Q' WHERE ^categories.categoryid=(SELECT categoryid FROM ^posts WHERE postid=#) AND ^categories.qcount&amp;lt;#)) x WHERE postid!=# GROUP BY postid ORDER BY score DESC LIMIT #) y ON ^posts.postid=y.postid&quot;;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;array_push($selectspec['arguments'], QA_IGNORED_WORDS_FREQ, $questionid, QA_IGNORED_WORDS_FREQ, QA_IGNORED_WORDS_FREQ,
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$questionid, QA_IGNORED_WORDS_FREQ, QA_IGNORED_WORDS_FREQ, $questionid, QA_IGNORED_WORDS_FREQ, $questionid, $count);&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$selectspec['sortdesc']='score';&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return $selectspec;
&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;Any help will be appreciated. Im now learning q2a system&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/48281/related-ads-plugin</guid>
<pubDate>Mon, 05 Oct 2015 12:05:10 +0000</pubDate>
</item>
<item>
<title>Where are the related questions stored in the database?</title>
<link>https://www.question2answer.org/qa/44544/where-are-the-related-questions-stored-in-the-database</link>
<description>Hi, I am searching the related answers in the database but canot find them. &lt;br /&gt;
&lt;br /&gt;
I have hundred thousands of questions imported and the recalculating of the related questions (reindexing) takes some days. So I have another idea to calculate them but I cant find them in the database so I don't know where to insert my own calculated related questions.&lt;br /&gt;
&lt;br /&gt;
Can you help me?&lt;br /&gt;
&lt;br /&gt;
Thanks Fabian</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/44544/where-are-the-related-questions-stored-in-the-database</guid>
<pubDate>Wed, 01 Apr 2015 12:06:12 +0000</pubDate>
</item>
<item>
<title>how can I show the question content below the related questions title</title>
<link>https://www.question2answer.org/qa/33559/how-can-show-question-content-below-related-questions-title</link>
<description>I want to show &amp;nbsp;content below the related questions title on sidebar ... is it possible???&lt;br /&gt;
&lt;br /&gt;
thank you very much</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/33559/how-can-show-question-content-below-related-questions-title</guid>
<pubDate>Sun, 13 Apr 2014 17:44:52 +0000</pubDate>
</item>
<item>
<title>How to reindex a large database?</title>
<link>https://www.question2answer.org/qa/29309/how-to-reindex-a-large-database</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I asked this question already but did not get an answer.&lt;br /&gt;
&lt;br /&gt;
I importet my old database into Q2A with nearly 2 Mio. entries. Now it takes more than two days to reindex the database and the browser or the page get an error after this time without finishing the reindex.&lt;br /&gt;
&lt;br /&gt;
I tried all suggested solutions (emptying some tables in the database...) but even with all these solutions I did not get one run to finish the complete reindex.&lt;br /&gt;
&lt;br /&gt;
Is there any way to renindex a big database or is Q2A only for small forums?&lt;br /&gt;
&lt;br /&gt;
Thanks for your help&lt;br /&gt;
&lt;br /&gt;
Fabian</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/29309/how-to-reindex-a-large-database</guid>
<pubDate>Tue, 26 Nov 2013 06:13:10 +0000</pubDate>
</item>
<item>
<title>Help to change monster query for related questions - closedbyid IS NULL</title>
<link>https://www.question2answer.org/qa/28995/help-change-monster-query-related-questions-closedbyid-null</link>
<description>I need to change the query in qa-db-selects.php line 694 so that closed questions will not be shown in the related questions list.&lt;br /&gt;
&lt;br /&gt;
This is the monster query:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$selectspec['source'].=&amp;quot; JOIN (SELECT postid, SUM(score)+LOG(postid)/1000000 AS score FROM ((SELECT ^titlewords.postid, LOG(#/titlecount) AS score FROM ^titlewords JOIN ^words ON ^titlewords.wordid=^words.wordid JOIN ^titlewords AS source ON ^titlewords.wordid=source.wordid WHERE source.postid=# AND titlecount&amp;lt;#) UNION ALL (SELECT ^posttags.postid, 2*LOG(#/tagcount) AS score FROM ^posttags JOIN ^words ON ^posttags.wordid=^words.wordid JOIN ^posttags AS source ON ^posttags.wordid=source.wordid WHERE source.postid=# AND tagcount&amp;lt;#) UNION ALL (SELECT ^posts.postid, LOG(#/^categories.qcount) FROM ^posts JOIN ^categories ON ^posts.categoryid=^categories.categoryid AND ^posts.type='Q' WHERE ^categories.categoryid=(SELECT categoryid FROM ^posts WHERE postid=#) AND ^categories.qcount&amp;lt;#)) x WHERE postid!=# GROUP BY postid ORDER BY score DESC LIMIT #) y ON ^posts.postid=y.postid&amp;quot;;&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Now I need to insert &amp;quot;AND closedbyid IS NULL&amp;quot; for the question retriever part. I tried at several spots but it did not work.&lt;br /&gt;
&lt;br /&gt;
Could you support me please? =)</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/28995/help-change-monster-query-related-questions-closedbyid-null</guid>
<pubDate>Tue, 12 Nov 2013 02:23:07 +0000</pubDate>
</item>
<item>
<title>How can I reindex nearly 2 mio. DB entries?</title>
<link>https://www.question2answer.org/qa/28913/how-can-i-reindex-nearly-2-mio-db-entries</link>
<description>I have importet my old db into the Q2A db and it works fine, but to get related questions I hit the &amp;quot;reindex&amp;quot; button in the admin pannel.&lt;br /&gt;
&lt;br /&gt;
The browser stops the action after this and nearly 24 h running the script.&lt;br /&gt;
&lt;br /&gt;
Reindexed 838,330 of 1,911,510 posts..&lt;br /&gt;
&lt;br /&gt;
I can fire up sql statements directly to the database, but dont know which one.&lt;br /&gt;
&lt;br /&gt;
I need a solution to make the process faster or the sql statement to reindex the database.&lt;br /&gt;
&lt;br /&gt;
Thanks for your support.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/28913/how-can-i-reindex-nearly-2-mio-db-entries</guid>
<pubDate>Fri, 08 Nov 2013 09:46:38 +0000</pubDate>
</item>
<item>
<title>How to hide vote and count box and tags from related questions widget?</title>
<link>https://www.question2answer.org/qa/27467/how-hide-vote-and-count-box-tags-from-related-questions-widget</link>
<description>I'm using version 1.6.2. I would like to remove the vote and anwer count boxes from the related questions widget to reduce the amount of space the feature uses on the page. I'd also like to remove the tag displays from it. I've gone through the code in the qa-widget-related-qs.php and can't find anything that I think I could edit to make this work. &amp;nbsp;Is this possible?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27467/how-hide-vote-and-count-box-tags-from-related-questions-widget</guid>
<pubDate>Thu, 12 Sep 2013 02:57:38 +0000</pubDate>
</item>
<item>
<title>how to hide &quot;ask related question&quot;</title>
<link>https://www.question2answer.org/qa/26412/how-to-hide-ask-related-question</link>
<description>how to hide &amp;quot;ask related question&amp;quot; which appears between &amp;quot;flag&amp;quot; and &amp;quot;comment&amp;quot; at the question page</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/26412/how-to-hide-ask-related-question</guid>
<pubDate>Wed, 07 Aug 2013 14:55:55 +0000</pubDate>
</item>
<item>
<title>How do we remove some words like &quot;how, what and ...&quot; from related question function?</title>
<link>https://www.question2answer.org/qa/25308/remove-some-words-like-what-from-related-question-function</link>
<description>How do we remove some words like &amp;quot;how, what and ...&amp;quot; from related question function?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25308/remove-some-words-like-what-from-related-question-function</guid>
<pubDate>Mon, 08 Jul 2013 01:36:23 +0000</pubDate>
</item>
<item>
<title>How to not show duplicates and closed questions in Related Questions?</title>
<link>https://www.question2answer.org/qa/21563/how-not-show-duplicates-closed-questions-related-questions</link>
<description>How to not show duplicates and closed questions in Related Questions?&lt;br /&gt;
&lt;br /&gt;
Having duplicate questions listed in related questions is just not useful as user clicks on duplicate and has to click again on link to original... in my opinion :)</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/21563/how-not-show-duplicates-closed-questions-related-questions</guid>
<pubDate>Mon, 18 Feb 2013 13:43:03 +0000</pubDate>
</item>
<item>
<title>more-link and extra page for related questions?</title>
<link>https://www.question2answer.org/qa/17251/more-link-and-extra-page-for-related-questions</link>
<description>

&lt;p&gt;
	I would like to add a &lt;strong&gt;&quot;more related questions&quot; link&lt;/strong&gt; in the widget - after the list of related questions.&lt;/p&gt;


&lt;p&gt;
	Example:&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;example&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=2449047632190533354&quot; style=&quot;width: 240px; height: 440px; border-width: 1px; border-style: solid;&quot;&gt;
&lt;br&gt;
	
&lt;br&gt;
	And of course, clicking the link should list all related questions like on the main questions page!
&lt;br&gt;
	
&lt;br&gt;
	How to achieve this? -&amp;gt; qa-widget-related-qs.php ?&lt;/p&gt;


&lt;p&gt;
	I guess we need an extra page?
&lt;br&gt;
	
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	PS: A workaround could be to set a link to the search and pass parts(?) of the question title to the search...&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17251/more-link-and-extra-page-for-related-questions</guid>
<pubDate>Fri, 17 Aug 2012 07:03:59 +0000</pubDate>
</item>
<item>
<title>Change related questions search algorithm to general search algorithm</title>
<link>https://www.question2answer.org/qa/17145/change-related-questions-search-algorithm-general-algorithm</link>
<description>

&lt;p&gt;
	As far as I can see, in &lt;strong&gt;qa-ajax-asktitle.php (line 40-42): &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	$relatedquestions=qa_db_select_with_pending(
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;qa_db_search_posts_selectspec(null, qa_string_to_words($intitle), null, null, null, null, 0, false, $countqs)
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;);&lt;/p&gt;


&lt;p&gt;
	is retrieving the related questions for the ask title.&lt;/p&gt;


&lt;p&gt;
	Now I would like to change this to use the general search algorithm, which I found in &lt;strong&gt;qa-widget-related-qs.php (line 53):&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $questions=qa_db_single_select(qa_db_related_qs_selectspec($userid, $questionid, qa_opt('page_size_related_qs')));
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	How to replace the code above (qa-ajax-asktitle.php) with the other one without having userid? Would it work just to pass &quot;null&quot; for $userid?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17145/change-related-questions-search-algorithm-general-algorithm</guid>
<pubDate>Mon, 13 Aug 2012 15:39:56 +0000</pubDate>
</item>
<item>
<title>Related questions after answers</title>
<link>https://www.question2answer.org/qa/17024/related-questions-after-answers</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
The related questions feature is in sidebar now. It was in below all answers in previous version. Is it possible to show related questions after all answers via some code or plugin now?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;br /&gt;
Ikit</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17024/related-questions-after-answers</guid>
<pubDate>Wed, 08 Aug 2012 00:52:28 +0000</pubDate>
</item>
<item>
<title>Custom HTML before &quot;Related Questions&quot;</title>
<link>https://www.question2answer.org/qa/9571/custom-html-before-related-questions</link>
<description>Hi, i wan´t to put Custom HTML Code before the tag &amp;quot;Related Questions&amp;quot; starts.&lt;br /&gt;
&lt;br /&gt;
Can anyone help me please?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/9571/custom-html-before-related-questions</guid>
<pubDate>Mon, 03 Oct 2011 05:21:53 +0000</pubDate>
</item>
</channel>
</rss>