[pmwiki-users] CommentBoxPlus

Vince Administration vadmin at math.uconn.edu
Sat Mar 17 09:58:40 CDT 2007


Hans, et al,
The commentboxplus recipe is very close to ideal for one of our  
applications.  But I would like to do a  (slight?)
modification, and perhaps you or someone could point in the right  
direction.
I would like the comment to start with the text of the comment, then  
have the signature/time line right justified.
But I can't even seem to have the signature line below the comment  
(If it matters, I am using commentboxchrono,
and the version for PmWiki 2.1.x

Thanks for your help.
         Vince

On Feb 27, 2007, at 2:48 PM, Hans wrote:

> Tuesday, February 27, 2007, 7:36:35 PM, Patrick wrote:
>
>> Sure, just change the CreateDisallowed function to redirect
>> to an error page instead of blocking the post.
>
> Ahh, yes. So to wrap this up for Sivakatirswami:
>
> array_unshift($EditFunctions, 'CreateDisallowed');
>
> function CreateDisallowed($pagename, $page, $new) {
>    global $EnableCreatePages, $EnablePost, $MessagesFmt;
>    if (IsEnabled($EnableCreatePages, 1)) return;
>    if (PageExists($pagename)) return;
>    Redirect('Main.PageCreationError'); #or some other page,
> # or use next two code lines instead the Redirect
> #   $EnablePost = 0;
> #   $MessagesFmt[] = 'Creation of new page blocked';
>   }
>
> if (preg_match('/^TODO/', $pagename))
>    $EnableCreatePages = 0;
>
>
> Hans
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list