News:

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

Main Menu

Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

Dannii

Did you create the file and run it?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

SISPro

what should i name it
sorry about that

SISPro

ok i ran that repair_settings and checked it all and click saved went to the default of the themes and now i get this message

Not Found

The requested URL /login2/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I can't even login now

SISPro

ok made that file named it new.php LOL and this is what i got

Notice: Undefined index: sp-forum in /home2/ac919h/public_html/Sources/Subs.php on line 3874

dWhite

Dannii, might I make a suggestion? You should incorporate automatic generation of descriptions/keywords with this, to accompany the rewritten URLs. :)

nisami

I have many big problems a handle. The forum is broken, can no longer URL call someone an idea? Server is the same, just change path.

Dannii

Quote from: SISPro on November 02, 2008, 11:28:09 AM
ok made that file named it new.php LOL and this is what i got

Notice: Undefined index: sp-forum in /home2/ac919h/public_html/Sources/Subs.php on line 3874
Can you post lines 3870-3880 then?

Quote from: dWhite on November 02, 2008, 12:20:33 PMDannii, might I make a suggestion? You should incorporate automatic generation of descriptions/keywords with this, to accompany the rewritten URLs. :)
Nope, that's useless bloat. This mod does one thing and it does it well. There are other mods that do meta data already.

Quote from: nisami on November 03, 2008, 01:48:15 AMI have many big problems a handle. The forum is broken, can no longer URL call someone an idea? Server is the same, just change path.
What exactly is the problem? Got a link?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

SISPro

i can post the lines last night i just completely drop the account and started a new one.

see this is my server that i sell hosting on. wanted a forum for it so will try this again but this time i'll put just that mod in first

jukesoft

Quote from: Frozt on October 31, 2008, 02:15:10 PM
Quote from: jukesoft on October 31, 2008, 01:46:18 PM
I solved. But now i have "ugly urls". What should i do to have pretty urls? If i check Enable URL rewriting again the urls won't work.

you have the forum in a directory?

in that case you have to edit the .htaccess file and search:

RewriteEngine on

after that add this:

RewriteBase /

and add the forum directory name after RewriteBase/

example if you have your forum in www.domain.com/forum/:

RewriteBase /forum

It work!!! Thank you very much!!!

shaitanfr

Hi all,

It was the same problem on my host, for solving maintenance task I have changed in Subs-PrettyUrls.php:

Ligne 222

Before:
RewriteEngine on';

Now:
RewriteEngine on
RewriteBase "/"';


@Danni

I will Translate Pretty Url in french soon.

By

Carlos Gandra

#2690
EDIT: Sorry please delete this post, wrong topic :)
Carlos Gandra
Mundo dos Animais

glennk

Hi Guys. Ive made a bit of a boob.

Ive deleted the htaccess by mistake. Now I cant get to the admin section to remove pretty urls and then put it back in to recreate the htaccess.


glennk

Ok I found the answer here :

http://code.google.com/p/prettyurls/wiki/TroubleShooting

Thats an excellent wiki Dannii. Once again brilliant supprt for the mod users. Well done.

eleven0

I'm using latest beta version.

"Pretty URL" link doesn't show up in Admin Section because I'm using a different language. Can you tell me how I can fix that?

MacX

Quote from: eleven0 on November 08, 2008, 12:44:40 AM
I'm using latest beta version.

"Pretty URL" link doesn't show up in Admin Section because I'm using a different language. Can you tell me how I can fix that?
You can put engilsh language to see it.
Apply the changes and configuration that you want, and later, put your forum again in your language.
Mod rewrite will run.

You wont see that option in admin panel in your language, but you can always work with it if you put forum in english for the period of time you want to change something there.

MacX

I have other problem now i want to comment and try to solve.

My users are telling me now that when they recibe the mail confirmation of an answer to their post, somethimes they cant enter by that OLD url. (without no mod rewrite.)

They tell me that they only can enter in the URL if they have other window with their sesion initialiced in the explorer they are using.

How can i solve this?

Can you put mod rewrite in the urls send by email in the confirmation mails?

Or you can solve it by other way?

Thank you dani.

shaitanfr

My personnal notes for showing my language:

Avant dans Thèmes/default/languages/ Pretty Urls.french.php:

Code (php) Select
<?php
// Version: 0.9; PrettyUrls

require_once(dirname(__FILE__) . '/PrettyUrls.english.php');

// Admin chrome
$txt['pretty_chrome_title'] = 'Administration de Pretty URLs';
$txt['pretty_chrome_menu_settings'] = 'Param&egrave;tres';
$txt['pretty_chrome_menu_maintenance'] = 'Maintenance';

// Settings page
$txt['pretty_chrome_caption_settings'] = 'Titre des param&egrave;tres';
$txt['pretty_chrome_page_title_settings'] = 'Param&egrave;tres de Pretty URLs';
$txt['pretty_core_settings'] = 'Param&egrave;tres principaux';
$txt['pretty_enable'] = 'Autoriser la r&eacute;&eacute;criture des URLs';
$txt['pretty_filters'] = 'Filtres de r&eacute;&eacute;criture des URLs';
$txt['pretty_save'] = 'Sauvegarder les changements';

?>


Après (reste à traduire et à convertir en utf8)

Code (php) Select
<?php
// Version: 0.9; PrettyUrls

// Admin chrome
$txt['pretty_chrome_title'] = 'Administration de Pretty URLs';
$txt['pretty_chrome_menu_news'] = 'Nouvelles';
$txt['pretty_chrome_menu_settings'] = 'Param&egrave;tres';
$txt['pretty_chrome_menu_maintenance'] = 'Maintenance';

// News page
$txt['pretty_chrome_caption_news'] = 'The latest news and information live from the project website';
$txt['pretty_chrome_page_title_news'] = 'Pretty URLs News &amp; Info';
$txt['pretty_chrome_title_news'] = 'News &amp; Info';
$txt['pretty_current_version'] = 'Current version';
$txt['pretty_download'] = 'Download';
$txt['pretty_latest_version'] = 'Latest version';
$txt['pretty_upgrade'] = 'Upgrade now!';
$txt['pretty_version'] = 'Version info';

// Settings page
$txt['pretty_chrome_caption_settings'] = 'Titre des param&egrave;tres';
$txt['pretty_chrome_page_title_settings'] = 'Param&egrave;tres de Pretty URLs';
$txt['pretty_core_settings'] = 'Param&egrave;tres principaux';
$txt['pretty_enable'] = 'Autoriser la r&eacute;&eacute;criture des URLs';
$txt['pretty_filters'] = 'Filtres de r&eacute;&eacute;criture des URLs';
$txt['pretty_save'] = 'Sauvegarder les changements';

// Maintenance page
$txt['pretty_chrome_caption_maintenance'] = 'Run some maintenance tasks';
$txt['pretty_chrome_page_title_maintenance'] = 'Pretty URLs Maintenance';
$txt['pretty_run_maintenance'] = 'Run maintenance tasks';

// Edit filters page
$txt['pretty_chrome_caption_filters'] = 'A tool to edit the filters array. The array is formatted here in the <a href="http://www.json.org/">JSON</a> format. Be careful, the JSON parser is rather strict.';
$txt['pretty_chrome_page_title_filters'] = 'Pretty URLs Filters Tool';
$txt['pretty_chrome_title_filters'] = 'Filters Tool';
$txt['pretty_no_json'] = 'The PHP JSON extension is required for this tool. Consider upgrading to PHP 5.2.';

?>


Eventuellement ajouter la ligne:
require_once(dirname(__FILE__) . '/PrettyUrls.french.php');

Dans PrettyUrls.english.php


Avant dans /Sources/PrettyUrls.php


Code (php) Select
<?php
// Version: 0.9; PrettyUrls

if (!defined('SMF'))
die('Hacking attempt...');

// Shell for all the Pretty URL interfaces
function PrettyInterface()
{
global $context$scripturl$settings$txt;

// Keep the critters out
isAllowedTo('admin_forum');

// Default templating stuff
loadTemplate('PrettyUrls');
if (loadLanguage('PrettyUrls') == false)
loadLanguage('PrettyUrls''english');

// Shiny chrome interface
adminIndex('config');
$context['template_layers']['pretty_chrome'] = 'pretty_chrome';
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' 
$settings['default_theme_url'] . '/pretty/chrome.css" media="screen,projection" />';
$context['pretty']['chrome'] = array(
'menu' => array(
'news' => array(
'href' => $scripturl '?action=admin;area=pretty',
'title' => $txt['pretty_chrome_menu_news'],
),
'settings' => array(
'href' => $scripturl '?action=admin;area=pretty;sa=settings',
'title' => $txt['pretty_chrome_menu_settings'],
),
'maintenance' => array(
'href' => $scripturl '?action=admin;area=pretty;sa=maintenance',
'title' => $txt['pretty_chrome_menu_maintenance'],
),
),
);

// What can we do today?
$subActions = array(
'filters' => 'pretty_edit_filters',
'maintenance' => 'pretty_maintenance',
'news' => 'pretty_news',
'settings' => 'pretty_manage_settings',
);
if (isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]))
call_user_func($subActions[$_REQUEST['sa']]);
else
pretty_news();
}

// News and mod information
function pretty_news()
{
global $context$scripturl$settings$txt;

// This page needs some extra javascript :)
$context['html_headers'] .= '
<script type="text/javascript">var chrome = {
downloadTxt: "' 
$txt['pretty_download'] . '",
pmUrl: "' 
$scripturl '?action=pgdownload;auto;sesc=' $context['session_id'] . ';package=",
upgradeTxt: "' 
$txt['pretty_upgrade'] . '"
};</script>
<script type="text/javascript" src="' 
$settings['default_theme_url'] . '/pretty/chrome.js"></script>
<script type="text/javascript" src="http://prettyurls.googlecode.com/svn/trunk/news.js"></script>'
;

$context['page_title'] = $txt['pretty_chrome_page_title_news'];
$context['sub_template'] = 'pretty_news';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_title_news'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_news'];
}

// An interface to manage the settings and filters
function pretty_manage_settings()
{
global $context$modSettings$sourcedir$txt;

// Core settings
$context['pretty']['settings']['core'] = array(
array(
'id' => 'pretty_enable_filters',
'label' => $txt['pretty_enable'],
'type' => 'text',
'value' => $modSettings['pretty_enable_filters'],
),
);

// Load the filters data
$context['pretty']['filters'] = unserialize($modSettings['pretty_filters']);

// Are we saving settings now?
if (isset($_REQUEST['save']))
{
// Get each filter from the form and save them
foreach ($context['pretty']['filters'] as $id => $filter)
$context['pretty']['filters'][$id]['enabled'] = isset($_POST['pretty_filter_' $id]) ? 0;

$pretty_settings = array(
'pretty_enable_filters' => $_POST['pretty_enable'],
'pretty_filters' => addslashes(serialize($context['pretty']['filters'])),
);
updateSettings($pretty_settings);

// Update the filters too
require_once($sourcedir '/Subs-PrettyUrls.php');
pretty_update_filters();

// All finished now!
$_SESSION['pretty']['notice'] = 'Settings saved';
redirectexit('action=admin;area=pretty;sa=settings');
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_settings'];
$context['sub_template'] = 'pretty_settings';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_menu_settings'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_settings'];

// Load the settings up
$context['pretty']['settings']['enable'] = $modSettings['pretty_enable_filters'];

// Any notices?
if (isset($_SESSION['pretty']['notice']))
{
$context['pretty']['chrome']['notice'] = $_SESSION['pretty']['notice'];
unset($_SESSION['pretty']['notice']);
}
}

// Interface for URL maintenance
function pretty_maintenance()
{
global $context$sourcedir$txt;

// Run the maintenance tasks
if (isset($_REQUEST['run']))
{
require_once($sourcedir '/Subs-PrettyUrls.php');
pretty_run_maintenance();
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_maintenance'];
$context['sub_template'] = 'pretty_maintenance';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_menu_maintenance'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_maintenance'];
}

// Interface to edit the filters array
function pretty_edit_filters()
{
global $context$modSettings$sourcedir$txt;

// Check the JSON extension is installed
if (!function_exists('json_encode'))
{
unset($context['template_layers']['pretty_chrome']);
fatal_lang_error('pretty_no_json'false);
}

// Save the filters array
if (isset($_REQUEST['save']))
{
// Try to process the edited JSON array
$json_filters = (isset($_POST['pretty_json_filters'])) ? $_POST['pretty_json_filters'] : '';
$json_filters stripslashes($json_filters);
$filters_array json_decode($json_filterstrue);

// Was that successful or not?
if ($filters_array == NULL)
{
$_SESSION['pretty']['notice'] = 'There was an error with the JSON array you submitted';
$_SESSION['pretty']['json_filters'] = $json_filters;
}
else
{
require_once($sourcedir '/Subs-PrettyUrls.php');
updateSettings(array('pretty_filters' => addslashes(serialize($filters_array))));
pretty_update_filters();
$_SESSION['pretty']['notice'] = 'Filters saved and updated';
}

redirectexit('action=admin;area=pretty;sa=filters');
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_filters'];
$context['sub_template'] = 'pretty_filters';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_title_filters'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_filters'];

if (isset($_SESSION['pretty']['json_filters']))
{
// We're working on something already
$context['pretty']['json_filters'] = $_SESSION['pretty']['json_filters'];
unset($_SESSION['pretty']['json_filters']);
}
else
{
// Convert the filters array to JSON and format it nicely
require_once($sourcedir '/Subs-PrettyUrls.php');
$context['pretty']['json_filters'] = json_encode(unserialize($modSettings['pretty_filters']));
$context['pretty']['json_filters'] = pretty_json($context['pretty']['json_filters']);
$context['pretty']['json_filters'] = str_replace('\/''/'$context['pretty']['json_filters']);
}

// Any new notices?
if (isset($_SESSION['pretty']['notice']))
{
$context['pretty']['chrome']['notice'] = $_SESSION['pretty']['notice'];
unset($_SESSION['pretty']['notice']);
}
}

?>




Après:

Code (php) Select
<?php
// Version: 0.9; PrettyUrls

if (!defined('SMF'))
die('Hacking attempt...');

// Shell for all the Pretty URL interfaces
function PrettyInterface()
{
global $context$scripturl$settings$txt;

// Keep the critters out
isAllowedTo('admin_forum');

// Default templating stuff
loadTemplate('PrettyUrls');
if (loadLanguage('PrettyUrls') == false)
loadLanguage('PrettyUrls''french');

// Shiny chrome interface
adminIndex('config');
$context['template_layers']['pretty_chrome'] = 'pretty_chrome';
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' 
$settings['default_theme_url'] . '/pretty/chrome.css" media="screen,projection" />';
$context['pretty']['chrome'] = array(
'menu' => array(
'news' => array(
'href' => $scripturl '?action=admin;area=pretty',
'title' => $txt['pretty_chrome_menu_news'],
),
'settings' => array(
'href' => $scripturl '?action=admin;area=pretty;sa=settings',
'title' => $txt['pretty_chrome_menu_settings'],
),
'maintenance' => array(
'href' => $scripturl '?action=admin;area=pretty;sa=maintenance',
'title' => $txt['pretty_chrome_menu_maintenance'],
),
),
);

// What can we do today?
$subActions = array(
'filters' => 'pretty_edit_filters',
'maintenance' => 'pretty_maintenance',
'news' => 'pretty_news',
'settings' => 'pretty_manage_settings',
);
if (isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]))
call_user_func($subActions[$_REQUEST['sa']]);
else
pretty_news();
}

// News and mod information
function pretty_news()
{
global $context$scripturl$settings$txt;

// This page needs some extra javascript :)
$context['html_headers'] .= '
<script type="text/javascript">var chrome = {
downloadTxt: "' 
$txt['pretty_download'] . '",
pmUrl: "' 
$scripturl '?action=pgdownload;auto;sesc=' $context['session_id'] . ';package=",
upgradeTxt: "' 
$txt['pretty_upgrade'] . '"
};</script>
<script type="text/javascript" src="' 
$settings['default_theme_url'] . '/pretty/chrome.js"></script>
<script type="text/javascript" src="http://prettyurls.googlecode.com/svn/trunk/news.js"></script>'
;

$context['page_title'] = $txt['pretty_chrome_page_title_news'];
$context['sub_template'] = 'pretty_news';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_title_news'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_news'];
}

// An interface to manage the settings and filters
function pretty_manage_settings()
{
global $context$modSettings$sourcedir$txt;

// Core settings
$context['pretty']['settings']['core'] = array(
array(
'id' => 'pretty_enable_filters',
'label' => $txt['pretty_enable'],
'type' => 'text',
'value' => $modSettings['pretty_enable_filters'],
),
);

// Load the filters data
$context['pretty']['filters'] = unserialize($modSettings['pretty_filters']);

// Are we saving settings now?
if (isset($_REQUEST['save']))
{
// Get each filter from the form and save them
foreach ($context['pretty']['filters'] as $id => $filter)
$context['pretty']['filters'][$id]['enabled'] = isset($_POST['pretty_filter_' $id]) ? 0;

$pretty_settings = array(
'pretty_enable_filters' => $_POST['pretty_enable'],
'pretty_filters' => addslashes(serialize($context['pretty']['filters'])),
);
updateSettings($pretty_settings);

// Update the filters too
require_once($sourcedir '/Subs-PrettyUrls.php');
pretty_update_filters();

// All finished now!
$_SESSION['pretty']['notice'] = 'Settings saved';
redirectexit('action=admin;area=pretty;sa=settings');
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_settings'];
$context['sub_template'] = 'pretty_settings';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_menu_settings'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_settings'];

// Load the settings up
$context['pretty']['settings']['enable'] = $modSettings['pretty_enable_filters'];

// Any notices?
if (isset($_SESSION['pretty']['notice']))
{
$context['pretty']['chrome']['notice'] = $_SESSION['pretty']['notice'];
unset($_SESSION['pretty']['notice']);
}
}

// Interface for URL maintenance
function pretty_maintenance()
{
global $context$sourcedir$txt;

// Run the maintenance tasks
if (isset($_REQUEST['run']))
{
require_once($sourcedir '/Subs-PrettyUrls.php');
pretty_run_maintenance();
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_maintenance'];
$context['sub_template'] = 'pretty_maintenance';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_menu_maintenance'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_maintenance'];
}

// Interface to edit the filters array
function pretty_edit_filters()
{
global $context$modSettings$sourcedir$txt;

// Check the JSON extension is installed
if (!function_exists('json_encode'))
{
unset($context['template_layers']['pretty_chrome']);
fatal_lang_error('pretty_no_json'false);
}

// Save the filters array
if (isset($_REQUEST['save']))
{
// Try to process the edited JSON array
$json_filters = (isset($_POST['pretty_json_filters'])) ? $_POST['pretty_json_filters'] : '';
$json_filters stripslashes($json_filters);
$filters_array json_decode($json_filterstrue);

// Was that successful or not?
if ($filters_array == NULL)
{
$_SESSION['pretty']['notice'] = 'There was an error with the JSON array you submitted';
$_SESSION['pretty']['json_filters'] = $json_filters;
}
else
{
require_once($sourcedir '/Subs-PrettyUrls.php');
updateSettings(array('pretty_filters' => addslashes(serialize($filters_array))));
pretty_update_filters();
$_SESSION['pretty']['notice'] = 'Filters saved and updated';
}

redirectexit('action=admin;area=pretty;sa=filters');
}

// Action-specific chrome
$context['page_title'] = $txt['pretty_chrome_page_title_filters'];
$context['sub_template'] = 'pretty_filters';
$context['pretty']['chrome']['title'] = $txt['pretty_chrome_title_filters'];
$context['pretty']['chrome']['caption'] = $txt['pretty_chrome_caption_filters'];

if (isset($_SESSION['pretty']['json_filters']))
{
// We're working on something already
$context['pretty']['json_filters'] = $_SESSION['pretty']['json_filters'];
unset($_SESSION['pretty']['json_filters']);
}
else
{
// Convert the filters array to JSON and format it nicely
require_once($sourcedir '/Subs-PrettyUrls.php');
$context['pretty']['json_filters'] = json_encode(unserialize($modSettings['pretty_filters']));
$context['pretty']['json_filters'] = pretty_json($context['pretty']['json_filters']);
$context['pretty']['json_filters'] = str_replace('\/''/'$context['pretty']['json_filters']);
}

// Any new notices?
if (isset($_SESSION['pretty']['notice']))
{
$context['pretty']['chrome']['notice'] = $_SESSION['pretty']['notice'];
unset($_SESSION['pretty']['notice']);
}
}

?>



Dans languages Xml

Ligne 72 changer:

   <file name="$languagedir/Modifications.english.php" error="skip">

Par    <file name="$languagedir/Modifications.french-utf8.php" error="skip">

Traduire et convertir en Utf-8:
Code (xml) Select
<file name="$languagedir/Modifications.french-utf8.php" error="skip">
<operation>
<search position="end"></search>
<add><![CDATA[
// Pretty URLs mod
$txt['pretty_admin_menu'] = 'Pretty URLs';

// Board URLs interface
$txt['pretty_add_url'] = 'Add';
$txt['pretty_add_url_description'] = 'Add a URL. Note that what you enter here will be processed as only certain characters are allowed.';
$txt['pretty_board_url_title'] = 'Pretty URLs for: ';
$txt['pretty_deleted_board'] = 'Deleted board #';
$txt['pretty_duplicate_link'] = 'delete it first.';
$txt['pretty_duplicate_warning'] = 'That URL is already in use by another board. It will be available if you ';
$txt['pretty_make_primary'] = 'Make primary';
$txt['pretty_modify_board_url'] = 'Pretty URL';
$txt['pretty_no_primary_warning'] = 'Warning, no primary URL!';
$txt['pretty_numerical'] = 'Sorry, but as that URL is either a number or the same as a forum action the board ID had to be added as a suffix.';
$txt['pretty_primary_url'] = 'Primary';

// Settings descriptions
$txt['pretty_action_array'] = 'An array of forum actions, extracted from index.php.';
$txt['pretty_board_lookup'] = 'A serialized array of <tt>URL => ID_BOARD</tt> pairs, used for processing <tt>$_GET[\'board\']</tt>. There can be more than one URL for each board.';
$txt['pretty_board_urls'] = 'A serialized array of <tt>ID_BOARD => URL</tt> pairs, used for generating pretty replacement URLs.';
$txt['pretty_enable_filters'] = 'Autorise l\'embellissement d\'URL. 0 pour non, 1 pour oui.';
$txt['pretty_filters'] = 'A serialized array of filter data.';
$txt['pretty_filter_callbacks'] = 'A serialized array of callback function names, sorted by priority. Don\'t manually edit this, edit the <tt>pretty_filters</tt> setting instead.';
$txt['pretty_root_url'] = 'The base URL used by the board and topic filters, which by default is the same as <tt>$boardurl</tt>.';
]]></add>
</operation>
</file>


Dannii

Quote from: eleven0 on November 08, 2008, 12:44:40 AM
I'm using latest beta version.

"Pretty URL" link doesn't show up in Admin Section because I'm using a different language. Can you tell me how I can fix that?
Copy all the language entries from Modifications.english.php to the corresponding file for your language.

Quote from: MacX on November 08, 2008, 07:29:27 AM
I have other problem now i want to comment and try to solve.

My users are telling me now that when they recibe the mail confirmation of an answer to their post, somethimes they cant enter by that OLD url. (without no mod rewrite.)

They tell me that they only can enter in the URL if they have other window with their sesion initialiced in the explorer they are using.

How can i solve this?

Can you put mod rewrite in the urls send by email in the confirmation mails?

Or you can solve it by other way?

Thank you dani.
The oldstyle index.php links don't work?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

MacX

Quote from: Dannii on November 08, 2008, 08:11:05 AM
The oldstyle index.php links don't work?

Yeah, they work, but not the ones send by email if you havent got other forum url open or something like that.

Links in the old style that go to links like this:
http://www.mywebpage.com/foro/moderacion/prueba-correos/new/?PHPSESSID=490b3cb9522789acf67c01b6f812ccc6;topicseen

Insted of links like this:
http://www.mywebpage.com/foro/moderacion/prueba-correos/new/?topicseen;PHPSESSID=490b3cb9522789acf67c01b6f812ccc6

Dannii

That shouldn't matter at all.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: