News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

vbgamer45

There should be a link called Pretty Urls in the sidebar or the admin menus
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

moneyman125

Quote from: vbgamer45 on March 10, 2017, 11:55:46 PM
There should be a link called Pretty Urls in the sidebar or the admin menus

no i don't see it. It said it installed fine. I will check around a little more.

Thanks for the super fast reply. ;)

UPDATE: found it  ;D

I'm such a dummy  :P

Thanks for a great mod  :)

humbleworld

pretty url mod has a problem in connecting to https url. i modified the htaccess to make my forum site have a default https url, but the problem is that you can no longer post new topics in your forum site.

why is this so? what is there to fix?

vbgamer45

You have to update your root prettys url check the guide in top of this topic.
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

humbleworld

hi vbgamer, sorry but i am not sure what you mean of root prettyurl. where is that?

vbgamer45

read first post in this topic troubleshooting link
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

richardwbb

#7526
Has anyone attempted to use my little adjustment in my post before. It is working flawlessly overhere. Search engines Google likes it.

You can see for yourself;
If my post in this topic looks ambiguous to you, then I'm with Murphy's law and General Stupidity. In other words, trial and error.

cpf

Are there instructions on how to upgrade from 2.0 to 2.1?
Don't email me, PM me, IM me, contact me, look at me, breath on me, or even attempt to think about thinking of contacting me.  If you do, I will send you to the correct forum to post, where I will promptly tell you that you posted in the wrong forum.

vbgamer45

doesn't support 2.1 yet
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

SeverityGaming

I'm running "Custom Actions" as well as a few other modifications that add to $actionArray in Load.php as part of integration hooks. With the "Actions" flag enabled, after I run maintenance I'm not seeing any of these hook added actions being built out in the .htaccess rewrites. It seems to only be honoring the hard coded array for $actionArray. Is there any way to get it to handle the others?

nightw0lf

any news if it will be available in 2.1?

vbgamer45

Yes when 2.1 is released.
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

nightw0lf

that might happen when i die i use 2.1 from git anyone can add it?

vbgamer45

I am sorry enjoy the time that you have left.
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

nightw0lf

who ever wants money to make it pm me.

ninik

Hi guys I am trying to remove pretty urls and get the following:


"
Parse error: syntax error, unexpected ''" width="100%" height="200px"' (T_ENCAPSED_AND_WHITESPACE) in /..../Packages/temp/uninstall.php on line 12

"

line 12 is the following one (and yes, while opening the file from cpanel, it indeed shows an error):

echo '<iframe src ="http://www.smfhacks.com/uninstall.php?modname=' . $modName . '" width="100%" height="200px">


The entire small block of the code is this:


<?php

// Pretty URLs - Base v0.8.1

// All I do is disable URL rewriting. If you're uninstalling the mod manually, please just ignore me.

$modSettings['pretty_enable_filters'] = false;


// Show the iframe with the uninstall
$modName base64_encode("Pretty Urls");

echo 
'<iframe src ="http://www.smfhacks.com/uninstall.php?modname=' $modName '" width="100%" height="200px">
  <p>Your browser does not support iframes.</p>
</iframe>

<b>Other Helpful Mods to make your forum stand out</b><br />
<a href="http://www.smfhacks.com/smf-gallery-pro.php" target="_blank">SMF Gallery Pro</a> - A fully featured gallery for SMF<br />
<a href="http://www.smfhacks.com/smf-store.php" target="_blank">SMF Store</a> - eCommerce Store system using PayPal<br />
<a href="http://www.smfhacks.com/smf-classifieds.php" target="_blank">SMF Classifieds</a> - Auction/Listing system for SMF<br />
<a href="http://www.smfhacks.com/ad-seller-pro.php" target="_blank">Ad Seller Pro</a> - Make more money from your forum with ads<br />
<a href="http://www.smfhacks.com/download-system-pro.php" target="_blank">Downloads System Pro</a> - charge people for downloads<br />
<a href="http://www.smfhacks.com/awesomepostratings.php" target="_blank">Awesome Post Ratings</a> - gain more interaction from your visitors<br />
<a href="http://www.smfhacks.com/newsletter-pro.php" target="_blank">Newsletter Pro</a> - send html emails with open, click and unsubscribe tracking.<br />


?>




So, where exactly is the syntax error?

In my understanding the ' ... before the iframe tag is extra, meaning this:

'<iframe

But still I cannot correct the error...

I am running the 2.13 version of smf...


Does anyone know how to correct it? ... I would highly appreciate it and I thank you in advance :)

vbgamer45

You can take out that block of code. I will review and fix if needed.
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

ninik

Hi vbgamer45,

first of all I would like to thank you for your quick reply...

what exactly do you mean by take out?

will it work afterwards?

if you are not sure, I would prefer to wait for your review first...

vbgamer45

Change the file to just


<?php

// Pretty URLs - Base v0.8.1

// All I do is disable URL rewriting. If you're uninstalling the mod manually, please just ignore me.

$modSettings['pretty_enable_filters'] = false;

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

ninik

OK here is the thing...

I click uninstall...

pretty url uninstalls partially.

To be more precise, it uninstalls these ones:


Move the included file "SMF2-0/PrettyUrls.php" to "./Sources".
Move the included file "SMF2-0/PrettyUrls-Filters.php" to "./Sources".
Move the included file "PrettyUrls-Tests.php" to "./Sources".
Move the included file "SMF2-0/Subs-PrettyUrls.php" to "./Sources".
Move the included file "PrettyUrls.template.php" to "./Themes/default".
Move the included directory "pretty" to "./Themes/default".
Move the included file "PrettyUrls.english.php" to "./Themes/default/languages".


Once, I go to cpanel, change the uninstall.php save it, and rerun the uninstall I get the exact same error.

Checking back the uninstall.php file it is restored to its original state.

As of now, pretty urls should not have any effect on the forum YET it is still installed...

So what now?

Advertisement: