Advertisement:

Author Topic: Pretty URLs 1.0 - Updated for SMF 2.0  (Read 1522645 times)

Offline nend

  • Sr. Member
  • ****
  • Posts: 842
  • 2 deep n2 the code
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6640 on: April 24, 2012, 06:01:42 PM »
URGENT!!!

i really dont want any single quotes or special character in my pretty url. as i use the same table for other program, could you tell me how to exclude single qoutes?

please tell me...

ciao..

Uninstall Pretty URLs, you will not have any special characters in there.  ;D

However allot of special characters are not url friendly, so I don't think Pretty will output any. I can be wrong though, but haven't notice this behavior.

Offline James---

  • Jr. Member
  • **
  • Posts: 113
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6641 on: April 25, 2012, 12:24:16 AM »
Download the reverter package from
http://code.google.com/p/prettyurls/downloads/list

Hello VB gamer,

I taked over the forum from PatrickForum this week.
Please explain which one we need to uninstall all the codes or other files about Pretty URLs.
So- we installed the mod, deleted it, and after that we noticed that not everything was deleted properly.

Which reverter package do we need on this page to get it done? http://code.google.com/p/prettyurls/downloads/list
We use SMF 2.x
Een forum starten in 5 stappen: http://www.waardevolleartikelen.nl/?p=4 (mijn visie)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,341
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6642 on: April 25, 2012, 11:41:13 AM »
Yes grab that reverter package from that page and install it.
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline diontoradan

  • Semi-Newbie
  • *
  • Posts: 69
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6643 on: April 25, 2012, 02:13:00 PM »

Uninstall Pretty URLs, you will not have any special characters in there.  ;D

However allot of special characters are not url friendly, so I don't think Pretty will output any. I can be wrong though, but haven't notice this behavior.

Uninstalling prettyurl is not a good solution i think, can someone please tell me modifications to exclude quote ('/") from the script?

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 48
  • Gender: Male
  • www.zgempire.com
Re: [ERROR] Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6644 on: April 26, 2012, 03:26:14 PM »
Update: I installed a clean copy of 2.0.2 with no mods, and then duplicated and installed my MySQL database that has ~2,000 accounts/members. I was able to successfully send out ~2,000 eMails through SMF with no errors.

ERROR
I'm trying to send out an HTML newsletter via eMail, and I'm having some problems.

Quote
Fatal error: Maximum execution time of 30 seconds exceeded in /Sources/PrettyUrls-Filters.php on line 269

I've turned on Mail Que settings (set to 40 emails per minute, 3 emails per page load) to help throttle the server and keep load down. It adds about 67 email addresses to the que, out of ~2,000.

I've also added the action "admin" to the skip actions area, so PrettyURLs isn't doing anything for the admin area. The link looks like: site.com/index.php?action=admin;area=news;sa=mailingsend

Offline Scratching my Head

  • Jr. Member
  • **
  • Posts: 172
  • Yes. I see. Thanks.
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6645 on: May 05, 2012, 02:18:06 PM »
Hi. I know this will probably seem redundant, and maybe even obvious.
I thought I'd post it in the hopes it may help someone.

May be it is even a type of a bug. Depending upon your definition of a bug.



When receiving the internal server error, check to make sure the htaccess file created by the mod is correct.

Entirely correct.


Here is what I mean.

I set up a test forum. I even called it: Test Forum


When the mod creates the htaccess file it goes like this:



Code: [Select]
# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: May 5, 2012, 12:08

RewriteEngine on
RewriteBase /Test Forum


See the problem?

It should write it like this:

Code: [Select]
# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: May 5, 2012, 12:08

RewriteEngine on
RewriteBase /Test%20Forum


making sure that the %20 is there.

Every change to the htaccess file brings back the space instead of writing %20


I know.
I know.
I know.

Test Forum is sloppy coding. (shrug)

Just hope this helps someone who may, innocently create a forum with a space.


Hope all are well!

: o )



Offline eldublu

  • Semi-Newbie
  • *
  • Posts: 29
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6646 on: May 06, 2012, 02:52:44 PM »
Hi all

I've just installed the mod and almost everything seems to work ok. The problem I have is that it prevents the use of alternate stylesheets that are set up for our theme, once the mod is enabled the default stylesheet colour is the one that shows regardless of the one selected.

Any ideas what to change to allow the alt stylesheets to work?

Update: I've disabled the mod for the time being, if it helps you can view the site with it's alt stylesheet selection (top right corner) working here
« Last Edit: May 07, 2012, 11:24:52 AM by eldublu »

Offline vincentfkc

  • Newbie
  • *
  • Posts: 1
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6647 on: May 11, 2012, 12:50:19 PM »
is Pretty URL possible to mod for Asian Language Topic (UTF-8)

like wordpress

u can rewrite fowllowing topic to URL base

Code: [Select]

http://www.me.com/生年1993/
http://www.me.com/%E7%94%9F%E5%B9%B41993/



thanx

Offline nend

  • Sr. Member
  • ****
  • Posts: 842
  • 2 deep n2 the code
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6648 on: May 11, 2012, 01:01:17 PM »
Just reported a bug @ http://code.google.com/p/prettyurls/issues/detail?id=154

It is untested, but by the results of a script I am working on SQLite3 Cache, I am sure that Pretty Url's suffers the same fate.

It seems when SMF's database is SQLite any SQLite database request from inside the callback function ob_sessrewrite() causes the script to exit without any output, no errors and no database activity.

This is not a SMF bug, it seems to be related to ob_start()'s callback function and SQLite.

You can see the problem though, even with SMF's database layer there is no way at this time to add compatibility with database calls from within ob_sessrewrite().

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6649 on: May 12, 2012, 04:16:38 AM »
hi everybody,

i got a problem, i erase the skip action list and don't know what it was !!! So if someone can tell me the default skip action list in pretty urls will be nice !!!

Also i get logout everytime i use reply or post or simply when i go the an category of my forum i'm disconnected from the forum !!!

what's the problem?!!!!

thanks for replying me !!

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6650 on: May 12, 2012, 04:18:14 AM »
i got also after the category in url "?wwwredirect at the end wtf !!!

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6651 on: May 16, 2012, 04:43:24 PM »
i got a problem when logged in i get logged out everytime i go to an topic, when pretty urls is activated, everything is working i tried every single possibility with pretty urls settings ( rewrite url works ) but get logged out on every topic, and get logged in if go back to home or forum, very strange, sometimes i got a "wwwredirect after the correct url or category !!!

I need some help thanks !!!!

Offline wynnyelle

  • SMF Hero
  • ******
  • Posts: 2,530
    • Warrior Cats RPG
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6652 on: May 19, 2012, 07:55:24 PM »
How do I unsubscribe from this? It keeps popping up in my replies and I am no longer interested.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,341
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6653 on: May 19, 2012, 08:01:03 PM »
Click notify button
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline wynnyelle

  • SMF Hero
  • ******
  • Posts: 2,530
    • Warrior Cats RPG
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6654 on: May 19, 2012, 08:50:49 PM »
Thanks :) BTW did you get my PM about the glitching store bank?

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 225
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6655 on: May 19, 2012, 09:06:48 PM »
Thanks :) BTW did you get my PM about the glitching store bank?
Yeah still thinking about what to do next.
Disclaimer: SMFHacks.com Team is in no way directly affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF

Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline NBK*Twitch

  • Full Member
  • ***
  • Posts: 690
  • Gender: Male
    • Twitch's World
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6656 on: May 19, 2012, 09:20:52 PM »
I am having a strange problem when using this awesome plugin.


I have smf in the root directory with this plug installed.  I also have smf installed in another directory for theme demo board. It installed fine,but now when I try to access it I just get the one in the root showing with no content.




http://awesomescreenshot.com/01f60qmf7

Twitch's WorldFree Computer Support Forum - My SMF Themes - For affordable custom themes PM me

Offline abidejaz4u

  • Jr. Member
  • **
  • Posts: 387
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6657 on: May 20, 2012, 03:56:54 PM »
i m using 1.x when i went to board option
http://www.myweb.com/forum/manageboards/
in following link in my forum i m facing this error

Fatal error: Cannot redeclare template_pretty_board_url() (previously declared in /home/myweb/public_html/forum/Sources/Load.php(1733) : eval()'d code:565) in /home/myweb/public_html/forum/Sources/Load.php(1733) : eval()'d code on line 648

plz solve my problem plzzz

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 16,341
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6658 on: May 21, 2012, 12:30:38 PM »
Looks like you had that function added twice in manageboards_Template.php check the file and remove dupliacate code.
Community Suite - Take your forum to the next level built for SMF, Gallery,Store,Classfieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - Portal System for SMF
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Genius123

  • Newbie
  • *
  • Posts: 3
Pretty Urls - How to enable under Scheduled Tasks ?
« Reply #6659 on: May 22, 2012, 07:10:15 AM »
I have one forum where under Maintainence, Scheduled Tasks

I have an option named pretty_urls  this automatically updates the url's for any post titles that have been changed etc.

I have just installed Pretty Urls on a new installed forum but cant seem to find out how to get this option to show in the Scheduled Tasks.

Can anyone help???

Many thanks and Beers in Advance