[ABD] Simple Url to Link Name before posting 1.0.8

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

automod was not tested
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Shorty1968 »

Can someone please help me, I've built this SEO MOD http://www.phpbb-seo.com/en/phpbb-mod-r ... t4608.html and already the Simlpe Url To Link for phpBB SEO Ultimate SEO URL (Advanced mode) tried but the MOD is not, unfortunately for me?
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

See contrib\install_for_advanced_seo_mod.xml
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Shorty1968 »

I had made, because I suspected that it is for this, but even so he has not converted the url?
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Shorty1968 »

Hello, I found the problem, if a URL ends like post131.html # p131 is converted to the URL if it ends not so topic35.html, you can change that too?
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

Yes, please consider a small donation.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
Shorty1968
Registered User
Posts: 253
Joined: Sat Sep 10, 2011 10:19 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Shorty1968 »

where should I donate?
Sorry for my bad english,i am a German Bub and Google Translate help me. :D
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

Fix for phpBB SEO Ultimate SEO URL
http://forum.aeroion.ru/viewtopic.php?p=3187#3187
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Alien_Time »

hi Porutchik,

Thank you so much for this MOD. I've been searching for a MOD like this for sometime that also works with phpBB SEO MOD and I am soooo happy I found yours. Thank heaps!!
Porutchik wrote:Fix for phpBB SEO Ultimate SEO URL
http://forum.aeroion.ru/viewtopic.php?p=3187#3187
I looked at that fix, but I noticed that this code already exists in includes/message_parser.php before. So why do I need to add this again?

Code already present:

Code: Select all

			// FORUM WITHOUT ID & DELIM ALL MODES
			$seo_ext = preg_quote($phpbb_seo->seo_ext['forum']);
			$parse_url  = '(^|[\n\t (>.])' . preg_quote(generate_board_url()) . '/([a-z0-9_-]+)' . $seo_ext;
			$parse_url = str_replace('\://', '\://(www\.)*', $parse_url);
			preg_match_all('#' . $parse_url . '([\#$%&~\-;:=,?@\[\]+]*)#si', ' ' . $this->message, $matches0[]);

			$parse_url  = '(^|[\n\t (>.])' . preg_quote(generate_board_url()) . '/([a-z0-9_-]+)(-([0-9]+))' . $seo_ext;
			$parse_url = str_replace('\://', '\://(www\.)*', $parse_url);
			preg_match_all('#' . $parse_url . '([\#$%&~\-;:=,?@\[\]+]*)#si', ' ' . $this->message, $matches0[]);
I just got one more question, is it possible to parse the URLS of phpbb custom pages as well? I have many custom pages on my site and these are all static pages which doesnt use the database. Is it possible to change the url links to custom pages to its page title too?
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

This is for a previous version of the mod.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Alien_Time »

cool...fair enough.

Also would it be possible to parse the URLs to custom pages?
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

I do not understand.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Alien_Time »

I mean, I have created a few custom pages on my site. REF: https://www.phpbb.com/kb/article/add-a- ... -to-phpbb/

These pages are static pages and their page titles are mentioned in their php file like this:

Code: Select all

page_header('Title Here');
So when I add a link to these custom pages in forum pages, they show like: custom_page.php

Is there a way that these urls linking to custom pages also shows that page's title? Does it make sense?
Porutchik
I've Been Banned!
Posts: 275
Joined: Sat Dec 31, 2005 11:11 am
Location: Russia, Orenburg (Россия, Оренбург)
Name: Sergey O
Contact:

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Porutchik »

No. This mod gets a topic name from a database.
Try to find another mod.
My forum | Advanced Similar Topics
Excuse me please for my awful English. Thanks!. Please do not P.M., ICQ or email me for support help - you won't get any reply. If you have a question or issue, post it in the appropriate forum/topic.
User avatar
Alien_Time
Registered User
Posts: 389
Joined: Fri Dec 31, 2010 7:08 am

Re: [RC] Simlpe Url to Link Name before posting 1.0.8

Post by Alien_Time »

I understand... Thank you Porutchik. :D
Locked

Return to “[3.0.x] Abandoned MODs”