Advertisement
-
Posts
383 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
Forums
Downloads
Bugs
WF Feature Plan
Suggestions
WebFlake Release Notes
FAQ
Store
Blogs
Applications
Ideas
Everything posted by S!r.ReaDy
-
How to create custom PHP pages with forum theme
S!r.ReaDy replied to xJ0k3r's question in Invision Answered Questions
You can remove the index.php from.the link. Its called friendly-url. Search in acp -
I guess its an app/plugin called badges or smth like that.
-
help how do I backup accounts and topics
S!r.ReaDy replied to L.Coroa's question in Invision Answered Questions
The members you can export in members - > Member list. Select only the once that are by default( name, rank, not recomended to download custom fields) The Topics are saved in the database, so you need to export the database, split the sql tables for core_forums in ther sql, and import that one in new forum site ( has to be same Categories and subs) -
https://invisioncommunity.com/forums/topic/429693-how-to-make-sparkling-user-groups/
-
Check the post container on how its done, and implement where you need.
-
Updating Member Titles using REST API
S!r.ReaDy replied to Vidsify's question in Invision Answered Questions
I'm not sure, but i don't think you can change the role on forums from discord.( at least you couldnt before). You can check how brillian discord integ. works. -
Problem with ConvertUTF8 when uprgading 3.4->4.4
S!r.ReaDy replied to Kinkl's question in Invision Answered Questions
4.4 uses utf8mb4, as per my knowledge. -
Problem with ConvertUTF8 when uprgading 3.4->4.4
S!r.ReaDy replied to Kinkl's question in Invision Answered Questions
If you are using a VPS, check your my.cnf for client and server encoding. Try this ALTER TABLE core_applications CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci -
Problem with ConvertUTF8 when uprgading 3.4->4.4
S!r.ReaDy replied to Kinkl's question in Invision Answered Questions
Then try to convert the remaining tables using this command. ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8mb4_unicode_ci; If this wont work , then try to convert all the database to ALTER DATABASE <database_name> CHARACTER SET utf8 COLLATE utf8_general_ci; -
Problem with ConvertUTF8 when uprgading 3.4->4.4
S!r.ReaDy replied to Kinkl's question in Invision Answered Questions
Just try to run the following. ALTER DATABASE <database_name> CHARACTER SET utf8 COLLATE utf8_unicode_ci; -
https://invisioncommunity.com/files/file/8854-gs-vip-members/ Can we get an update please.
-
Hi, im wondering if there is an update for this app, or a similar one, with the same functionality . Thank you
-
How to set different theme automatically for Users vs Guests
S!r.ReaDy replied to msa.altiok's topic in Archives
When you edit a theme you can select which theme is available for which groups. You can remove the change theme link on the bottom. -
This error occurs when there are no new files, so either you uploaded in the wrong folder, or you uploaded same version
-
You can get any VPS, even from OVH, and you won't have any issues if you don't host porn/child abuse or any of this kind. A nulled forum on YOUR private VPS/dedicated is a good go.
-
Follow the tutorial on how to upgrade IPS in the Tutorial Section. In other words, upload the 4.4.7 with replace and go to www.forum.com/admin/upgrade
-
If i understadn correctly. The code below will show your featured or pinned post as yellow bg in the forumRow ( main forum page/category) PS: The code is not optimized but works. If you want to use it for a live forum,rewrite the if part to change the featured/pinned ipsDataItem only. Replace all in topicRow. {{$rowIds = array();}} {{foreach $rows as $row}} {{$idField = $row::$databaseColumnId;}} {{$rowIds[] = $row->$idField;}} {{endforeach}} {{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() AND $movedTo->container()->can('view')}} <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 ipsContained_container'> <span class='ipsType_break ipsContained'> <em><a href='{$movedTo->url()}' title='{lang="go_to_new_location"}'>{$row->mapped('title')}</a></em> </span> </h4> <div class='ipsDataItem_meta'> {{if isset( $row::$databaseColumnMap['status'] )}} {{$statusField = $row::$databaseColumnMap['status'];}} {{if $row->$statusField == 'merged'}} <p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="topic_merged_to" sprintf="$movedTo->url(), $movedTo->mapped('title')"}</p> {{else}} <p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="topic_moved_to" sprintf="$movedTo->container()->url(), $movedTo->container()->_title"}</p> {{endif}} {{else}} <p class='ipsType_reset ipsType_light ipsType_blendLinks'>{lang="topic_moved_to" sprintf="$movedTo->container()->url(), $movedTo->container()->_title"}</p> {{endif}} </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}} {{if $row->mapped('featured') || $row->mapped('pinned') }} <li class="ipsDataItemhover ipsDataItem_responsivePhoto hover {{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}'> {{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, $table->contentPostedIn )}}fa-star{{else}}fa-circle{{endif}}"></i></span> </a> {{else}} {{if \in_array( $row->$idField, $table->contentPostedIn )}} <span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span> {{else}} {{endif}} {{endif}} </div> {{endif}} <div class='ipsDataItem_main'> <h4 class='ipsDataItem_title ipsContained_container'> {{if $row->locked()}} <span> <i class='ipsType_medium fa fa-lock' data-ipsTooltip title='{lang="topic_locked"}'></i> </span> {{if $row->topic_open_time && $row->topic_open_time > time()}} <span><strong class='ipsType_small ipsType_noBreak' 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> </span> {{endif}} {{elseif !$row->locked() && $row->topic_close_time && $row->topic_close_time > time()}} <span><strong class='ipsType_small ipsType_noBreak' 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> </span> {{endif}} {{if $row->mapped('poll')}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_neutral" data-ipsTooltip title='{lang="topic_has_poll"}'><i class='fa fa-question'></i></span></span> {{endif}} {{if $row->mapped('pinned') || $row->mapped('featured') || $row->hidden() === -1 || $row->hidden() === 1}} {{if $row->hidden() === -1}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span> {{elseif $row->hidden() === 1}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span> {{endif}} {{if $row->mapped('pinned')}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="pinned"}'><i class='fa fa-thumb-tack'></i></span></span> {{endif}} {{if $row->mapped('featured')}} <span><span class=" ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_positive" data-ipsTooltip title='{lang="featured"}'><i class='fa fa-star'></i></span></span> {{endif}} {{endif}} {{if $row->prefix()}} <span>{template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"}</span> {{endif}} <span class='ipsType_break ipsContained'> <a href='{$row->url()}' class='' title='{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}{lang="content_deleted"}{{endif}} {{if $row->canEdit()}}{lang="click_hold_edit"}{{endif}}' {{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> {{if $row->mapped('title') or $row->mapped('title') == 0}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}} </span> </a> {{if $row->commentPageCount() > 1}} {$row->commentPagination( array(), 'miniPagination' )|raw} {{endif}} </span> </h4> <div class='ipsDataItem_meta ipsType_reset ipsType_light ipsType_blendLinks'> <span> {lang="byline_itemprop" htmlsprintf="$row->author()->link()"} </span>{datetime="$row->mapped('date')" lowercase="true"} {{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() )}} {template="tags" group="global" app="core" params="$row->tags(), 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'>{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')}} <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> {{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}'> {{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, $table->contentPostedIn )}}fa-star{{else}}fa-circle{{endif}}"></i></span> </a> {{else}} {{if \in_array( $row->$idField, $table->contentPostedIn )}} <span class='ipsItemStatus ipsItemStatus_read ipsItemStatus_posted'><i class="fa fa-star"></i></span> {{else}} {{endif}} {{endif}} </div> {{endif}} <div class='ipsDataItem_main'> <h4 class='ipsDataItem_title ipsContained_container'> {{if $row->locked()}} <span> <i class='ipsType_medium fa fa-lock' data-ipsTooltip title='{lang="topic_locked"}'></i> </span> {{if $row->topic_open_time && $row->topic_open_time > time()}} <span><strong class='ipsType_small ipsType_noBreak' 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> </span> {{endif}} {{elseif !$row->locked() && $row->topic_close_time && $row->topic_close_time > time()}} <span><strong class='ipsType_small ipsType_noBreak' 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> </span> {{endif}} {{if $row->mapped('poll')}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_neutral" data-ipsTooltip title='{lang="topic_has_poll"}'><i class='fa fa-question'></i></span></span> {{endif}} {{if $row->hidden() === -1 || $row->hidden() === 1}} {{if $row->hidden() === -1}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{$row->hiddenBlurb()}'><i class='fa fa-eye-slash'></i></span></span> {{elseif $row->hidden() === 1}} <span><span class="ipsBadge ipsBadge_icon ipsBadge_small ipsBadge_warning" data-ipsTooltip title='{lang="pending_approval"}'><i class='fa fa-warning'></i></span></span> {{endif}} {{endif}} {{if $row->prefix()}} <span>{template="prefix" group="global" app="core" params="$row->prefix( TRUE ), $row->prefix()"}</span> {{endif}} <span class='ipsType_break ipsContained'> <a href='{$row->url()}' class='' title='{{if $row->mapped('title')}}{$row->mapped('title')}{{else}}{lang="content_deleted"}{{endif}} {{if $row->canEdit()}}{lang="click_hold_edit"}{{endif}}' {{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> {{if $row->mapped('title') or $row->mapped('title') == 0}}{$row->mapped('title')}{{else}}<em class="ipsType_light">{lang="content_deleted"}</em>{{endif}} </span> </a> {{if $row->commentPageCount() > 1}} {$row->commentPagination( array(), 'miniPagination' )|raw} {{endif}} </span> </h4> <div class='ipsDataItem_meta ipsType_reset ipsType_light ipsType_blendLinks'> <span> {lang="byline_itemprop" htmlsprintf="$row->author()->link()"} </span>{datetime="$row->mapped('date')" lowercase="true"} {{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() )}} {template="tags" group="global" app="core" params="$row->tags(), 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'>{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')}} <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}} {{endif}} {{endforeach}} {{endif}} Add in custom css: .ipsDataItemhover{ padding: 5px 10px; background: linear-gradient(to right, #f89140, #f89140)!important; margin-bottom: 8px; }
-
If you want highlight with yellow, you have to share the code or say what kind of problem is this.
-
Use php7.2 or 7.3 . Or upgrade to 4.4
-
Seems like nulled whcms + ts3 licence emu = suspended xD
-
If you have Cloudflare, disable it and try again.
-
imagecreatefromstring(): Couldn't create GD Image Stream out of Data This error occurs when creating custom settings for the theme, and especially for image radio setting, after the sync from file system or disabling Designers mode and sync. Sample code. <?php return new \IPS\Helpers\Form\Radio( "core_theme_setting_title_{$row['sc_id']}", $value, FALSE, array( 'options' => array( 'ai' => "<img src='" . $theme->resource('enhancements/a.png', 'core' ) . "' alt='[a] [i]' class='ipsImage'>", 'ia' => "<img src='" . $theme->resource('enhancements/b.png', 'core' ) . "' alt='[i] [a]' class='ipsImage'>", ), 'parse' => 'raw' ), NULL, NULL, NULL, 'theme_setting_' . $row['sc_key'] ); php 7.2 in php 7.3 gives Failed to read the file
-
Remove only this for text only <li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li>
-
Thatss because forum changed. Go to ACP -> support, and go to something is not working. It should fix it,