News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Pretty URLs

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

Previous topic - Next topic

vbgamer45

Did you delete the existing posts? found inside the topic?

How did you find those urls?
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

vinaykumar

Quote from: vbgamer45 on March 10, 2021, 01:23:40 AM
Did you delete the existing posts? found inside the topic?

How did you find those urls?
HI,
The posts are still there.
I had posted the links in the post above but probably they were deactivated by this forum settings. Now putting them as per Insert Hyperlink.

https://www.chemtopper.com/smf/organic-chemistry/best-dissertation-results-writing-for-hire-au/ [nofollow] The actual topic for this post is IUPAC Nomenclature.

https://www.chemtopper.com/smf/cbse-xi-and-xii-chemistry/great-gatsby-foreshadowing-essay/ [nofollow] The actual topic for this post is Bond dissociation enthalpy of halogens

vbgamer45

Did you delete any posts or had spam posts? Or did you a post a to another board?
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

shadav

was the name of the topic changed after it was posted?
in your admin go to your pretty urls and click on the maintenance button for the pretty urls and then click on Run maintenance tasks

this should change the urls to the new topic titles

vinaykumar

#8104
Quote from: vbgamer45 on March 10, 2021, 10:18:33 AM
Did you delete any posts or had spam posts? Or did you a post a to another board?
Yes I did delete spam posts on the forum. In fact human generated spam keeps coming probably two to three per week which I  keep deleting.

No I have not moved the topics from one board to another.

The same is occurring  with new posts also. The topic as given out by Pretty URLs is not coming as the actual topic for new posts also.
Quote from: shadav on March 10, 2021, 11:25:08 AM
was the name of the topic changed after it was posted?
in your admin go to your pretty urls and click on the maintenance button for the pretty urls and then click on Run maintenance tasks

this should change the urls to the new topic titles

I have run the maintenance tasks a No of times. However the URL of post  remains the same.

I did notice a curious thing though. IN the settings for Pretty URLs admin, the version shown  is
Version info
Current version: 1.0
However in package manager, the version installed is 2.0.1.

Also I can paste here the extract  from .htaccess if you feel it is relevant.

Grammy

Hi, guys!  Just a quick question, please.  The forum was recently upgraded from 2.0.15 to 2.1RC3 and there seem to be a few quirks with Pretty URLs.  We'd like to just overwrite the files and reinstall it.  Here's the question:  will uninstalling PrettyURLs (2.4), overwriting the files, then reinstalling it empty the database tables?  (We'll back it up.)  But there are years of threads using Pretty URLs, that we don't want to lose.  Should it empty existing tables, if it's reinstalled using the Package Manager? 

(Also, by the bye... even though it's 2.4 in the Package Manager, it shows in settings as being "1.0" so that may just be a version typo in the package?)

Thanks, I'm just gonna sit here and hum, hoping someone drops by.   :)

vbgamer45

It shouldn't empty the tables if reninstalled  the tables are not removed unless you choose the option to remove data but always have backups.

I checked the package file it says version 2.4 in the xml 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

Grammy

Quote from: vbgamer45 on May 14, 2021, 08:45:31 PM
It shouldn't empty the tables if reninstalled  the tables are not removed unless you choose the option to remove data but always have backups.

I checked the package file it says version 2.4 in the xml area.

The version thing is probably just some upgrade glitch, then, it's a bit buggy.  Thanks, vbgamer45!   :)

vbgamer45

Thanks will check out.
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

Grammy

#8109
Quote from: vbgamer45 on May 17, 2021, 07:07:39 PM
Thanks will check out.

I was fumbling around and inadvertently removed my entire post here (thinking I was on another board, such a putz!) so I just wanted to put the issue back, in case it needed to be on this thread.

I tried again:  I downloaded a fresh zip (a few minutes ago) of 2.1RC3 from Github, overwrote all the files on the server just for good measure and then tried to install Pretty URLs on a fresh, untouched site and again, it failed on Subs-Boards.php.  It wants to find
function modifyBoard($board_id, &$boardOptions)
{
global $cat_tree, $boards, $smcFunc;


But that bit in Subs-Boards.php is
function modifyBoard($board_id, &$boardOptions)
{
global $cat_tree, $boards, $smcFunc, $context, $txt;


(right out of the zip, unmodified).  So, because it can't find the block of code, it won't install. 

Same file, it's also not finding
if (isset($boardOptions['move_to']))
reorderBoards();


This seems to be a white-space issue because the string is there...  but the spacing is off.

I can make the find strings match the installation files, then edit them after installing, but I just wanted you to be aware.   :)

EDIT TO ADD:

Also not finding on Subs-Boards.php

// Change the board according to the given specifications.

Again, I think it's a white-space issue, the string is there.

vbgamer45

Fixed! Thanks for help with finding and and solving these issues
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

Grammy

Quote from: vbgamer45 on May 17, 2021, 09:53:15 PM
Fixed! Thanks for help with finding and and solving these issues


Oh, I'm so glad if it helped!  (And I was able to get it installed just fine!)   :)

Grammy

Hi, vbgamer45!  I don't know if you'd be interested in this or not, but testing on my 2.1RC3 forum, when Pretty URLS is enabled, it changes the Custom Profile links (the Show Enclosed Within Text field) so that they look like this (using ICQ as the example):

<a class="icq" href="http://thewellbucket.com/21RC3///www.icq.com/people/{INPUT}" target="_blank" rel="noopener" title="ICQ - {INPUT}"><img src="{DEFAULT_IMAGES_URL}/icq.png" alt="ICQ - {INPUT}"></a>

So you see, it inserts the forum URL before the ICQ link, rendering it a void link that doesn't go anywhere.  Of course, I manually edited the link to look like this (below) and the changes did save.

<a class="icq" href="https://www.icq.com/people/{INPUT}" target="_blank" rel="noopener" title="ICQ - {INPUT}"><img src="{DEFAULT_IMAGES_URL}/icq.png" alt="ICQ - {INPUT}"></a>

I'm not sure where else on the forum this might occur; I've only seen it in the Custom Profile (Show Enclosed Within Text) field. 

Just putting that out there into your universe.     :)

Gryzor

Quick question - has anyone experienced random links when inserting them in posts?

Not sure if PrettyURLs could do something like that; basically, every once in a blue moon a user will insert a link in a post, and while the link text is correct, the underlying link URL will be changed to something else!

Any ideas?

vbgamer45

Not that I heard of. Might be a plugin in the browser??
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

Gryzor

No, because it happens for different users... and myself, I've seen it in different browsers as well.

Ok, just wanted to ask here first, I'll try asking in the general SMF support forum :)

shadav

are you sure that the user isn't putting in the wrong url because they have to use the url tags and type in the link text....unless you are using some auto link mod and if so then you should ask in it's support thread but if not using a mod then the user is the one that is typing the url and using the url bbcode tags and inputting the link title

Sono

I have a forum (version SMF 2.0.6)  with pretty url mod installed on it. In the past few days something abnormal happened, because the database started to eat up my hosting space, and the memory usage of the forum bursted to the limits of my hosting. The database abnormally jumped from 7.7GB to 17GB in size in the past 3 days, that is unusual considering the steady number of members and new post count, and that I manually approve registrants every time. The forum directory size on the server is unaffected, that is nearly the same. Observing the database, I noticed that when checking in myPHPadmin, the interface reports 105MB as database size incorrectly. The size of table "pretty_urls_cache" is reported as NULL. The hosting team concluded there has to be some problem with that table. Any ideas what resulted in this burst of memory and storage usage? Someone suggested I should empty that cache table.

vbgamer45

You can use the option to not use the database to store pretty urls.
It can happen with depending on your settings with pretty urls such as action rewrites.
Make sure you are using the last version of pretty urls and I would also suggest upgrading your SMF version.
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

Sono

Okay but where to go now from this situation, because the forum doesn't even work at the moment? There is white blank page due to the burst in memory usage, the script lacks memory to work. The processes push the memory usage to the limits. All I could do is to remove the forum files from the server, but if I copy back it starts again.

Advertisement: