|
Cookbook /
FoxShoutboxAlternativeSummary: An alternative Shoutbox
Version: v0.2
Prerequisites: Pmwiki 2.x, Fox
Status: Tested
Maintainer: Forceflow
Questions answered by this recipe
DescriptionFox forms shoutbox NotesThe solution on Shoutbox is nice, but I added some improvements due to problems I encountered whilst implementing it on a personal wiki:
InstallationCopy the following code on a page which you will provide to your users for entering shoutbox content. (The Sidebar, for example). You can change ShoutBox to a name of a page you'd like to post shouts to. Be sure that the Fox security settings were configured properly.
>>font-size:10px<<
(:include ShoutBox lines=8:)
>><<
(:if ! equal {$Author} "":)
(:fox shoutbox put=top target=ShoutBox foxsuccess='Posted succesfully !':)
(:foxcheck shout regex='\w' msg='No sensible input':)
(:input hidden author value='{$Author}' :)
(:input hidden csum value='posted shoutbox message':)
%center%(:input text class=shoutbox shout size=20:)
%center%(:input submit post Submit:)
%right%[[ShoutBox | more]]
(:foxtemplate "'''[[Profiles/{$$author}]]''': {$$shout} - [-''{(ftime fmt="%d/%m %H:%M")}''-] [[<<]]":)
(:foxend shoutbox:)
(:if:)
'-%red%(:foxmessage shoutbox list=check:)%%-'
'-%green%(:foxmessage shoutbox list=nocheck:)%%-'
Screenshot (using Monobook theme)![]() Release Notes
See AlsoContributorsCommentsCould you please provide an example of how it looks? (by the way, thanks for not locking this page's interaction as the author of regular shoutbox has). -Chris May 19, 2013, at 05:41 AM
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |