Traslante 4.5
Segnala i problemi con la traduzione per IP.Suite 4.5.*
13 discussioni in questo forum
-
If you need to hide something from guests, you can use the code. Paste in the right place {{if \IPS\Member::loggedIn()->member_id}} Тут информация что вы хотите скрыть от гостей {{endif}}
-
You need to find and remove the following in the postContainer template: {{if $comment->author()->member_id}} Next, add the following code (to any place convenient for you, you can go where the previous one was, but it's best to put it under the avatar): For users: {{if $comment->author()->member_id == X}} <!-- In place of X we write the user ID --> <!-- Here we write any code for display --> {{else}} For groups: {{if $comment->author()->member_group_id == X}} <!-- In place of X we write the group ID --> <!-- Here we write any code for display --> {{else}}
-
Go to Admin Panel-Appearance-Your Style-global-userBar find: <ul id='elUserNav' class='ipsList_inline cSignedIn' data-controller='core.front.core.userbar{{if member.member_id && settings.auto_polling_enabled}},core.front.core.instantNotifications{{endif}}'> After add: <span class='userRating {{if \IPS\Member::loggedIn()->pp_reputation_points > 0}}PlusRep{{elseif \IPS\Member::loggedIn()->pp_reputation_points < 0}}MinusRep{{else}}NeutralRep{{endif}}'> {template="reputationBadge" group="global" app="core" params="\IPS\Member::loggedIn()"} </span> Add to custom.css .ipsApp #elUserNav .userRating { line-heig…
-
In IPS4, boolean checks are performed using special {{if}}, {{else}} and {{elseif}} tags. As with standard programming logic, if the expression evaluates to true, the block of code inside is executed. If it is not (and if there is another or elseif block that is checked instead of the true result). So, the logic block in the template might look like this: {{if member.member_id == 3}} <! - If user has id 3, this will be shown -> {{elseif member.member_id == 9}} <! - But if the user has id 9, this will be shown instead of -> {{}} Еще <! - If the element is not ID 3 or 9 then this will show -> {{ENDIF}} Examples. I want to. Check if u…
-
Go to custom.css add to bottom: /** IPS */ .ipsSubNavigation .ipsList_inline:after, .ipsBreadcrumb ul:after, ul[role=tablist]:after, #ipsLayout_footer .ipsLayout_container:after, } .ipsDataItem_subList li a:after{content:'';} .ipsDataItem_subList li{ float:left; width:calc(100% / 2 - 5px); } .ipsDataItem_subList li a:before { content:"\f067"; font-family:"FontAwesome"; font-size: 10px; font-weight: normal; display: inline-block; margin-right: 5px; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; -webkit-transform:translate(0,0); -moz-transform:translate(0,0); -ms-transform:translate(0,0); -o-transform:translate(0,0); tr…
-
1. Add the following code to the globalTemplate immediately after the <head> tag: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <style type="text/css"> .spoiler_body {display:none; cursor:pointer;} </style> <script type="text/javascript"> $(document).ready(function(){ $('.spoiler_links').click(function(){ $(this).parent().children('div.spoiler_body').toggle('normal'); return false; }); }); </script> 2. Go to the postContainer template After the line {{if $comment->author()->member_id}} add <div> <a href="" cla…
-
Go to postContainer replace everything with: {{$idField = $comment::$databaseColumnId;}} {{$itemClassSafe = str_replace( '\\', '_', mb_substr( $comment::$itemClass, 4 ) );}} {{if $comment->isIgnored()}} <div class='ipsComment ipsComment_ignored ipsType_light' id='elIgnoreComment_{$comment->$idField}' data-ignoreCommentID='elComment_{$comment->$idField}' data-ignoreUserID='{$comment->author()->member_id}'> {lang="ignoring_content" sprintf="$comment->author()->name"} <a href='#elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu data-ipsMenu-menuID='elIgnoreComment_{$comment->$idField}_menu' data-ipsMenu-appendTo='#elIgnoreCommen…
-
Informational messages allow you to draw the user's attention to this or that information. There are several types of information messages: An error is an error while performing an action. Success (success) - the action was completed successfully. Warning - a warning when an action is performed. Informing (information) - informing about any status or action. In order to make a message informational, it must be assigned the appropriate class. Let's consider informational messages and their classes in more detail. The message that displays the error has the ipsMessage_error class: The message indicating the success of the operation has the ipsMe…
-
Go to custom.css add to bottom: .buzz{ display:inline-block; -webkit-transform:translateZ(0); transform:translateZ(0); box-shadow:0 0 1px rgba(0,0,0,0) } .buzz:hover,.buzz:focus,.buzz:active{ -webkit-animation-name:buzz; animation-name:buzz; -webkit-animation-duration:0.15s; animation-duration:0.15s; -webkit-animation-timing-function:linear; animation-timing-function:linear; -webkit-animation-iteration-count:infinite; animation-iteration-count:infinite } @-webkit-keyframes buzz-out{ 10%{ -webkit-transform:translateX(3px) rotate(2deg); transform:translateX(3px) rotate(2deg) } 20%{ -webkit-transform:translateX(-3px) rotate(-2deg); transform:translateX(-3px) rotate(-2d…
-
Templates > forums > index > forumRow, we find: <dl> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_number">{number="$count"}</dt> <dd class="ipsDataItem_stats_type ipsType_light">{lang="posts_no_number" pluralize="$count"}</dd> </dl> Replace with: <dl> {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} <dt class="ipsDataItem_stats_number"><i class="fa fa-envelope-o" data-ipstooltip="" _title="{number="$count"} сообщений"></i> {number="$count"}</dt> </dl> CSS > core > front > custom > custom.css and add to the very…
-
Go to global-index-index to find: <li class='ipsToolList_primaryAction ipsResponsive_hidePhone'> <a class="ipsButton ipsButton_medium ipsButton_important" href="{url="app=forums&module=forums&controller=forums&do=add" seoTemplate="topic_non_forum_add_button"}" data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="select_forum"}'>{lang="start_new_topic"}</a> </li> Add below: <a class="ipsButton ipsButton_negative ipsButton ipsButton_medium ipsButton_important"href='#dialogContent' data-ipsDialog data-ipsDialog-content='#dialogContent' data-ipsTooltip title='Read the rules'> Rules for creating a to…
-
Come da screenshot, segnalo che i records riportano data e categoria invertiti. Utilizzando Inglese come lingua, il testo riporta "Nome autore, categoria, data".
-
- 1 risposta
- 1,6k visite
- 1 follower
-
-
Segnalo refuso nel tasto di salvataggio blocchi, come da screenshot
-
- 2 risposte
- 1,8k visite
- 1 follower
-
Chi sta navigando 0
- Nessun utente registrato visualizza questa pagina.