News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

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

Arantor

Dime: Awesome, didn't read the thread in detail, only just got in, but glad you're aware of it. No doubt will also affect users using 1.1 + the Cust Team mod for this.
Holder of controversial views, all of which my own.


Vivekanand

                 
QuoteThe latest version of the mod forms urls like http://hermes/smf/simplesef/reminder/admin_1/sa,setpassword/code,7b62095320/  (note the sa, before setpassword).  I just checked the Source file in the download package for 1.1.x and it does indeed make the URLs to have sa, before subactions.  I also just tested on my 1.1.11 site and it worked exactly as it should.  If you're not using version 1.0.3, please upgrade.  If you are using it, please uninstall and reinstall it (make sure that Sources/SimpleSEF.php is the same version as in the Mod Package (SimpleSEF-1.1.php)


Hey thanks a lot  8) .... I uninstalled 1.0.2 and installed the newer version 1.0.3 and everything is working fine ;D  thnx for your time mate ........

Vincent Volmer

Quote from: SlammedDime on March 19, 2010, 12:01:56 AM
Quote from: Vincent Volmer on March 17, 2010, 02:25:02 PM
Hello,

Is SSEF working correct with SMFGalleryPRO, SMFStore and SMFDownloadsPRO? Did someone test this?
I ask it, because I'm using PortaMX with a lot of SMFHacks mods.

Thanks for any answer!

Regards,
Vincent Volmer
It should... feel free to test it out and report back... I'm not able to test my mod compatibility with every other mod available so I can't really answer this for you.


Hello SlammedDime,

I'm sorry to tell but the only thing I see when accessing the SMFGalleryPro is a white page with some small text (Are you trying to look at the pictures of this forum???) this is some text from the Gallery I guess.

At the SMFStore the same, white page with a small text: Nothing here to see!

SMFDownloadsPro brings me back to the index of the website.

These are the links:
http://centani.nl/10/gallery/
http://centani.nl/10/store/
http://centani.nl/10/downloads/

No problem if you want to have an admin account to test...

Thanks,
Vincent

feline

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

atfosan

How can I change comma (,) which replace stripped symblos to another symbol? Example "_"?
my SMF project - school site: forum with PortaMx and SimpleSEF mods

hartiberlin

I also got an error im 1.03

the News section in the header pic was wrongly formating the links there.

What at

www.ruhleben.com
there in the header pic,
where it stated
"Neuigkeiten:" ( news)

The links there were wrongly converted to:

http://www.ruhleben.com/topic_20


what should be:

http://www.ruhleben.com/entstehung_der_siedlung_ruhleben/unfalll_1907_an_der_kreuzung_charlottenburger_chausseelehrter_eisenbahnstrecke_20.0.html


So, I changed it manually.

Before I used SimpleSEF, the link put there was probably:

http://www.ruhleben.com/index.php?topic=20

So SimpleSEF did not convert it right..

Regards, Stefan.,

ɔɔɔɔɔɔuɥoɾ

Would this work on SMF 2.0 RC1.2 If I manually installed it?


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Arantor

It's possible but somehow I doubt it. I'd really be encouraging you to upgrade to a version that's not months and months and months old.
Holder of controversial views, all of which my own.


ɔɔɔɔɔɔuɥoɾ

Quote from: Arantor on March 23, 2010, 08:09:55 PM
It's possible but somehow I doubt it. I'd really be encouraging you to upgrade to a version that's not months and months and months old.

I would but I use several mods that have not been updated for RC3 yet also my theme is for SMF2 Beta 4 and I like that theme, I Don't even know if that will work on RC3 either, sigh, I guess I will have to wait then...


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Xarcell

I tried using this mod when it first came out. I kept getting 404 errors, and we thought it may be because of me not having my .htaccess file.

I just tried version 1.0.3 on the same site now and it works like a charm. I reckon something was changed in the mod, whatever it was, it fixed the issue with me using it on my site.

Nice work. I really love this mod.


Xarcell

So I run into an issue with this mod. Although there isn't anything wrong with the mod.

I have a script that runs quizzes "action=quizzes". When SimpleSEF converts the url, it breaks the script. Is there a way to add action exceptions to the URL rewrite?

SlammedDime

No current way to add exceptions.  If SSEF breaks the script, something is likely not coded right with it... is this a custom script or is it a mod that I can view the code for?  How exactly does it break it?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

feline

Quote from: Xarcell on March 26, 2010, 12:29:51 PM
I have a script that runs quizzes "action=quizzes". When SimpleSEF converts the url, it breaks the script. Is there a way to add action exceptions to the URL rewrite?
Mostly this is a problem with the script itself. If you use urls in the format as SMF do, the scripts works.
So you have to look at the script, how it's handle url's ...

Fel

nend

hey SlammedDime, nice mod but I have a few questions.

I am designing a mod myself and I have your script installed. In my script there is a edit on the index.template.php file which is a script.
<script type="text/javascript" src="'.$scripturl.'/2sichat/index.php?action=head"></script>

Well when I look at the html I see.
<script type="text/javascript" src="http://www.mywebsite.com/head/"></script>

Is there any way to fix this behavior?

I did a little work around but I prefer doing it the correct way.
<script type="text/javascript" src="'.$settings['theme_url'].'/../../2sichat/index.php?action=head"></script>

Thanks in advance.  ;)

SlammedDime

src="'.$scripturl.'/2sichat/index.php?action=head" seems like it would generate an invalid url....

it would generate something like... http://mysite.com/index.php/2sichat/index.php?action=head which isn't valid to begin with...
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

nend

Quote from: SlammedDime on March 26, 2010, 11:57:33 PM
src="'.$scripturl.'/2sichat/index.php?action=head" seems like it would generate an invalid url....

it would generate something like... http://mysite.com/index.php/2sichat/index.php?action=head which isn't valid to begin with...

(slaps hand against forehead)

Now I feel dumb, that is correct, $scripturl will have index.php at the end, I need $boardurl.  ::)

LMAO, I can't believe a dumb mistake like that, I did that, lol.

Xarcell

Quote from: SlammedDime on March 26, 2010, 03:17:40 PM
No current way to add exceptions.  If SSEF breaks the script, something is likely not coded right with it... is this a custom script or is it a mod that I can view the code for?  How exactly does it break it?

This has been fixed. It was just an issue of how the mod worked, not necessarily any scripting errors. The mod fetched xml files from the "quizzes" directory. The action URL was action=quizzes. All that had to be done to fix it was changed the name of the directory that the files was in.

Xarcell


b4pjoe

Just upgraded to SMF 2.0 RC3 and have installed SimpleSEF and have found if you use "Reply All" to a PM that a user sent to you and other users, it doesn't fill in any of the user names of the people you are replying to in the "To" area. If you just "Reply" to the one person that sent the PM it does put that one in. I've tried it use the default Curve theme and 3 other themes and I've tried it with Firefox and Safari on the Mac and IE8 on Windows 7. If I uninstall SimpleSEF it works and puts the user name of all recipients in the "To" area. Any ideas how to fix this?

SlammedDime

The simple workaround for the time being is to change the 'space' character from '_' to '-' in the SSEF configuration.  I'll have to play with it more and probably put an exception in as a permanent workaround.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Advertisement: