Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [carminejg3] gforum.cgi?url=

Quote Reply
Re: [carminejg3] gforum.cgi?url= In reply to
In Reply To:
Did you figure this out? it would be great to make this change to fight the forum spam, this way people would stop posting crap just to get their url posted


Here it is:

----------------------------------------------------------

user_view.html:

<%if user_homepage%>
<tr>
<td width="20%" align=right valign=top bgcolor="<%light_beige%>" style="border-right:1px solid <%dark_beige%>">
<%body_font%><b>Homepage:</b><%/body_font%>
</td>
<td valign=top bgcolor="<%odd_color%>">
<%body_font%><a href="gforum.cgi?url=<%GT::CGI::escape($user_homepage)%>" target="_blank" rel="nofollow"><%user_homepage%></a><%/body_font%>
</td>
</tr>
<%endif%>

----------------------------------------------------------

Tag: url()

<a href="<%cgi_root_url%>/gforum.cgi?url=%c1%" target="_blank" rel="nofollow">

----------------------------------------------------------

Convert.pm:

if ($GForum::SESSION_TYPE and $GForum::SESSION_TYPE eq 'param') {
$txt .= qq|$save_pre<a href="gforum.cgi?url=$eurl" target="_blank" rel="nofollow">$leading$display_url$trailing</a>$post|;
}
else {
$url =~ s/"/&quot;/g;
$txt .= qq|$save_pre<a href="$url" target="_blank" rel="nofollow">$leading$display_url$trailing</a>$post|;
}

----------------------------------------------------------
Subject Author Views Date
Thread gforum.cgi?url= katakombe 10845 Jan 6, 2007, 12:03 PM
Post Re: [katakombe] gforum.cgi?url=
katakombe 10601 Jan 10, 2007, 11:04 AM
Thread Re: [katakombe] gforum.cgi?url=
brewt 10585 Jan 10, 2007, 4:25 PM
Thread Re: [brewt] gforum.cgi?url=
katakombe 10606 Jan 14, 2007, 7:34 AM
Thread Re: [katakombe] gforum.cgi?url=
brewt 10589 Jan 15, 2007, 11:58 AM
Thread Re: [brewt] gforum.cgi?url=
katakombe 10552 Jan 27, 2007, 12:04 AM
Thread Re: [katakombe] gforum.cgi?url=
carminejg3 10533 Feb 2, 2007, 11:35 AM
Thread Re: [carminejg3] gforum.cgi?url=
katakombe 10542 Feb 2, 2007, 11:14 PM
Thread Re: [katakombe] gforum.cgi?url=
carminejg3 9913 Aug 7, 2008, 8:49 AM
Post Re: [carminejg3] gforum.cgi?url=
carminejg3 9837 Aug 27, 2008, 9:04 AM