Advertisement:

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

Offline humbleworld

  • Sr. Member
  • ****
  • Posts: 850
    • full time job
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7260 on: March 25, 2015, 02:03:54 AM »
I need help. The pretty url mod was successfully installed in our forum site but there is an extra text at the header or on top of the forum, a plain text, this one: // Pretty URLs mod $txt['pretty_urls'] = 'Pretty URLs';

That line appears in all pages of the forum site. How to remove it?

Online Kindred

  • The Mean One
  • Project Manager
  • SMF Master
  • *
  • Posts: 45,145
  • Gender: Male
    • wagner999 on Facebook
    • Kindred-999 on GitHub
    • wdwagner on LinkedIn
    • @Kindred_999 on Twitter
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7261 on: March 25, 2015, 09:19:31 AM »
Fix your file modifications.english.php...   the ?> must be the very last thing in thr file
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline cloferba

  • Newbie
  • *
  • Posts: 3
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7262 on: March 25, 2015, 11:50:54 AM »
Fix your file modifications.english.php...   the ?> must be the very last thing in thr file
Hi Kindred

Could you please help me with this?
http://www.simplemachines.org/community/index.php?topic=146969.msg3801487#msg3801487

Thank you!

Offline humbleworld

  • Sr. Member
  • ****
  • Posts: 850
    • full time job
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7263 on: March 25, 2015, 04:42:30 PM »
Fix your file modifications.english.php...   the ?> must be the very last thing in thr file

THANK YOU SO MUCH, KINDRED. The problem was fixed by removing that extra line from modifications.english.php

Online Kindred

  • The Mean One
  • Project Manager
  • SMF Master
  • *
  • Posts: 45,145
  • Gender: Male
    • wagner999 on Facebook
    • Kindred-999 on GitHub
    • wdwagner on LinkedIn
    • @Kindred_999 on Twitter
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7264 on: March 25, 2015, 04:46:51 PM »
cloferba,

I have no clue.  I don't use this mod (and would never bother with it for a variety of reasons)
You'll have to wait for the mod author to respond, since he's probably the best one to offer assistance.

humbleworld,
not sure if you should have REMOVED that line...    just moving the ?> to the end of the file would have worked and would have left the defined text string there...   by removing the defined text string, you are probably going to start seeing errors in your forum error log.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support forums.  Thank you.

Offline humbleworld

  • Sr. Member
  • ****
  • Posts: 850
    • full time job
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7265 on: March 28, 2015, 10:58:17 PM »
Kindred,
I did not see any errors in the log after entirely removing that line.

Offline pittu

  • Jr. Member
  • **
  • Posts: 319
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7266 on: April 21, 2015, 11:09:26 PM »
I am using two themes for my SMF.

Default Curve for most of the boards and different theme for 3 child forums.

While installing the Pretty URLs, I am not seeing this second theme to install it.

Need to install it manually after installing it on Curve?

thnx.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 17,212
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7267 on: April 21, 2015, 11:16:46 PM »
Yes you will need to.
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 pittu

  • Jr. Member
  • **
  • Posts: 319
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7268 on: April 22, 2015, 10:25:08 AM »
So ONLY the files in custom theme 'Themes/theme1/ folder. Right? (actually theme1 is duplicate of Curve)

No need to chane any other? Like 'Source' files.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 17,212
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7269 on: April 22, 2015, 10:27:38 AM »
If you already installed the mod then the source files were changed already.

For themes if you add new themes afterwords you will need to modify them for manual edits.
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 pittu

  • Jr. Member
  • **
  • Posts: 319
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7270 on: April 22, 2015, 10:44:02 AM »
I can copy the needed files to theme1 from Curve?
Because if I install other mods I might be having difficulty installing them if I edit manually.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 17,212
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7271 on: April 22, 2015, 10:47:14 AM »
Unsure try it and see if it works.
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 DionK

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7272 on: April 22, 2015, 09:03:21 PM »
Hello, I've been able to edit Subs.php and change the boardindex url from "index.php?action=forum" to "index.php?action=boards", however Pretty URLs is not displaying the url as "mysite.com/boards", rather as "mysite.com/index.php?action=boards".
How do I go about fixing this?

Online margarett

  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 15,181
  • Gender: Male
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7273 on: April 22, 2015, 09:07:24 PM »
Not exactly related but...
Hello, I've been able to edit Subs.php and change the boardindex url from "index.php?action=forum" to "index.php?action=boards"
Why would you do this? Pure curiosity ;)
Bruno Alves a.k.a "margarett"

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline DionK

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7274 on: April 22, 2015, 09:36:13 PM »
Not exactly related but...
Hello, I've been able to edit Subs.php and change the boardindex url from "index.php?action=forum" to "index.php?action=boards"
Why would you do this? Pure curiosity ;)

Basically the site I'm putting together isn't a traditional forum. I just love SMF and it's customisation so I decided to base it off the software. I'm also a huge neat freak and hate urls like "?action=forum" and "?topic=1510.0" etc.
As for wanting "forum" to be changed to "boards", that's simply how I want that page to be referred to as. =)

Offline DionK

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7275 on: April 23, 2015, 08:25:30 AM »
I have another issue too. I created a board called "Test" and it showed correctly as mysite.com/test/. I then deleted it and added a board again called "Test", but now the board url shows as mysite.com/test-70/ which is the id_board, even though there's no other board with the same name in the database. Running the maintenance task does nothing. Why is this happening?

Offline mossite

  • Jr. Member
  • **
  • Posts: 104
  • Gender: Male
  • Goodness is Greatness
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7276 on: Yesterday at 05:41:33 AM »
Can anyone install pretty URL successfully on my forum (paid)
Greatness is Goodness

Online margarett

  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 15,181
  • Gender: Male
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #7277 on: Yesterday at 12:21:10 PM »
Please use the Help Wanted (not for support) board in order to ask for paid support ;)
Be sure to read the sticky topic.
Bruno Alves a.k.a "margarett"

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair