Jump to content

Yamagata 1st MRB

Retired 1st MRB
  • Posts

    6,723
  • Joined

  • Days Won

    10

Everything posted by Yamagata 1st MRB

  1. It never occurred to me to actually use database for queries... The only thing is, if I break the DB, I break everything
  2. The biggest bummer is that IPS is actively moving away from bbcode and putting more focus into the RTE. They've gone as far to say that bbcode will be fully deprecated within the next few major releases. That's the main reason that when you use bbcode it gets parsed into HTML and your bbcode tags are gone forever, it's their way of migrating the system to a bbcode-free one. So if you had used bbcode before, it's already converted to HTML. What frustrates me is that with that logic, you should be able to throw some HTML into the RTE and have it work, but it doesn't. I think that once we lose all bbcode functionality, I'll turn back on the "paste with formatting" setting so we don't have to make code boxes anymore.
  3. You should have download permissions now.
  4. He probably needs to delete his bandage download and let the server re-download it. Or manually download the sound himself. As for game issues, I doubt it's the server's fault (otherwise we would hearing a lot more reports of the issue). Have him verify the integrity of his game cache.
  5. I think he's referencing this: http://www.polygon.com/2016/3/28/11321138/overwatch-tracer-pose-removal The good old "Over-sexualizing vs Over-sensitivity" debate.
  6. Well, here's the whole template for topic view... {{$rowIds = array();}} {{foreach $rows as $row}} {{$idField = $row::$databaseColumnId;}} {{$rowIds[] = $row->$idField;}} {{endforeach}} {{$iposted = ( method_exists( $table, 'container' ) AND $table->container() !== NULL ) ? $table->container()->contentPostedIn( null, $rowIds ) : array();}} {{if count( $rows )}} {{$rowCount=0;}} {{foreach $rows as $row}} {{if $rowCount == 1 AND $advertisement = \IPS\core\Advertisement::loadByLocation( 'ad_forum_listing' )}} <li class="ipsDataItem"> {$advertisement|raw} </li> {{endif}} {{$rowCount++;}} {{$idField = $row::$databaseColumnId;}} {{if $row->mapped('moved_to')}} {{if $movedTo = $row->movedTo()}} <li class="ipsDataItem"> <div class='ipsDataItem_icon ipsType_center ipsType_noBreak'> <i class="fa fa-arrow-left ipsType_large"></i> </div> <div class='ipsDataItem_main'> <h4 class='ipsDataItem_title ipsType_break'> <em><a href='{$movedTo->url()}' title='{lang="go_to_new_location"}'>{wordbreak="$row->mapped('title')"}</a></em> </h4> <div class='ipsDataItem_meta'> <p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="topic_moved_to" sprintf="$movedTo->container()->url(), $movedTo->container()->_title"}</p> </div> </div> {{if $table->canModerate()}} <div class='ipsDataItem_modCheck'> <span class='ipsCustomInput'> <input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{{if $row->mapped('featured')}}unfeature{{endif}} {{if $row->mapped('pinned')}}unpin{{endif}} delete" data-state='{{if $row->mapped('pinned')}}pinned{{endif}} {{if $row->mapped('featured')}}featured{{endif}}'> <span></span> </span> </div> {{endif}} </li> {{endif}} {{else}} <li class="ipsDataItem ipsDataItem_responsivePhoto {{if $row->unread()}}ipsDataItem_unread{{endif}} {{if method_exists( $row, 'tableClass' ) && $row->tableClass()}}ipsDataItem_{$row->tableClass()}{{endif}} {{if $row->hidden()}}ipsModerated{{endif}}" data-rowID='{$row->$idField}' itemprop="itemListElement" itemscope itemtype="http://schema.org/Article"> {{if member.member_id}} <div class='ipsDataItem_icon ipsPos_top'> {{if $row->unread()}} <a href='{$row->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip> <span class='ipsItemStatus'><i class="fa {{if in_array( $row->$idField, $iposted )}}fa-star{{else}}fa-circle{{endif}}"></i></span> </a> {{else}} {{if in_array( $row->$idField, $iposted )}} <span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span> {{else}} &nbsp; {{endif}} {{endif}} </div> {{endif}} <div class='ipsDataItem_main'> <h4 class='ipsDataItem_title ipsType_break'> {{if $row->locked()}} <i class='ipsType_medium fa fa-lock' data-ipsTooltip title='{lang="topic_locked"}'></i> {{if $row->topic_open_time && $row->topic_open_time > time()}} <strong class='ipsType_small' data-ipsTooltip title='{lang="topic_unlocks_at" sprintf="\IPS\DateTime::ts( $row->topic_open_time )->relative(), \IPS\DateTime::ts( $row->topic_open_time )->localeTime( FALSE )"}'>{lang="topic_unlocks_at_short" sprintf="\IPS\DateTime::ts($row->topic_open_time)->relative(1)"}</strong>&nbsp;&nbsp; {{endif}} {{elseif !$row->locked() && $row->topic_close_time && $row->topic_close_time > time()}} <strong class='ipsType_small' data-ipsTooltip title='{lang="topic_locks_at" sprintf="\IPS\DateTime::ts( $row->topic_close_time )->relative(), \IPS\DateTime::ts( $row->topic_close_time )->localeTime( FALSE )"}'><i class='fa fa-clock-o'></i> {lang="topic_locks_at_short" sprintf="\IPS\DateTime::ts($row->topic_close_time)->relative(1)"}</strong>&nbsp;&nbsp; {{endif}} {{if $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}} <span> {{if $row->hidden() === -1}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span> {{elseif $row->hidden() === 1}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span> {{endif}} {{if $row->mapped('pinned')}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span> {{endif}} {{if $row->mapped('featured')}} <span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span> {{endif}} </span> {{endif}} {{if $row->prefix()}} {template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"} {{endif}} <a href='{$row->url()}' itemprop="url"{{if $row->tableHoverUrl and $row->canView()}} data-ipsHover data-ipsHover-target='{$row->url()->setQueryString('preview', 1)}' data-ipsHover-timeout='1.5'{{endif}}{{if $row->canEdit()}} data-role="editableTitle"{{endif}}> <span itemprop="name headline"> {{if $row->mapped('title')}}{wordbreak="$row->mapped('title')"}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}} </span> </a> <meta itemprop="position" content="{$row->tid}"> </h4> {{if $row->commentPageCount() > 1}} {$row->commentPagination( array(), 'miniPagination' )|raw} {{endif}} <div class='ipsDataItem_meta ipsType_reset ipsType_light ipsType_blendLinks'> <span itemprop="author" itemscope itemtype="http://schema.org/Person"> {lang="byline_itemprop" htmlsprintf="$row->author()->link()"} </span>{datetime="$row->mapped('date')" lowercase="true"} <meta itemprop="dateCreated datePublished" content="{expression="\IPS\DateTime::create( $row->__get( $row::$databaseColumnMap['date'] ) )->rfc3339()"}"> {{if !in_array( \IPS\Dispatcher::i()->controller, array( 'forums', 'index' ) )}} {lang="in"} <a href="{$row->container()->url()}">{$row->container()->_title}</a> {{endif}} {{if count( $row->tags() )}} &nbsp;&nbsp; {template="tags" group="global" app="core" params="$row->tags(), true, true"} {{endif}} </div> </div> <ul class='ipsDataItem_stats'> {{foreach $row->stats(FALSE) as $k => $v}} <li {{if $k == 'num_views'}}class='ipsType_light'{{elseif in_array( $k, $row->hotStats )}}class="ipsDataItem_stats_hot" data-text='{lang="hot_item"}' data-ipsTooltip title='{lang="hot_item_desc"}'{{endif}}> <span class='ipsDataItem_stats_number' {{if $k == 'forums_comments' OR $k == 'answers_no_number'}}itemprop='commentCount'{{endif}}>{number="$v"}</span> <span class='ipsDataItem_stats_type'>{lang="{$k}" pluralize="$v"}</span> {{if ( $k == 'forums_comments' OR $k == 'answers_no_number' ) && \IPS\forums\Topic::modPermission( 'unhide', NULL, $row->container() ) AND $unapprovedComments = $row->mapped('unapproved_comments')}} &nbsp;<a href='{$row->url()->setQueryString( 'queued_posts', 1 )}' class='ipsType_warning ipsType_small ipsPos_right ipsResponsive_noFloat' data-ipsTooltip title='{lang="queued_posts_badge" pluralize="$row->topic_queuedposts"}'><i class='fa fa-warning'></i> <strong>{$unapprovedComments}</strong></a> {{endif}} </li> {{endforeach}} </ul> <ul class='ipsDataItem_lastPoster ipsDataItem_withPhoto ipsType_blendLinks'> <li> {{if $row->mapped('num_comments')}} {template="userPhoto" app="core" group="global" params="$row->lastCommenter(), 'tiny'"} {{else}} {template="userPhoto" app="core" group="global" params="$row->author(), 'tiny'"} {{endif}} </li> <li> {{if $row->mapped('num_comments')}} {$row->lastCommenter()->link()|raw} {{else}} {$row->author()->link()|raw} {{endif}} </li> <li class="ipsType_light"> <a href='{$row->url( 'getLastComment' )}' title='{lang="get_last_post"}' class='ipsType_blendLinks'> {{if $row->mapped('last_comment')}}{datetime="$row->mapped('last_comment')"}{{else}}{datetime="$row->mapped('date')"}{{endif}} </a> </li> </ul> {{if $table->canModerate()}} <div class='ipsDataItem_modCheck'> <span class='ipsCustomInput'> <input type='checkbox' data-role='moderation' name="moderate[{$row->$idField}]" data-actions="{expression="implode( ' ', $table->multimodActions( $row ) )"}" data-state='{{if $row->tableStates()}}{$row->tableStates()}{{endif}}'> <span></span> </span> </div> {{endif}} </li> {{endif}} {{endforeach}} {{endif}}
  7. Is that for an instance that will not allow you to edit the title?
  8. The weirdest thing is that it's hit and miss... I've got root admin, so everything and anything is editable and viewable for me, but I still run into the issue every once in a while. Of course, now that I'm trying to troubleshoot it, I haven't had any problems.
  9. Try this code, I'm wondering if the prettyprint codeboxes don't read in the line breaks and the old ipsCode does.
  10. Ok, it's not Separate Pinned Topics Plugin. I wonder if I broke something when I was tinkering with the CSS...
  11. I've noticed that it doesn't work all the time now... but that capability is still there, just hit and miss. I'll have to do some more testing to figure out why it doesn't work all the time, hopefully it wasn't the plugin that split the pinned and unpinned topics. The only other workaround I know of it to edit the first post of the topic you wanted to change the title for, it should give you the editing view as if you were starting a new topic.
  12. Pinned topics are now separated from the rest of the topics!
  13. I think I got them all. Just link any other topics that need fixing. (Hopefully we have more MSO Staff willing to edit them as needed, but I'll fix them when I see them)
  14. I was able to find the CSS in question, thankfully. Looks like that was the culprit, thanks!
  15. The hard part is finding where my CSS changes are valid. Usually my fixes are overwritten somewhere else in the many css files. I was only able to get it to turn grey by adding the !important attribute, which has potential to cause problems. I'll see if I can do the same for the width.
  16. Aha! https://invisionpower.com/release-notes/
  17. Just ran our first live update... The header background that I tried adding earlier just magically appeared, so there's that. Big security update, I forgot to grab the patch notes but I'll get them up if I can find them again.
  18. I don't think I understand what you're asking. Is this just a mod that shows the number of deaths at the end of each round? Was this something built in that we could enable? I can't say that I've ever heard of a "Casualty Count" in DoD:s... If it is a mod, I will note that that we try to limit the number of mods on our server to the ones we need in order to keep loading times and server speeds optimal.
  19. Ok, the downloads folder has been cleaned, let me know if we're still seeing serious lag.
  20. I'll do another clean tonight, but let's not forget the right way to report lag.
  21. Ok, I've forced it to have the same background as the RTE. Now to figure out why it only takes up a portion of the editor area....
×
×
  • Create New...