Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

gforum.cgi?url=

Quote Reply
gforum.cgi?url=
Where and how to change URL's in forum posts from http://www.example.com to http://www.site.com/cgi-bin/forum/gforum.cgi?url=http://www.example.com ?

There is an [url()] ... [/url] tag in the "Tag List" but it's not active? Or..?
Quote Reply
Re: [katakombe] gforum.cgi?url= In reply to
Anyone?
Quote Reply
Re: [katakombe] gforum.cgi?url= In reply to
It looks like url functionality is completely handled by the code and not by the markup tag itself. The url= format is only used for sessions which aren't logged in using cookies so that their session isn't divulged to the destination url.

Adrian
Quote Reply
Re: [brewt] gforum.cgi?url= In reply to
Thanks Adrian!

I want that all URLs in forum posts parse through gforum.cgi?url= no matter if the user is logged in or not. What I need to do?

Last edited by:

katakombe: Jan 14, 2007, 7:38 AM
Quote Reply
Re: [katakombe] gforum.cgi?url= In reply to
Since, it's done in the code, you can't change that behaviour unless you change the code. That bit of code is in admin/GForum/Convert.pm.

Adrian
Quote Reply
Re: [brewt] gforum.cgi?url= In reply to
Thanks Adrian. Smile
Quote Reply
Re: [katakombe] gforum.cgi?url= 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
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|;
}

----------------------------------------------------------
Quote Reply
Re: [katakombe] gforum.cgi?url= In reply to
i think i found a loophole in this well on our site at least.

If I post a link using the WYSIWYG menu and use the "create a link" feature I noticed on my site you could get a link with no ref=nofollow link test here <-- See...

here is using the http://www.yahoo.com

Last edited by:

carminejg3: Aug 7, 2008, 8:51 AM
Quote Reply
Re: [carminejg3] gforum.cgi?url= In reply to
Also noticed that most signatures can include a link out. is there a way to block this? We get a lot of posters just trying to get links and would like to avoid adding the meta tag nofollow.