Search found 43 matches

by ___Martin
Tue Dec 30, 2014 8:46 pm
Forum: Abandoned Extensions
Topic: [ABD] External Link In New Window
Replies: 34
Views: 7532

[ABD] External Link In New Window

Extension Name: External Link In New Window Author: ___Martin Extension Description: Modifies external links (i.e. links to a resource outside of your board) to open in a new browser window by default. Extension Version: 1.0.1 (release candidate, submitted to extension database: https://www.phpbb.c...
by ___Martin
Tue Dec 30, 2014 8:10 pm
Forum: Extension Writers Discussion
Topic: Magic numbers/constants for extensions
Replies: 4
Views: 281

Re: Magic numbers/constants for extensions

Yes, I added a prefix that refers to my extension name. :)
by ___Martin
Tue Dec 30, 2014 7:17 pm
Forum: Extension Writers Discussion
Topic: Magic numbers/constants for extensions
Replies: 4
Views: 281

Re: Magic numbers/constants for extensions

Thanks for your reply and the suggestions. I'm going with the first approach, works like a charm.
by ___Martin
Tue Dec 30, 2014 12:02 am
Forum: Extension Writers Discussion
Topic: Magic numbers/constants for extensions
Replies: 4
Views: 281

Magic numbers/constants for extensions

In the phpBB Coding Guidelines I read that magic numbers shall be avoided: Magic numbers: Don't use them. Use named constants for any literal value other than obvious special cases. Basically, it's ok to check if an array has 0 elements by using the literal 0. It's not ok to assign some special mean...
by ___Martin
Mon Dec 29, 2014 10:57 pm
Forum: Abandoned Extensions
Topic: [ABD] Avatars on Memberlist
Replies: 56
Views: 6470

Re: [BETA] Avatars on Memberlist

I have checked. Should be fixed now. Can you verify it? Verified, the extra bytes are gone and the page validation is successful, thank you. :) Just noted a small issue with the display of the zoomed avatars. Please see this screenshot: http://i.imgur.com/Jn6IAmH.png The leftmost part is the normal...
by ___Martin
Sun Dec 28, 2014 3:14 pm
Forum: Abandoned Extensions
Topic: [ABD] Avatars on Memberlist
Replies: 56
Views: 6470

Re: [BETA] Avatars on Memberlist

Thanks Wolfsblvt for this extension! Just noticed a small issue: my test board won't validate on the W3C Validator when the Avatars on Memberlist extension is enabled. Also this causes an increased margin from the top of the browser viewport to <div id="wrap"> . As it turns out, there are some bytes...
by ___Martin
Sun Dec 28, 2014 2:04 pm
Forum: Extensions in Development
Topic: [3.2][RC] Local URL To Text
Replies: 65
Views: 13877

Re: [BETA] Local URL To Text

Updated to version Beta2. Since I changed the vendor and package name to all lowercase, unfortunately you have to reinstall the extension. Please follow these steps if you already have installed the previous version: Note your settings in the ACP on the Extensions > Local URL To Text > Settings page...
by ___Martin
Sun Dec 28, 2014 11:51 am
Forum: Extensions in Development
Topic: [3.2][RC] Local URL To Text
Replies: 65
Views: 13877

Re: [BETA] Local URL To Text

With these code modifications the parse "bug" could be fixed. They add the closing square bracket ("]") as a valid character that preceeds a magic URL or a smiley, enabling parsing of magic URLs and smilies following the "]" character directly. Warning: do NOT modify your core phpBB files! I post th...
by ___Martin
Sun Dec 28, 2014 10:13 am
Forum: Extensions in Development
Topic: [3.2][RC] Local URL To Text
Replies: 65
Views: 13877

Re: [BETA] Local URL To Text

Thanks HiFiKabin. I can confirm this behaviour: if a local URL link is posted within a BBCode tag (be it quote, b, list) without any whitespace between the closing square bracket ("]") and the link itself, phpBB does not recognize this as a link and does not automatically parse this URL. Unfortunate...
by ___Martin
Sun Dec 28, 2014 9:07 am
Forum: Extensions in Development
Topic: [3.2][RC] Local URL To Text
Replies: 65
Views: 13877

Re: [BETA] Local URL To Text

Thank you for your feedback! :) Is it different from Convert Local Url To Link Name? https://www.phpbb.com/community/viewtopic.php?f=456&t=2277841 Yes. HAMMER663's extension converts the local URL links when submitting a message to the database, e.g. when posting a reply, so the posting of the membe...
by ___Martin
Sat Dec 27, 2014 6:45 pm
Forum: Extensions in Development
Topic: [3.2][RC] Local URL To Text
Replies: 65
Views: 13877

[3.2][RC] Local URL To Text

Extension Name: Local URL To Text Author: ___Martin Extension Description: Replaces local URLs (links to forums, topics, posts or member profiles within your board) with a customizable text. Extension Version: 1.1.1 (release candidate, submitted to extension database: https://www.phpbb.com/customis...
by ___Martin
Sun Oct 26, 2014 4:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Technique for temporary variable storage
Replies: 5
Views: 249

Re: Technique for temporary variable storage

Thank you Brf for your suggestion. I now add an override parameter to the GET URLs that are generated in viewtopic.php if the user confirms that he wants to see the ignored topic. I found two instances that had to be modified: The variable $viewtopic_url that is used to build a bunch of URLs for the...
by ___Martin
Thu Oct 23, 2014 3:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Technique for temporary variable storage
Replies: 5
Views: 249

Technique for temporary variable storage

I am currently working on a MOD that adds a facility to ignore topics. The MOD uses a mechanism that is similar to the bookmarks feature, allowing users to ignore certain topics that they are not interested in. After marking a topic as ignored, it is invisible to the user. It will not be shown by vi...

Go to advanced search