Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1294

PostPosted: Thu Nov 27, 2008 9:45 am Reply with quote

I am finally getting around to this. Do you have the following tap script in place?

ShortLinks/GTB-block-Login2.php

If you don't have one, I think simply creating one with these for
$urlin/$urlout should do the trick:

Code:
$urlin = array(
'"(?<!/)modules.php
\?name=Your_Account&amp;op=userinfo&amp;username=([a-zA-Z0-9_-]*)"',
'"(?<!/)\?gfx=gfx&amp;random_num=([0-9]*)"',
'"(?<!/)modules.php\?name=Your_Account"',
'"(?<!/)modules.php\?name=Private_Messages"'
);

$urlout = array(
'userinfo-\\1.html',
'account-gfx-\\1.html',
'account.html',
'messages.html'
);

You're other fix to keep the module SPChat from invoking ShortLinks I think is not a good idea unless that module is not accessible to anonymous. I.e., if search engines cannot "see" the module, you're ok. If they can, then we need to find the offending URLs and get them fixed up.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 127

PostPosted: Fri Nov 28, 2008 12:58 am Reply with quote

Thanks. I have added your suggested block and I am eagerly awaiting the result. It may take a week or so at least. Search engines can see SPChat, despite the fact it is disallowed in robots.txt.
 
View user's profile Send private message
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 127

PostPosted: Wed Dec 03, 2008 1:37 pm Reply with quote

I have changed to Live Chat instead of SPChat, because I got some Fatal errors with SPChat. However, some still thinks SPChat better.

Sometimes, when pressing send in SPChat the graphics from the first index page of the site is seen. I guess this may happen when an page is not tapped. Maybe send.php has also to be tapped? I have not done that, because it was not visible in the URL-box of the browser.

This is from the access log for send.php:

"GET /modules.php?op=modload&name=SPChat&file=send HTTP/1.0" 200 973 "http://mysite.com/modules.php?op=modload&name=SPChat&file=chat&rid=12125&first=1" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)"
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1294

PostPosted: Wed Dec 03, 2008 2:08 pm Reply with quote

If that is the URL, this has nothing to do with ShortLinks I don't think. ShortLinks will not tap that URL and I just don't see how a non-tapped URL can cause an issue. It is a partially tapped URL that causes the main set of issues.
 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 383

PostPosted: Wed Dec 03, 2008 2:42 pm Reply with quote

Only time I have seen something like that is when it was a js call which had & amp in the url instead of just '&' - js doesn't like & amp sometimes.

I will give you 10 out 10 for dedication though, you have been fighting this for what, a year?
Let us know how you get on with Live Chat as I haven't tried it with none English character sets but it works very well.
Don't know if you would want to tap it but at least it is only one file to tap Smile
 
View user's profile Send private message
Slackervaara
Newbie
Newbie



Joined: Nov 03, 2007
Posts: 127

PostPosted: Thu Dec 04, 2008 1:07 am Reply with quote

I think I now knows that probably not Shortlinks are causing problems with SPChat, but instead it seems to be the spam protector bbantispam.

In config.php I have at the top:

<?php
include_once 'bbantispam/bbantispam.php';?>

When bbantispam is envoked by send.php in SPChat it is not launched as a separate window, but instead it is part of the send field of the chat window. You can't answer the question and the chat is stopped. This problem is mainly for guests, but not so common för active members. I got a fix for this issue from the author of bbantispam.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1294

PostPosted: Thu Dec 04, 2008 7:58 am Reply with quote

Hey, that is great news Slackervaara!

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch