Jump to content

SeNioR-

Members
  • Posts

    1,154
  • Joined

  • Days Won

    5

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by SeNioR-

  1. Go to index/forumRow

    find & remove

    				{{if $lastPost AND ( $forum->can_view_others OR \IPS\Member::loggedIn()->modPermission('can_read_all_topics') OR ( \is_array( \IPS\Member::loggedIn()->modPermission('forums') ) AND \in_array( $forum->_id, \IPS\Member::loggedIn()->modPermission('forums') ) ))}}
    					<dl>
    						{{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}}
    						<dt class="ipsDataItem_stats_number">{number="$count" format="short"}</dt>
    						<dd class="ipsDataItem_stats_type ipsType_light">{lang="posts_no_number" pluralize="$count" format="short"}</dd>
    					</dl>
    				{{endif}}

     

  2. Hi! See the documentation ips.ui.menu.

    Example code:

    <ul class="ipsList_inline ipsPos_right ipsResponsive_hidePhone">
    <li><a href="https://google.com" id="elMyMenu_item1">Item 1</a></li>
    <li><a href="#" data-ipsmenu id="elMyMenu_item2">Item 2 with dropdown <i class="fa fa-angle-down"></i></a>
    <ul class="ipsMenu ipsMenu_auto ipsHide" id="elMyMenu_item2_menu">
    <li class="ipsMenu_item"><a href="https://google.com">Item 3</a></li>
    <li class="ipsMenu_item"><a href="https://google.com">Item 4</a></li>
    </ul>
    </li>
    </ul>

    menu-123.png.15ed96405c5b970378d635be622f85c6.png

  3. There is an "Invoices" section in ACP in Customer View.

    Do you mean the public profile?

    On 6/8/2021 at 10:53 PM, HakanYagiz said:

    is possible to give this permission to staff ?

    {{if $member->modPermission() or $member->isAdmin()}}
    Code visible to moderators or admins 
    {{endif}}

     

  4. Check that the forums_posts table characters were converted in the correct way. If so, it is the server's fault.

    3 hours ago, sate said:

    The hosting that I am using has defauld charset latin1, should I ask them to change the server charset to UTF8 ?

    Yes definitely. Server character encoding should be set to UTF-8 Unicode (utf8mb4).

  5. It seems to me that it is not so easy to add this option to ACP because it is a CKEditor plugin.

    If you want to change the default code syntax highlighting, try going to applications\core\interface\ckeditor\ckeditor\plugins\ipscode\plugin.js

    Open plugin.js 

    find

    \x26lang\x3dhtml

    and change the \x26lang\x3dhtml suffix to css or lua or something else.

    e.g.

    \x26lang\x3dcss
    \x26lang\x3dpython

    I have not tested this method, so I do not guarantee that it will work.

×
×
  • Create New...