<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[PunBB Forums - Hook requests]]></title>
		<link>http://punbb.informer.com/forums/topic/18150/hook-requests/</link>
		<description><![CDATA[The most recent posts in Hook requests.]]></description>
		<lastBuildDate>Wed, 28 Oct 2009 19:47:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/132038/#p132038</link>
			<description><![CDATA[<p>And what about add this in the current svn version ? We can checkout.</p><p>About the hook, it is line 2642 but the code must be changed a little : the HTML strings need to be in a variable in order to change it with the hook.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (TMS)]]></author>
			<pubDate>Wed, 28 Oct 2009 19:47:46 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/132038/#p132038</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/132014/#p132014</link>
			<description><![CDATA[<p>I think it&#039;s a little bit late for adding new hooks because the final release of PunBB 1.3 was about a year ago <img src="http://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Hooks could be added in the next version of PunBB, 1.3.5. But noone knows the date of this release.</p><p>Please, write the lines numbers where you want to add hooks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Parpalak)]]></author>
			<pubDate>Tue, 27 Oct 2009 11:35:14 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/132014/#p132014</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/132001/#p132001</link>
			<description><![CDATA[<p>Hello,</p><p>I need hooks in profile.php, in the moderator assignment section.</p><p>I develop an extension in order to moderate forum by group and I want to disable checkbox if the current forum is moderate by the user group. A hook for changing category title can be useful too.</p><p>Actually, it is more complicated, because the checklist and the category legend are directly print to the screen (with an echo)...</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (TMS)]]></author>
			<pubDate>Mon, 26 Oct 2009 16:52:15 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/132001/#p132001</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/130069/#p130069</link>
			<description><![CDATA[<div class="quotebox"><cite>Leroy wrote:</cite><blockquote><p>Is there any full list for hooks?</p></blockquote></div><p>No, there is not full list of the hooks. <br /></p><div class="quotebox"><cite>Leroy wrote:</cite><blockquote><p>I&#039;m searching a hook for modifying &#039;&lt;div class=&quot;main-head&quot;&gt;&#039;.</p></blockquote></div><p>Describe in more details, what you want to have, please.</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Mon, 31 Aug 2009 08:15:54 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/130069/#p130069</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/130041/#p130041</link>
			<description><![CDATA[<p>Is there any full list for hooks?</p><p>I&#039;m searching a hook for modifying &#039;&lt;div class=&quot;main-head&quot;&gt;&#039;.</p><p>Want to write a extension which allows to open and close the divs for categories using Prototype and Scriptaculous.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Leroy)]]></author>
			<pubDate>Sun, 30 Aug 2009 11:41:35 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/130041/#p130041</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/128025/#p128025</link>
			<description><![CDATA[<p>Have some hooks for the spots before and after the topic &#039;RSS topic feed&#039; and &#039;Subsribe&#039; links been requested? I can&#039;t seem to find any around there (or then its well hidden for a punBB newbie like me). :S</p>]]></description>
			<author><![CDATA[dummy@example.com (Rask)]]></author>
			<pubDate>Thu, 28 May 2009 15:54:27 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/128025/#p128025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127466/#p127466</link>
			<description><![CDATA[<p>Thanks a lot !</p>]]></description>
			<author><![CDATA[dummy@example.com (raistlin)]]></author>
			<pubDate>Thu, 07 May 2009 06:35:56 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127466/#p127466</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127443/#p127443</link>
			<description><![CDATA[<p>I have added the <a href="http://punbb.informer.com/trac/changeset/1153">new hook</a> to the core. It is called &quot;po_modify_quote_info&quot; by rules of naming hooks.</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Wed, 06 May 2009 08:04:34 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127443/#p127443</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127439/#p127439</link>
			<description><![CDATA[<p>Hello all!</p><p>It would be very usefull to extension developers to have a hook just when retrieved value of $p_message of a quoting message (arround line 268 - 269 in &#039;post.php&#039; vesion 1.3.3).</p><p>It allows pre-processing of some bbCode, for example. The name can something like &#039;ps_qr_afer_get_message&#039; or &#039;ps_qr_post_get_message&#039;.</p><br /><p>PS: Edit, I mistaken released and retrived, sorry.</p>]]></description>
			<author><![CDATA[dummy@example.com (raistlin)]]></author>
			<pubDate>Wed, 06 May 2009 07:13:40 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127439/#p127439</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127076/#p127076</link>
			<description><![CDATA[<p>Need hook to punbb 1.3.3 : <br />1. adapt and put old script to auto update in extentions .<br />Some : <br />a) Easy bb code<br />b) Reputation system(wery neeeded!!!)<br />c) Hide link whith post count.<br />Senks <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (zenn)]]></author>
			<pubDate>Tue, 21 Apr 2009 09:07:42 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127076/#p127076</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127042/#p127042</link>
			<description><![CDATA[<div class="quotebox"><cite>Slavok wrote:</cite><blockquote><p>Where exactly do you want us to add the hook? As I understand from your <a href="http://punbb.informer.com/forums/post/126983/">topic</a>, you need the hook in post.php. But there are two hooks before (&quot;po_pre_post_contents&quot;) and after (&quot;po_pre_optional_fieldset&quot;) the output of the textarea field already.</p></blockquote></div><p>Huh, </p><p>I didnt see them but i&#039;ve seen them now. So to add a new custom field above the &#039;optional post settings&#039; fieldset, i&#039;ll have to use the po_pre_optional_fieldset hook?</p><p>Thanks <img src="http://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Nique)]]></author>
			<pubDate>Mon, 20 Apr 2009 19:09:30 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127042/#p127042</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/127004/#p127004</link>
			<description><![CDATA[<p>Where exactly do you want us to add the hook? As I understand from your <a href="http://punbb.informer.com/forums/post/126983/">topic</a>, you need the hook in post.php. But there are two hooks before (&quot;po_pre_post_contents&quot;) and after (&quot;po_pre_optional_fieldset&quot;) the output of the textarea field already.</p>]]></description>
			<author><![CDATA[dummy@example.com (Slavok)]]></author>
			<pubDate>Mon, 20 Apr 2009 08:07:19 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/127004/#p127004</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/126987/#p126987</link>
			<description><![CDATA[<p>A hook for replacing (changing) the textarea field. This can be very handy for wysiwyg text editor extensions. (for example where i &#039;m working on)</p>]]></description>
			<author><![CDATA[dummy@example.com (Nique)]]></author>
			<pubDate>Sun, 19 Apr 2009 16:14:55 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/126987/#p126987</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/123778/#p123778</link>
			<description><![CDATA[<p>I&#039;m requesting a hook for the attachment extension (and other extensions that would display info within posts), it should be located in viewtopic.php around line 499/500. Right now, using the attachment extension, attachments are displayed below the signature area which can be hard to locate (especially if you didn&#039;t know if it was there int he first place).</p><p>I posted about it here: <a href="http://punbb.informer.com/forums/post/123775/#p123775">http://punbb.informer.com/forums/post/123775/#p123775</a></p><p>I made my own hook identifier in that post to demonstrate what I&#039;d like to see and provided an example. I don&#039;t know how you guys have the naming scheme setup for hooks though.</p>]]></description>
			<author><![CDATA[dummy@example.com (Programming-Designs)]]></author>
			<pubDate>Thu, 29 Jan 2009 22:18:15 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/123778/#p123778</guid>
		</item>
		<item>
			<title><![CDATA[Re: Hook requests]]></title>
			<link>http://punbb.informer.com/forums/post/121817/#p121817</link>
			<description><![CDATA[<p><strong>EDIT :&nbsp; &nbsp;THIS ISSUE IS NOW SOLVED</strong><br />see: <a href="http://punbb.informer.com/forums/topic/20715/smilies-size-across-helpphp-parserphp-and-punbbcodebarphp/">http://punbb.informer.com/forums/topic/ &#133; odebarphp/</a><br />------------------------------------------------------------------------------</p><p>in <strong>help.php </strong></p><div class="codebox"><pre><code>&lt;?php

    // Display the smiley set
    if (!defined(&#039;FORUM_PARSER_LOADED&#039;))
        require FORUM_ROOT.&#039;include/parser.php&#039;;

    $smiley_groups = array();

    foreach ($smilies as $smiley_text =&gt; $smiley_img)
        $smiley_groups[$smiley_img][] = $smiley_text;

    foreach ($smiley_groups as $smiley_img =&gt; $smiley_texts)
        echo &quot;\t\t\t\t&quot;.&#039;&lt;p&gt;&#039;.implode(&#039; &#039;.$lang_common[&#039;and&#039;].&#039; &#039;, $smiley_texts).&#039; &lt;span&gt;&#039;.$lang_help[&#039;produces&#039;].&#039;&lt;/span&gt; &lt;img src=&quot;&#039;.$base_url.&#039;/img/smilies/&#039;.$smiley_img.&#039;&quot; width=&quot;15&quot; height=&quot;15&quot; alt=&quot;&#039;.$smiley_texts[0].&#039;&quot; /&gt;&lt;/p&gt;&#039;.&quot;\n&quot;;

?&gt;</code></pre></div><p>&nbsp; I wld like a hook as in parser.php for changing image size to match whatever set of smilies size I&#039;m including. (20x20 instead of 15x15)<br />in <strong>parser.php</strong> this hook is now available : </p><div class="codebox"><pre><code>    $return = ($hook = get_hook(&#039;ps_do_smilies_end&#039;)) ? eval($hook) : null;</code></pre></div><p>also in pun_bbcode <strong>bar.php</strong> I&#039;d like a hook for the same thing (changing size of smilies)<br /></p><div class="codebox"><pre><code>            &lt;div id=&quot;pun_bbcode_smilies&quot;&gt;
&lt;?php

// Display the smiley set</code></pre></div><br /><p><strong>EDIT :&nbsp; &nbsp;THIS ISSUE IS NOW SOLVED</strong><br />see: <a href="http://punbb.informer.com/forums/topic/20715/smilies-size-across-helpphp-parserphp-and-punbbcodebarphp/">http://punbb.informer.com/forums/topic/ &#133; odebarphp/</a></p><p>thx</p>]]></description>
			<author><![CDATA[dummy@example.com (KeyDog)]]></author>
			<pubDate>Tue, 30 Dec 2008 20:44:52 +0000</pubDate>
			<guid>http://punbb.informer.com/forums/post/121817/#p121817</guid>
		</item>
	</channel>
</rss>
