[ABD] Topic link 🔗

Any abandoned Extensions will be moved to this forum.

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

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

[ABD] Topic link 🔗

Post by 3Di »

πŸ”— Topic link πŸ”—

             » phpBB Studio
                      :label: 1.0.5-RC
                       :tools:        
                               phpBB >= 3.2.5


:film_projector: Demo: N/A

:inbox_tray: Download: https://phpbbstudio.com/extensions/topic-link

Credits:
profKroy who commissioned and paid for the work and then made it available to the public.
and to us, The Studio. ;)

Description:
  • Adds a new topic type link
  • URL input in the posting editor general tab
  • Input is validated with an intense loop of regular expressions, SID removal etc.
  • Topic link does not opens in an external window
  • Absolute and relative URLs allowed
  • Topic and posts are managed also by the search tools everywhere
  • Only authorised users can modify the topic links (permission not set as default)
  • Topic link gets the same forum link icon so to be distinguished from the rest
  • Topic link can be used the same way topics are, like sticky etc..
  • Topic link are locked upon creation and unlocked automatically if no url is present (edit post)
  • Just one user permission not set.
  • To be able to start using the feature you need to set the permission first.
  • To edit the topic you can use the MCP or get into it from the last post mini-icon if authorised.
Last edited by 3Di on Thu Mar 17, 2022 5:56 pm, edited 5 times in total.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][DEV] Topic link

Post by 3Di »

Image
Last edited by 3Di on Mon Jul 06, 2020 9:54 pm, edited 1 time in total.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][DEV] Topic link

Post by 3Di »

2020-04-05 22_22_17-vblog - Post a new topic.png

2020-04-05 22_52_00-vblog - Moderator Control Panel - Post details.png
You do not have the required permissions to view the files attached to this post.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][BETA] Topic link

Post by 3Di »

v1.0.3-beta on 2020-04-07 - First public release, see first post.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][RC] Topic link 🔗

Post by 3Di »

v1.0.4-RC on 2020-07-07 - See first post.
- Removed number of Replies and Views from viewforum topic list
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
Edson Quadros
Registered User
Posts: 30
Joined: Wed Sep 09, 2020 3:44 pm
Location: Brasil
Name: Edson Quadros

Re: [3.2][3.3][RC] Topic link 🔗

Post by Edson Quadros »

Great extension, congratulations.
I installed and I'm using it and I have a suggestion:
You have a variable S_TOPIC_LINK but it is not visible in the topic list template (viewforum_body.html). This variable would be very useful for controlling some views.
I got around this with the topicrow.VIEWS variable which in its extension it returns '' and solved the problem for me.
Again, its extension is very good.
Thank you so much
Sorry my English
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][3.3][RC] Topic link 🔗

Post by Miri4ever »

Got this error after enabled:

Code: Select all

SQL ERROR [ mysqli ]

Not unique table/alias: 't' [1066]

SQL

SELECT f.*, ft.mark_time, ulp.user_avatar as forum_last_poster_avatar, ulp.user_avatar_type as forum_last_poster_avatar_type, ulp.user_avatar_width as forum_last_poster_avatar_width, ulp.user_avatar_height as forum_last_poster_avatar_height, MAX(slp.session_time) as forum_last_poster_session_time, MIN(slp.session_viewonline) as forum_last_poster_session_viewonline, t.topic_title AS last_post_topic_title, t.tlink FROM (P_forums f) LEFT JOIN P_forums_track ft ON (ft.user_id = 4 AND ft.forum_id = f.forum_id) LEFT JOIN P_users ulp ON (f.forum_last_poster_id = ulp.user_id AND forum_type <> 0) LEFT JOIN PHP33_sessions slp ON (f.forum_last_poster_id = slp.session_user_id AND slp.session_time >= 1605104962 AND slp.session_user_id <> 1 AND forum_type <> 0) LEFT JOIN PHP33_topics t ON (f.forum_last_post_id = t.topic_last_post_id AND t.topic_moved_id = 0) LEFT JOIN PHP33_topics t ON (f.forum_last_post_id = t.topic_last_post_id) GROUP BY f.forum_id ORDER BY f.left_id
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][RC] Topic link 🔗

Post by 3Di »

I am using the same table alias as per the phpBB's core code (TOPICS_TABLE = T), therefore I believe there is one or more of your extensions which are using a different one. In order to troubleshot this issue you are having, I suggest you disable all of your extensions and try again.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
varioles
Registered User
Posts: 43
Joined: Fri Feb 04, 2011 2:24 pm

Re: [3.2][3.3][RC] Topic link 🔗

Post by varioles »

Hi,

Since the phpbb 3.3.3 update this error appears:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/viewforum.php on line 1030: A non-numeric value encountered
:mrgreen:
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.2][3.3][RC] Topic link 🔗

Post by ssl »

Hi
I don't think the extension is to blame, it looks like an issue with the files while updating.
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.2][3.3][RC] Topic link 🔗

Post by david63 »

varioles wrote: ↑Sun Jan 31, 2021 10:37 am Hi,

Since the phpbb 3.3.3 update this error appears:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/viewforum.php on line 1030: A non-numeric value encountered
That error is caused by this PR - https://github.com/phpbb/phpbb/pull/5291

Don't know if it is the extension that is generating the error on your board or another extension. I know of one other extension (Who Posted in this Topic) that causes that error
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
varioles
Registered User
Posts: 43
Joined: Fri Feb 04, 2011 2:24 pm

Re: [3.2][3.3][RC] Topic link 🔗

Post by varioles »

david63 wrote: ↑Sun Jan 31, 2021 11:13 am
varioles wrote: ↑Sun Jan 31, 2021 10:37 am Hi,

Since the phpbb 3.3.3 update this error appears:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/viewforum.php on line 1030: A non-numeric value encountered
That error is caused by this PR - https://github.com/phpbb/phpbb/pull/5291

Don't know if it is the extension that is generating the error on your board or another extension. I know of one other extension (Who Posted in this Topic) that causes that error
Yep,

I'm pretty sure this error is due to this extension: D

But thanks to your link, I modify the line:

Code: Select all

$pagination->generate_template_pagination($topic_row['U_VIEW_TOPIC'], 'topicrow.pagination', 'start', $topic_row['REPLIES'] + 1, $config['posts_per_page'], 1, true, true);
By :

Code: Select all

$pagination->generate_template_pagination($view_topic_url, 'topicrow.pagination', 'start', $replies + 1, $config['posts_per_page'], 1, true, true);
the error has disappeared

Thx david63 ;)
:mrgreen:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][RC] Topic link 🔗

Post by 3Di »

The above error is clearly due to that PR, which will have to be reversed.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][RC] Topic link 🔗

Post by 3Di »

varioles wrote: ↑Sun Jan 31, 2021 10:37 am Hi,

Since the phpbb 3.3.3 update this error appears:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/viewforum.php on line 1030: A non-numeric value encountered
I made a PR which fixes the issue in the core code, please see: https://github.com/phpbb/phpbb/pull/6135/files
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][3.3][RC] Topic link 🔗

Post by 3Di »

New version 1.0.5-rc available
see: https://phpbbstudio.com/viewtopic.php?p=3287#p3287 for changelog and D/L.
πŸ†“ Free support for our extensions also provided here: phpBB Studio
πŸš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ΒΊ PhpStorm's proud user ΒΊ Extensions, Scripts, MOD porting, Update/Upgrades

Return to β€œAbandoned Extensions”