News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SimpleSEF 2.0 (SMF 1.1.x and SMF 2.0)

Started by SlammedDime, December 05, 2009, 10:08:40 PM

Previous topic - Next topic

spiros

Quote from: SlammedDime on July 02, 2011, 02:07:11 PM
If I had to guess, I'd say that Joomla's rewrites are interfering with SimpleSEF.  YOu can try to comment out the rewrite stuff in your public_html .htaccess file and see what happens then.  If that's the case, I'm not sure of the solution, I haven't run into that situation before.

I deleted the  public_html .htaccess file. Joomla site was non functional, SMF came up with exactly the same wrong redirects! Hence I'm inclined to think that this is not an issue of the public_html .htaccess file.

spiros

#1221
Found the solution. I deleted the Bot Blocker Mod and it worked ok.

However, is there a way to manipulate its output? I.e. it includes sometimes special characters on the URL like «».  I.e.
http://www.nonsmokersclub.com/forum/topicseen./genike-suzetese/%3C%3Ckapnosemo%3E%3E-sta-mpouzoukia-kai-ta-kazino-7121.msg7562.html#msg7562

Should I enter the exceptions as %C2%AB (percent encoding) in $newSettings['simplesef_strip_chars']?

#Simple .htaccess Bot Blocker Mod
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ADSARobot|ah-ha|almaden|aktuelles|Anarchie|amzn_assoc|ASPSeek|ASSORT|ATHENS|Atomz|attach|attache|autoemailspider|BackWeb|Bandit|BatchFTP|bdfetch|big.brother|BlackWidow|bmclient|Boston\ Project|BravoBrian\ SpiderEngine\ MarcoPolo|Bot\ mailto:[email protected]|Buddy|Bullseye|bumblebee|capture|CherryPicker|ChinaClaw|CICC|clipping|Collector|Copier|Crescent|Crescent\ Internet\ ToolPak|Custo|cyberalert|DA$|Deweb|diagem|Digger|Digimarc|DIIbot|DISCo|DISCo\ Pump|DISCoFinder|Download\ Demon|Download\ Wonder|Downloader|Drip|DSurf15a|DTS.Agent|EasyDL|eCatch|ecollector|efp@gmx\.net|Email\ Extractor|EirGrabber|email|EmailCollector|EmailSiphon|EmailWolf|Express\ WebPictures|ExtractorPro|EyeNetIE|FavOrg|fastlwspider|Favorites\ Sweeper|Fetch|FEZhead|FileHound|FlashGet\ WebWasher|FlickBot|fluffy|FrontPage|GalaxyBot|Generic|Getleft|GetRight|GetSmart|GetWeb!|GetWebPage|gigabaz|Girafabot|Go\!Zilla|Go!Zilla|Go-Ahead-Got-It|GornKer|gotit|Grabber|GrabNet|Grafula|Green\ Research|grub-client|Harvest|hhjhj@yahoo|hloader|HMView|HomePageSearch|http\ generic|HTTrack|httpdown|httrack|ia_archiver|IBM_Planetwide|Image\ Stripper|Image\ Sucker|imagefetch|IncyWincy|Indy*Library|Indy\ Library|informant|Ingelin|InterGET|Internet\ Ninja|InternetLinkagent|Internet\ Ninja|InternetSeer\.com|Iria|Irvine|JBH*agent|JetCar|JOC|JOC\ Web\ Spider|JustView|KWebGet|Lachesis|larbin|LeechFTP|LexiBot|lftp|libwww|likse|Link|Link*Sleuth|LINKS\ ARoMATIZED|LinkWalker|LWP|lwp-trivial|Mag-Net|Magnet|Mac\ Finder|Mag-Net|Mass\ Downloader|MCspider|Memo|Microsoft.URL|MIDown\ tool|Mirror|Missigua\ Locator|Mister\ PiX|MMMtoCrawl\/UrlDispatcherLLL|^Mozilla$|Mozilla.*Indy|Mozilla.*NEWT|Mozilla*MSIECrawler|MS\ FrontPage*|MSFrontPage|MSIECrawler|MSProxy|multithreaddb|nationaldirectory|Navroad|NearSite|NetAnts|NetCarta|NetMechanic|netprospector|NetResearchServer|NetSpider|Net\ Vampire|NetZIP|NetZip\ Downloader|NetZippy|NEWT|NICErsPRO|Ninja|NPBot|Octopus|Offline\ Explorer|Offline\ Navigator|OpaL|Openfind|OpenTextSiteCrawler|OrangeBot|PageGrabber|Papa\ Foto|PackRat|pavuk|pcBrowser|PersonaPilot|Ping|PingALink|Pockey|Proxy|psbot|PSurf|puf|Pump|PushSite|QRVA|RealDownload|Reaper|Recorder|ReGet|replacer|RepoMonkey|Robozilla|Rover|RPT-HTTPClient|Rsync|Scooter|SearchExpress|searchhippo|searchterms\.it|Second\ Street\ Research|Seeker|Shai|Siphon|sitecheck|sitecheck.internetseer.com|SiteSnagger|SlySearch|SmartDownload|snagger|Snake|SpaceBison|Spegla|SpiderBot|sproose|SqWorm|Stripper|Sucker|SuperBot|SuperHTTP|Surfbot|SurfWalker|Szukacz|tAkeOut|tarspider|Teleport\ Pro|Templeton|TrueRobot|TV33_Mercator|UIowaCrawler|UtilMind|URLSpiderPro|URL_Spider_Pro|Vacuum|vagabondo|vayala|visibilitygap|VoidEYE|vspider|Web\ Downloader|w3mir|Web\ Data\ Extractor|Web\ Image\ Collector|Web\ Sucker|Wweb|WebAuto|WebBandit|web\.by\.mail|Webclipping|webcollage|webcollector|WebCopier|webcraft@bea|webdevil|webdownloader|Webdup|WebEMailExtrac|WebFetch|WebGo\ IS|WebHook|Webinator|WebLeacher|WEBMASTERS|WebMiner|WebMirror|webmole|WebReaper|WebSauger|Website|Website\ eXtractor|Website\ Quester|WebSnake|Webster|WebStripper|websucker|webvac|webwalk|webweasel|WebWhacker|WebZIP|Wget|Whacker|whizbang|WhosTalking|Widow|WISEbot|WWWOFFLE|x-Tractor|^Xaldon\ WebSpider|WUMPUS|Xenu|XGET|Zeus.*Webster|Zeus [NC]
RewriteRule ^.* - [F,L]
</IfModule>
#Simple .htaccess Bot Blocker Mod

#Simple .htaccess Proxy Blocker Mod
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:VIA}                 !^$ [OR]
RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
RewriteRule ^(.*)$ - [F]
</IfModule>
#Simple .htaccess Proxy Blocker Mod

SlammedDime

I'll have to see what those characters are that it's encoding and see about either properly encoding them or stripping them out.

I don't see how the bot blocker mod is interfering with this mod though, as it is a conditional rewrite based on the user agent.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

spiros

Well, I don't see either; the only thing I can tell is that it worked when removed.

rajanpert

#1224
my old url with the old version of SimpleSEF was http://www.example.com/forum/wap2/general_discussion/ which now changed to http://www.example.com/forum/wap2./general_discussion/ means wap2 is changed to wap2. due to this i am getting 404 error when i am trying to access with old url.

Any solution....

EDIT: is there any solution to redirect all wap2 url to wap2. url.... some solution...

[Lucien]

Hello there, this is a great mod and it works fine, but E-Arcade does not work right.
It goes to forum/arcade but it's not there. Is there a fix for it? I searched this topic but found no solution :(

Thanks :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

[Lucien]

#1226
Ok when i rename the "arcade" folder where game files (gamedata) are stored it works, but then the arcade won't work correct..With scores..

Is there a way to change the name from /forum/arcade to /forum/arcade2 or something like that?
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Adrek

Don't know if you trying to find out why i had this problem, but i changed server and now i have Apache, MySQL 5.5.10 and PHP 5.3.5 and all seems to be just fine ;)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

[Lucien]

Quote from: ph4ntom on July 10, 2011, 08:30:47 AM
Don't know if you trying to find out why i had this problem, but i changed server and now i have Apache, MySQL 5.5.10 and PHP 5.3.5 and all seems to be just fine ;)

My server supports them all :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

feline

Quote from: [Lucien] on July 10, 2011, 07:04:07 AM
Ok when i rename the "arcade" folder where game files (gamedata) are stored it works, but then the arcade won't work correct..With scores..
That is the problem .. have a folder the same structure as the url, SEF don't work.
So the rename of the folder helps.
I dont know arcade, but look at the settings if there a point for the path they you can change ...

[Lucien]

Quote from: feline on July 10, 2011, 01:37:29 PM
Quote from: [Lucien] on July 10, 2011, 07:04:07 AM
Ok when i rename the "arcade" folder where game files (gamedata) are stored it works, but then the arcade won't work correct..With scores..
That is the problem .. have a folder the same structure as the url, SEF don't work.
So the rename of the folder helps.
I dont know arcade, but look at the settings if there a point for the path they you can change ...

I will try to ask help on the smf arcade site if this is possible :)

thnx!
I'm using SMF 2.0.2 and SimplePortal 2.3.4

[Lucien]

Quote from: [Lucien] on July 10, 2011, 04:39:51 PM

I will try to ask help on the smf arcade site if this is possible :)

thnx!

I found out that most games really need that exact folder location /arcade/gamedata :(

Is there no other way to make Seo use another location rather then -http://mysite.com/arcade?
I'm using SMF 2.0.2 and SimplePortal 2.3.4

feline

The problem is, that the action name is equal a path name. (index.php?action=arcade).
Because I don't know this mod, the best way is you call the author if you can change the action name ...

[Lucien]

I think that would be a great amount of work because i think i would have to change every single line of code that refers to "index.php?action=arcade"

And that are a lot of lines :(

It was almost to good to be true. This mod is really great, i think it's much better then pretty urls because it destroyed my forum a few times..
Just wish there was a way :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

feline

Which mod you use? Link to the mod ?

[Lucien]

#1235
I use E-Arcade , you must be a member there to download files so i attached the file here if you need it :)
The file is for RC5 but it workt great with emulation mode on SMF 2 Final.

Thank you for your help, i appreciate it :)

I'm using SMF 2.0.2 and SimplePortal 2.3.4

feline

There only place where the path is hardcoded is in file ManageArcade.php
I change the path arcade to arcadeGames, this must also do on your server.
The file that I changed is attached. Copy this to the /Sources folder and overwrite existing.
Make a backup of this file before overwrite !!!

Try it ...

[Lucien]

Thank you but it is not working, i copied the file to Sources and changed "arcade" to "arcadeGames" on the server but lots of games don't work and when i try to send score to the database i get this error:

Score not saved - ibp score check failed!

:(
I'm using SMF 2.0.2 and SimplePortal 2.3.4

feline

Well .. in this case I can't give help, so you have to call the author of the mod ...

[Lucien]

I will let you know if i succeed :) Thank you again Feline
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Advertisement: