<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged compatibility</title>
<link>https://www.question2answer.org/qa/tag/compatibility</link>
<description>Powered by Question2Answer</description>
<item>
<title>Is a q2a database upgrade backwards compatible?</title>
<link>https://www.question2answer.org/qa/45929/is-a-q2a-database-upgrade-backwards-compatible</link>
<description>

&lt;p&gt;Current situation:
&lt;br&gt;
&lt;br&gt;1. I have an old installation of q2a, 1.5.x with some mods of 1.6.3 on domainA.com
&lt;br&gt;
&lt;br&gt;2. I have setup a fresh installation with v1.7 on domainB.com
&lt;br&gt;
&lt;br&gt;3. I want to test on domainB.com and get &quot;please upgrade the database&quot;
&lt;br&gt;
&lt;br&gt;When doing so, can will q2a 1.6.1 on domainA.com still work? Because that is the production site with ~100 users per minute online =)&lt;/p&gt;

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

&lt;p&gt;
&lt;br&gt;&lt;strong&gt;Update: The upgrade went through and the 1.6.1 could use the upgraded db of 1.7.1. &lt;/strong&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/45929/is-a-q2a-database-upgrade-backwards-compatible</guid>
<pubDate>Fri, 19 Jun 2015 08:44:35 +0000</pubDate>
</item>
<item>
<title>Compatibility issue of Q2A V1.7-beta</title>
<link>https://www.question2answer.org/qa/42382/compatibility-issue-of-q2a-v1-7-beta</link>
<description>Two functions in qa-filter-basic.php were deleted in Q2A V1.7-beta. Users who are using these functions will lost compatibility. You need to create the same function in your addon. This is ridiculous.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/q2a/question2answer/issues/182&quot; rel=&quot;nofollow&quot;&gt;https://github.com/q2a/question2answer/issues/182&lt;/a&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/42382/compatibility-issue-of-q2a-v1-7-beta</guid>
<pubDate>Sun, 21 Dec 2014 18:27:13 +0000</pubDate>
</item>
<item>
<title>BuddyPress Integration and BuddyPress version 2.1</title>
<link>https://www.question2answer.org/qa/38476/buddypress-integration-and-buddypress-version-2-1</link>
<description>BuddyPress version 2.1 is out and there is no word about BuddyPress Integration plugin for years.&lt;br /&gt;
&lt;br /&gt;
Has anyone tried updating it ?&lt;br /&gt;
&lt;br /&gt;
Is it safe to update to BuddyPress version 2.1?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/38476/buddypress-integration-and-buddypress-version-2-1</guid>
<pubDate>Thu, 18 Sep 2014 15:09:09 +0000</pubDate>
</item>
<item>
<title>[Convention] Plugin identifier naming</title>
<link>https://www.question2answer.org/qa/31654/convention-plugin-identifier-naming</link>
<description>

&lt;p&gt;If you have developed a plugin or are planning to develop a plugin I think you should consider the following situation.&lt;/p&gt;

&lt;p&gt;When you are developing your plugin you usually need PHP classes, functions, global variables (hopefully not... it is 2014!), as well as CSS classes and identifiers, HTML name and id attributes or even JavaScript functions and variables. It is almost impossible to write a useful plugin that doesn't need at least one of them. And things usually work the way they should. Particularly, if you are using a clean (without any plugins) core in the development process.&lt;/p&gt;

&lt;p&gt;As time goes by, you have your &lt;em&gt;big-button&lt;/em&gt;&amp;nbsp;CSS class, your &lt;em&gt;nice-button&lt;/em&gt; id attribute, your PHP function in the &lt;strong&gt;qa-plugin.php&lt;/strong&gt; file named &lt;em&gt;userid_to_userhandle&lt;/em&gt;, your&amp;nbsp;&lt;em&gt;element&lt;/em&gt;&amp;nbsp;JavaScript variable and your&amp;nbsp;&lt;em&gt;toggle&lt;/em&gt;&amp;nbsp;JavaScript function. And, of course, everything works. So you release your plugin... not knowing it is a matter of time for things to stop working.&lt;/p&gt;

&lt;p&gt;Things work until any other developer (or maybe yourself) write a different plugin that uses the &lt;em&gt;big-button&lt;/em&gt; CSS class, the&amp;nbsp;&lt;em&gt;nice-button&lt;/em&gt; id attribute, etc. If 2 plugins use the same identifier and happen to be in the same scope then that only means things will break. So how can this issue be prevented?&lt;/p&gt;

&lt;p&gt;Without asking core developers to do magic in the core, we can solve this by just &lt;strong&gt;communicating and being proactive&lt;/strong&gt;. This issue can be easily addressed by prefixing each element that is part of a shared scope with a string. In order for that string to work as PHP class names, PHP functions, PHP varaibles, CSS class names, CSS identifiers, HTML name attribute values, HTML id attribute values, JavaScript function names and JavaScript variable names they can all contain letters, numbers and underscores (_) but should all start with a letter. There are also other identifiers that can be added to the list such as the plugin folder name and the title of your plugin settings stored in the ^options table.&lt;/p&gt;

&lt;p&gt;I thought on the following guideliness to be applied. Prefixes should:&lt;/p&gt;

&lt;ol&gt;

&lt;li&gt;Be unique and not re-used between different plugins&lt;/li&gt;

&lt;li&gt;Be applied to all&amp;nbsp;&lt;em&gt;shared scope&lt;/em&gt;&amp;nbsp;elements including, but not limited, to the aforementioned ones&lt;/li&gt;

&lt;li&gt;Be at least 4 characters long&lt;/li&gt;

&lt;li&gt;Not use underscores&lt;/li&gt;

&lt;li&gt;Be separated from the rest of the element identifier by an underscore&lt;/li&gt;

&lt;li&gt;Be case-insensitive&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;This way these could be some valid names for elements prefixed with the &lt;em&gt;myplugin&lt;/em&gt;&amp;nbsp;prefix:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;PHP class: &lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;MYPLUGIN_User&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;PHP function: &lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_show_profile()&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;CSS class: &lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;.myplugin_big_button&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;CSS id: &lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;#myplugin_save_button&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;HTML name attribute:&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_user_input&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;HTML id attribute:&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_terms_agreed_checkbox&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;JavaScript function:&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_toggleVisibility(e)&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;JavaScript variable:&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_countryArray&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;Table name: &lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_countryArray&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;Plugin folder (note it could only be the identifier itself):&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin&lt;/span&gt;&lt;/li&gt;

&lt;li&gt;Title of element in ^options table:&amp;nbsp;&lt;span style=&quot;font-family:Courier New,Courier,monospace&quot;&gt;myplugin_enable_user_feature&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;An approach that is actually included in the previous guideliness is adding a developer prefix, so to speak. So you could have plugins with the prefix &lt;em&gt;MyDevId&lt;/em&gt; and, on your own, avoid plugin duplication by adding the second level of identification with the&amp;nbsp;plugin id &lt;em&gt;MyPluginId&lt;/em&gt;. This would result in elements identified by&amp;nbsp;&lt;em&gt;MyDevId_MyPluginId_identifier&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I think getting to a certain degree of agreement is needed and, as time goes by, this is becoming more necessary. Please, let me know your thoughts on this.&lt;/p&gt;

&lt;p&gt;Now, in order to be able to satisfy guideline #1 it is needed to let others know what plugin ids you have used. Even if you don't want to follow this convention at least refer to this list to know which plugin prefixes not to use if you want to make a fully compatible plugin.&lt;/p&gt;

&lt;p&gt;Note that while writing this, I've decided to use the developer prefix approach in the future. I'm planning to use the prefix&amp;nbsp;&lt;strong&gt;pupi&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you like the idea, feel free to add yours in order to centralize future lookups.&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/31654/convention-plugin-identifier-naming</guid>
<pubDate>Sun, 09 Feb 2014 13:13:19 +0000</pubDate>
</item>
<item>
<title>AntiBot Captcha not working in 1.6.2 version</title>
<link>https://www.question2answer.org/qa/30697/antibot-captcha-not-working-in-1-6-2-version</link>
<description>I have installed AntiBot Captcha and it is not showing the Image of the captca. My version is 1.6.2. Could somebody help</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/30697/antibot-captcha-not-working-in-1-6-2-version</guid>
<pubDate>Tue, 14 Jan 2014 08:00:37 +0000</pubDate>
</item>
<item>
<title>i have upgrade 1.6.2 still it's showing old version look? and style</title>
<link>https://www.question2answer.org/qa/28570/i-have-upgrade-1-still-its-showing-old-version-look-and-style</link>
<description>

&lt;p&gt;
	HI Team&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; My site name ( &lt;a href=&quot;http://techiespoint.com/&quot; rel=&quot;nofollow&quot;&gt;www.techiespoint.com&lt;/a&gt; )&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp; 1.&amp;nbsp; i have upgrade 1.6.2 still it's showing old version look? and style&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp; 2. In the Ask question page it's not showing any category in the category drop down box?&lt;/p&gt;


&lt;p&gt;
	please give some solution..it's killing my site performance?i lose my users?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/28570/i-have-upgrade-1-still-its-showing-old-version-look-and-style</guid>
<pubDate>Sun, 27 Oct 2013 02:58:09 +0000</pubDate>
</item>
<item>
<title>Does the old Snow Theme version work with Q2A 1.6.2 or does it bug?</title>
<link>https://www.question2answer.org/qa/27428/does-the-old-snow-theme-version-work-with-q2a-1-6-or-does-it-bug</link>
<description>I'd also like to know what I'm missing if I don't update the theme.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27428/does-the-old-snow-theme-version-work-with-q2a-1-6-or-does-it-bug</guid>
<pubDate>Mon, 09 Sep 2013 18:41:07 +0000</pubDate>
</item>
<item>
<title>Users: Handling with users using an External database</title>
<link>https://www.question2answer.org/qa/6152/users-handling-with-users-using-an-external-database</link>
<description>My installation of Q2A uses an external database for the users, and to get their ID's/Usernames/HTML/etc... I use the functions defined in the external file. My question is: does this work both with external providers installations and normal installations?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/6152/users-handling-with-users-using-an-external-database</guid>
<pubDate>Mon, 25 Apr 2011 16:50:23 +0000</pubDate>
</item>
</channel>
</rss>