News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

SlammedDime

If you're using the latest version of SimpleSEF, just rename the arcade action... maybe rename it to 'games' or something.  In the SimpleSEF admin panel, just check the option for advanced features, then go to the aliasing sub-menu.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

rajanpert

Quote from: rajanpert on July 09, 2011, 01:33:14 PM
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...

is there any solution?

[Lucien]

Quote from: SlammedDime on July 11, 2011, 11:23:58 AM
If you're using the latest version of SimpleSEF, just rename the arcade action... maybe rename it to 'games' or something.  In the SimpleSEF admin panel, just check the option for advanced features, then go to the aliasing sub-menu.

Sorry the alias works but my problem remains, cannot save scores and cannot play a lot of games.. They simply won't load :(
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Mihac™

@SlammedDime
I need your help. Feline with PortaMx offends you and me.
It's about your modification http://custom.simplemachines.org/mods/index.php?mod=2288 which is quite correct, and works great. I am satisfied but it happens that your modifications wiped copyright of PortaMx and now calls me a thief and I wiped her copyright.
stupidity women...grrrrrrrrrrrrrrr

View the message here

"kad budala postavi neko glupo pitanje ni deset mudraca ne može na njega odgovoriti "

wvb

Hi,

I have installed simpleSEF on my forum, added the .htaccess files and I can enable it, and also I can go to the index, but when I enter in some forum, i got a 404 error.

There is the forum:

newforum.elhacker.net/smf2/index.php

The server don't depends on me, but I'm sure that it have mod_rewrite enabled

My .htaccess is this:

RewriteEngine On
# Uncomment the following line if its not working right
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


Can you help me?

SlammedDime

You might need to play with the RewriteBase line... you can try uncommenting it first off, and if that doesn't work, change it to/smf2 and see if that does it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

wvb

Quote from: SlammedDime on July 14, 2011, 11:16:05 AM
You might need to play with the RewriteBase line... you can try uncommenting it first off, and if that doesn't work, change it to/smf2 and see if that does it.

I have tried with "/" and "/smf2" and isn't working.

[Lucien]

Quote from: [Lucien] on July 11, 2011, 11:30:07 AM
Quote from: SlammedDime on July 11, 2011, 11:23:58 AM
If you're using the latest version of SimpleSEF, just rename the arcade action... maybe rename it to 'games' or something.  In the SimpleSEF admin panel, just check the option for advanced features, then go to the aliasing sub-menu.

Sorry the alias works but my problem remains, cannot save scores and cannot play a lot of games.. They simply won't load :(

Is there other solution for this problem, or isn't the arcade going to work with this mod? :)
I'm using SMF 2.0.2 and SimplePortal 2.3.4

SlammedDime

Quote from: wvb on July 14, 2011, 12:10:31 PM
Quote from: SlammedDime on July 14, 2011, 11:16:05 AM
You might need to play with the RewriteBase line... you can try uncommenting it first off, and if that doesn't work, change it to/smf2 and see if that does it.

I have tried with "/" and "/smf2" and isn't working.
Without knowing how your hosting is setup, I don't really know where else to go with it... you can try and experiment with different values to see what happens (make sure you're removing the '#' from the front of the line to uncomment it).

Quote from: [Lucien] on July 14, 2011, 12:12:16 PM
Quote from: [Lucien] on July 11, 2011, 11:30:07 AM
Quote from: SlammedDime on July 11, 2011, 11:23:58 AM
If you're using the latest version of SimpleSEF, just rename the arcade action... maybe rename it to 'games' or something.  In the SimpleSEF admin panel, just check the option for advanced features, then go to the aliasing sub-menu.

Sorry the alias works but my problem remains, cannot save scores and cannot play a lot of games.. They simply won't load :(

Is there other solution for this problem, or isn't the arcade going to work with this mod? :)
It might not work properly... while this mod rewrites URLs in a pretty standard fashion, mods which utilize URLs in an odd manner may simply not work right.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

[Lucien]

I'm using SMF 2.0.2 and SimplePortal 2.3.4

skelgaard

i like this addon, but i played a little around with it and found a bug

if you press request another image.

can you please look into this bug ? cause if i turn off simplesef, it all works

jfwure

#1251
Hello,

I installed SMF 2.0 Tapatalk in the end and found that the application (Android) topics are not displayed if SimpleSEF is activated. Is there any way that SimpleSEF not work when viewing the board from Tapatalk? If anyone can help provide more information if necessary. thank you very much.

Bugo

#1252
File SimpleSEF_2-0.php
        $fixups = array();
        if (!empty($hooks['integrate_pre_load']) && strpos($hooks['integrate_pre_load'], 'SimpleSEF') !== 0) {
            $fixups['integrate_pre_load'] = 'SimpleSEF::convertQueryString,' . str_replace(',SimpleSEF::convertQueryString', '', $hook['integrate_pre_load']);
        }
        if (!empty($hooks['integrate_buffer']) && strpos($hooks['integrate_buffer'], 'SimpleSEF') !== 0) {
            $fixups['integrate_buffer'] = 'SimpleSEF::ob_simplesef,' . str_replace(',SimpleSEF::ob_simplesef', '', $hook['integrate_buffer']);
        }
        if (!empty($hooks['integrate_exit']) && strpos($hooks['integrate_exit'], 'SimpleSEF') !== 0) {
            $fixups['integrate_exit'] = 'SimpleSEF::fixXMLOutput,' . str_replace(',SimpleSEF::fixXMLOutput', '', $hook['integrate_exit']);
        }

I think $hook should be replaced by $hooks:
        $fixups = array();
        if (!empty($hooks['integrate_pre_load']) && strpos($hooks['integrate_pre_load'], 'SimpleSEF') !== 0) {
            $fixups['integrate_pre_load'] = 'SimpleSEF::convertQueryString,' . str_replace(',SimpleSEF::convertQueryString', '', $hooks['integrate_pre_load']);
        }
        if (!empty($hooks['integrate_buffer']) && strpos($hooks['integrate_buffer'], 'SimpleSEF') !== 0) {
            $fixups['integrate_buffer'] = 'SimpleSEF::ob_simplesef,' . str_replace(',SimpleSEF::ob_simplesef', '', $hooks['integrate_buffer']);
        }
        if (!empty($hooks['integrate_exit']) && strpos($hooks['integrate_exit'], 'SimpleSEF') !== 0) {
            $fixups['integrate_exit'] = 'SimpleSEF::fixXMLOutput,' . str_replace(',SimpleSEF::fixXMLOutput', '', $hooks['integrate_exit']);
        }


"Advanced search" link doesn't work (when SimpleSEF enabled).

wmac

I have installed SimpleSEF (apache and .htaccess).

The urls are rewritten correctly and all links are changed appropriately. All pretty URLs work properly (profiles, search, my messages, members ...) except the boards.

When I click on a board, the URL changes to something like "domain/board_2.0/" but the content of the page is still the main page of the forum (list of forums).

Would someone please give me a hint on what might have gone wrong?

Regards, Mac

Antechinus

Just an interesting note about this mod: apparently it can result in redirect errors when installing some other mods.

Quote from: Xarcell on August 02, 2011, 04:49:45 PMI found the solution to this problem. I fixed I would come back and let you know in case anyone else has this issue. Even though this mod doesn't actually cause this error, it only happens to certain mods(I think those with a redirect text page in them).

Anyway, SimpleSEF is causing the issue. In order to get around the redirect issue, disable SimpleSEF(no need to uninstall), and clear browser cookies. That's it. Problem solved. You can then re-enable SimpleSEF...

wmac

I am sorry to reiterate my problem. Perhaps taking a look at the forum itself helps?

Forum links do not work and redirect to the main index page.

hxxp:www.penangforums.com/ [nonactive]

Quote from: wmac on August 02, 2011, 12:54:37 PM
I have installed SimpleSEF (apache and .htaccess).

The urls are rewritten correctly and all links are changed appropriately. All pretty URLs work properly (profiles, search, my messages, members ...) except the boards.

When I click on a board, the URL changes to something like "domain/board_2.0/" but the content of the page is still the main page of the forum (list of forums).

Would someone please give me a hint on what might have gone wrong?

Regards, Mac

desibees

Hi,
can you please help me?
Im using version 2.0 final,
I install the mod, everything is fine.
I have .Htacess , Im using 000webhost (I tried it on Namecheap and 2 other webhosts too)
I installed pretty urls but then uninstalled it cuz I like this mod better (www. reason)




The problem is that I check "enable" and it goes unchecked (I know why) but when it doesn't, I get 404 errors.

Why is this?

Everything is sucessfully uploaded yet im getting this error. Why?


I'm the.. Help abuser


uninvited13th

not working on smf2.0 gold.. urls doesn't rewrite as board title and doesn't fill the link with thread title.. therefore, it will give me error

Suki

Quote from: uninvited13th on August 15, 2011, 02:41:25 AM
not working on smf2.0 gold.. urls doesn't rewrite as board title and doesn't fill the link with thread title.. therefore, it will give me error

Do you enable the mod?

Do you create your .htaccess file correctly?

Did you configured the mod correctly?

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Derof

#1259
I have a problem with the cooperation SimpleSEF and SSI. On the side I have inserted:


include(path/SSI.php);

ob_start ('ob_simplesef');

ssi_recentTopics (10);

ob_end_flush ();


Do not display links SimpleSEF. With version 2.0 RC4, it worked.

--------
SMF Version 2.0
SimpleSEF Version: 2.1




Ok, I solved the problem.

Instead of lines:

ob_start ('ob_simplesef');

You need to add:

ob_start('SimpleSEF::ob_simplesef');

Advertisement: