Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Nathaniel on July 17, 2008, 11:17:23 PM

Title: Show Local Url Titles
Post by: Nathaniel on July 17, 2008, 11:17:23 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1293)

Show Local URL Titles 2.0.1 by Nathaniel
Overview:

This mod turns the boring Local/Internal URLs for Posts, Threads, Boards and User profile's into their actual titles so that your forums look better and more professional. Its very similar to a functionality from vB which does a similar thing. The mod has settings for parsing the titles on Posting and Page view, as well as a maintenance function that can convert the urls for each of your forum's existing posts.

Example:
This URL (for new websites): "www.yoursite.com/index.php?topic=1 (http://www.yoursite.com/index.php?topic=1)"
Would be turned into this title which links to the same page but has different text "Welcome to SMF! (http://www.yoursite.com/index.php?topic=1)".

Settings are found in the Admin panel:
Look in the "Configuration" -> "Modification Settings" -> "Miscellaneous" section of your admin panel.

Backup your database:
Please note that you should always backup your database before using the "Click here to parse the local url titles for all existing messages" function, the mod author takes no liability for the corruption of data.

The License for this mod should be contained within the mod package, in a text file called LICENSE.

Version Support:
This mod is officially supported for SMF 2.0 final only. Below is a list of available versions of this mod and the previous versions of SMF that they supported. Use them at your own risk. The mod author will not be supporting or upgrading this mod in any way for versions of SMF below 2.0.

Version 1.1: SMF 1.1.x and versions of SMF 2 before SMF 2 RC4.
Version 2.0: SMF 2 RC4.
Version 2.0.1: SMF 2 RC5.

Customisation
The "get_local_url_title" function in the "Subs-ShowLocalUrlTitles.php" file has extensive commenting for the $comparisons array, which allows you to specify the url types that are parsed. While the mod includes four comparisons (message, topic, board and user profile) you can add your own there if you want to.

Donate
If this mod has helped you, then feel free to support the developer by Donating (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=VCFQ7MJNVXLLA&lc=AU&item_name=Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted). Any amount of money is welcome.

Version Changes:
v2.0.1 - 21 June 2011:
Support for SMF 2.0 final. Minor fix required.

v2.0 - 22 November 2010
Support added for SMF 2 RC4.
Support removed for all earlier versions of SMF, including the SMF 1.1.x branch.
Complete rewrite of the mod.
Added autolinking of urls on post.
Added parsing of url titles on post.
Added maintenance function to parse existing messages.

v1.1
Minor bugfix, any bbc tags inside the url tags were not being parsed.

v1.0
Original Mod release.
Title: Re: Show Local Url Titles
Post by: Apllicmz on July 18, 2008, 01:32:35 AM
Nice work
good Mod
Title: Re: Show Local Url Titles
Post by: edi67 on July 18, 2008, 05:31:37 AM
let me try thx
Title: Re: Show Local Url Titles
Post by: Tokzu on July 18, 2008, 04:21:20 PM
Hi, nice mod. But I have a problem, the code of the images linked to other images fails.

Sorry, my english is not very good.  :-[

Example images:
Title: Re: Show Local Url Titles
Post by: ghostfreak on July 18, 2008, 07:11:30 PM
When I try to install I get this message:

The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 18, 2008, 08:56:13 PM
@Tokzu,
I have tried to reproduce this error, but I can't do it, with internal or external images. This mod makes absolutely no changes to the image tag, so I am not sure how this issue could be being created, its possible that there may be another mod that isn't compatible with this one, do you have any other mods relating to changing image tags or urls installed?

@ghostfreak,
I am not sure what your problem is, maybe you should try re-downloading the mod and then trying to install it again? Its possible that the download was corrupted. Otherwise I have tested this on clean copies of SMF 1.1.5 and SMF 2 Beta 3.1, if you don't have one of these versions of SMF then that may be the issue. Which version of SMF are you running?
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 18, 2008, 11:12:32 PM
I am having the exact same issues as Tokzu. With the mod installed, the [img] tags which would normally display the image inline, now show up as just a link. The mod itself works great. It just interferes with the [img] tags. Uninstalling the mod fixes the image tag problem.

EDIT: The only mod I can think of that might be conflicting would be Pretty URLs. I will uninstall that mod and see if that fixes things.
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 19, 2008, 12:17:43 AM
Uninstalling Pretty URLs did not fix the problem. I have quite a few mods installed, so it may be more difficult to narrow it down. I will leave Show Local URL Titles installed so you can see what it is doing. You can click here (http://www.empireofthesun.net/forum/index.php?topic=828.0;refer=showlocal) to view the problem. Thanks in advance for your help.
Title: Re: Show Local Url Titles
Post by: ghostfreak on July 19, 2008, 12:27:26 AM
I'm running 1.1.5 LHVWB :)

Oh, and now I receive the message:

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 19, 2008, 12:49:17 AM
@SunKing, thanks SunKing. I will have a look into it to see if I can find the cause. If so many people are experiencing problems then I will try to fix this bug as quickly as possible.

@ghostfreak, it definitely should work with your version of SMF. I would suggest trying to install the modification manually, its quite easy to do and you can get instructions from the download page by clicking on "Manual Install Instructions for SMF".



Title: Re: Show Local Url Titles
Post by: Nathaniel on July 19, 2008, 07:06:57 AM
Okay, I worked out what the error is... When you post images or anything inside a url tag, then it doesn't parse the stuff inside the tags so you get the img tags shown instead of the image itself. I will fix this error shortly and upload a new version of the mod.
Title: Re: Show Local Url Titles
Post by: qubbah on July 19, 2008, 09:57:32 PM
i have this problem...

Execute Modification     ./Sources/Subs.php     Test failed

can help me to edit for the subs.php in attach..
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 19, 2008, 10:10:46 PM
This should take care of it. Make a backup of the subs.php first!!

Title: Re: Show Local Url Titles
Post by: qubbah on July 19, 2008, 10:41:18 PM
i cant get it running...

is this mod clash with trimurl mod.. must i uninstalled trimulr mod first?

is this mod only work with only for the site url, not the other site..

i mean when i try it for some url from my site it working great, but when i take the url from other site, that not work... it show original url exactly... not the topic..
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 19, 2008, 11:10:50 PM
Version 1.1
Minor Bugfix, there was an error where any bbc inside the url tags wouldn't be parsed.

Okay, I finally got around to fixing this bug, it was actually quite easy to fix and because of that I am happy. Thank you to Tokzu and SunKing for informing me of the issue.

@qubbah, I am not sure about the 'trimurl' mod, I will have a look into it sometime and post a small tutorial showing you how to overcome and compatibility issues. I am not entirely sure what you mean by "is this mod only work with only for the site url, not the other site..", but this mod will only work if the links that have been posted are internal, in your website, its uses the settings that you have in your forums 'settings.php' file.

There is no easy way to get the topic from other websites, this mod works by looking the titles up in your database.
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 19, 2008, 11:29:54 PM
1.1 works perfectly.
Local URLs are shown as titles. BBC tags are parsed as normal.

Thank you.
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 19, 2008, 11:38:59 PM
Thanks for *testing* it. ;)

As a note: I highly recommend that you upgrade to version 1.1 if you installed version 1.0, just because of that little annoying bug. ;)
Title: Re: Show Local Url Titles
Post by: webdzinez on July 21, 2008, 05:33:11 PM
When I installed it...it says installed successfully ... but the topic URL remains same ... no change
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 21, 2008, 05:50:34 PM
Can you post a link or an image? Or at least the url that didn't link and the $scripturl setting for your website?

Remember that it only links local urls, and it only does them for posts that are parse for bbc, if that helps at all.
Title: Re: Show Local Url Titles
Post by: webdzinez on July 21, 2008, 06:34:09 PM
http://openalternatives.org/forums/index.php/board,1.0.html

here is the URL to the website /..... I may have misunderstood what it does ...but the URL of the Welcome to SMF remains as it is.
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 21, 2008, 06:51:28 PM
It's the URLs inside a post that would display as titles with this mod. In other words, if you were to put a link to another post in here, like
http://www.somewebsite.org/forum/index.php?action=post;topic=111111111
it would display as the title of that post, something like
My Posts Rock
or whatever. I hope I explained that well.  :P
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 21, 2008, 10:26:01 PM
That seems to be exactly the way I would explain it.

If you make a new post in that website/forum, and put a link to "http://openalternatives.org/forums/index.php/board,1.0.html" then it would be replaced with the title of the post you are linking to "Welcome to SMF!".
Title: Re: Show Local Url Titles
Post by: webdzinez on July 22, 2008, 11:38:31 AM
Got it ... I was confusing it with a permalink mod. Sorry about that. This is a useful functionality ....
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 23, 2008, 12:29:05 AM
Its one of those functionalities which could almost be a default part of the forum software. Anyway, I have updated the documentation to try to make it clearer that it changes the urls inside posts.

Thank you, for pointing out/finding the lack of clarity. :)
Title: Re: Show Local Url Titles
Post by: L'AltroWeb on July 24, 2008, 09:08:51 AM
Hi!
I have installed your great mod but i have a problem with pretty url:
-
Please see here (click to demo):
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg258.imageshack.us%2Fimg258%2F7559%2Flinktitlert2.png&hash=c1618a98ab505e26623ba89c911e53423a57976e) (http://darkwolf.altervista.org/forum/help-desk/richieste-novit-sul-sito/msg1350/#msg1350)
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 24, 2008, 05:27:43 PM
I don't have the time to look at this right now, but I will try to investigate it shortly. I haven't even bothered checking compatibility with this mod, but I can imagine that there issues.
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 24, 2008, 05:35:45 PM
I use both mods without any compatibility issues at all. They work flawlessly together on SMF 2.0 Beta 3.1 Public. Just trying to help with your search for a cause.  ;D
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 24, 2008, 05:42:42 PM
The only problem being that Dark-Wolf is running SMF 1.1.5 and there could be a compatibility issue for that version of SMF. ;)
Title: Re: Show Local Url Titles
Post by: L'AltroWeb on July 24, 2008, 09:00:13 PM
OK!
Thanks boy, i attend impatiently smf 2 final :)
Title: Re: Show Local Url Titles
Post by: Manu.G on July 25, 2008, 06:05:39 AM
I really want to use the mod, but I got the "Test failed" by installing.
I checked the xml file and found out the installation failed at this part:

'content' => '<a href="$1" target="_blank">$2</a>',

But to install this mod the code in the Subs.php has to be this

'content' => '<a href="$1" target="_blank">$1</a>',

I don't know which mod has changed this part in the Subs.php, cause we
have tons of mods installed in our forum.  :-\

What have I to do that I can use the mod in our forum?
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 25, 2008, 06:08:12 AM
I am not sure which mod has changed that, could you please post a list of any mods which may have changed/mucked with your urls and also that file so that I can have a look at it.
Title: Re: Show Local Url Titles
Post by: Manu.G on July 25, 2008, 06:20:20 AM
I checked it, the only mod I have installed which is changing this part in the Subs.php is the "Trim URL" mod.

I added my Subs.php

Thanks in advance for your help :D
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 25, 2008, 07:08:37 AM
@Manu0372,
I have fixed this issue and uploaded a copy of your subs.php file which should work with the changes I made. I changed it so that if it can't find a Internal/Local url, it will shorten it with the Trim Urls mod.


Tutorial for fixing Compatibility between This mod and the Trim Urls Mod for SMF 1.1.5:

1. Install the Show Local Url Titles (http://index.php?topic=250317.20) Mod first, its important that you install this mod first, if you already have the Trim Urls mod then you can uninstall it and then re-install it later.
2.  Try to install the Trim Urls Mod, it should have errors with modifications for the Subs.php file, proceed with the install anyway.
3. Find the code below (From Subs.php):
                //    Run the url through the get_ShowUrlTitle() function.
                 $text = get_ShowUrlTitle($data);


Replace it with this code:
//    Run the url through the get_ShowUrlTitle() function.
                $text = get_ShowUrlTitle($data);
                   
                //    Put in the hack for the trim urls mod.
                //    Only do it if the text is still the same as the url.
                if($text == $data)
                $text = urlTrim($text);


Delete this code (From Subs.php):, its now unecessary and will cause bugs, because Urls should now be handled by the Show Local Url Titles mod:
        // Trim the urls
        elseif (($tag['type'] == 'unparsed_content' && $tag['tag'] == 'url'))
        {
            $pos2 = stripos($message, '[/' . substr($message, $pos + 1, strlen($tag['tag'])) . ']', $pos1);
            if ($pos2 === false)
                continue;

            $data = substr($message, $pos1, $pos2 - $pos1);

            if (!empty($tag['block_level']) && substr($data, 0, 6) == '<br />')
                $data = substr($data, 6);

            if (isset($tag['validate']))
                $tag['validate']($tag, $data, $disabled);

            $code = strtr($tag['content'], array('$1' => $data, '$2' => urlTrim($data)));
            $message = substr($message, 0, $pos) . $code . substr($message, $pos2 + 3 + strlen($tag['tag']));
            $pos += strlen($code) - 1;
        }


That's it! You should now have an install that will try to find a Local Url Title, if it fails then the Trim Urls Mod will be used to shorten the leftover url.

Thank you,
LHVWB
Title: Re: Show Local Url Titles
Post by: Manu.G on July 25, 2008, 07:20:10 AM
Thanks a lot for your fast help!!!!!  :D
Last question, should I install the mod with the package manager and loading up the modified Subs.php after the installation, or is it only for need to load up the Subs.php?
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 25, 2008, 07:27:12 AM
I actually just realized that there is a small error with the Subs.php file that I uploaded with the last post, this post has your Subs.php file with the correction.

You should just need to upload this Subs.php file on top of the old one, I have manually installed the Show Local Url Titles in that file and its the only file that the mod edits, so once you have uploaded that file, the mod will be installed and should work. :)
Title: Re: Show Local Url Titles
Post by: Manu.G on July 25, 2008, 07:44:08 AM
I have uploaded the Subs.php which was in your last post and everything
works perfect.
Internal links are shown as topic title and external long links in short form.

Thanks a lot for your help!!  ;D
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 25, 2008, 07:53:52 AM
Glad I could help. :D

You had a few mods that changed that file, its good that you only had the one compatibility issue ;D
Title: Re: Show Local Url Titles
Post by: Manu.G on July 25, 2008, 07:59:54 AM
Yes we have tons of mods installed in our forum, we decided to stop with
installing mods, but it isn't possible, cause there are a lot of great mods available for SMF.  ;)

Thanks again for your help.
Title: Cannot get it to work
Post by: agentx42 on July 26, 2008, 08:02:14 PM
Here is my forum:

http://www.cai.servebbs.org:8080/smf/index.php/topic,47.0.html

I have version 1 running and it shows green, but when I posted a test list of URLS, it didn't do anything. 

It just shows the URLs as I typed them in:

Url integration test

www.partners-international.org/index.html (http://www.partners-international.org/index.html)

www.cai.servebbs.org:8080/smf/index.php (http://www.cai.servebbs.org:8080/smf/index.php)

http://www2.pstel.net/index.asp (http://www2.pstel.net/index.asp)

Am I missing something?
Title: Re: Show Local Url Titles
Post by: BuЯЯЯЯaK on July 26, 2008, 09:11:19 PM
Good work
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 26, 2008, 09:56:08 PM
@agentx42,
Remember that they have to be Internal/Local Urls, it won't change the title or Url for external Urls. So if you put a link like "http://www.cai.servebbs.org:8080/smf/index.php/topic,47.0.html (http://www.cai.servebbs.org:8080/smf/index.php/topic,47.0.html)", it will replace it with the title of the thread.
Title: Re: Show Local Url Titles
Post by: [unplugged] on July 26, 2008, 10:07:54 PM
@agentx42

The mod is for local URLs such as posting a link to another topic within the forum. If you were to post in that forum a link such as http://www.cai.servebbs.org:8080/smf/index.php?action=post;topic={topic ID} then it will show the title (subject) of that topic instead of the full URL. Hope that made sense. ;)

EDIT: LHVWB types faster than I do.  :P
Title: Re: Show Local Url Titles
Post by: agentx42 on July 26, 2008, 10:19:32 PM
That makes sense.... I had a bald moment  :o

Do you know if there is anything available for external URls?
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 26, 2008, 10:22:11 PM
Quote from: agentx42 on July 26, 2008, 10:19:32 PM
Do you know if there is anything available for external URls?

As far as I know there is nothing, its something that I have thought about, but I haven't actually looked at implementing. It would probably involve actually looking up their webpages, so that would be a bit of a pain. If you have any suggestions for how to do that then I am more than happy to consider them.
Title: Re: Show Local Url Titles
Post by: L'AltroWeb on July 27, 2008, 10:42:41 AM
@LHVWB:
I have installed also trimUrl and fix with your info!
Now is good but....
Please can you test to fix also prettyurl problem?
If you want test you can see here:
http://darkwolf.altervista.org/forum/lofi.php?topic=10.0
or here
http://darkwolf.altervista.org/forum/help-desk/richieste-novit-sul-sito/msg1350/#msg1350
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 27, 2008, 05:41:40 PM
Okay, I will have a look over it and see if I can come up with some sort of soluction.

Edit: Okay, I can see why it doesn't work, the Pretty Urls mod, completely changes the urls of the forum. I will have a look at making a version of this mod which works with that mod, but for the moment they remain incompatible.

I will do another version of this mod when the next versions of SMF come out, and I have to update them. I will try to include compatibility with the Pretty Urls mod at the same time. ;)
Title: Re: Show Local Url Titles
Post by: ellion on July 30, 2008, 01:52:52 PM
this is different to pretty_urls is it?
Title: Re: Show Local Url Titles
Post by: Nathaniel on July 30, 2008, 05:15:46 PM
Quote from: ellion on July 30, 2008, 01:52:52 PM
this is different to pretty_urls is it?

Yes its completely different, pretty urls makes your urls look different, this mod only replaces the text for your internal/local links to your posts/threads/boards which have been posted inside your forum. Because Pretty Urls changes the urls for the forums, it means that this mod will no longer detect them as local and just assume that they are external links.

I need to add a case with pretty urls being local if the pretty urls mod is installed.
Title: Re: Show Local Url Titles
Post by: Nathaniel on August 03, 2008, 08:34:58 PM
Just as an update for this mod:

I am going to create version 1.2 of this mod sometime across the next few weeks, it will change the functionality of the mod so that local URLs are replaced with their titles when they are posted, as opposed to when they are viewed, I will also have an option that will allow you to convert URLs from old posts into their titles.

This is to dramatically increase the efficiency of this mod, because at the moment, it converts them every time anyone tries to view the URLs, which creates a whole load of inefficient database queries.

Thank you to Alundra for informing/reminding me about the inefficiency of this mod.
Title: Re: Show Local Url Titles
Post by: Angelotus on August 04, 2008, 10:51:47 AM
I will wait for the next release then ;D
Title: Re: Show Local Url Titles
Post by: ddarrell on August 21, 2008, 09:47:45 PM
Thanks, mod worked as advertised.

darrell
Title: Re: Show Local Url Titles
Post by: Deprecated on August 21, 2008, 09:53:35 PM
I like this mod. It's one of the dozen or so that I run on my production site, and most of the dozen were self-written. :)

That's a good improvement,  doing it when posted instead of done each time viewed. More better. :)
Title: Re: Show Local Url Titles
Post by: Sakae on August 22, 2008, 10:08:34 AM
Waiting for next update to get it working with Pretty URL...
Title: Re: Show Local Url Titles
Post by: tridirk on September 19, 2008, 06:25:54 PM
Does this work with 1.1.6?  I had it with 1.1.5 and it was great, when I updated I lost it, and now it says it isn't compatible?
Title: Re: Show Local Url Titles
Post by: Nathaniel on September 19, 2008, 07:14:01 PM
It should be compatible. Try the package attached to this post.

I have been holding off the upgrade for this mod until I fix the features that need changing.
Title: Re: Show Local Url Titles
Post by: tridirk on September 20, 2008, 12:14:45 AM
That worked Great... Thanks, that is how the links should look.
Title: Re: Show Local Url Titles
Post by: Zurka on September 22, 2008, 12:25:30 PM
Quote from: LHVWB on September 19, 2008, 07:14:01 PM
It should be compatible. Try the package attached to this post.

I have been holding off the upgrade for this mod until I fix the features that need changing.

i have this problem... SMF 1.1.6

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.fotorola.com%2Fuploads%2F2ce429a43f.jpg&hash=49ecc14f76e42427869fd1c9a38d09bfa04fc49f)
Title: Re: Show Local Url Titles
Post by: Nathaniel on September 22, 2008, 07:36:37 PM
@goxy86,
Do you have any other url related mods installed?
Title: Re: Show Local Url Titles
Post by: Zurka on September 28, 2008, 11:08:06 AM
Quote from: LHVWB on September 22, 2008, 07:36:37 PM
@goxy86,
Do you have any other url related mods installed?

All mods

1.     Global Headers Footers     1.3     
2.    YouTube BBCode    2.3    
3.    Board Viewers Mod    1.2    
4.    Hide Tag    1.7.1    
5.    Enhanced Quick Reply Box 2.0.2    2.0.2    
6.    MCLegendII.2    2.0    
7.    Custom BBCode    2.00    
8.    Member Color Link    3.0.2    
9.    Users Active in Last 24 Hours    1.0    
10.    Disable shouting    1.0    
11.    Trim Url    1.0.2    
12.    SMF 1.0.14 / 1.1.6 Update    1.0    
13.    AvatarOnBoard    2.1

11.    Trim Url    1.0.2???
Title: Re: Show Local Url Titles
Post by: Nathaniel on September 28, 2008, 10:37:27 PM
@goxy86,
The compatibilty issue with the Trim Url mod, has already been addressed in an earlier post in this topic.

Here is a link to that tutorial:
http://www.simplemachines.org/community/index.php?topic=250317.msg1629315#msg1629315
Title: Re: Show Local Url Titles
Post by: K3TK3TK3T on January 24, 2009, 09:37:51 AM
http://custom.simplemachines.org/mods/index.php?mod=835

could you use/learn from that to make it work with external links too?

thank you
Title: Re: Show Local Url Titles
Post by: Nathaniel on January 24, 2009, 05:31:16 PM
@The_Abhorred,
This mod isn't really designed to be able to pick up external links, and that isn't one of the features that I am looking at adding to it because that other mod actually has to look up the title for each page, whereas this mod can look up the relevant information from the SMF database (should be faster). If you want to have external links shown then I suggest that you ask in the 'Support Topic' for that mod if the mod author can update it.
Title: Re: Show Local Url Titles
Post by: AlenNS on March 12, 2009, 11:07:54 AM
Anu update for RC1?
Title: Re: Show Local Url Titles
Post by: Aleksi "Lex" Kilpinen on March 12, 2009, 11:22:23 AM
Thank's a bunch for this mod :)
Works well, and helps a lot to keep links looking "tidy" in posts.
Title: Re: Show Local Url Titles
Post by: Nathaniel on March 13, 2009, 01:22:11 AM
@AlenNS,
No, I haven't even tested it for SMF 2 RC1. Its possible that it will work without any changes, but I haven't tested it. I also don't have time to actually update the mod at the moment. That will have to wait.

@LexArma,
I'm glad you like it. :)
Title: Re: Show Local Url Titles
Post by: Antechinus on March 13, 2009, 01:45:27 AM
I'll do some RC1 testing and see what happens. Will let you know how it goes. :)

Tis a nice little mod. I installed it on our 1.1.8/TP site today.
Title: Re: Show Local Url Titles
Post by: AlenNS on March 13, 2009, 09:32:24 AM
Quote from: LHVWB on March 13, 2009, 01:22:11 AM
@AlenNS,
No, I haven't even tested it for SMF 2 RC1. Its possible that it will work without any changes, but I haven't tested it. I also don't have time to actually update the mod at the moment. That will have to wait.

@LexArma,
I'm glad you like it. :)
I've installed and works great! :)
Title: Re: Show Local Url Titles
Post by: Nodaz on June 15, 2009, 11:40:12 PM
I uoploaded the mod, but it doesnt give me the option to "apply mod" just list files and delete on 1.1.9 
On the mods page, when i choose 1.1.9 for manual instructions i am told it appears the version is not compatible.
Title: Re: Show Local Url Titles
Post by: Nathaniel on June 16, 2009, 03:01:54 AM
Thats because this mod has a 'mistake' in its 'package-info.xml' file, that will mean you can only install it for 1.1.4 and 1.1.5 from the SMF 1.1.x range.

The attached package should install, but I can't promise that it will work properly. I haven't had time to update this mod or properly check its compatability with new versions. :/
Title: Re: Show Local Url Titles
Post by: Nodaz on June 16, 2009, 05:28:02 AM
i received this message when i click on "install mod":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Appreciate your response none the less, ill check back.


Title: Re: Show Local Url Titles
Post by: Sweetwater on July 14, 2009, 09:02:42 AM
Quote from: Nathaniel on June 16, 2009, 03:01:54 AM
Thats because this mod has a 'mistake' in its 'package-info.xml' file, that will mean you can only install it for 1.1.4 and 1.1.5 from the SMF 1.1.x range.

The attached package should install, but I can't promise that it will work properly. I haven't had time to update this mod or properly check its compatability with new versions. :/

Installed & worked fine for me on 1.1.9

Thankyou,

Sweetwater
Title: Re: Show Local Url Titles
Post by: Blinker on July 14, 2009, 08:36:33 PM
Me too. Either edit packageinfo.xml yourself or grab one of the newer versions Nathaniel has posted.
Title: Re: Show Local Url Titles
Post by: kai920 on July 30, 2009, 02:07:59 PM
Thanks, works perfectly for 2.0 RC1.2.
Title: Re: Show Local Url Titles
Post by: qubbah on August 02, 2009, 03:44:09 AM
succesfully install but show nothing change with url...
Title: Re: Show Local Url Titles
Post by: Blinker on August 02, 2009, 03:56:33 AM
Have you tested it by posting a url to a topic or post on your board?

It doesn't change the urls in your browser, only internal links posted to your board.
Title: Re: Show Local Url Titles
Post by: qubbah on August 02, 2009, 04:02:31 AM
Quote from: Blinker on August 02, 2009, 03:56:33 AM
Have you tested it by posting a url to a topic or post on your board?

It doesn't change the urls in your browser, only internal links posted to your board.

yes... several time i test it.. install and uninstall but nothing change with url in board.
Title: Re: Show Local Url Titles
Post by: Blinker on August 02, 2009, 04:05:12 AM
qubbah, I'm not sure what to suggest. Since the mod has no settings or an enable/disable function it should just work after it's installed.

Wait for the author or some other smart person to see if they can help.
Title: Re: Show Local Url Titles
Post by: qubbah on August 02, 2009, 04:17:57 AM
is this problem come from SMF directory?

Because before this i use like /home/testwahn/public_html/v1
Now i have my own server and it is come like C:\xampp\htdocs\v1
Title: Re: Show Local Url Titles
Post by: qubbah on August 02, 2009, 04:20:22 AM
yes......
tq.
i solve it from server setting.. tq.
Title: Re: Show Local Url Titles
Post by: digger on November 18, 2009, 07:46:43 PM
What about RC2 support?
Title: Re: Show Local Url Titles
Post by: Nathaniel on November 18, 2009, 08:29:52 PM
Quote from: digger on November 18, 2009, 07:46:43 PM
What about RC2 support?

Going to work on that sometime soon, this mod needs a major update, so it will get done when that gets done.
Title: Re: Show Local Url Titles
Post by: MF30 on December 04, 2009, 06:02:05 PM
The mod dont work on 1.1.11v. :'(
Title: Re: Show Local Url Titles
Post by: [unplugged] on December 04, 2009, 07:20:54 PM
Looking forward to the RC2 update.  ;)
Title: Re: Show Local Url Titles
Post by: Antechinus on December 08, 2009, 05:55:29 PM
Quote from: MF30 on December 04, 2009, 06:02:05 PM
The mod dont work on 1.1.11v. :'(

Confirmed. :D It will break every link in posts, including sigs and embedded vids. Update please. :)
Title: Re: Show Local Url Titles
Post by: DeepBlueGXP on December 10, 2009, 04:20:49 PM
Hope you can resolve this for 1.1.11  Thanks for your awesome work.
Title: Re: Show Local Url Titles
Post by: workmss on December 14, 2009, 01:18:47 PM
How do I uninstall this mod? It doesn't give me an uninstall option...only list files or delete files???

Thanks,
Stephanie
Title: Re: Show Local Url Titles
Post by: Antechinus on December 14, 2009, 03:05:10 PM
Use the parser instructions on the download page and reverse them.
Title: Re: Show Local Url Titles
Post by: ChaosEnergy on December 30, 2009, 02:09:45 PM
Quote from: SunKing on December 04, 2009, 07:20:54 PM
Looking forward to the RC2 update.  ;)
Yeah me too :)
Title: Re: Show Local Url Titles
Post by: Realinfo on December 30, 2009, 11:17:24 PM
can it work for SMF 1.1.11..............
Title: Re: Show Local Url Titles
Post by: ChaosEnergy on December 30, 2009, 11:18:58 PM
has been working on my 1.1.11 before(was installed earlier, maybe you need to alter the install script for vrsion support)
Title: Re: Show Local Url Titles
Post by: ChaosEnergy on December 31, 2009, 08:28:05 AM
works fine for rc2
i needed only to shorten the search area for an AFTER statement in subs.php to 1st line

it cant handle wiki and project, but all boards/topics are correct, and that what i have expected :P
Title: Re: Show Local Url Titles
Post by: ~DS~ on December 31, 2009, 02:33:57 PM
Is this mod exactly what I want?

http://www.simplemachines.org/community/index.php?topic=355431.0
Title: Re: Show Local Url Titles
Post by: franklinrony on January 05, 2010, 12:10:34 AM
thanks for the mod,is good, only a question,support pretty url mod in smf 2Rc1.2?
Title: Re: Show Local Url Titles
Post by: luismanson on January 22, 2010, 09:16:09 AM
it wont work with pretty URLs y think :( in my forum is not working and i saw this code:

if(in_array(substr($after_url, 1, 6), array('topic=', 'topic,'))
&& ($id_topic = intval(substr($after_url, 7))))


and my forum uses the topic title for the url, so... :(
Title: Re: Show Local Url Titles
Post by: Eclipse16V on March 15, 2010, 01:36:16 AM
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
Title: Re: Show Local Url Titles
Post by: Marsh on March 18, 2010, 02:05:10 AM
Updated for Rc3 here: http://www.freemmorpgmaker.com/LocalUrlRc3Marsh.zip

Not sure if the author plans on updating it. I will contact him if i can take over the mod.
Title: Re: Show Local Url Titles
Post by: tonnybarros on March 18, 2010, 10:42:12 AM
I installed the RC3, but it did not work with Pretty URL, only to disable, is to resolve to work with Pretty URL?
Title: Re: Show Local Url Titles
Post by: Marsh on March 18, 2010, 12:52:07 PM
I just posted the working mod above you...
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 18, 2010, 01:24:52 PM
Quote from: Dismal Shadow on December 31, 2009, 02:33:57 PM
Is this mod exactly what I want?

http://www.simplemachines.org/community/index.php?topic=355431.0
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 18, 2010, 02:01:13 PM
This is for local URLs. It's not going to embed the title for an external link.
Title: Re: Show Local Url Titles
Post by: Jade Elizabeth on March 19, 2010, 05:26:38 PM
Quote from: Marsh on March 18, 2010, 02:05:10 AM
Updated for Rc3 here: http://www.freemmorpgmaker.com/LocalUrlRc3Marsh.zip

Not sure if the author plans on updating it. I will contact him if i can take over the mod.

Awesome! Thank you, it works :D.
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 19, 2010, 06:31:23 PM
Quote from: SunKing on March 18, 2010, 02:01:13 PM
This is for local URLs. It's not going to embed the title for an external link.
Ahh, got it.

Does this even work on existing already posted url links?
Title: Re: Show Local Url Titles
Post by: Marsh on March 20, 2010, 01:06:02 AM
yes it does dismal

Thanks jade :)
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 20, 2010, 08:02:15 AM
Allright thanks, looks great and works. Someone have any plans for external links?  :P
Title: Re: Show Local Url Titles
Post by: Marsh on March 20, 2010, 10:37:15 AM
That may not even be possible dismal. Or it may be overly complicated.
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 20, 2010, 10:52:38 AM
Quote from: Marsh on March 20, 2010, 10:37:15 AM
That may not even be possible dismal. Or it may be overly complicated.
I know, not impossible but it can be done only by Nao which requires alot of coding which his AeMe was succeeded pulling those external url links into titles.  :P
Title: Re: Show Local Url Titles
Post by: Antechinus on March 21, 2010, 06:21:29 AM
Has anyone managed to get this working without errors on 1.1.11?
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 21, 2010, 01:52:25 PM
It seems to be working for me on 1.1.11.

EDIT:
DAMN i have too many test sites....

http://www.empireofthesun.net/smf1/index.php?topic=3.msg4#msg4
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 21, 2010, 01:56:07 PM
Quote from: SunKing on March 21, 2010, 01:52:25 PM
It seems to be working for me on 1.1.11.

http://www.empireofthesun.net/testsite/index.php?topic=4.msg11#msg11
That's not SMF 1.1.11
LOL
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 21, 2010, 02:13:04 PM
That'll teach me to not pay attention...

Link updated.
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 21, 2010, 02:16:40 PM
Quote from: SunKing on March 21, 2010, 02:13:04 PM
That'll teach me to not pay attention...

Link updated.
You wouldn't happen to use  the bbc code now would you?  :P
[url=www.testsite1.com]Welcome to SMF[/url]
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 21, 2010, 02:27:34 PM
That would be cheating now, wouldn't it...

I have enabled guest posting......you can try it for yourself.
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 21, 2010, 02:45:30 PM
Quote from: SunKing on March 21, 2010, 02:27:34 PM
That would be cheating now, wouldn't it...

I have enabled guest posting......you can try it for yourself.
Seem to work
http://www.empireofthesun.net/smf1/index.php?topic=4.0
There you have it Antechinus.

@SK, for the love of god, disable hostname lookups, it loads very slow. And btw...the site's messed up with the buttons. :P
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 21, 2010, 02:47:42 PM
That's why it's called a TEST site. ;)
Title: Re: Show Local Url Titles
Post by: Antechinus on March 21, 2010, 05:39:16 PM
Try it with AEVA installed and see if it breaks links all over the place. Did for me. ;)

Was fine on 1.1.10 but the changes in url handling in 1.1.11 broke every link on our site.
Title: Re: Show Local Url Titles
Post by: ~DS~ on March 21, 2010, 05:43:56 PM
Quote from: Antechinus on March 21, 2010, 05:39:16 PM
Try it with AEVA installed and see if it breaks links all over the place. Did for me. ;)

Was fine on 1.1.10 but the changes in url handling in 1.1.11 broke every link on our site.
I have AeMe with this installed on RC3 no problem. Can't say the same for 1.1.11
Title: Re: Show Local Url Titles
Post by: [unplugged] on March 21, 2010, 05:53:40 PM
I just installed Aeva on 1.1.11 and do not seem to have any issues. I checked the links that were posted before Aeva, as well as posted a test link after installing Aeva. No apparent problems.
Title: Re: Show Local Url Titles
Post by: Jade Elizabeth on March 23, 2010, 06:14:32 PM
Quote from: Marsh on March 20, 2010, 10:37:15 AM
That may not even be possible dismal. Or it may be overly complicated.

I told Nathan he should have made the mod change the BBC tags for ALL links to become the title.....regardless of where. Especially since it works only for topic and board links, not profile, gallery, etc.

That would eliminate the need for lookups, and if the mod couldnt be upgraded all of the links from the past have titles cause the mod had changed the BBC in post.

However, should that be done there should be a script to do like 30 URLs at a time to update the messages table so that any that currently arent titled become titled :).


Hope that made sense, I have a headache and fever :(.
Title: Re: Show Local Url Titles
Post by: luismanson on April 13, 2010, 10:09:00 PM
is it me or it wont work with PrettyURLs ?
Title: Re: Show Local Url Titles
Post by: kangkenyot on April 21, 2010, 11:30:49 AM
Quote from: Marsh on March 18, 2010, 02:05:10 AM
Updated for Rc3 here: http://www.freemmorpgmaker.com/LocalUrlRc3Marsh.zip

thanks Marsh.
Installed smoothly and works well on my forum http://www.jisportal.com/forum/index.php
Title: Re: Show Local Url Titles
Post by: luismanson on April 21, 2010, 03:44:16 PM
im still thinking on how to make it work with pretty urls :(
Title: Re: Show Local Url Titles
Post by: Arantor on April 21, 2010, 04:54:34 PM
Quote from: luismanson on April 21, 2010, 03:44:16 PM
im still thinking on how to make it work with pretty urls :(

Rewriting it from scratch.
Title: Re: Show Local Url Titles
Post by: luismanson on April 22, 2010, 09:57:21 AM
Quote from: Arantor on April 21, 2010, 04:54:34 PM
Quote from: luismanson on April 21, 2010, 03:44:16 PM
im still thinking on how to make it work with pretty urls :(

Rewriting it from scratch.

lol, no, i dont think its needed, actually looking at some sources of pretty i know its posible to fix it, its just that its way over me
Title: Re: Show Local Url Titles
Post by: Nathaniel on November 22, 2010, 06:56:02 AM
v2.0 - 22 November 2010
Support added for SMF 2 RC4.
Support removed for all earlier versions of SMF, including the SMF 1.1.x branch.
Complete rewrite of the mod.
Added autolinking of urls on post.
Added parsing of url titles on post.
Added maintenance function to parse existing messages.

Please do not ask me to port version 2.0 to SMF 1.1.x, it is not going to happen. I am no longer actively developing any of my mods for SMF 1.1.x (and this is no exception).
Title: Re: Show Local Url Titles
Post by: willerby on January 11, 2011, 04:48:37 PM
Had this working on RC2 but on RC4 despite setting in admin the links stays the same. Can anyone confirm this works for them on RC4?
Title: Re: Show Local Url Titles
Post by: Marsh on January 21, 2011, 01:00:53 PM
It worked once i checked both boxes. Though linked images dont work if you install the mod.
Title: Re: Show Local Url Titles
Post by: Toebiash on February 23, 2011, 05:01:36 PM
Hi Nathaniel,

The mod works well, but it seems that it is the same bug as here:
http://www.simplemachines.org/community/index.php?topic=250317.msg1622114#msg1622114

- after installation this mode, does not work any tag between the tags [ulr]...[/url] ... Do you think you could solve? Then i will send a small contribution to your paypal account ;)
Title: Re: Show Local Url Titles
Post by: JorgeAVM on February 25, 2011, 01:20:21 PM
Greetings from Costa Rica (Central America) Nathaniel!

I was about to install the mod on RC5 an got an error on "./Sources/Subs.php" so I stopped the installation.

It would be great if you fix it. Thanks!
Title: Re: Show Local Url Titles
Post by: zanadu_celal on February 26, 2011, 07:34:54 AM
nice :)
Title: Re: Show Local Url Titles
Post by: Nathaniel on June 21, 2011, 07:00:30 AM
Quote from: jorgeavm on February 25, 2011, 01:20:21 PM
Greetings from Costa Rica (Central America) Nathaniel!

I was about to install the mod on RC5 an got an error on "./Sources/Subs.php" so I stopped the installation.

It would be great if you fix it. Thanks!

A minor fix was required, version 2.0.1 works on SMF 2.0 final. :)
Title: Re: Show Local Url Titles
Post by: JorgeAVM on June 21, 2011, 01:52:15 PM
Excellent! 8)
It works great!
Thank you very much!
Title: Re: Show Local Url Titles
Post by: Eclipse16V on June 21, 2011, 03:18:22 PM
Yes, Thanks for the Update.
Title: Re: Show Local Url Titles
Post by: Richardgm on June 21, 2011, 05:29:40 PM
I appreciate the work done on this mod. But when I installed it on 2.0 using 2.0.1, not only did our forum's links not update as they should (I had the mod installed with 1.x), it caused signature links to be messed up.
Title: Re: Show Local Url Titles
Post by: MaNaRa on July 22, 2011, 02:27:24 PM
Quote from: Richardgm on June 21, 2011, 05:29:40 PM
I appreciate the work done on this mod. But when I installed it on 2.0 using 2.0.1, not only did our forum's links not update as they should (I had the mod installed with 1.x), it caused signature links to be messed up.

me too have the same error with SMF 2.0
Title: Re: Show Local Url Titles
Post by: Inti31 on August 09, 2011, 08:33:00 AM
I have the same problem with this mod in signatures else normal boards - it works, urls are parsed correctly, but a[url=...][img]http://~.jpg[/img][/url] does not work anymore.... - too bad

I can't upload pictures by e.g. postimage, whatever... - the pic-code will not work anymore.

would be nice if Nathaniel could fix that...

cheers Inti31

Title: Re: Show Local Url Titles
Post by: thyssen2k on August 12, 2011, 01:19:22 PM
Quote from: Inti31 on August 09, 2011, 08:33:00 AM
I have the same problem with this mod in signatures else normal boards - it works, urls are parsed correctly, but a[url=...][img]http://~.jpg[/img][/url] does not work anymore.... - too bad

I can't upload pictures by e.g. postimage, whatever... - the pic-code will not work anymore.

would be nice if Nathaniel could fix that...

cheers Inti31

Hi

I've got the same issue on my board. i'd really appreciate a way to get this mod to ignore all img taged url links whereever they are on a board. that should do the trick.
Title: Re: Show Local Url Titles
Post by: c.cornelia on August 20, 2011, 11:13:15 PM
I have problems in using this mod,

I forgot to backup my database, and I use some features of this mod, now my website is in serious trouble, how do I fix my website?

My website dotaindonesia.com
Title: Re: Show Local Url Titles
Post by: Inti31 on August 21, 2011, 10:29:27 AM
try repair_settings.php (http://docs.simplemachines.org/index.php?topic=663.0) anf fix your theme directory.
Upload it into your smf directory and call it e.g. dotaindonesia.com\repair_settings.php.
Check if all directories are set correctly

cheers Inti31
Title: Re: Show Local Url Titles
Post by: Inti31 on August 25, 2011, 12:40:30 AM
Quote from: thyssen2k on August 12, 2011, 01:19:22 PM
Quote from: Inti31 on August 09, 2011, 08:33:00 AM
I have the same problem with this mod in signatures else normal boards - it works, urls are parsed correctly, but a[url=...][img]http://~.jpg[/img][/url] does not work anymore.... - too bad

I can't upload pictures by e.g. postimage, whatever... - the pic-code will not work anymore.

would be nice if Nathaniel could fix that...

cheers Inti31

I've got the same issue on my board. i'd really appreciate a way to get this mod to ignore all img taged url links whereever they are on a board. that should do the trick.

Any news, statements to this? It would be very nice that this problem could be solved....

cheers, Inti31

Addition: okay, seems like development is over - I use now "Titled Links" - works fine...
Title: Re: Show Local Url Titles
Post by: thyssen2k on September 04, 2011, 11:48:28 PM
Quote from: Inti31 on August 25, 2011, 12:40:30 AM
...I use now "Titled Links" - works fine...

Thanks for the info!
I'll take a look at that mod.
Title: Re: Show Local Url Titles
Post by: HunterP on October 18, 2011, 03:32:08 PM
Quote from: Inti31 on August 25, 2011, 12:40:30 AM
Quote from: thyssen2k on August 12, 2011, 01:19:22 PM
I've got the same issue on my board. i'd really appreciate a way to get this mod to ignore all img taged url links whereever they are on a board. that should do the trick.

Any news, statements to this? It would be very nice that this problem could be solved....

cheers, Inti31

Addition: okay, seems like development is over - I use now "Titled Links" - works fine...

Unfortunately that modification also links external pages, not only local links.

Any news from Nathaniel??
Title: Re: Show Local Url Titles
Post by: rebekahc on January 13, 2012, 02:02:10 PM
This mod is working properly on my forum, but I have found a bug.  When someone has clicked "Show new replies to your posts" and then posts a link from that session (ending in #new).  The link goes to the right place, but the title shown in their post is wrong.

So, not a critical issue, but it would be nice if there was something I could change in the filters to fix it.

Thanks!
Title: Re: Show Local Url Titles
Post by: Tom17 on September 12, 2012, 11:15:12 PM
Right, I have a forum where I just did the big upgrade from 1.x to 2.0.1 and I desperately needed this plugin. However, I too was seeing the problem where [url] tags with bbc code within (such as [img]) were not being parsed.

As there was no fix and the other alternatives were not ideal, I had to learn how the plugin system works and alter this plugin to fix the problem.

Is anyone else interested in this still? If so, I can upload the changes I made. It seems that there is no movement on this thread in over 120 days so wondering how people have gotten around this problem.

Thanks,

Tom...
Title: Re: Show Local Url Titles
Post by: HunterP on September 14, 2012, 02:59:28 AM

Did you also got around this problem?

Quote from: HunterP on October 18, 2011, 03:32:08 PM
Unfortunately that modification also links external pages, not only local links.
Title: Re: Show Local Url Titles
Post by: jk3 on January 15, 2013, 11:36:12 AM
Quote from: Tom17 on September 12, 2012, 11:15:12 PM
problem where [url] tags with bbc code within (such as [img]) were not being parsed.

alter this plugin to fix the problem.

Is anyone else interested in this still? If so, I can upload the changes I made.
I'm interesting in.

Please, upload your changes.
Title: Re: Show Local Url Titles
Post by: JorgeAVM on January 15, 2013, 11:56:22 AM
Yeah, me too!
Title: Re: Show Local Url Titles
Post by: Skaty on January 15, 2013, 01:19:44 PM
i installed this mod yesterday but it broke my link with images.

i'm using bbc codes like:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FSpfDP.png&hash=121bb67c8341da0ce7546227ef2f947b272ef735) (http://www.psvitaturkiye.com/forum/yazili/oddworld-stranger's-wrath-hd-3879/)

[iurl=http://www.psvitaturkiye.com/forum/yazili/oddworld-stranger's-wrath-hd-3879/][img width=210 height=70]http://i.imgur.com/SpfDP.png[/img][/iurl]

how can i use this mod with image links properly ?
Title: Re: Show Local Url Titles
Post by: JorgeAVM on January 15, 2013, 02:38:06 PM
Exactly, that's the problem I have ...

I'm getting old waiting for a solution :P
Title: Re: Show Local Url Titles
Post by: jk3 on January 16, 2013, 03:42:44 AM
I delete unparsed_equals_content handler from mod.

So,
BB-codes between [ url ] [/ url ] handling by this mod.
BB-codes between [ url= ] [/ url ] handling by default.

All functionality I need works correctly, what function loose I don't know.

P.S. Russian translate included :)
Title: Re: Show Local Url Titles
Post by: JorgeAVM on January 16, 2013, 10:59:18 AM
Thank you very much!

It just gave me an error about the missing Russian help file, but I omitted it and it's working very good.  ;)
Title: Re: Show Local Url Titles
Post by: jk3 on January 17, 2013, 12:40:03 AM
jorgeavm
Thanks!

I missed "error=skip" on translate, corrected archive in my previous post.
Title: Re: Show Local Url Titles
Post by: Skaty on January 17, 2013, 08:30:36 AM
Quote from: jk3 on January 16, 2013, 03:42:44 AM
I delete unparsed_equals_content handler from mod.

So,
BB-codes between [ url ] [/ url ] handling by this mod.
BB-codes between [ url= ] [/ url ] handling by default.

All functionality I need works correctly, what function loose I don't know.

P.S. Russian translate included :)

Deleting exactly from where ?
Title: Re: Show Local Url Titles
Post by: JorgeAVM on January 17, 2013, 09:55:49 AM
That's what he did ... just download the mod he attached.
Remember to unistall and erase the unmodified mod from your site before uploading and installing this modified version.

Quote from: jk3 on January 17, 2013, 12:40:03 AM
jorgeavm
Thanks!

I missed "error=skip" on translate, corrected archive in my previous post.

Thanks jk3 ;)
Title: Re: Show Local Url Titles
Post by: Skaty on January 17, 2013, 10:05:31 AM
oh sorry, i think the attach is just russian translate.

i install the mod and send some new posts with link but it is shown like this:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FsEh6y.png&hash=82924d09dd9b3a523d2e16365d49252251846e71)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLbjA3.png&hash=6e2cf468325f7e02b020d42deff4e4bda117e7d2)
Title: Re: Show Local Url Titles
Post by: Skaty on January 29, 2013, 09:30:49 PM
Quote from: Skaty on January 17, 2013, 10:05:31 AM
oh sorry, i think the attach is just russian translate.

i install the mod and send some new posts with link but it is shown like this:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FsEh6y.png&hash=82924d09dd9b3a523d2e16365d49252251846e71)

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FLbjA3.png&hash=6e2cf468325f7e02b020d42deff4e4bda117e7d2)


any idea why is not work properly to me ?
Title: Re: Show Local Url Titles
Post by: Hristo on January 30, 2013, 03:37:50 AM
It works for me, but as I see you are using one of the pretty urls mods, so my guess is that that's the reason it does not work for you.
Title: Re: Show Local Url Titles
Post by: qubbah on March 04, 2013, 08:49:09 PM
It's take soo long time to parse url. The server stop respond. Is there any way to parse in webmin?
Title: Re: Show Local Url Titles
Post by: qubbah on March 04, 2013, 08:58:57 PM
is there anyone can tell me the code to run in SQL command to execute on database?
Title: Re: Show Local Url Titles
Post by: Arantor on March 04, 2013, 09:05:08 PM
No, there isn't, because it's not possible to do it in phpMyAdmin, you need to find the title for each URL and update each post manually - even in query form that's what would be happening, one post at a time.
Title: Re: Show Local Url Titles
Post by: _sebas_ on September 28, 2013, 11:23:13 PM

I found a serious security problem, very easy to break, for a person without knowledge.

A user anyone without access to a Board,  can put random TOPIC numbers
.../index.php?topic=XXXX
trying until you get one that exists and is in restricted board.

This Mod, however, will give the title of the thread in full, ... in some cases this can be very engaging.
Can you solve?
What code should add? for a user without permission can not see those titles.
Title: Re: Show Local Url Titles
Post by: Deprecated on January 21, 2014, 10:13:54 AM
I've been away from SMF for a few years, and now that I've returned I'm updating all my mod packages to SMF 2.0.6. Please bear with me since I have 26 mod packages to update, some of them quite complex, and I'm working on other code projects so I can't work on SMF 24/7. But trust me, this mod is on the list to get fixed ASAP. I'll address any problems at that time.
Title: Re: Show Local Url Titles
Post by: _sebas_ on February 25, 2014, 08:55:10 PM

THANKS !
Title: Re: Show Local Url Titles
Post by: Deprecated on February 25, 2014, 11:37:07 PM
Please send me a PM one month from today if I have not addressed your problem. My life has suddenly become very complicated dealing with financial issues and my main focus has been taken away from my hobbies supporting open source software.

I can't guarantee I will address it then, but it would be helpful for a reminder.

Also, I check SMF every few days for replies to my mod package support topics. I have been on a hiatus for the last few years, but I am back to monitoring SMF 3-4 times a week.

I will support all my modifications. Bear with me it might take quite some time for me to update them. I have numerous additional mod package ideas a few of which I hope to move to SMF approved mods. Some of them will blow your mind if you have the patience to stick with me, and if I have the coding time to write them. (Which is uncertain.)
Title: Re: Show Local Url Titles
Post by: MrCreatoR on April 27, 2014, 08:59:28 PM
The bug (http://www.simplemachines.org/community/index.php?topic=250317.msg3405126#msg3405126) with tags inside url tag still there, anyone knows how to fix it?
Removing unparsed_equals_content block did not solve the issue...
Title: Re: Show Local Url Titles
Post by: Sagar_king on September 25, 2014, 02:09:47 AM
Thanks usefull mod
Title: Re: Show Local Url Titles
Post by: vkot on March 07, 2016, 04:57:17 AM
I think we should consider this mod as dead. :(
3.5 years have passed since tha last bug notice, 2 years have passed since the promise of updating.
It's a pity, because it's a useful mod, and not too complicated to handle.

Probably no one will need need any more functionality, just to fix the bugs. Fortunately, jk3's fix (http://www.simplemachines.org/community/index.php?topic=250317.msg3471826#msg3471826) seems to be working perfectly. Thanks jk3!
About the security issue, it should be addressed too, but I think for now I can live with that.
Title: Re: Show Local Url Titles
Post by: Deprecated on March 07, 2016, 09:32:31 AM
If there is a security problem it should be reported. See the mod's page on the mod site and file a security notification.

Although there may be a fix, chances are most users of this mod do not read or subscribe to the modification's support topic.