<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged codeigniter</title>
<link>https://www.question2answer.org/qa/tag/codeigniter</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to setup q2a to codeigniter framework?</title>
<link>https://www.question2answer.org/qa/86671/how-to-setup-q2a-to-codeigniter-framework</link>
<description>Hi, can I ask how to setup q2a to codeigniter framework? I am trying to put q2a to codeigniter but I don't know where to put the files inside codigniter.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/86671/how-to-setup-q2a-to-codeigniter-framework</guid>
<pubDate>Mon, 10 Aug 2020 12:00:47 +0000</pubDate>
</item>
<item>
<title>SSO with Codeigniter</title>
<link>https://www.question2answer.org/qa/80270/sso-with-codeigniter</link>
<description>

&lt;p&gt;I am trying to implement a forum to my existing CodeIgniter site. My setup for Q2A is domain.com/q2a/&lt;/p&gt;

&lt;p&gt;I would like to have a single sign on. I went through the external user doc, and also read every single question regarding SSO. Most of them were about wordpress.&lt;/p&gt;

&lt;p&gt;I store the session in a table named ci_sessions.&lt;/p&gt;

&lt;p&gt;users table does not store sessions.&lt;/p&gt;

&lt;p&gt;So probably I am looking at using INNER JOIN or some other JOINS. My question is how do I modify this to achieve my goal?&lt;/p&gt;

&lt;p&gt;&lt;sup&gt;$userid = $_COOKIE['cisession'];
&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $result = qa_db_read_one_assoc(qa_db_query_sub(
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 'SELECT email FROM users WHERE id=$',
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; $userid
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ));&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;When I print &lt;sup&gt;$userid &lt;/sup&gt;it returns the last session that was stored inside ci_sessions table.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/80270/sso-with-codeigniter</guid>
<pubDate>Sun, 29 Dec 2019 11:30:05 +0000</pubDate>
</item>
<item>
<title>how do I find and use the html output of q2a for integration with my site?</title>
<link>https://www.question2answer.org/qa/26074/how-find-and-use-the-html-output-q2a-for-integration-with-site</link>
<description>hiya,&lt;br /&gt;
&lt;br /&gt;
i am trying to integrate q2a with my existing site, which runs on codeigniter framework. i have so far managed to get it working in terms of sso and having no errors.&lt;br /&gt;
&lt;br /&gt;
at the moment i am basically just including qa-include/qa-index.php and q2a is echoing out all the html, however the resulting html is a full page of q2a content (including opening and closing html, head and body tags) followered by a full page of my own content (opening and closing html, head and body tags)&lt;br /&gt;
&lt;br /&gt;
i have been looking through several files such as qa-theme-base.php but i cannot see how to make q2a return the value of the html to codeigniter, rather than just print it straight to browser.&lt;br /&gt;
&lt;br /&gt;
does anybody have any ideas?&lt;br /&gt;
&lt;br /&gt;
many thanks</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/26074/how-find-and-use-the-html-output-q2a-for-integration-with-site</guid>
<pubDate>Thu, 25 Jul 2013 11:43:47 +0000</pubDate>
</item>
<item>
<title>Q2a as a codeigniter plugin?</title>
<link>https://www.question2answer.org/qa/6705/q2a-as-a-codeigniter-plugin</link>
<description>

&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;div style=&quot;font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);&quot;&gt;
	

&lt;p&gt;
		anyone tried making question2answer a codeigniter plugin so that it can be easily used from within existing CI applications?&lt;/p&gt;
	

&lt;p&gt;
		any experiences you can share?&lt;/p&gt;
&lt;/div&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/6705/q2a-as-a-codeigniter-plugin</guid>
<pubDate>Fri, 27 May 2011 04:27:47 +0000</pubDate>
</item>
</channel>
</rss>