| Author |
Message |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Thu Nov 27, 2008 9:45 am |
|
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&op=userinfo&username=([a-zA-Z0-9_-]*)"',
'"(?<!/)\?gfx=gfx&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 |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Fri Nov 28, 2008 12:58 am |
|
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. |
| |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Wed Dec 03, 2008 1:37 pm |
|
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)" |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Wed Dec 03, 2008 2:08 pm |
|
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. |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 383
|
Posted:
Wed Dec 03, 2008 2:42 pm |
|
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  |
| |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Thu Dec 04, 2008 1:07 am |
|
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. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Thu Dec 04, 2008 7:58 am |
|
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 |
|
|
 |
|
|