Customizing SMF > Modifications and Packages

SimpleSEF 2.0 (SMF 1.1.x and SMF 2.0)

(1/289) > >>

SlammedDime:
Link to ModSimpleSEF



This mod creates content filled URLs for your forum.

Examples:
http://www.yourboard.com/index.php?board=1.0 =>> http://www.yourboard.com/general_discussion/
http://www.yourboard.com/index.php?topic=1.0 =>> http://www.yourboard.com/general_discussion/welcome_smf_1.0.html
http://www.yourboard.com/index.php?action=profile =>> http://www.yourboard.com/profile

Latest Version: 2.0

Features of SimpleSEF:
 - Makes no core code changes to SMF (SMF 2.0) other than an admin interface to control the mod (SMF 1.1)
 - Works with Apache (mod_rewrite required) or IIS7 (Microsoft URL Rewrite module required + web.config files in your directory)
 - Very low overhead to each page load - Average database query count per page load - 2 (with caching enabled, 3 without)
 - 'Simple' mode, puts just the words 'board', 'topic' or 'user' into the url, instead of content filled urls
 - Removes user specified words and characters from board and topic and usernames (thinks like ! $ &, etc, and short words, like 'the', 'at', 'and', etc.  These are customizable in the admin panel.
 - Smart - when you add mods with new actions/subactions to your board, SimpleSEF readily recognizes the new ones and accounts for them without any interaction from you
 - Specify the 'space' character in the URL (ie: general_discussion, general-discussion, general.discussion, etc)
 - UTF-8 compatible, changes non-ASCII characters to their closes US-ASCII equivilant.

Post-Install Notes:
Please ensure your .htaccess or web.config file contains the proper information for this mod to work.  Visit the admin panel and click on the [Help] link at the end of the bolded text in the page description for more information.

Change Log:
v 2.0
+ OOP based construction
+ Uses more integration hooks in SMF 2.0, now makes zero code changes

v 1.1.1
! Bug on 404

v 1.1
+ Added ability for custom extensions for actions (http://www.mattzuba.com/2010/10/custom-action-handling-with-smf-and-simplesef/)
! 404 capability for actions that don't exist (which could really be files or folders too)
! Error when newly created board isn't in cache yet

v 1.0.3
! Code cleanup
! Did away with areas/subactions (fixes a few bugs)
! Visual Verification wouldn't display on refresh
! Fix quick moderation icon issues
! Add 'User Actions' array to admin panel
! OpenID didn't play well due to periods in the variable names in URIs
! Better capture URLs in the output buffer

v 1.0.2
! Kept better track of which actions have a 'user' parameter
! Fixed an endless loop causing load spikes depending on the formatted URL
+ Added support for SMF 1.1
! Fixed issue with ?theme=xx and ?language=xx support (Thanks Feline)

v 1.0.1
! Fixed bug that would not properly transliterate non ISO-8859-1 or UTF-8 languages

v 1.0.0
+ Initial Release


FAQ:
Q: I check the box to enable, but when the page reloads after saving, the box is unchecked again.  Why?
A: I've built in a safe guard to avoid making your forum unavailable.  If the above happens, verify that you have a .htaccess or web.config file (depending on your web server) in your main SMF directory that contains the right information shown by clicking the [Help] link above the settings for SimpleSEF in your admin panel.

Q: I renamed/created one of my boards but SimpleSEF didn't recognize the change.
A: As board renames/creations aren't common, the board names are cached for 1 hour to reduce the queries needed by the mod.  Simple empty the SMF file cache and this will resolve the issue as the new name will be cached.  (Admin Panel > Maintenance > Forum Maintenance > Routine > Empty File Cache)

JBlaze:
Congrats and awesome mod!

Arantor:
Congrats, this is a nice mod.

Yağız...:
Nice one SlammedDime but there is a problem with Turkish characters, they aren't shown in the url.
Topic name: ŞşĞğİıÖöÜü
URL: http://localhost/smf2/main-forum/-14.msg24.html
Encoding: ISO-8859-9

SlammedDime:
I was afraid I might have issues with Turkish... should be an easy fix, I just need to update the database for those types of characters... got any links where I can find a 'turkish alphabet'?

Navigation

[0] Message Index

[#] Next page

Go to full version