Community Answers
-
Nathan Explosion's post in IPS Support Request - Not Working? was marked as the answer
Working as expected for me - click the 'Create Request' button brings up the 'Start a conversation' dialog on the right hand side:
-
Nathan Explosion's post in Cover photo template was marked as the answer
core -> front -> forms -> popupTemplate
Right after the opening "<form..." line, add:
{{if $id == "coverPhoto"}} YOUR STUFF {{endif}}
-
Nathan Explosion's post in I have upgraded to IPB 4.6.2 and need help on custom script was marked as the answer
Threw it on a test site...
After this:
require 'init.php'; Add this:
\IPS\Dispatcher\External::i(); That should sort it - if the offer of payment stands, my beer fund will be very happy 😄
-
Nathan Explosion's post in Current ranks – and – Reputation was marked as the answer
Or you could run the provided rebuild tool, to retroactively apply the new rules, prior to reopening your site post-upgrade.
-
Nathan Explosion's post in Forum Upgrade from IPB3 to lates, reactions broken was marked as the answer
Have you tried clicking on the delete icon yet? Because it gives you an option to perform...
-
Nathan Explosion's post in CMS (Pages) - Sidebar block separated from articles was marked as the answer
I'm not confused - I'm clarifying your request to move from the general ("the blocks") to the specific ("the Recent Status Update block"), and your response confirms that it is the default blocks that you are asking about.
The 'fix' is to use custom blocks instead, as follows (note: I am not providing what you put in to every field, I am providing the specific things that need to be done...the rest is up to you)
ACP Pages -> Blocks -> Create Block In the second field ('Plugin') select the block you want to use ('Recent Status Updates') Give it a name (example: myBlock) Save this Pages -> Blocks -> Create Block This time, choose 'Custom' -> 'Manual HTML' On the first tab, name your custom block On the 'Content' tab, insert the code below On the same tab, DO NOT enable 'Cache this block' Save the new custom block Now, on the front-end you put that custom block in place, instead of the 'Recent Status Updates' block {{if \IPS\Request::i()->controller==='page' AND !isset(\IPS\Request::i()->id)}} {block="myBlock"} {{endif}} Why do it this way? The 'Recent Status Updates' block is cached, so adding the {{if....}} statement in its content will end up with strange caching results.
Result (there may be some finesse needed, but there is your starting point):
-
Nathan Explosion's post in Event disappears when started was marked as the answer
This is the line that is used later on in the query to retrieve the events:
$_today = new \IPS\calendar\Date( "now", \IPS\Member::loggedIn()->timezone ? new \DateTimeZone( \IPS\Member::loggedIn()->timezone ) : NULL ); Changing the "now" to "today" and you'll get those already started events to appear - but that's a direct code edit.
I think I might be able to do a plugin to help you with this though...gimme a few minutes to check.
Here you go - try this out:
(NE) Upcoming Events - show recently started events.xml
-
Nathan Explosion's post in Where are Announcement Stored? was marked as the answer
Well, doing that is likely to end up causing a problem with trying to do it the correct way...
Go to your Moderator CP, and click Announcements
-
Nathan Explosion's post in Can I import a calendar from Google Calendar? was marked as the answer
Yes
-
Nathan Explosion's post in HTTP Error 500 after upgrading PHP from 7.2 to 7.3 was marked as the answer
Make sure you have PHP's mbstring extension loaded.
-
Nathan Explosion's post in Calendar Bug - Need urgent help was marked as the answer
Removed direct code edit information
-
Nathan Explosion's post in How to disable auto jump to last reply/comment??? was marked as the answer
Member profiles settings in the ACP:
-
Nathan Explosion's post in Banned User Redirect? was marked as the answer
Check your PMs - just threw something together over lunch.
-
Nathan Explosion's post in Shoutcast 2 Functionality Radio Audio HTML5\Flash was marked as the answer
Use the following HTML in your content source:
Audio:
<audio controls> <source src="URL"> </audio> OR <audio src="URL" controls></audio> Video:
<video controls> <source src="URL"> </video> OR <video src="URL" controls></video> -
Nathan Explosion's post in How to remove Thread name change displayed to users was marked as the answer
Template: forums -> front -> topics -> topic
Locate:
<ul class='ipsTopicMeta'> {{if isset( $comment->metaData['comment']['moderation'] )}} {{foreach $comment->metaData['comment']['moderation'] as $modAction}} <li class="ipsTopicMeta__item ipsTopicMeta__item--moderation"> <span class='ipsTopicMeta__time ipsType_light'>{datetime="$modAction['row']['ctime']" short="true"}</span> <span class='ipsTopicMeta__action'>{$modAction['blurb']}</span> </li> {{endforeach}} {{endif}} {{if isset( $comment->metaData['comment']['timeGap'] )}} <li class="ipsTopicMeta__item ipsTopicMeta__item--time"> {$comment->metaData['comment']['timeGap']['blurb']}... </li> {{endif}} </ul> Remove the following from within that:
{{if isset( $comment->metaData['comment']['moderation'] )}} {{foreach $comment->metaData['comment']['moderation'] as $modAction}} <li class="ipsTopicMeta__item ipsTopicMeta__item--moderation"> <span class='ipsTopicMeta__time ipsType_light'>{datetime="$modAction['row']['ctime']" short="true"}</span> <span class='ipsTopicMeta__action'>{$modAction['blurb']}</span> </li> {{endforeach}} {{endif}} Keep in mind that will also remove any other moderation action logs that this section might contain - not seen anything else myself, but there may be something else.
-
Nathan Explosion's post in SOLVED: Changing Group Formatting for Group Names was marked as the answer
By putting the colour in to the html code...
<span style="color:green"><strong>Group name</strong></span>
-
Nathan Explosion's post in What/why is this sidebar block appearing next to forum post? was marked as the answer
Go to your ACP, type 'topic summary' and enjoy...
-
Nathan Explosion's post in display category description on the list of posts was marked as the answer
The template you would need to edit it is forums -> front -> topics ->topic.
Search for the following in there:
{{if $topic->canEdit()}} <span class='ipsType_break ipsContained' data-controller="core.front.core.moderation"> <span data-role="editableTitle" title='{lang="click_hold_edit"}'>{$topic->title}</span> </span> {{else}} <span class='ipsType_break ipsContained'> <span>{$topic->title}</span> </span> {{endif}} Within that, you can add in the following items to display information about the forum:
{$topic->container()->metaTitle()} {$topic->container()->metaDescription()} Example - replacing the above with the below gives you the result in the image:
{{if $topic->canEdit()}} <span class='ipsType_break ipsContained' data-controller="core.front.core.moderation"> <span data-role="editableTitle" title='{lang="click_hold_edit"}'>{$topic->title}</span> <br> <span>{$topic->container()->metaTitle()}</span> <span>{$topic->container()->metaDescription()}</span> </span> {{else}} <span class='ipsType_break ipsContained'> <span>{$topic->title}</span> <br> <span>{$topic->container()->metaTitle()}</span> <span>{$topic->container()->metaDescription()}</span> </span> {{endif}}
-
Nathan Explosion's post in Remove Newsletter block from notifications center was marked as the answer
Yup, it's not ideal but it's the best that could potentially be done from a CSS point of view.
@Apfelstrudel a way to see how the CSS can 'go wrong' would be to disable your Messenger....this will then remove it from the notifications list, and Newsletters will have a different numbered row and then something else will be hidden.
Here's a plugin which will do it the @Daniel F way 😉
(NE) Remove 'Newsletters' from notification settings.xml
-
Nathan Explosion's post in How to remove sidebar? was marked as the answer
Search for 'topic summary' in your ACP
-
Nathan Explosion's post in Change Message On Attachment Download Error Screen? was marked as the answer