<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged developer</title>
<link>https://www.question2answer.org/qa/tag/developer</link>
<description>Powered by Question2Answer</description>
<item>
<title>Please help me any developer.</title>
<link>https://www.question2answer.org/qa/99454/please-help-me-any-developer</link>
<description>I want to restrict all the users including administrator or moderator from changing anything in the admin panel in my site. Because I want to show some demo in a public place and for this reason I have to share administrator credentials to the public. But I want to restrict all the users including administrator or moderator from changing anything in the admin panel. They should just view all of things but don't change anything. I want when they change anything in the admin panel and then click on &amp;quot;save options&amp;quot; then a pop-up will come and that pop-up should say &amp;quot;You can't change anything in the demo version&amp;quot;.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/99454/please-help-me-any-developer</guid>
<pubDate>Sun, 06 Feb 2022 15:31:20 +0000</pubDate>
</item>
<item>
<title>Why less plugin and theme developers now?</title>
<link>https://www.question2answer.org/qa/94487/why-less-plugin-and-theme-developers-now</link>
<description>

&lt;p style=&quot;text-align: justify;&quot;&gt;There are very low number of plugin and theme developers left in q2a community. What happened? Why old developers aren't interested in q2a platform anymore?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/94487/why-less-plugin-and-theme-developers-now</guid>
<pubDate>Tue, 06 Jul 2021 18:37:53 +0000</pubDate>
</item>
<item>
<title>Where can i  get tutorials on advanced theme development ?</title>
<link>https://www.question2answer.org/qa/35074/where-can-i-get-tutorials-on-advanced-theme-development</link>
<description>I'm currently trying to developing a theme .. i checked the documentation for this on this q2a site..it's good ..but i need more..&lt;br /&gt;
&lt;br /&gt;
Where can i get tutorials about this?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Bk</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/35074/where-can-i-get-tutorials-on-advanced-theme-development</guid>
<pubDate>Thu, 12 Jun 2014 01:06:22 +0000</pubDate>
</item>
<item>
<title>Developer question: What tool do you use to tidy and indent your code?</title>
<link>https://www.question2answer.org/qa/32269/developer-question-what-tool-you-use-tidy-and-indent-your-code</link>
<description>

&lt;p&gt;
	Hi everyone, I started with Scite years ago and am using Notepad++ for a while. Problem is the Tidy / Tidy2 plugin seems to be buggy. At least for me :)
&lt;br&gt;
	
&lt;br&gt;
	I would like to know from you, what tidy tool you use to &lt;strong&gt;tidy and indent &lt;/strong&gt;your PHP code, Javascript, HTML and CSS.
&lt;br&gt;
	
&lt;br&gt;
	Can somebody recommend a universal tool for that? Offline.
&lt;br&gt;
	
&lt;br&gt;
	Thanks,
&lt;br&gt;
	Kai&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/32269/developer-question-what-tool-you-use-tidy-and-indent-your-code</guid>
<pubDate>Mon, 24 Feb 2014 07:34:32 +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>I want to restrict Flash embedding, is this done in qa-htmLawed.php or somewhere else?</title>
<link>https://www.question2answer.org/qa/30166/want-restrict-flash-embedding-this-done-htmlawed-somewhere</link>
<description>I don't want to enable users to be able to embed flash, html or css elements in their posts. After doing some research here, it appears that this might be done in the htmLawed.php file, but I'm not entirely sure. Could someone point me in the right direction of what needs to be done to remove the Flash button and the ability for the editor to recognize and publsih any flash anchors.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/30166/want-restrict-flash-embedding-this-done-htmlawed-somewhere</guid>
<pubDate>Sun, 29 Dec 2013 03:16:54 +0000</pubDate>
</item>
<item>
<title>what design patterns\frameworks does Q2A use?</title>
<link>https://www.question2answer.org/qa/22555/what-design-patterns-frameworks-does-q2a-use</link>
<description>As a beginner - low intermediate PHP developer I'm incredibly impressed with the stability and flexibility of Q2A and obviously its inspried me to make my code more organized and flexible.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Q2A is designed using an MVC like methodology right?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Does it a use a prexisiting framework? What are the other design patterns employed in its development?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks in advance:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Liam.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/22555/what-design-patterns-frameworks-does-q2a-use</guid>
<pubDate>Sat, 23 Mar 2013 01:48:57 +0000</pubDate>
</item>
<item>
<title>Get Ready: Theme and Plugin Developers</title>
<link>https://www.question2answer.org/qa/22053/get-ready-theme-and-plugin-developers</link>
<description>

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


&lt;p&gt;
	Question2Answer community is growing and getting more and more popular. We all should &lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;thanks to Gideon&lt;/strong&gt;&lt;/span&gt;. Also after getting popular Q2A Market ( again&amp;nbsp;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;strong&gt;thanks to Gideon&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;) we have decided to make a platform for all theme and plugin developer to provide them skill and service to the customers and community and with that motive Q2A Market is going to start &quot;open store&quot; for all developers and designer.&lt;/p&gt;


&lt;p&gt;
	With the open store developers and designer will have own independent store on Q2A Market where they can sell them themes and plugin according to them choice. They will have freedome to design and structue own website within define limits.&lt;/p&gt;


&lt;p&gt;
	System is almost done and now we are testing beta version of store. So start to compress your themes and plugin &amp;nbsp;and GET READY to start your own store without any cost and use Q2A Market reputation and popularity to sell your product.&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Some more services in our list&lt;/strong&gt;&lt;/p&gt;


&lt;ul&gt;
	

&lt;li&gt;
		Q2A Market - Videos&lt;/li&gt;
	

&lt;li&gt;
		Q2A Market - Theme and Plugin Building Guide&lt;/li&gt;
	

&lt;li&gt;
		Some more plugins&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;
	&lt;strong&gt;Why we would do this?&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	We believe that community grows that means opportunity grows and so after six month of theme and plugin development we are moving one step forward to create great platform for developers and community with motive of learn, share and earn.&lt;/p&gt;


&lt;p&gt;
	Please give your feedback&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Almost Done:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#b22222;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Frnz store is almost done now just working on few content stuffs.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://store.q2amarket.com/&quot; rel=&quot;nofollow&quot;&gt;&lt;span style=&quot;font-size:16px;&quot;&gt;http://store.q2amarket.com/&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/22053/get-ready-theme-and-plugin-developers</guid>
<pubDate>Thu, 07 Mar 2013 10:21:32 +0000</pubDate>
</item>
<item>
<title>Can any one provide me about lamp?</title>
<link>https://www.question2answer.org/qa/19682/can-any-one-provide-me-about-lamp</link>
<description>Its one of the platform same as PHP?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19682/can-any-one-provide-me-about-lamp</guid>
<pubDate>Thu, 06 Dec 2012 09:49:16 +0000</pubDate>
</item>
<item>
<title>How to donate some money to q2a as a thank you?</title>
<link>https://www.question2answer.org/qa/15802/how-to-donate-some-money-to-q2a-as-a-thank-you</link>
<description>

&lt;p&gt;
	How to donate some money to q2a main developer as a thank you?&lt;/p&gt;


&lt;p&gt;
	I could not find any donate button or paypal link &lt;img alt=&quot;frown&quot; height=&quot;20&quot; src=&quot;http://question2answer.org/qa/qa-plugin/wysiwyg-editor/plugins/smiley/images/confused_smile.gif&quot; title=&quot;frown&quot; width=&quot;20&quot;&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/15802/how-to-donate-some-money-to-q2a-as-a-thank-you</guid>
<pubDate>Wed, 13 Jun 2012 05:15:59 +0000</pubDate>
</item>
<item>
<title>question2anwer development documents</title>
<link>https://www.question2answer.org/qa/11122/question2anwer-development-documents</link>
<description>

&lt;p&gt;
	&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;question2anwer&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;developer documentation&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;can help&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;to better&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;understand the&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;hps&quot; style=&quot;color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 16px; background-color: rgb(245, 245, 245);&quot;&gt;process&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/11122/question2anwer-development-documents</guid>
<pubDate>Wed, 14 Dec 2011 03:53:45 +0000</pubDate>
</item>
<item>
<title>Which is the latest non-stanble version: The buggy version or the developer preview version ?</title>
<link>https://www.question2answer.org/qa/5967/latest-stanble-version-version-developer-preview-version</link>
<description>

&lt;p&gt;
	Is the buggy version available at&lt;/p&gt;


&lt;p&gt;
	&lt;span class=&quot;qa-c-item-content&quot;&gt;&lt;span class=&quot;entry-content&quot;&gt;&lt;a href=&quot;../releases/question2answer-nightly.zip&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/releases/question2answer-nightly.zip&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span class=&quot;qa-c-item-content&quot;&gt;&lt;span class=&quot;entry-content&quot;&gt;is the same as the developer review version available at &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://www.question2answer.org/releases/question2answer-1.4-dev.zip&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/releases/question2answer-1.4-dev.zip&lt;span class=&quot;qa-c-item-content&quot;&gt;&lt;span class=&quot;entry-content&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span class=&quot;qa-c-item-content&quot;&gt;&lt;span class=&quot;entry-content&quot;&gt;?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/5967/latest-stanble-version-version-developer-preview-version</guid>
<pubDate>Tue, 19 Apr 2011 10:33:29 +0000</pubDate>
</item>
</channel>
</rss>