<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - Hook requests]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/18150/"/>
	<updated>2009-10-28T19:47:46Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/18150/hook-requests/</id>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132038/#p132038"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[TMS]]></name>
				<uri>http://punbb.informer.com/forums/user/12457/</uri>
			</author>
			<updated>2009-10-28T19:47:46Z</updated>
			<id>http://punbb.informer.com/forums/post/132038/#p132038</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132014/#p132014"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Parpalak]]></name>
				<uri>http://punbb.informer.com/forums/user/13581/</uri>
			</author>
			<updated>2009-10-27T11:35:14Z</updated>
			<id>http://punbb.informer.com/forums/post/132014/#p132014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/132001/#p132001"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[TMS]]></name>
				<uri>http://punbb.informer.com/forums/user/12457/</uri>
			</author>
			<updated>2009-10-26T16:52:15Z</updated>
			<id>http://punbb.informer.com/forums/post/132001/#p132001</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/130069/#p130069"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-08-31T08:15:54Z</updated>
			<id>http://punbb.informer.com/forums/post/130069/#p130069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/130041/#p130041"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Leroy]]></name>
				<uri>http://punbb.informer.com/forums/user/15748/</uri>
			</author>
			<updated>2009-08-30T11:41:35Z</updated>
			<id>http://punbb.informer.com/forums/post/130041/#p130041</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/128025/#p128025"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Rask]]></name>
				<uri>http://punbb.informer.com/forums/user/15426/</uri>
			</author>
			<updated>2009-05-28T15:54:27Z</updated>
			<id>http://punbb.informer.com/forums/post/128025/#p128025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127466/#p127466"/>
			<content type="html"><![CDATA[<p>Thanks a lot !</p>]]></content>
			<author>
				<name><![CDATA[raistlin]]></name>
				<uri>http://punbb.informer.com/forums/user/15359/</uri>
			</author>
			<updated>2009-05-07T06:35:56Z</updated>
			<id>http://punbb.informer.com/forums/post/127466/#p127466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127443/#p127443"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-05-06T08:04:34Z</updated>
			<id>http://punbb.informer.com/forums/post/127443/#p127443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127439/#p127439"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[raistlin]]></name>
				<uri>http://punbb.informer.com/forums/user/15359/</uri>
			</author>
			<updated>2009-05-06T07:13:40Z</updated>
			<id>http://punbb.informer.com/forums/post/127439/#p127439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127076/#p127076"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[zenn]]></name>
				<uri>http://punbb.informer.com/forums/user/15313/</uri>
			</author>
			<updated>2009-04-21T09:07:42Z</updated>
			<id>http://punbb.informer.com/forums/post/127076/#p127076</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127042/#p127042"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nique]]></name>
				<uri>http://punbb.informer.com/forums/user/15295/</uri>
			</author>
			<updated>2009-04-20T19:09:30Z</updated>
			<id>http://punbb.informer.com/forums/post/127042/#p127042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/127004/#p127004"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Slavok]]></name>
				<uri>http://punbb.informer.com/forums/user/13265/</uri>
			</author>
			<updated>2009-04-20T08:07:19Z</updated>
			<id>http://punbb.informer.com/forums/post/127004/#p127004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/126987/#p126987"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Nique]]></name>
				<uri>http://punbb.informer.com/forums/user/15295/</uri>
			</author>
			<updated>2009-04-19T16:14:55Z</updated>
			<id>http://punbb.informer.com/forums/post/126987/#p126987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/123778/#p123778"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Programming-Designs]]></name>
				<uri>http://punbb.informer.com/forums/user/5562/</uri>
			</author>
			<updated>2009-01-29T22:18:15Z</updated>
			<id>http://punbb.informer.com/forums/post/123778/#p123778</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Hook requests]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/121817/#p121817"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[KeyDog]]></name>
				<uri>http://punbb.informer.com/forums/user/14482/</uri>
			</author>
			<updated>2008-12-30T20:44:52Z</updated>
			<id>http://punbb.informer.com/forums/post/121817/#p121817</id>
		</entry>
</feed>
