SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 24, 2012, 10:40:26 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10071
Latest:
cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 48
Total: 48
SMFHacks.com
Forum
SMFHacks.com
Site Discussion
any pretty url version compatible with rc3?
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: any pretty url version compatible with rc3? (Read 1232 times)
G1
Full Member
Offline
Posts: 132
any pretty url version compatible with rc3?
«
on:
January 07, 2011, 01:27:24 am »
i downloaded and used the rc4, but it had some edits i couldnt find where to put. help
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: any pretty url version compatible with rc3?
«
Reply #1 on:
January 07, 2011, 09:32:26 am »
What edits? It should work fine with rc4
Logged
G1
Full Member
Offline
Posts: 132
Re: any pretty url version compatible with rc3?
«
Reply #2 on:
January 07, 2011, 11:39:47 am »
oh im using rc3 now btw, dont ask why lol ( for a mod i really really wanted haha)
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: any pretty url version compatible with rc3?
«
Reply #3 on:
January 07, 2011, 06:42:35 pm »
If you using a package parser select rc3
Logged
G1
Full Member
Offline
Posts: 132
Re: any pretty url version compatible with rc3?
«
Reply #4 on:
January 07, 2011, 07:56:16 pm »
// Maybe integrations want to change where we are heading?
i cant find this line to edit, what do i do if this happens?(this occurs in some mods and i just dont install anymore but i need pretty URLS)
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: any pretty url version compatible with rc3?
«
Reply #5 on:
January 07, 2011, 08:18:31 pm »
Fine something similar and make the change to it that's what I do
Logged
G1
Full Member
Offline
Posts: 132
Re: any pretty url version compatible with rc3?
«
Reply #6 on:
January 07, 2011, 08:27:19 pm »
i c. i just cant seem to find anything similarly worded and im afraid by putting it in the wrong position might completely mess everything up
Logged
G1
Full Member
Offline
Posts: 132
Re: any pretty url version compatible with rc3?
«
Reply #7 on:
January 09, 2011, 09:48:16 pm »
hacks can you help me install pretty urls? its just that one edit i need installed, i tried ignoring it but it gave me redirection problems and posting gave some similar redirection errors(although posting was actually fine, just it couldnt redirect back to page). thanks
should i just put this somewhere in subs.php?
Im told to look for this:
"// Maybe integrations want to change where we are heading?"
and replace it with this: (I cant find the line above anywhere)
// Redirections should be pretty too
if (!empty($modSettings['pretty_enable_filters']))
{
global $sourcedir;
require_once($sourcedir . '/PrettyUrls-Filters.php');
$url = array(0 => array('url' => $setLocation, 'url_id' => 'setLocation'));
$filter_callbacks = unserialize($modSettings['pretty_filter_callbacks']);
foreach ($filter_callbacks as $callback)
{
$pretty_url = call_user_func($callback, $url);
if (isset($pretty_url[0]['replacement']))
break;
}
if (isset($pretty_url[0]['replacement']))
$setLocation = $pretty_url[0]['replacement'];
$setLocation = str_replace("\x12", '\'', $setLocation);
$setLocation = preg_replace(array('~;+|=;~', '~\?;~', '~\?#|;#|=#~', '~\?$|;$|#$|=$~'), array(';', '?', '#', ''), $setLocation);
}
// Maybe integrations want to change where we are heading?
tried putting it in somewhere and got errors asap. ugh
«
Last Edit: January 10, 2011, 12:15:27 am by hendo fan
»
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Feature Request: Ban indi...
by
ApplianceJunk
[
Today
at 08:02:50 am]
Custom Fields
by
davejo
[
Today
at 04:11:41 am]
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Viewers?
by
ApplianceJunk
[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...