Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [Jumbolaya] How can I disable 'reply' in a particular forum?: Edit Log

Here is the list of edits for this post
Re: [Jumbolaya] How can I disable 'reply' in a particular forum?

Easy when you think about it <G>

Ok, try this:

<%set reply_stuff = GForum::GUI::draw(
draw => post_display_options,
separator => " | ",
edit => "Edit",
delete => "Delete",
cant_post => "Can't Post",
quote => "Quote",
reply => " ",
a_attribs => ""


Then, add a new global called "clean_it"- with:

sub {
my $in = $_[0];
$in =~ s/| |//;
return $in;

I'm not 100% sure, but you MAY need something a bit more complex, like:

sub {
my $in = $_[0];
$in =~ s/\Q<b><font size="2"> | </font></b><b><font size="2"><b>| </font><b>/|<b><font size="2">| </font></b>/;
return $in;

Hope that helps.


Andy (mod)
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Jan 10, 2008, 2:55 PM

Edit Log: