<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged event</title>
<link>https://www.question2answer.org/qa/tag/event</link>
<description>Powered by Question2Answer</description>
<item>
<title>Q2A Event logger plugin disabled but when refresh the plugin page it automatically enabled</title>
<link>https://www.question2answer.org/qa/88232/logger-plugin-disabled-refresh-plugin-automatically-enabled</link>
<description>Q2A Event logger plugin disabled but when refresh the plugin page in admin section it automatically enabled.&lt;br /&gt;
&lt;br /&gt;
First I disabled the plugin. It is then disabled successfully but when I refresh the plugin page then I see it is enabled automatically again.&lt;br /&gt;
&lt;br /&gt;
Please help me how to resolve the issue.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/88232/logger-plugin-disabled-refresh-plugin-automatically-enabled</guid>
<pubDate>Thu, 08 Oct 2020 19:42:39 +0000</pubDate>
</item>
<item>
<title>How to output javascript in event module?</title>
<link>https://www.question2answer.org/qa/83836/how-to-output-javascript-in-event-module</link>
<description>

&lt;p&gt;I want to add a javascript to the element which contains the comment (question,answer) text from event module like this:&lt;/p&gt;

&lt;p&gt;function process_event($event, $userid, $handle, $cookieid, $params) {&lt;/p&gt;

&lt;p&gt;if($event == 'c_post'){&lt;/p&gt;

&lt;p&gt;$this-&amp;gt;output('&amp;lt;script&amp;gt;&lt;/p&gt;

&lt;p&gt;//javascript code here:&lt;/p&gt;

&lt;p&gt;&amp;nbsp;var Dom = document.getElementById(&quot;id of this element&lt;span style=&quot;color:#34495e; font-family:&amp;quot;Courier New&amp;quot;,Courier,monospace,sans-serif&quot;&gt;&quot;&lt;/span&gt;);&lt;/p&gt;

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

&lt;p&gt;&amp;lt;/script&amp;gt;')&lt;/p&gt;

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

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

&lt;p&gt;But this doesn't work. What kind of plugin should be used for this purpose? I don't know how to get the id of the element in a layer module.&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/83836/how-to-output-javascript-in-event-module</guid>
<pubDate>Wed, 13 May 2020 12:32:19 +0000</pubDate>
</item>
<item>
<title>what is $params in event modules?</title>
<link>https://www.question2answer.org/qa/83748/what-is-%24params-in-event-modules</link>
<description>

&lt;p&gt;How can I get the id of the element containing comment, question or answer which is going to be submitted in an event module? for example in the following code I want to add a script related to the comment&lt;/p&gt;

&lt;pre&gt;class my_event {
	function process_event($event, $userid, $handle, $cookieid, $params) {
		
		if ($event === 'c_post') {
		     echo '&amp;lt;script&amp;gt;&lt;/pre&gt;

&lt;pre&gt;             var Dom = document&lt;span style=&quot;color:#404040; font-family:Consolas,&amp;quot;Andale Mono WT&amp;quot;,&amp;quot;Andale Mono&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Lucida Sans Typewriter&amp;quot;,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Nimbus Mono L&amp;quot;,Monaco,&amp;quot;Courier New&amp;quot;,Courier,monospace; font-size:12px&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color:#404040; font-family:Consolas,&amp;quot;Andale Mono WT&amp;quot;,&amp;quot;Andale Mono&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Lucida Sans Typewriter&amp;quot;,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Nimbus Mono L&amp;quot;,Monaco,&amp;quot;Courier New&amp;quot;,Courier,monospace; font-size:12px&quot;&gt;getElementById&lt;/span&gt;&lt;span style=&quot;color:#404040; font-family:Consolas,&amp;quot;Andale Mono WT&amp;quot;,&amp;quot;Andale Mono&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Lucida Sans Typewriter&amp;quot;,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Nimbus Mono L&amp;quot;,Monaco,&amp;quot;Courier New&amp;quot;,Courier,monospace; font-size:12px&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#404040; font-family:Consolas,&amp;quot;Andale Mono WT&amp;quot;,&amp;quot;Andale Mono&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Lucida Sans Typewriter&amp;quot;,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Nimbus Mono L&amp;quot;,Monaco,&amp;quot;Courier New&amp;quot;,Courier,monospace; font-size:12px&quot;&gt;&quot;this comment&quot;&lt;/span&gt;&lt;span style=&quot;color:#404040; font-family:Consolas,&amp;quot;Andale Mono WT&amp;quot;,&amp;quot;Andale Mono&amp;quot;,&amp;quot;Lucida Console&amp;quot;,&amp;quot;Lucida Sans Typewriter&amp;quot;,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,&amp;quot;Liberation Mono&amp;quot;,&amp;quot;Nimbus Mono L&amp;quot;,Monaco,&amp;quot;Courier New&amp;quot;,Courier,monospace; font-size:12px&quot;&gt;);&lt;/span&gt;&lt;/pre&gt;

&lt;pre&gt;&amp;lt;/script&amp;gt;'&lt;/pre&gt;

&lt;p&gt;}//end process_event }//end class&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/83748/what-is-%24params-in-event-modules</guid>
<pubDate>Tue, 12 May 2020 12:13:02 +0000</pubDate>
</item>
<item>
<title>Event Logger Plugin Sometimes generate  error log. How to I solve it? Incorrect string value: '\xE0\xA6...\x09...'?</title>
<link>https://www.question2answer.org/qa/68886/event-logger-plugin-sometimes-generate-error-incorrect-string</link>
<description>

&lt;p&gt;Event Logger Plugin Sometimes generate&amp;nbsp; error log. How to I solve it&lt;/p&gt;

&lt;pre&gt;PHP Question2Answer MySQL query error 1366: Incorrect string value: '\xE0\xA6...\x09...' for column 'params' at row 1 - Query: INSERT INTO &lt;/pre&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/68886/event-logger-plugin-sometimes-generate-error-incorrect-string</guid>
<pubDate>Fri, 02 Nov 2018 19:38:12 +0000</pubDate>
</item>
<item>
<title>How to throw an error using the event module (function process_event)?</title>
<link>https://www.question2answer.org/qa/66285/how-throw-error-using-event-module-function-process_event</link>
<description>&lt;a href=&quot;http://docs.question2answer.org/plugins/modules-event/&quot; rel=&quot;nofollow&quot;&gt;http://docs.question2answer.org/plugins/modules-event/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I am catching the event u_save and check the posted data.&lt;br /&gt;
&lt;br /&gt;
If there is a wrong value, I want to show an error front end, but I could not find out yet, where to define the error. Seems that I cannot use: $event, $userid, $handle, $cookieid, $params</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/66285/how-throw-error-using-event-module-function-process_event</guid>
<pubDate>Wed, 15 Aug 2018 05:53:29 +0000</pubDate>
</item>
<item>
<title>what is important &quot;event logger&quot; plugin?</title>
<link>https://www.question2answer.org/qa/61373/what-is-important-event-logger-plugin</link>
<description>

&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color:rgb(52, 73, 94); font-family:ubuntu,helvetica,arial,freesans,sans-serif; font-size:16px&quot;&gt;I was getting lot of error messages with event logger plugin so I deleted it and now everything works fine. Now, will be any problem of my site ?&lt;/span&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/61373/what-is-important-event-logger-plugin</guid>
<pubDate>Sun, 17 Dec 2017 03:08:02 +0000</pubDate>
</item>
<item>
<title>how do I trigger a pop up when a new question is posted and  viewed?</title>
<link>https://www.question2answer.org/qa/60099/how-do-i-trigger-pop-up-when-new-question-is-posted-and-viewed</link>
<description>

&lt;p&gt;Is there any way I can show the user a popup message when a question is posted and viewed for the first time?&lt;/p&gt;

&lt;p&gt;I got a code to override the body.&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color:#4ec9b0&quot;&gt;qa_html_theme_layer&lt;/span&gt; &lt;span style=&quot;color:#569cd6&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color:#4ec9b0&quot;&gt;qa_html_theme_base&lt;/span&gt; {&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color:#dcdcaa&quot;&gt;body_script&lt;/span&gt;(){&lt;/p&gt;

&lt;p&gt;qa_html_theme_base::&lt;span style=&quot;color:#dcdcaa&quot;&gt;body_script&lt;/span&gt;();&lt;/p&gt;

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

&lt;p&gt;&lt;span style=&quot;color:#608b4e&quot;&gt;// only load if enabled&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#c586c0&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color:#dcdcaa&quot;&gt;qa_opt&lt;/span&gt;(&lt;span style=&quot;color:#ce9178&quot;&gt;'ss_enabled'&lt;/span&gt;)) {&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color:#dcdcaa&quot;&gt;output&lt;/span&gt;(&lt;span style=&quot;color:#ce9178&quot;&gt;'some code goes here&lt;/span&gt;&lt;span style=&quot;color:#ce9178&quot;&gt;&amp;nbsp;'&lt;/span&gt;);&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#c586c0&quot;&gt;if&lt;/span&gt;() {&amp;nbsp;&lt;strong&gt;// here I want to check that new question is posted event triggered. how do verify it here?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#dcdcaa&quot;&gt;//var_dump&lt;/span&gt;(&lt;span style=&quot;color:#569cd6&quot;&gt;$this&lt;/span&gt; -&amp;gt; content);&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#569cd6&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color:#dcdcaa&quot;&gt;output&lt;/span&gt;(&lt;span style=&quot;color:#ce9178&quot;&gt;'&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;alert(&quot;New question is posted!&quot;);&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#ce9178&quot;&gt;&amp;lt;/script&amp;gt;'&lt;/span&gt;);&lt;/p&gt;

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

&lt;p&gt;} &lt;span style=&quot;color:#608b4e&quot;&gt;// end enabled&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;} &lt;span style=&quot;color:#608b4e&quot;&gt;// end head_script&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/60099/how-do-i-trigger-pop-up-when-new-question-is-posted-and-viewed</guid>
<pubDate>Sun, 08 Oct 2017 04:15:10 +0000</pubDate>
</item>
<item>
<title>How to show a custom Notice at the top</title>
<link>https://www.question2answer.org/qa/58178/how-to-show-a-custom-notice-at-the-top</link>
<description>How to show a custom Notice at the top for new registered users?&lt;br /&gt;
&lt;br /&gt;
Sorry i forgot to add, I am doing some custom development. and i want to show a custom message based on new users registered profile. So which core function should i invoke. Add notice for the user</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/58178/how-to-show-a-custom-notice-at-the-top</guid>
<pubDate>Fri, 16 Jun 2017 08:26:57 +0000</pubDate>
</item>
<item>
<title>How can I get the category of a new question in the process_event() of an event module?</title>
<link>https://www.question2answer.org/qa/53483/how-can-the-category-question-the-process_event-event-module</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I'm working on a Mattermost integration and want to be able to filter questions that should be postet to Mattermost by tags and categories. Tags work already, but it seems that the categoryid field in the $params parameter is always empty.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/53483/how-can-the-category-question-the-process_event-event-module</guid>
<pubDate>Tue, 23 Aug 2016 16:51:12 +0000</pubDate>
</item>
<item>
<title>Update plugin: jQuery Count Down widget (V1.1)</title>
<link>https://www.question2answer.org/qa/43394/update-plugin-jquery-count-down-widget-v1-1</link>
<description>

&lt;p&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Views&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Customized example&amp;nbsp;(wide layout)&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14710425321298526526&quot; style=&quot;height:273px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;Default example&amp;nbsp;(side layout)&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14636814919327722894&quot; style=&quot;height:274px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;Option panel&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=17747912029786049977&quot; style=&quot;height:589px; width:600px&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Use case&lt;/span&gt;&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Announcement of events&lt;/li&gt;

&lt;li&gt;Announcement of the refresh timing of demo site&lt;/li&gt;

&lt;li&gt;etc ...&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Unique features&lt;/span&gt;&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;You can schedule future event.&lt;/li&gt;

&lt;li&gt;When&amp;nbsp;start time comes, widget will be displayed automatically.&lt;/li&gt;

&lt;li&gt;When end time comes, widget will be hidden&amp;nbsp;automatically.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Compatibility&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Q2A V1.6, V1.7&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Update history&lt;/span&gt;&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;strong&gt;[2015/03/16] V1.1: Bug fix. Support Japanese language&lt;/strong&gt;&lt;/li&gt;

&lt;li&gt;[2015/01/30] V1.0: First release&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://cmsbox.jp/archive/download.php?t=d&amp;amp;i=65&quot;&gt;&lt;span style=&quot;font-size:20px&quot;&gt;Download&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My addons are&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.question2answer.org/qa/user/sama55&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/43394/update-plugin-jquery-count-down-widget-v1-1</guid>
<pubDate>Thu, 29 Jan 2015 20:32:14 +0000</pubDate>
</item>
<item>
<title>Does Q2A have Event / calendar feature?</title>
<link>https://www.question2answer.org/qa/41607/does-q2a-have-event-calendar-feature</link>
<description>Is there a feature to create an event and have it displayed on the Q2A website? Prefereably in a calendar.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/41607/does-q2a-have-event-calendar-feature</guid>
<pubDate>Mon, 24 Nov 2014 23:26:42 +0000</pubDate>
</item>
<item>
<title>Plugin Dev: Catching the upload as an event? Upload by any editor.</title>
<link>https://www.question2answer.org/qa/38579/plugin-dev-catching-the-upload-as-an-event-upload-any-editor</link>
<description>

&lt;p&gt;
	Hi all, for a new plugin I am devleoping I thought I could catch the image upload somehow. My plugin needs to collect all Blobids from all uploaded files this day, though, I am think about a mysql workaround now. Nevertheless, the question is quite interesting for developers and upcoming plugins.&lt;/p&gt;


&lt;p&gt;
	Each editor uses a URL for the upload. So I could look for the matching request like that:&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;function match_request($request)&lt;/strong&gt;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return ($request=='sceditor-upload'); // or another editor URL
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	Problem is that each plugin has another $request URL. So using my plugin I do not know what the editor URL is and cannot catch the upload &quot;event&quot;.&lt;/p&gt;


&lt;p&gt;
	Any idea how to overcome this?&lt;/p&gt;


&lt;p&gt;
	Thanks,
&lt;br&gt;
	Kai&lt;/p&gt;


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


&lt;p&gt;
	For reference: &lt;a href=&quot;http://www.question2answer.org/modules.php&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/modules.php&lt;/a&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/38579/plugin-dev-catching-the-upload-as-an-event-upload-any-editor</guid>
<pubDate>Sun, 21 Sep 2014 12:43:29 +0000</pubDate>
</item>
<item>
<title>email notifications on user profile change</title>
<link>https://www.question2answer.org/qa/27794/email-notifications-on-user-profile-change</link>
<description>

&lt;div&gt;
	The user receives an email notification only when there is a transition from &quot;registered user&quot; to &quot;expert&quot; (I'm doing my tests editing the user profile as an admin).&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	The user does not receive any email notification when there are other transitions (eg : from &quot;expert&quot; to &quot;editor&quot;).&lt;/div&gt;


&lt;div&gt;
	Why ?&lt;/div&gt;


&lt;div&gt;
	Is it correct ?&lt;/div&gt;


&lt;div&gt;
	Do you have the same behaviour ?&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27794/email-notifications-on-user-profile-change</guid>
<pubDate>Thu, 26 Sep 2013 07:14:38 +0000</pubDate>
</item>
<item>
<title>Update Plugin: Question Auto Follow (V1.0)</title>
<link>https://www.question2answer.org/qa/27591/update-plugin-question-auto-follow-v1-0</link>
<description>

&lt;p&gt;
	If user do answer or comment to specific question, user favorite that question automatically. This plugin may be useless alone. However, it is effective for plugin giving some kind of service to all users relating specific question.&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-size:16px;&quot;&gt;Related plugin&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://www.question2answer.org/qa/25217&quot; rel=&quot;nofollow&quot;&gt;Notification Pro&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-size:16px;&quot;&gt;Compatibility&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	V1.6.x, &lt;span style=&quot;color:#ff0000;&quot;&gt;&lt;strong&gt;1.7 (2014/12/19 Updated)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-size:16px;&quot;&gt;&lt;a href=&quot;http://cmsbox.jp/archive/download.php?t=d&amp;amp;i=51&quot; rel=&quot;nofollow&quot;&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	Have fun !!&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/27591/update-plugin-question-auto-follow-v1-0</guid>
<pubDate>Wed, 18 Sep 2013 06:23:17 +0000</pubDate>
</item>
<item>
<title>pause during process_event?</title>
<link>https://www.question2answer.org/qa/26242/pause-during-process_event</link>
<description>I am working on a plugin that uses facebook logins to post information to a user's facebook wall. If the user has not already approved the publish_stream permission, I'd like to request it whenever they make a new post.&lt;br /&gt;
&lt;br /&gt;
As far as I can tell, it doesn't look like process_event has a way to pause the processing of any of these events. Is there another way, either through process_event or through some sort of override that I could request said permission and wait for the user to respond before I continue?</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/26242/pause-during-process_event</guid>
<pubDate>Tue, 30 Jul 2013 13:19:30 +0000</pubDate>
</item>
<item>
<title>Parameters for c_post event?</title>
<link>https://www.question2answer.org/qa/26195/parameters-for-c_post-event</link>
<description>I can't seem to find a full list of parameters for any of the events for event modules. Is there a way to see everthing contained in c_post $params inside process_event? &lt;br /&gt;
&lt;br /&gt;
Can't just echo or print_r, because it won't display anywhere in the page.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/26195/parameters-for-c_post-event</guid>
<pubDate>Sun, 28 Jul 2013 22:44:46 +0000</pubDate>
</item>
<item>
<title>Please tell us event type that increased in V1.6.</title>
<link>https://www.question2answer.org/qa/25171/please-tell-us-event-type-that-increased-in-v1-6</link>
<description>Is there the event added to V1.6 other than &amp;quot;u_wall_post&amp;quot; and &amp;quot;u_wall_delete&amp;quot;?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/25171/please-tell-us-event-type-that-increased-in-v1-6</guid>
<pubDate>Thu, 04 Jul 2013 08:05:52 +0000</pubDate>
</item>
<item>
<title>New Plugin: Recent Events Widget (Initial Release v0.1) → now v0.3</title>
<link>https://www.question2answer.org/qa/21771/new-plugin-recent-events-widget-initial-release-v0-1-%E2%86%92-now-v0</link>
<description>

&lt;p&gt;
	This is a little widget that displays your forum's recent events. It needs the event logger enabled.&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Download:&lt;/strong&gt; &lt;a href=&quot;https://github.com/echteinfachtv/qa-recent-events-widget&quot; rel=&quot;nofollow&quot;&gt;https://github.com/echteinfachtv/qa-recent-events-widget&lt;/a&gt;
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Screenshot Position Sidepanel: &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;sidepanel&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=14676998864150640620&quot; style=&quot;width: 453px; height: 142px;&quot;&gt;&lt;/p&gt;


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


&lt;p&gt;
	&lt;strong&gt;Screenshot Position Main: &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;img alt=&quot;main&quot; height=&quot;194&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=6711085906895685702&quot; width=&quot;577&quot;&gt;&lt;/p&gt;


&lt;h1&gt;
	
&lt;br&gt;
	Question2Answer Recent Events Widget v0.1&lt;/h1&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Description&lt;/h2&gt;
	

&lt;p&gt;
		This plugin for &lt;strong&gt;Question2Answer&lt;/strong&gt; displays the newest events of your q2a forum in a widget.&lt;/p&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Features&lt;/h2&gt;
	

&lt;ul&gt;
		

&lt;li&gt;
			considers questions/answers/comments/best-answer-selects as events to show&lt;/li&gt;
		

&lt;li&gt;
			needs plugin &quot;Event Logger&quot; enabled, check Admin &amp;gt; Plugins &amp;gt;Event Logger &amp;gt;options (tick &quot;Log events to qa_eventlog database table&quot;)&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Installation&lt;/h2&gt;
	

&lt;ol&gt;
		

&lt;li&gt;
			Install &lt;a href=&quot;http://www.question2answer.org/install.php&quot; rel=&quot;nofollow&quot;&gt;Question2Answer&lt;/a&gt;&lt;/li&gt;
		

&lt;li&gt;
			Get the source code for this plugin from _github, download directly from the &lt;a href=&quot;https://github.com/echteinfachtv/q2a-revent-events-widget/&quot; rel=&quot;nofollow&quot;&gt;project page&lt;/a&gt; and click &lt;strong&gt;Download&lt;/strong&gt;&lt;/li&gt;
		

&lt;li&gt;
			Extract the files to a subfolder such as &lt;code&gt;q2a-revent-events-widget&lt;/code&gt; inside the &lt;code&gt;qa-plugins&lt;/code&gt; folder of your Q2A installation.&lt;/li&gt;
		

&lt;li&gt;
			Change language strings in qa-recent-events-widget-lang.php&lt;/li&gt;
		

&lt;li&gt;
			Navigate to your site, go to &lt;strong&gt;Admin -&amp;gt; Plugins&lt;/strong&gt; on your q2a install.&lt;/li&gt;
		

&lt;li&gt;
			The event logger plugin must be active, see option Log events to qa_eventlog database table.&lt;/li&gt;
		

&lt;li&gt;
			Then go to Admin &amp;gt;Layout &amp;gt;Available widgets, and add the widget &quot;Recent Events Widget&quot; where you want it to appear&lt;/li&gt;
	&lt;/ol&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Disclaimer&lt;/h2&gt;
	

&lt;p&gt;
		This is &lt;strong&gt;beta&lt;/strong&gt; code. It is probably okay for production environments, but may not work exactly as expected. You bear the risk. Refunds will not be given!&lt;/p&gt;
	

&lt;p&gt;
		This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;/p&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Copyright&lt;/h2&gt;
	

&lt;p&gt;
		All code herein is &lt;a href=&quot;http://www.gnu.org/licenses/gpl.html&quot; rel=&quot;nofollow&quot;&gt;OpenSource&lt;/a&gt;. Feel free to build upon it and share with the world.&lt;/p&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		About q2a&lt;/h2&gt;
	

&lt;p&gt;
		Question2Answer is a free and open source platform for Q&amp;amp;A sites. For more information, visit: &lt;a href=&quot;http://www.question2answer.org&quot; rel=&quot;nofollow&quot;&gt;www.question2answer.org&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;


&lt;div&gt;
	

&lt;h2&gt;
		Final Note&lt;/h2&gt;
	

&lt;p&gt;
		If you use the plugin: + Consider joining the &lt;a href=&quot;http://www.question2answer.org/qa/&quot; rel=&quot;nofollow&quot;&gt;Question2Answer-Forum&lt;/a&gt;, answer some questions or write your own plugin! + You can use the code of this plugin to learn more about q2a-plugins. It is commented code. + Thanks!&lt;/p&gt;
&lt;/div&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/21771/new-plugin-recent-events-widget-initial-release-v0-1-%E2%86%92-now-v0</guid>
<pubDate>Tue, 26 Feb 2013 03:29:02 +0000</pubDate>
</item>
<item>
<title>qa_send_notification() to send all user on particular event</title>
<link>https://www.question2answer.org/qa/20872/qa_send_notification-to-send-all-user-on-particular-event</link>
<description>

&lt;p&gt;
	Using &lt;span style=&quot;color:#b22222;&quot;&gt;&lt;strong&gt;q_post&lt;/strong&gt;&lt;/span&gt; event I want to send email notification to all user for new question post. Is this function &lt;span style=&quot;color:#b22222;&quot;&gt;&lt;strong&gt;qa_send_notification($userid, $email, $handle, $subject, $body, $subs)&lt;/strong&gt;&lt;/span&gt; is appropriate to use? and how can I send to all users using this function or any other appropriate function available?&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/20872/qa_send_notification-to-send-all-user-on-particular-event</guid>
<pubDate>Fri, 25 Jan 2013 12:29:00 +0000</pubDate>
</item>
<item>
<title>Event module not listening?</title>
<link>https://www.question2answer.org/qa/19535/event-module-not-listening</link>
<description>1. Have an event module registered through qa-plugin.php:&lt;br /&gt;
&lt;br /&gt;
qa_register_plugin_module('event', 'qa-prevent-simultaneous-edits.php', 'qa_prevent_simultaneous_edits', 'Simultaneous Edits Preventer Module');&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
2. Have an event module with:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;class qa_prevent_simultaneous_edits {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function process_event($event, $userid, $handle, $cookieid, $params) {&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;if($event == &amp;quot;q_edit&amp;quot;) {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$userid = qa_get_logged_in_userid();&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;qa_db_query_sub('INSERT INTO ^edit_preventer (postid, accessed, userid) VALUES ($, NOW(), $)', $params['postid'], $userid);&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;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
3. Clicking on edit button of a question is not inserting anything in my db-table, nor do I get an error message!&lt;br /&gt;
&lt;br /&gt;
?</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/19535/event-module-not-listening</guid>
<pubDate>Wed, 28 Nov 2012 11:05:28 +0000</pubDate>
</item>
</channel>
</rss>