Advertisement:

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

Offline Genius123

  • Newbie
  • *
  • Posts: 3
Pretty Urls - How to enable under Scheduled Tasks ?
« Reply #6660 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

Offline ArkServer

  • SMF Hero
  • ******
  • Posts: 2,002
  • Owner of Javaforums.net /nl /be
    • Javaforums.net :: For those that need Java help and tutorials!
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6661 on: May 23, 2012, 09:32:11 AM »
This might be an odd question but how can i get this mod running on IIS7? Im not using apache because i develop in .NET but i dont know how to set up the mod to work with it. Any one?


http://diablolivestream.com :: A diablo livestream community! It's my new pet project and i hope u all like it and join so it becomes a very nice and active community :)!

Offline abidejaz4u

  • Jr. Member
  • **
  • Posts: 387
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6662 on: May 23, 2012, 11:37:02 AM »
Looks like you had that function added twice in manageboards_Template.php check the file and remove dupliacate code.

From where??

Offline NBK*Twitch

  • Full Member
  • ***
  • Posts: 619
  • Gender: Male
    • Twitch's World
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6663 on: May 26, 2012, 04:09:55 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


bump

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

Offline h33f

  • Semi-Newbie
  • *
  • Posts: 19
What should I do?
« Reply #6664 on: May 31, 2012, 11:17:28 AM »
Hi, I have an smf forum installed on a subdomain (not sure if this plays a factor?).

I followed and did the manual install instructions for SMF 2.0.2.
I tried to upload the package "prettyurls-1-0RC4.zip" but I get the error "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Can someone shed light on what I need to do with mod_rewrite and .htaccess?

Please advise, not exactly an expert and it's my first time using smf! Thanks!

Offline Mstcool

  • Full Member
  • ***
  • Posts: 481
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6665 on: May 31, 2012, 09:24:41 PM »
Thats because you are downloading rc4
download the one with this name which is the only one PrettyUrls1.0.zip
Who Am I??

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6666 on: June 01, 2012, 04:15:30 AM »
Nobody give me response, why ?!!!

What is the DEFAULT "Skip Actions List" when you install pretty urls ? i erase it and cannot see it now !!!

The mod is working but i get disconnected every time i change from page on my forum !!!! (is it because of empty skip action list ?!!!)

I really need  help to find out what the problem is, cause i have to turn it off for now its not usable with this bug !!!

Thanks in advance for helping me

Offline h33f

  • Semi-Newbie
  • *
  • Posts: 19
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6667 on: June 01, 2012, 01:35:01 PM »
Mstcool - Great, thanks! Problem solved.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,470
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6668 on: June 01, 2012, 01:46:03 PM »
Nobody give me response, why ?!!!

What is the DEFAULT "Skip Actions List" when you install pretty urls ? i erase it and cannot see it now !!!

The mod is working but i get disconnected every time i change from page on my forum !!!! (is it because of empty skip action list ?!!!)

I really need  help to find out what the problem is, cause i have to turn it off for now its not usable with this bug !!!

Thanks in advance for helping me
It is empty there is nothing added it by default
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

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

Offline abidejaz4u

  • Jr. Member
  • **
  • Posts: 387
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6669 on: June 02, 2012, 03:55:29 AM »
Looks like you had that function added twice in manageboards_Template.php check the file and remove dupliacate code.

From where??

w8ing for answer

Offline Arantor

  • SMF Legend
  • *********
  • Posts: 51,160
    • wedgebook on Facebook
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6670 on: June 02, 2012, 10:43:46 AM »
I answered that in your other topic. You have to go through all the places this mod changes the code to check it's all been removed...

Offline Mstcool

  • Full Member
  • ***
  • Posts: 481
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6671 on: June 02, 2012, 11:15:47 AM »
h33f Your welcome.
Who Am I??

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Every action leads to a blank page !!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!
« Reply #6672 on: June 04, 2012, 05:16:27 AM »
I'm loosing members they cannot reply or post topics, when pretty urls is enabled !!!!
like this :
http://powerfullinfo.com/sci-tech/fbi-warns-infected-computers-may-crash-in-july-!!/?action=post;last_msg=1818

Still the same if enable action rewrite or not,


Some of my error logs :

Undefined index: session_var
Apply Filter: Only show the errors from this file
File: /Sources/PrettyUrls-Filters.php
Line: 35
Code: [Select]
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+|' . $context['session_var'] . '=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
Apply Filter: Only show the errors with the same message
8: Undefined index: template_layers
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3752
Code: [Select]
foreach (array_reverse($context['template_layers']) as $layer)


http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3645

Code: [Select]
foreach ($context['template_layers'] as $layer)
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
8: Undefined index: html_headers
Sources/Load.php
Line: 1836

Code: [Select]


$context['html_headers'] .= "\n\t" . '<link rel="stylesheet" type="text/css" id="' . $sheet . '_css" href="' . $settings[$sheet_path] . '/css/' . $sheet . '.css"/>'

And more, as you can see its the default avatar attach action problem that i get error logs from, but not for post and reply actions !!!
i get more than 150 error logs for the avatar problem, but cannot see error logs for the other actions?=post, or action?=reply

Also sometimes cannot login, it says wrong password, as i'm sure its only a url action problem too.

Btw if i uninstall pretty urls and reinstall, the settings i've made before in pretty urls still there, its like the pretty urls settings still there even after uninstall, maybe its the reason of the bugs, no clean uninstall ?!

Need help someone pls, i'm sure it is a little bug to fix but don't know how to do this !!!





« Last Edit: June 05, 2012, 03:13:05 AM by vinzbomb »

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Every action leads to a blank page !!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!
« Reply #6673 on: June 05, 2012, 03:23:05 AM »
I'm loosing members they cannot reply or post topics, when pretty urls is enabled !!!!
like this :
http://powerfullinfo.com/sci-tech/fbi-warns-infected-computers-may-crash-in-july-!!/?action=post;last_msg=1818

Still the same if enable action rewrite or not,


Some of my error logs :

Undefined index: session_var
Apply Filter: Only show the errors from this file
File: /Sources/PrettyUrls-Filters.php
Line: 35
Code: [Select]
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+|' . $context['session_var'] . '=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
Apply Filter: Only show the errors with the same message
8: Undefined index: template_layers
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3752
Code: [Select]
foreach (array_reverse($context['template_layers']) as $layer)


http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3645

Code: [Select]
foreach ($context['template_layers'] as $layer)
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
8: Undefined index: html_headers
Sources/Load.php
Line: 1836

Code: [Select]


$context['html_headers'] .= "\n\t" . '<link rel="stylesheet" type="text/css" id="' . $sheet . '_css" href="' . $settings[$sheet_path] . '/css/' . $sheet . '.css"/>'

And more, as you can see its the default avatar attach action problem that i get error logs from, but not for post and reply actions !!!
i get more than 150 error logs for the avatar problem, but cannot see error logs for the other actions?=post, or action?=reply

Also sometimes cannot login, it says wrong password, as i'm sure its only a url action problem too.

Btw if i uninstall pretty urls and reinstall, the settings i've made before in pretty urls still there, its like the pretty urls settings still there even after uninstall, maybe its the reason of the bugs, no clean uninstall ?!

Need help someone pls, i'm sure it is a little bug to fix but don't know how to do this !!!

HELP !!!!!!!!!!!!!!!!!!!!!!!!!

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Every action leads to a blank page !!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!
« Reply #6674 on: June 06, 2012, 12:56:57 PM »
I'm loosing members they cannot reply or post topics, when pretty urls is enabled !!!!
like this :
http://powerfullinfo.com/sci-tech/fbi-warns-infected-computers-may-crash-in-july-!!/?action=post;last_msg=1818

Still the same if enable action rewrite or not,


Some of my error logs :

Undefined index: session_var
Apply Filter: Only show the errors from this file
File: /Sources/PrettyUrls-Filters.php
Line: 35
Code: [Select]
$match = preg_replace(array('~^[\"\']|PHPSESSID=[^;]+|(se)?sc=[^;]+|' . $context['session_var'] . '=[^;]+~', '~\"~', '~;+|=;~', '~\?;~', '~\?$|;$|=$~'), array('', '%22', ';', '?', ''), $match);
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
Apply Filter: Only show the errors with the same message
8: Undefined index: template_layers
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3752
Code: [Select]
foreach (array_reverse($context['template_layers']) as $layer)


http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /Sources/Subs.php
Line: 3645

Code: [Select]
foreach ($context['template_layers'] as $layer)
http://powerfullinfo.com/index.php?action=dlattach;attach=11;type=avatar
8: Undefined index: html_headers
Sources/Load.php
Line: 1836

Code: [Select]


$context['html_headers'] .= "\n\t" . '<link rel="stylesheet" type="text/css" id="' . $sheet . '_css" href="' . $settings[$sheet_path] . '/css/' . $sheet . '.css"/>'

And more, as you can see its the default avatar attach action problem that i get error logs from, but not for post and reply actions !!!
i get more than 150 error logs for the avatar problem, but cannot see error logs for the other actions?=post, or action?=reply

Also sometimes cannot login, it says wrong password, as i'm sure its only a url action problem too.

Btw if i uninstall pretty urls and reinstall, the settings i've made before in pretty urls still there, its like the pretty urls settings still there even after uninstall, maybe its the reason of the bugs, no clean uninstall ?!

Need help someone pls, i'm sure it is a little bug to fix but don't know how to do this !!!

HELP !!!!!!!!!!!!!!!!!!!!!!!!!

Nobody can help me ?

Offline nend

  • Beta Tester
  • Sr. Member
  • *
  • Posts: 837
  • 2 deep n2 the code
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6675 on: June 06, 2012, 02:10:16 PM »
Settings are usually saved unless you check remove data, not all mods allow to remove data, but data is mainly harmless.

What might of happened is the mod didn't install right, maybe due to another mod. Did you notice any errors listed when you where about to install?

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6676 on: June 06, 2012, 03:18:33 PM »
Settings are usually saved unless you check remove data, not all mods allow to remove data, but data is mainly harmless.

What might of happened is the mod didn't install right, maybe due to another mod. Did you notice any errors listed when you where about to install?

I did not get error when install or uninstall pretty urls, but what i can say is after uninstall there are files on my server that still on the server,
and yes settings also stays there, so if you can explain me how to remove everything from pretty urls manually, so i can try to reinstall it properly.

Thanks nend for your reply !!: i appreciate 

Offline vinzbomb

  • Jr. Member
  • **
  • Posts: 164
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6677 on: June 07, 2012, 03:55:52 AM »
Settings are usually saved unless you check remove data, not all mods allow to remove data, but data is mainly harmless.

What might of happened is the mod didn't install right, maybe due to another mod. Did you notice any errors listed when you where about to install?

so i was trying to repair table of forum, and get this in phpmyadmin :

There are problems with indexes of table `` smf_messages
Warning Column id_topic `` should not be part of both a unique key and a key index
Warning More than one INDEX index type exists for the `` id_topic
Warning Column id_member `` should not be part of both a unique key and a key index
Warning More than one INDEX index type exists for the `` id_member
There are problems with indexes of table `` smf_topics
Warning More than one INDEX index type exists for the `` id_board

i don't know if it helps but cannot fix it since i don't know how to fix it, even with repair tools in phpmyadmin no change
its maybe the problem i get with pretty urls cause of these errors ?!!!

Offline NBK*Twitch

  • Full Member
  • ***
  • Posts: 619
  • Gender: Male
    • Twitch's World
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6678 on: June 07, 2012, 01:12:37 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


bump
I know you busy,but I would like atleast some kind of advice :(.

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

Offline SMFHacks.com Team

  • Jr. Member
  • **
  • Posts: 169
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6679 on: June 07, 2012, 01:14:55 PM »
Haven't seen that happen before check your error log and see if there are any other errors that might be related.
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