News:

Join the Facebook Fan Page.

Main Menu

Pretty URLs

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

Previous topic - Next topic

Dannii

#2140
forumer and JeepJim, you need to follow these instructions to disable the mod, after which we can see whether it can be fixed.
http://code.google.com/p/prettyurls/wiki/TroubleShooting

partners, is there anything in the error log? If you upgrade to the 0.9 snapshot does it still happen?
"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."

brianjw

Hi,

Thanks. Your codes solved the problem. :)

But is it possible to allow this mod to work with the custom action mod or make a tiny little hack that will make it work with this mod?

partners

Hi,

We had The mod turned off today but just turned it back on and it is working.

How do we upgrade to 0.9 snapshot?

We do have this error in the log:
Hacking attempt...

INSERT INTO smf_pretty_topic_urls
(ID_TOPIC, pretty_url)
VALUES (4678, "online-data-typing-jobs-available-register-today-at-www-dataentryjobs--4678")
File: /home/freeadzf/public_html/Sources/PrettyUrls-Filters.php
Line: 274

Thanks for the help.


Dannii

Quote from: brianjw on August 10, 2008, 08:18:56 PM
Hi,

Thanks. Your codes solved the problem. :)

But is it possible to allow this mod to work with the custom action mod or make a tiny little hack that will make it work with this mod?
Probably but it will take time and I'm busy.

Quote from: partners on August 10, 2008, 08:41:53 PM
Hi,

We had The mod turned off today but just turned it back on and it is working.

How do we upgrade to 0.9 snapshot?

We do have this error in the log:
Hacking attempt...

INSERT INTO smf_pretty_topic_urls
(ID_TOPIC, pretty_url)
VALUES (4678, "online-data-typing-jobs-available-register-today-at-www-dataentryjobs--4678")
File: /home/freeadzf/public_html/Sources/PrettyUrls-Filters.php
Line: 274

Thanks for the help.
Get it here: http://code.google.com/p/prettyurls/downloads/list
"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."

gauravtechie

Ok, I can see that pretty url is installed, But i can`t see any option in admin panel for enabling it ?

brianjw

Dannii, if you don't have time to make this mod compatible with the custom action mod then do you have any ideas how I could do this and I will code it?

Dannii

Quote from: gauravtechie on August 10, 2008, 10:35:53 PM
Ok, I can see that pretty url is installed, But i can`t see any option in admin panel for enabling it ?
The mod will add it's own section. If for some reason it's not shown in the menu you can access it by action=pretty.

Quote from: brianjw on August 10, 2008, 10:38:33 PM
Dannii, if you don't have time to make this mod compatible with the custom action mod then do you have any ideas how I could do this and I will code it?
You'll have to edit the maintenance function. After getting the list from index.php you'll want to do a database query for the custom actions and then merge the two arrays together.
"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."

gauravtechie

index.php?action=pretty bring back me to index page.

Any method to validate i have correct package installed.

Also the mod name i can see on hxxp:www.desiconnect.net/index.php?action=packages [nonactive]

is    Pretty URLs - Base      0.8.4

Is there anything else i need to install

Dannii

It musn't have installed properly then, even though it says it has. The problem is unlikely to be specific to this mod, but probably would occur with any mod. Have you had success with any others before?

You should ask for help in the general support board.
"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."

forumer

Quote from: Dannii on August 10, 2008, 08:06:48 PM
forumer and JeepJim, you need to follow these instructions to disable the mod, after which we can see whether it can be fixed.
http://code.google.com/p/prettyurls/wiki/TroubleShooting [nofollow]

partners, is there anything in the error log? If you upgrade to the 0.9 snapshot does it still happen?

i upgraded to the 0.9 snapshot but it's still not working, i use php on windows hosting, may it be the cause of this problem?

Dannii

Depends if you're using Apache or IIS. At the moment you really need Apache, I'm not supporting IIS yet.
"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."

partners


partners

#2152
Hi again,

We hate to keep bugging you.

We installed 0.9 and have this error on top of page:


// 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 URL => ID_BOARD pairs, used for processing $_GET[\'board\']. There can be more than one URL for each board.'; $txt['pretty_board_urls'] = 'A serialized array of ID_BOARD => URL pairs, used for generating pretty replacement URLs.'; $txt['pretty_enable_filters'] = 'Sets whether to prettify anything at all. 0 for no, 1 for yes.'; $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 pretty_filters setting instead.'; $txt['pretty_root_url'] = 'The base URL used by the board and topic filters, which by default is the same as $boardurl.';

Thanks

ccbtimewiz

Quote from: partners on August 11, 2008, 06:51:13 PM
Hi again,

We hate to keep bugging you.

We installed 0.9 and have this error on top of page:


// 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 URL => ID_BOARD pairs, used for processing $_GET[\'board\']. There can be more than one URL for each board.'; $txt['pretty_board_urls'] = 'A serialized array of ID_BOARD => URL pairs, used for generating pretty replacement URLs.'; $txt['pretty_enable_filters'] = 'Sets whether to prettify anything at all. 0 for no, 1 for yes.'; $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 pretty_filters setting instead.'; $txt['pretty_root_url'] = 'The base URL used by the board and topic filters, which by default is the same as $boardurl.';

Thanks

Open modifications.english.php

Make sure all the text is before the ?>.

Dannii

You do need to uninstall the old version first, and as ccbtimewiz said, check that there is only one ?> and that it's the very last thing in the file.
"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."

partners

#2155
Hi again,

OK, thanks. We will try that.


Dannii

That should be fine, though you haven't got this mod's texts anywhere!
"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."

partners

Just realized that. Told you we did not know what we are doing.

We think it is working now. Had ?> two times.

Deleted one and it is working now.

Thank you Danni and ccbtimewiz so much for the help.

brianjw

How do I exclude one action from the pretty urls? I want to remove arcade.

I tried removing it from the .htaccess but it converted the links to /arcade/ and it went to a 404 because there was no arcade in .htaccess.

Any ideas?
Thanks,
Brian

my evil twin

can't figure out how to convert german characters ä, ö, ü to ae, oe, ue, NOT a, o, u....

anybody?

guess it's somewhere in the subs-prettyurls.php?

thanks in advance for any hint...

Advertisement: