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

b4pjoe

You are talking here right? It didn't fix the issue if that is what you meant to change.

pokerullz

#561
Hi. Thanx for the mod. It works perfectly. I just have a question :

I just installed Referral Mod for RC3 and now when I check my profile and give the link to someone, the link looks like this :

.com/register/referredby,1/

and it has to look like this : .com/index.php?action=register;referredby=1  in order to add the users automatically in the referred user field in the registration area.

Is there a way in which the register action link is not modified ? I tried to remove it from actions but I saw that it adds it automaticaly back in the actions list of simplesef.

Thanks for this great mod!

Arantor

It shouldn't actually matter.

The referral link should still work, because the parameters should still be being passed to SMF/PHP correctly.
Holder of controversial views, all of which my own.


pokerullz

#563
Well I tried the second options and it works.

The first option does not add automatically the referred user. If I start to write the name the list appears and I can choose who referred me. No problem with that. I think because the link is modified something is not working properly  ::) . A solution pleasse?

Thanks ;)

Update : I found the problem .

Instead of this : .com/register/referredby,1/  I tried .com/register/referredby=1/  and it works! so instead of "," it has to be "=" .

I removed character "=" from the Characters to strip section but the link looks the same, with the "," ...Any solution to this?

atfosan

my SMF project - school site: forum with PortaMx and SimpleSEF mods

Arantor

pokerrulez: Ask the author of the referrals mod to do their job properly and use normal link handling techniques, instead of doing this.
Holder of controversial views, all of which my own.


pokerullz

But there isn't any way in which I can exclude an action from being modified? It will be a useful option.

Arantor

If the mod's author hadn't bodged it in the first place, you wouldn't HAVE to have an exclusion.
Holder of controversial views, all of which my own.


pokerullz


Xarcell

#569
I know this doesn't help much, since TinyPortal Beta5 hasn't been released to the public yet.

But...

SimpleSEF breaks TP, because it's automatically detects and alters the URL's. One cannot write articles, change themes through the theme box, etc.

Example URL's:
http://yoursite.comindex.php?action=tpadmin;sa=addarticle_html  - works
Becomes: http://yoursite.com/tpadmin/sa,addarticle_html/ - doesn't work

Is there any information that I can pass along to Bloc, to help fix this with TP?

SlammedDime

There's no reason why your specific example shouldn't work... but I can't give you any information to pass along without actually testing it myself to see what is wrong
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Xarcell

Quote from: SlammedDime on March 31, 2010, 03:03:48 PM
There's no reason why your specific example shouldn't work... but I can't give you any information to pass along without actually testing it myself to see what is wrong

I'll talk to Bloc, see if we can get you a package to test.

KensonPlays

Hello again, I tried installing again, and installed except for language strings, added them,  and still no text shows!

Owner of Mesozoic Haven

SlammedDime

if you modify the language strings by hand, you have to clear the cache for the changes  to take effect
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Xarcell

TP Beta 5 has been released SlammedDime if you want to take a look and test it. http://www.tinyportal.net/index.php?action=tpmod;dl=item1327

Am'

Quote from: feline on March 21, 2010, 11:07:33 AM
Quote from: Arantor on March 20, 2010, 06:11:27 PM
Dime: Found you a new bug in SSEF 1.0.3 and SMF 2.0 RC3. If you have a board with lots of pages in it and the pageindex gets the ... in it, when you click to expand, the generated URLs are all incorrect (and invalid, I think)
This you can simple fix .. search for:
// Gotta fix up some javascript laying around in the templates
$extra_replacements = array(
'/rand,' => '/rand=',
$boardurl . '/topic/' => $scripturl . '?topic=',
'var smf_scripturl = "' . $boardurl . '/' => 'var smf_scripturl = "' . $scripturl,
);


Change to:

// Gotta fix up some javascript laying around in the templates
$extra_replacements = array(
'%1/$d' => '%1$d',
'/rand,' => '/rand=',
$boardurl . '/topic/' => $scripturl . '?topic=',
'var smf_scripturl = "' . $boardurl . '/' => 'var smf_scripturl = "' . $scripturl,
);


Now the pageindex works  ;)

Fel

it's fixed in memberlist, but not in display messages

when i click a number  i have this url :

http://localhost/Forum/NameBoard/NameTopic_20195.%1.html$d

any fix please ?
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

Bruno36

Hello!

SimpleSEF does not activate.
When I check the box Enable SimpleSEF it disables it every time


Bruno36 the French
SMF 2.0.9

SlammedDime

Please read the FAQ in the very first post.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Bruno36

When I create the file . Htaccess server bug

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
If you have a IIS7 webserver, you need a web.config file in your main SMF directory with the following:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="SimpleSEF">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
If you have Lighttpd v1.4.23 or less, you will need the following in your Lighttpd config file, normally at /etc/lighttpd/lighttpd.conf (thanks to Daniel15). $HTTP["host"] =~ "(www.)?example.com" {
url.rewrite-once += (
# Allow all normal files
"^/forum/.*\.(js|ico|gif|jpg|png|swf|css|htm|php)(\?.*)?$" => "$0",
# Rewrite everything else
"^/forum/.*$" => "/smf_2-0-rc2_sqlite/index.php"
)
}


Erreur du serveur!
Le serveur a èté victime d'une erreur interne et n'a pas été capable de faire aboutir votre requête. Soit le server est surchargé soit il s'agit d'une erreur dans le script CGI.

Si vous pensez qu'il s'agit d'une erreur du serveur, veuillez contacter le gestionnaire du site.

Error 500
www.scooter-chinois-4t.com
Sun Apr 4 10:08:41 2010
Apache
Bruno36 the French
SMF 2.0.9

SlammedDime

Only the first 4 lines should be in the .htaccess file.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: