Advertisement:

Author Topic: Pretty URLs  (Read 2292071 times)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7760 on: October 29, 2018, 09:01:12 AM »
Copy this attached file to your sources folder and let me know if it helps
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 SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 409
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Pretty URLs
« Reply #7761 on: November 07, 2018, 09:16:03 PM »
Pretty Urls now supports 2.1 Beta 3!!!
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 409
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Pretty URLs
« Reply #7762 on: November 16, 2018, 10:29:54 PM »
Update for SMF 2.1
2.1.2
!Fixed issue with boards/topics with a single quote not working.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline computel

  • Jr. Member
  • **
  • Posts: 141
Re: Pretty URLs
« Reply #7763 on: November 17, 2018, 01:02:35 PM »
Getting this error on 2.0.15
An Error Has Occurred!
syntax error, unexpected ''" width="100%" height="200px"' (T_ENCAPSED_AND_WHITESPACE)

what file do I need to fix

thanks

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7764 on: November 17, 2018, 01:34:39 PM »
Are yo sure it's from this mod? This mod doesn't really change templates/tables. What file is it from?
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 agahselimsesli

  • Newbie
  • *
  • Posts: 8
Re: Pretty URLs
« Reply #7765 on: December 11, 2018, 11:37:51 AM »
Hello, I am having the issue below and also when i click on the pretty link in the forum it kicks me out of session. I would be very glad for any helpful answers


Code: [Select]
<label for="pretty_skipactions">', $txt['pretty_skipactions'], '</label>
88: <input type="text" name="pretty_skipactions" id="pretty_skipactions" value="', (isset($modSettings['pretty_skipactions']) ? $modSettings['pretty_skipactions'] : ''), '" />
89: <br />
90: <span class="smalltext">',$txt['pretty_skipactions_note'],'</span><br />
91: <label for="pretty_bufferusecache">', $txt['pretty_bufferusecache'], '</label>
==>92: <input type="checkbox" name="pretty_bufferusecache" id="pretty_bufferusecache"', ($modSettings['pretty_bufferusecache'] ? ' checked="checked"' : ''), ' />


Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7766 on: December 11, 2018, 02:46:07 PM »
i would make sure the pretty urls matches your main site url
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 nemovet

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs
« Reply #7767 on: December 20, 2018, 01:30:03 AM »
can someone help please... my hosting site migrated my site and after connecting the database this is what it says

"Notice: Undefined index: pretty_action_array in /storage/content/41/************/forum/index.php on line 77
Notice: Undefined index: pretty_board_urls in /storage/content/41/**************/forum/index.php on line 78
Fatal error: Call to undefined function TP_loadTheme() in /storage/content/****************/forum/Sources/Load.php on line 1387 "

i am not a programmer and dont have a web admin. i survived maintaining my site by googling but this is the worst problem i have encountered.
i dont want to start from scratch, it is almost 10 years of post related on helping the livestock sector.....

any help is much appreciated

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7768 on: December 20, 2018, 01:34:33 AM »
Attach your index.php file

But the second error is from tinyportal
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 nemovet

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs
« Reply #7769 on: December 20, 2018, 03:42:22 AM »
attach is the index file.

i am just hoping that once the initial problem with pretty url is solved everything will follow, i am assuming this is the first  problem which cascaded to others .

thank you

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7770 on: December 20, 2018, 08:13:17 AM »
Pretty urls looks like it is installed ok on that file.
I would think it would be an issue with tinyportal.

Also you should upgrade SMF version from 2.0.11 to at least 2.0.13 if you are on php 5..3 or less if higher go up to 2.0.15
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 nemovet

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs
« Reply #7771 on: December 20, 2018, 08:54:45 AM »
thank you.

i will try to fresh install version 2.0.13 then apply the pretty url mods , i wont install tinyportal. connect my old database and hopefully it will work.


thank you for the input....

Online @rjen

  • Full Member
  • ***
  • Posts: 477
  • Gender: Male
Re: Pretty URLs
« Reply #7772 on: December 20, 2018, 10:05:45 AM »
Without any details on what was done, what versions are used (TP) it is impossible to ascertain that TinyPortal is causing the problem.
 
Running SMF 2.0 with Tinyportal 1.6.3 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal 1.6.4 at http://test2.fjr-club.nl/

Offline nemovet

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs
« Reply #7773 on: December 20, 2018, 04:25:01 PM »
i think this is the version prettyurls 1.1.3 ,tp 1.2.
itried to instal 2.0.13 and apply the prettyurl mod but i still have the same result.

may i ask if there is a way i can remove tp and prettyurls eventhough i cannot access my smf forum?

i have a backup , i can upload it and then remove tp and prettyurl if it is possible...

thank you

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7774 on: December 20, 2018, 04:34:24 PM »
Did you upload a fresh set of files from the large upgrade pacakge?
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 nemovet

  • Semi-Newbie
  • *
  • Posts: 17
Re: Pretty URLs
« Reply #7775 on: December 20, 2018, 10:46:54 PM »
what i use is "full install" i did not upgrade.
i don't have an idea how to do large upgrade if i cant enter my smf admin area

Offline ppedja

  • Semi-Newbie
  • *
  • Posts: 47
Re: Pretty URLs
« Reply #7776 on: January 08, 2019, 04:16:47 AM »
Hello,
I'm finally trying to uninstall ver 1.0 and set up 2.1.2
smf 2.14 says there is an error in news.php
I found that part of the code in the file, here's the whole function


function fix_possible_url($val)
{
   global $modSettings, $context, $scripturl;

   if (substr($val, 0, strlen($scripturl)) != $scripturl)
      return $val;

   call_integration_hook('integrate_fix_url', array(&$val));

/***   if (empty($modSettings['queryless_urls']) || ($context['server']['is_cgi'] && @ini_get('cgi.fix_pathinfo') == 0 && @get_cfg_var('cgi.fix_pathinfo') == 0) || (!$context['server']['is_apache'] && !$context['server']['is_lighttpd']))
      return $val;

   $val = preg_replace_callback('~^' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+)(#[^"]*)?$~', 'feed_fix__preg_callback', $val);
    return $val; ***/
   return $val;
}


Attached is a prtscr error that smf displays when I try to uninstall.
I see that there is a difference in the code, why is it so?
can I just remove the comment tags manually?
thanks

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,496
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs
« Reply #7777 on: January 08, 2019, 03:17:02 PM »
Are you using SMF 2.0.x or SMF 2.1?

Generally you can't make the edit if another mod changed the same area.
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 SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 409
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Pretty URLs
« Reply #7778 on: February 05, 2019, 05:55:25 PM »
Added support for SMF 2.1 RC1
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Thilo

  • Semi-Newbie
  • *
  • Posts: 64
    • Erziehung-Online
Re: Pretty URLs
« Reply #7779 on: February 07, 2019, 05:12:49 PM »
Hi there,

on my site (2.1 RC1) the Login Popup windows  doesn't work anymore when installing Pretty URLs.

Just on my site or anywhere else?