Download Links
- oxpus
- Chief handy-man
- Beiträge: 2660
- Registriert: Do 13. Dez 2007, 23:06
- Wohnort: Irgendwo im I-Net
- Kontaktdaten:
Re: Download Links
Update:
The new release will reformat the link title for old download links, too.
But regard, that the extension just replaces the link title, bot not the url!
The new release will reformat the link title for old download links, too.
But regard, that the extension just replaces the link title, bot not the url!
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Re: Download Links
Ok,
So not quite sure i understand. How will this work?
dave
So not quite sure i understand. How will this work?
dave
- oxpus
- Chief handy-man
- Beiträge: 2660
- Registriert: Do 13. Dez 2007, 23:06
- Wohnort: Irgendwo im I-Net
- Kontaktdaten:
Re: Download Links
A link have 2 Parts: An url and a title:
<a href="{URL}">{TITLE}</a>
The formatting with the download extension will only replace the {TITLE} if it contains a link to a download.
But the {URL} itself will NOT be replaced!
When you have a post link like the {URL} of this links will not be replaced and may not work in your forum.
So you have to create a rewriting rule in your webserver config for these old link formats.
<a href="{URL}">{TITLE}</a>
The formatting with the download extension will only replace the {TITLE} if it contains a link to a download.
But the {URL} itself will NOT be replaced!
When you have a post link like
Code: Alles auswählen
downloads.php?view=detail&df_id=
So you have to create a rewriting rule in your webserver config for these old link formats.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Re: Download Links
Test again...
https://phpbb3.oxpus.net/dlext/details?df_id=46
Before it worked correctly, but now...
https://www.phpbb-es.com/foro/viewtopic ... 95&t=43614
https://phpbb3.oxpus.net/dlext/details?df_id=46
Before it worked correctly, but now...
https://www.phpbb-es.com/foro/viewtopic ... 95&t=43614
This link for example... https://www.phpbb-es.com/foro/dlext/details?df_id=4 in my site, it's "blank" link...andares hat geschrieben:...for some reason in that link the low bar (_) causes the direct link to not generate well...
Style Customisations Team phpBB.
Webmaster phpBB Spain.
Webmaster phpBB Spain.
- oxpus
- Chief handy-man
- Beiträge: 2660
- Registriert: Do 13. Dez 2007, 23:06
- Wohnort: Irgendwo im I-Net
- Kontaktdaten:
Re: Download Links
You are using a different style than prosilver.
Are the BBCodes templates different there than in the standard style?
Because the link title is already being replaced on your forum, but with wrong URI parts.
I currently have no explanation why your forum is not replacing the links correctly.
There are no problems with this in any of the forums that I support, but only you has been reported this error.
Do you have any other extensions in use that replaces or format the contents in the posts?
Maybe something is not compatible with each other ...
Are the BBCodes templates different there than in the standard style?
Because the link title is already being replaced on your forum, but with wrong URI parts.
I currently have no explanation why your forum is not replacing the links correctly.
There are no problems with this in any of the forums that I support, but only you has been reported this error.
Do you have any other extensions in use that replaces or format the contents in the posts?
Maybe something is not compatible with each other ...
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Re: Download Links
I will disable extensions, until I find what causes the problem. Then I comment here if I find the problem.
Style Customisations Team phpBB.
Webmaster phpBB Spain.
Webmaster phpBB Spain.
Re: Download Links
Solved... thanks to CaniDev
event/listener.php
Replace with:
It seems a problem derived from another extension, but with this we avoid using HTML, but it solves the problem...
https://www.phpbb-es.com/foro/viewtopic ... 59#p246659
Best regards.
event/listener.php
Code: Alles auswählen
case 'link_text':
$link_title = '<LINK_TEXT text="' . $title . '">' . $title . '</LINK_TEXT>';
break;
Code: Alles auswählen
case 'link_text':
$title = strip_tags($title);
$link_title = '<LINK_TEXT text="' . $title . '">' . $title . '</LINK_TEXT>';
break;
https://www.phpbb-es.com/foro/viewtopic ... 59#p246659
Best regards.
Style Customisations Team phpBB.
Webmaster phpBB Spain.
Webmaster phpBB Spain.
- oxpus
- Chief handy-man
- Beiträge: 2660
- Registriert: Do 13. Dez 2007, 23:06
- Wohnort: Irgendwo im I-Net
- Kontaktdaten:
Re: Download Links
Oh man, that was probably too easy for me.
Thanks to you both.
I'll patch the package asap.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!