3rd weekly live chat

Post

Posted
Rating:
Item has a rating of 2 (Liked by Rajesh Kumar)
#3394 (In Topic #636)
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi all,

We'll do our 3rd weekly live chat on December 2nd at 7pm-9pm GMT (1pm-3pm CST).

Our weekly live chat is a chat about Composr Deploying, Designing and Developing, open to any one who wants to attend. It's a great way to meet other Composr users, influence development, and get some free support from the busy developers. If you don't get a decent reply on something on the forum or IRC, the live chat is the best place to ask.

Agenda:
  • Main topic: Advanced techniques with the main_multi_content block (by request)
  • Community questions: the best way to corner me and get some free step-by-step support or even some coding (if we can cover it within the allotted time of course)
    • Write your questions in this topic
    • … or just ask them live
  • Random quick issues: from the tracker (I tagged one's I thought we could cover quickly)

As always, the link is Jitsi Meet. We'll also post a copy of the stream soon after it's concluded for those cannot attend.

See you there :).

Last edit: by Chris Graham



Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3432
Avatar
Standard member
jacobgkau is in the usergroup ‘Well-settled’
For those who couldn't join us, here is the recording of this weekend's chat, edited for easier viewing:



Timestamps:
- Creating a blurred Spoiler tag: 1:55
- Tempcode + regular expression syntax: 11:18
- Running shell commands through Commandr: 18:03
- Adding top and bottom forum panels: 26:00
- Rewording calendar edit strings: 28:38
- Discussing calendar double-post prevention: 39:46
- Discussing forum group URLs: 42:45
- Implementing contextual searching: 44:36
- Adding unit tests for third-party components: 59:40
Online now: No Back to the top

Post

Posted
Rating:
#3443
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
So week 3 turned out pretty chaotic, because I was pretty tired and at the tail end of some IT disaster relating to my iMac, and also we had to do a last minute agenda change that made me stumble a bit for what to cover.
Apple had a really bad security bug recently where you could (basically) log into any machine without a password - and after installing their rushed security update, it corrupted my email accounts, and the stress of re-downloading and re-indexing all my many GB of email corrupted my SSD, forcing me to do a complete system reinstall. Then in the live chat MySQL was crashing on my clean Homebrew installation of it due to this MySQL bug MySQL Bugs: #79125: Server logs "File Descriptor n exceedeed FD_SETSIZE" and drops connection

At the end of the talk I was implementing a unit test and got stuck. That turned out due to an extra layer of internal caching in lang_filter_EN.php that I'd forgotten about. My final unit test is in this commit: US English unit test · ocproducts/composr@4114697 · GitHub

Jacob has been kind enough to heavily edit down the video though and prepare a time index to make it flow better. Regardless of the issues, we did actually get quite a few things done. Maybe my struggling around with things will be a little inspiring that even I have to fight through a jungle of problems sometimes ;).

Here's an index of github commits relating to the chat:

Here's a diff for the code for the contextual search:

Code (Diff)

Chriss-iMac:composr chrisgraham$ diff -u themes/default/templates/GLOBAL_HTML_WRAP.tpl themes/default/templates_custom/GLOBAL_HTML_WRAP.tpl
--- themes/default/templates/GLOBAL_HTML_WRAP.tpl       2017-12-02 20:18:50.000000000 +0000
+++ themes/default/templates_custom/GLOBAL_HTML_WRAP.tpl        2017-12-03 16:51:41.000000000 +0000
@@ -45,7 +45,20 @@
                                                {$,Search box for logged in users [could show to guests, except space is lacking]}
                                                {+START,IF,{$AND,{$ADDON_INSTALLED,search},{$NOT,{$MOBILE}},{$NOT,{$IS_GUEST}}}}{+START,IF,{$CONFIG_OPTION,block_top_search,1}}
                                                        <div class="top_form top_search">
-                                                               {$BLOCK,block=top_search,failsafe=1,limit_to={$?,{$MATCH_KEY_MATCH,forum:_WILD},cns_posts,all_defaults}}
+                                                               {+START,CASES,{$PAGE}}
+                                                                       calendar={$BLOCK~-,block=top_search,failsafe=1,limit_to=calendar}
+                                                                       catalogues={$BLOCK~-,block=top_search,failsafe=1,limit_to=catalogue_categories\,catalogue_entries}
+                                                                       members={$BLOCK~-,block=top_search,failsafe=1,limit_to=cns_members}
+                                                                       forumview={$BLOCK~-,block=top_search,failsafe=1,limit_to=cns_posts}
+                                                                       topicview={$BLOCK~-,block=top_search,failsafe=1,limit_to=cns_posts}
+                                                                       downloads={$BLOCK~-,block=top_search,failsafe=1,limit_to=download_categories\,downloads}
+                                                                       galleries={$BLOCK~-,block=top_search,failsafe=1,limit_to=galleries\,images\,videos}
+                                                                       news={$BLOCK~-,block=top_search,failsafe=1,limit_to=news}
+                                                                       polls={$BLOCK~-,block=top_search,failsafe=1,limit_to=polls}
+                                                                       quiz={$BLOCK~-,block=top_search,failsafe=1,limit_to=quiz}
+                                                                       wiki={$BLOCK~-,block=top_search,failsafe=1,limit_to=wiki_pages\,wiki_posts}
+                                                                       ={$?,{$AND,{$EQ,{$PAGE},search},{$IS_NON_EMPTY,{$_GET,id}}},{$BLOCK~-,block=top_search,failsafe=1,limit_to={$_GET,id}},{$BLOCK~-,block=top_search,failsafe=1}}
+                                                               {+END}
                                                        </div>
                                                {+END}{+END}
 

I'd tagged a lot of tracker issues to cover in chats, but really it would be better if we had a clearer view of what was useful to people. So please vote on the issues you care about most (click "Monitor"), and then we can look to see what is top-voted next Saturday :)!


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#3458
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Glad I added the US English unit test, as it had actually broken in v10.1 and the test picked it up :thumbs:


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Manu, Vaiva, mytracker, babu, Paul D, Salman, 144 guests

Forum statistics:
  • 987 topics, 4,731 posts, 5,572 members
  • Our newest member is mover1001
Birthdays:
Back to Top