Pretty URLs

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

Previous topic - Next topic

Tair

Quote from: SergeantAsh on July 26, 2010, 04:25:26 AM
Quote from: vbgamer45 on July 25, 2010, 10:01:25 PM
Try to use emulate version for RC2

Sorry I don't understand what you mean?

when you uploaded package to your forum and after back to the list of packages (to install selected package) - at the bottom you'll see option to emulate versions of SMF.

SergeantAsh

Quote from: Tair on July 26, 2010, 07:32:16 AM
Quote from: SergeantAsh on July 26, 2010, 04:25:26 AM
Quote from: vbgamer45 on July 25, 2010, 10:01:25 PM
Try to use emulate version for RC2

Sorry I don't understand what you mean?

when you uploaded package to your forum and after back to the list of packages (to install selected package) - at the bottom you'll see option to emulate versions of SMF.

Ahhh, lovely thanks very much - I'll give this a try tonight :D
Quote"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

gbsothere

I'm helping a member get her RC3/Default forum squared away and this is a recurring error:

Undefined index: pretty_enable_filters
   
Referring to line 95 of Display.php
   

if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])


I've gleaned through her files and they're all parsed correctly, installed without error. 

I wasn't sure if a string needed to be added to the globals?



I ran a search and located this question being asked, but haven't found a thread with an answer.   :)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

blow

Is there any problem in converting the two Pretty URLs tables to InnoDB?

ekfaysal

i wanna ask somthing here
i m using this mod since long
just one thing
if i have many pages on any of the board, it shows me on the first page, whenever i click on 2nd 3rd or any other page, it comes back to first page again.
Please guys
anybody helps me will appreciated.
cheers

vbgamer45

Do you have a link to a topic that this occurs on? I haven't heard that reported before.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

ukhalik2

Quote from: ukhalik2 on July 23, 2010, 01:41:54 AM
Quote from: vbgamer45 on July 22, 2010, 09:47:29 AM
Contact your host to disable mod_security for your site.
but previously, i could do it with the prettyURLs on..
It started happening suddenly..
So, it must be not host problem.
bump, its not server problem :(

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

blow

Quote from: blow on July 27, 2010, 07:02:04 PM
Is there any problem in converting the two Pretty URLs tables to InnoDB?

Bump, I think the answer to that question could be helpful to owners of large forums...
InnoDB can be a solution to boost performance. Is it all right if I convert "smf_pretty_urls_cache" and/or "smf_pretty_topic_urls" to InnoDB?

SergeantAsh

Got bit of a problem, one of my boards had two single quotes in it's name, when I tried to add a custom PrettyURL to the board config it wouldn't let me remove the old one (after making the new one Primary).

I have since renamed the actual board itself to remove the single quotes but I still cannot amend the PrettyURL config - I have run a maintenance run too but that hasn't fixed it.

I have been searching the DB for where the config for additional board pretty URLs is stored but can't find it - where are additional board P-URLs stored?
Quote"Moderation has been called a virtue to limit the ambition of great men, and to console undistinguished people for their want of fortune and their lack of merit."

pviagem

Hi there.

I'm getting this error

8: Undefined index: pretty_board_url_title
File: /home/pviagem/public_html/forum/Sources/ManageBoards.php
Line: 737

when I use the "Pretty URLs" option from Manage Boards area.

The Line 737 from ManageBoards.php has

$context['pretty']['board_title'] = $txt['pretty_board_url_title'] . (isset($boards[$board_id]) ? $boards[$board_id]['name'] : $txt['pretty_deleted_board'] . $board_id);

Any idea what is happening and how I can fix the problem?

Many thanks.

Dannii

You're missing the language entries. Manually add them to Modifications.english.php.
"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."


pviagem

Quote from: Dannii on July 30, 2010, 10:22:00 PM
You're missing the language entries. Manually add them to Modifications.english.php.

But following the MOD parser it seems that we only need to add

//   Pretty URLs mod
$txt['pretty_urls'] = 'Pretty URLs';


in the Modifications.english.php

I've the same line in my local language too.

call_me_nik

I have run into a strange problem with this mod and I am hoping someone here would be able to help. I had configured a forum using Simple Machines at the URL http://ewell-epsom.co.uk [nofollow] When this was up and running I installed this mod which correctly formatted all the URLs.
However later I changed the forum URL to http://epsomewell.co.uk [nofollow] . I uninstalled the mod and reinstalled it thinking it will reformat my URLs to begin with http://epsomewell.co.uk [nofollow] however on reinstallation it simply picked up the old urls.

Is there a way for me to be able to force the mod to effectively go through the process completely and generate fresh Urls? Is there a cache somewhere?

Thanks!

lukasino

Hello i have example board:

http://omniaforum.pl/gry/ [nofollow]
http://omniaforum.pl/programy/ [nofollow]
http://omniaforum.pl/antywirusy/ [nofollow]

how change Title name ? now is
Gry
Programy
Antywirusy

how change to:
Omnia Gry
Omnia Programy
Omnia Antywirusy

Omnia+board name

Sad_Angel

Hi!
i have installed this mod on smf 2.0 RC3, its working fine, only thing is i have also installed wordpress in my website so it becomes http://cyber-wars.tk/blog, i can finely browse the blog, but one thing when i try to login as admin in wordpress it directly redirects me to my forum http://cyber-wars.tk. But once i disable pretty url this issue is no longer  problem.

Please can anyone tell me how to fix this..
Peace...

vbgamer45

Check the troubleshooting topic you can add an exception in your .htacess file for blog
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

randomme

Mishandles apostrophes in board/category names.  They should be stripped; instead, they are not, so the URL is hosed, and you can't remove entries.

This is upon installation on 1.1.11.

diamondred123

see i think this mod makes it look like more basic script
or am i just the odd one?
Learner but knows a little

Advertisement: