Advertisement:

Author Topic: Pretty URLs  (Read 2341253 times)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8080 on: December 16, 2020, 02:37:37 PM »
Community Suite for SMF - Take your forum to the next level built for 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

Offline s10dulkar

  • Semi-Newbie
  • *
  • Posts: 39
Re: Pretty URLs
« Reply #8081 on: December 17, 2020, 09:03:36 AM »
Fixes found at https://www.simplemachines.org/community/index.php?topic=560538.msg4075764#msg4075764
followed steps able to activate and configure pretty url. again same issue logs out user when any board or topic clicked

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8082 on: December 17, 2020, 10:45:33 AM »
Same issue the pretty urls root is wrong..
Community Suite for SMF - Take your forum to the next level built for 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

Offline s10dulkar

  • Semi-Newbie
  • *
  • Posts: 39
Re: Pretty URLs
« Reply #8083 on: December 17, 2020, 12:07:37 PM »
Same issue the pretty urls root is wrong..

so how to correct it ?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8084 on: December 18, 2020, 02:11:40 PM »
Go inside your smf_settings database table and adjust the pretty urls root value
Community Suite for SMF - Take your forum to the next level built for 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

Offline s10dulkar

  • Semi-Newbie
  • *
  • Posts: 39
Re: Pretty URLs
« Reply #8085 on: December 18, 2020, 09:54:40 PM »
Go inside your smf_settings database table and adjust the pretty urls root value

i cant see any row with pretty url in smf setting table :(

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8086 on: December 18, 2020, 11:22:56 PM »
If not enter a field pretty_root_url and put your board url in it...
Community Suite for SMF - Take your forum to the next level built for 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

Offline s10dulkar

  • Semi-Newbie
  • *
  • Posts: 39
Re: Pretty URLs
« Reply #8087 on: December 19, 2020, 07:43:02 AM »
If not enter a field pretty_root_url and put your board url in it...
done that with no luck it was there actually pretty_root_url and i have made http to https but still the same. keeps logging out whenever its enabled and clicked on any board

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8088 on: December 19, 2020, 09:13:50 AM »
I have no other idea at this time.
Community Suite for SMF - Take your forum to the next level built for 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

Offline K-Forum

  • Semi-Newbie
  • *
  • Posts: 49
    • Georg Kreisler Forum
Re: Pretty URLs, index.php and policy agreement
« Reply #8089 on: January 21, 2021, 06:10:47 AM »
For those who may have created the same problem as I did, here is the workaround.
For all the others here's a recipe for a problem you haven't had, yet.

After upgrading a damaged forum according to these steps to version from 2.0.12 or so to 2.0.17 existing members were not able to log in successfully.
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
This forum: https://www.georgkreisler.net/

Right after logging in the members got redirected to this page - in order to subscribe to the new settings. On my computer/Firefox appears to be a white page. Your view may differ:
https://www.georgkreisler.net/agreement/?sa=policy

My part of the problem: I have the index.php redirect to root via htaccess. This has killed the URL so much it could not be prettified.

Workaround: Excluding the action "agreement" in pretty-url-settings did it for me.

Online shadav

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,052
  • Gender: Female
    • shadav on Facebook
    • leashadav on GitHub
    • Ask The Muslims: A Place To Ask Honest Questions and Receive Respectful Answers
Re: Pretty URLs, index.php and policy agreement
« Reply #8090 on: January 21, 2021, 11:18:15 AM »
For those who may have created the same problem as I did, here is the workaround.
For all the others here's a recipe for a problem you haven't had, yet.

After upgrading a damaged forum according to these steps to version from 2.0.12 or so to 2.0.17 existing members were not able to log in successfully.
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
This forum: https://www.georgkreisler.net/

Right after logging in the members got redirected to this page - in order to subscribe to the new settings. On my computer/Firefox appears to be a white page. Your view may differ:
https://www.georgkreisler.net/agreement/?sa=policy

My part of the problem: I have the index.php redirect to root via htaccess. This has killed the URL so much it could not be prettified.

Workaround: Excluding the action "agreement" in pretty-url-settings did it for me.

ehhh if memory serves from reading through posts...you can't drop the index.php or it will mess up functions of smf

Offline K-Forum

  • Semi-Newbie
  • *
  • Posts: 49
    • Georg Kreisler Forum
Re: Pretty URLs
« Reply #8091 on: January 22, 2021, 05:11:47 AM »
Yeah, Shadav, you are right.
Our forum is nearly 20 years old and since it had been converted it had accumulated lots of rewrites and redirects.
Since I built it anew I already dropped most of them, now I think I should also drop this one. It was a solution yesterday but it should not become a problem tomorrow.
I will leave my reply for others with a similar problem.

Thank you

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8092 on: January 29, 2021, 10:16:46 PM »
Critical Update for SMF 2.0.x!!!
In order to use on SMF 2.0.18
You must upgrade the latest version otherwise you will have issues with boards/topics that quotes in the name of them.

Pretty Urls 2.4
Fix:
!Handle quote character storage changes in 2.0.18
Community Suite for SMF - Take your forum to the next level built for 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

Offline gorbi

  • Jr. Member
  • **
  • Posts: 176
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Pretty URLs
« Reply #8093 on: January 30, 2021, 04:10:08 AM »
Does the new version work with php 7.2?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8094 on: January 30, 2021, 09:24:41 AM »
Yes, it has been working for PHP 7.2 I run PHP 7.3 myself with it.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Vincent Volmer

  • Jr. Member
  • **
  • Posts: 218
  • Gender: Male
  • SMF2.0.18
    • digiscrapdigitaalscrappen on Facebook
    • @Digiscrap_NL on Twitter
    • Digiscrap Digitaal scrappen
Re: Pretty URLs
« Reply #8095 on: February 02, 2021, 08:07:03 AM »
 :o I'm still running 1.0RC5  :-[ .... and I updated to 2.0.18 and PHP7.4 ....

Critical Update for SMF 2.0.x!!!
In order to use on SMF 2.0.18
You must upgrade the latest version otherwise you will have issues with boards/topics that quotes in the name of them.

Pretty Urls 2.4
Fix:
!Handle quote character storage changes in 2.0.18

Offline Vincent Volmer

  • Jr. Member
  • **
  • Posts: 218
  • Gender: Male
  • SMF2.0.18
    • digiscrapdigitaalscrappen on Facebook
    • @Digiscrap_NL on Twitter
    • Digiscrap Digitaal scrappen
Re: Pretty URLs
« Reply #8096 on: February 02, 2021, 08:50:11 AM »
Pretty URLs 2.4 Up and Running  :D

Offline AllMassive

  • Jr. Member
  • **
  • Posts: 148
  • Gender: Male
Re: Pretty URLs
« Reply #8097 on: February 06, 2021, 08:16:47 PM »
Just upgraded from my ancient pretty 1.0 to 2.4 and SMF to 2.0.18 afterwards.
since then i get a lot of these errors:
Code: [Select]
https://url/index.php?pretty;action=.xml&type=webslice;PHPSESSID=uhfusifhiusdfoudsfhuodshfodshfuds
8: Undefined index: sa
File: /var/www/clients/client2/web6/web/Sources/News.php
Line: 68

These Errors only occur on unauthed users of the Forum - so maybe some bot/crawler.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,394
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #8098 on: February 06, 2021, 08:18:30 PM »
I think it is a 2.0.18 bug that fill be fixed I heard there is an xml issue outstanding.
Community Suite for SMF - Take your forum to the next level built for 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

Offline Arkadaş

  • Jr. Member
  • **
  • Posts: 351
  • Gender: Male
    • Evlilik
Re: Pretty URLs
« Reply #8099 on: February 09, 2021, 10:58:26 AM »
thank you