This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
856
Archived fixes / Re: More language bugs
« on April 28th, 2014, 10:58 PM »
There are known issues with multiple language support. Technically, I'm only doing testing in my situation (French + English + German, all available and selectable). I would recommend that you do the same, as it's really nice for users. (I'm actually considering not giving a choice to hide the selector, but...)
857
Archived fixes / Re: Errors in Subs-Template.php
« on April 28th, 2014, 10:54 PM »
What's in your page_replacements variable..? (print_r($settings['page_replacements']) somewhere in a template, don't forget to global $settings of course.)
Looks like the unserialize is failing, perhaps because it's set but empty.... I'll add a failsafe for that.
Looks like the unserialize is failing, perhaps because it's set but empty.... I'll add a failsafe for that.
858
Plugin Support / Re: add_js + </ul>
« on April 28th, 2014, 10:47 PM »
Bump?
Anyway, this would be the thing you want:
Code: [Select] (Assuming that you store $ps_string into a JS variable... Which you don't really want to do.)
A quick attempt at putting it into an add_js call...
Code: [Select]
For fun, $(), when you pass it a function, is just a jQuery shortcut to $(document).ready()...
Please tell me if it's working for you.
Anyway, this would be the thing you want:
$(function() { $('.now').before('<ul><li><a href="index.php?action=invite">' + ps_string + '</a></li></ul>\
the rest of your string'); });A quick attempt at putting it into an add_js call...
add_js('$(function() { $(\'.now\').before(\'<ul><li><a href="index.php?action=invite">' . $ps_string . '</a></li></ul>\
the rest of your string\'); });');For fun, $(), when you pass it a function, is just a jQuery shortcut to $(document).ready()...
Please tell me if it's working for you.
859
Plugin Support / Re: add_js + </ul>
« on April 28th, 2014, 06:47 AM »
Note that you're mixing quotes with double quotes and end up with php code in your HTML.....
860
Plugin Support / Re: add_js + </ul>
« on April 27th, 2014, 11:57 PM »
Just one thing...
In JavaScript, a multiline string needs to be escaped at the end of each line (I.e. add a backslash and press Enter.)
Maybe that's your problem in a nutshell..?
In JavaScript, a multiline string needs to be escaped at the end of each line (I.e. add a backslash and press Enter.)
Maybe that's your problem in a nutshell..?
861
Plugin Support / Re: add_js + </ul>
« on April 27th, 2014, 11:49 PM »862
Features / Re: New revs
« on April 27th, 2014, 11:22 PM »
[Commit revision 5716bc8]
Author: Nao
Date: Sun, 27 Apr 2014 23:21:10 +0200
Stats: 3 files changed; +2 (insertions), -4 (deletions)
Date: Sun, 27 Apr 2014 23:21:10 +0200
Stats: 3 files changed; +2 (insertions), -4 (deletions)
- Removed $txt['report_to_mod'], as it was a duplicate of $txt['acme_report_desc']. Might as well use that one everywhere, I think... (Report.php, Mailer.template.php, index.english.php)
863
Features / Re: Language revs
« on April 27th, 2014, 11:22 PM »
[Commit revision b46a3a1]
Author: Nao (Signed-off)
Date: Sun, 27 Apr 2014 23:22:08 +0200
Stats: 5 files changed; +4 (insertions), -10 (deletions)
Date: Sun, 27 Apr 2014 23:22:08 +0200
Stats: 5 files changed; +4 (insertions), -10 (deletions)
- Removed $txt['report_to_mod'], as it was a duplicate of $txt['acme_report_desc']. Might as well use that one everywhere, I think... (index)
- Minor French tweaks. (Admin, Boards, index)
864
Plugin Support / Re: add_js + </ul>
« on April 27th, 2014, 11:16 PM »
Yeah, sorry about the mess with code tags, I'm currently rewriting the whole preparse_code thing to try and fix it, but it's huge.
I'm not exactly sure when this bug was introduced... And it gets worse if you start quick-editing a message with the 'script' html code inside code tags. It might actually break the page... :-/
As for your bug, seriously... I have no idea what's happening to you, either. It'd be interesting to see the actual HTML generated at the bottom of your pages, and possibly get the contents of your error log in the JavaScript console...
I'm not exactly sure when this bug was introduced... And it gets worse if you start quick-editing a message with the 'script' html code inside code tags. It might actually break the page... :-/
As for your bug, seriously... I have no idea what's happening to you, either. It'd be interesting to see the actual HTML generated at the bottom of your pages, and possibly get the contents of your error log in the JavaScript console...
865
Features / Re: New revs
« on April 27th, 2014, 09:43 PM »
[Commit revision e7aba9a]
Author: Nao
Date: Sun, 27 Apr 2014 21:26:41 +0200
Stats: 1 file changed; +0 (insertion), -0 (deletion)
[Commit revision 9c9f2fb]
Author: Nao
Date: Sun, 27 Apr 2014 21:43:40 +0200
Stats: 3 files changed; +46 (insertions), -19 (deletions)
Date: Sun, 27 Apr 2014 21:26:41 +0200
Stats: 1 file changed; +0 (insertion), -0 (deletion)
- Removed unused calendar icon. (assets/icons/calendar.gif)
[Commit revision 9c9f2fb]
Date: Sun, 27 Apr 2014 21:43:40 +0200
Stats: 3 files changed; +46 (insertions), -19 (deletions)
- After a long wait, I finally made Personal Messages responsive. I didn't use the same technique as in Msg.template.php, because, really, I couldn't be arsed, and I think this one is more elegant and realistic, if more... lazy in terms of bandwidth. (PersonalMessage.template.php, index.member.css)
- Added icons next to Report and Mark Unread buttons in PM pages. (PersonalMessage.template.php, sections.css)
- Added a separator between PM posts. If needed. (PersonalMessage.template.php)
- Merged Report, Mark Unread and action buttons together, below PMs, just like in regular posts. (PersonalMessage.template.php)
866
Features / Re: Plugin revs
« on April 27th, 2014, 09:26 PM »
[Commit revision dcfb1f3]
Author: Nao (Signed-off)
Date: Sun, 27 Apr 2014 21:25:49 +0200
Stats: 2 files changed; +1 (insertion), -1 (deletion)
Date: Sun, 27 Apr 2014 21:25:49 +0200
Stats: 2 files changed; +1 (insertion), -1 (deletion)
- Calendar icon should be in the plugin folder, not in the main repo... (calendar/CalendarIntegration.template.php, calendar/img/cal.gif)
867
Features / Re: New revs
« on April 27th, 2014, 12:40 AM »
[Commit revision 92abd1e]
Author: Nao
Date: Sat, 26 Apr 2014 22:31:37 +0200
Stats: 1 file changed; +14 (insertions), -14 (deletions)
Date: Sat, 26 Apr 2014 22:31:37 +0200
Stats: 1 file changed; +14 (insertions), -14 (deletions)
- Chrome 36+ seem to support CSS transforms unprefixed, at last! (Class-CSS.php)
- CSS column support was broken in IE 11. (Class-CSS.php)
868
Archived fixes / Re: first post in thread is out of line
« on April 26th, 2014, 12:02 AM »
Is it working now..?
The problem seems to be due to the fact that "extends .clearfix" seems to have no effect. In fact, I had to use "mixes .clearfix" instead, which definitely takes more CSS to do.
I'm not sure why it's not working now, as it used to work well. It seems that NONE of the clearfixed items currently work, but the pagesection rewrite is the most noticeable one, so this explains that.
The problem seems to be due to the fact that "extends .clearfix" seems to have no effect. In fact, I had to use "mixes .clearfix" instead, which definitely takes more CSS to do.
I'm not sure why it's not working now, as it used to work well. It seems that NONE of the clearfixed items currently work, but the pagesection rewrite is the most noticeable one, so this explains that.
869
Plugin Support / Re: Problems with loading when modifying post
« on April 23rd, 2014, 03:48 PM »
This is either a JavaScript problem or a malformed XML response. Check for js problems first. What does your developer console say?
870
Bug reports / Re: Help! Users can no longer browse new posts
« on April 22nd, 2014, 09:48 PM »
Are you sure? The secondary cache brings more trouble than it's worth. In thinking of removing it altogether. Why would disabling it cause trouble..?