[geeklog-devel] HACK request for CVS

Oliver Spiesshofer oliver at spiesshofer.com
Wed Sep 19 01:39:15 EDT 2007


Generally, yes, but....

could I see a CVS diff file which shows the complete edit as intended?
could I see a short descritption what this is for and how the user/admin 
is working with it?
maybe even some documentation for the wiki?

thanks!
Oliver

Joe Mucchiello wrote:
> Can this be done?
>
> Add a parameter to PLG_replaceTags:
>
> function PLG_replaceTags($content, $plugin = '', $extra = '')
>
> And later:
>
>                     $newtag = array (
>                         'module'    => $module,
>                         'tag'       => $moduletag,
>                         'tagstr'    => $tag,
>                         'startpos'  => $start_pos,
>                         'length'    => $taglength,
>                         'parm1'     => str_replace (']', '', $tagid),
>                         'parm2'     => $label,
>                         'extra' => $extra
>
> Finally, go to the 10 or so core calls to PLG_replaceTags and add the 
> extra parameter as appropriate:
>
>      PLG_replaceTags($story_text, '', Array('source' => 'story', 'id' 
> => $sid));
>      PLG_replaceTags($comment, '', Array('source' => 'comment', 'id' 
> => $cid));
>      PLG_replaceTags($content, '', Array('source' => 'staticpage', 
> 'id' => $sp_id));
>      PLG_replaceTags($blockcontent, '', Array('source' => 'block', 
> 'id' => $bid));
>      PLG_replaceTags($description, '', Array('source' => 'calendar', 
> 'id' => $eid));
>
> Any chance that can happen?
>
> ----
> Joe Mucchiello
> Throwing Dice Games
> http://www.throwingdice.com
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
>




More information about the geeklog-devel mailing list