Jump to content

Leaderboard

Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard


Popular Content

Showing content with the highest reputation since 04/22/2018 in all areas

  1. 2 points
    Group Background in Author Pane Go to ACP > Themes > edit you theme > forums > front > topics > postContainer an find: <aside class='ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone'> Change to : <aside class=' userbar ipsComment_author cAuthorPane ipsColumn ipsColumn_medium ipsResponsive_hidePhone' data-group_id='{$comment->author()->member_group_id}'> Save Go to Go to ACP > Themes > edit you theme > CSS > custom.css and add this code: .userbar[data-group_id="4"] {background:url([Hidden Content])} html[dir] .cPost .ipsComment_content { padding-left: 10px; } Change background with image or color Change id 4 with an id of your group
  2. 1 point
    Try this: in custom.css .ipsGrid_span3.ipsType_left.ipsPhotoPanel.ipsPhotoPanel_mini.cNewestMember { text-align: -webkit-center; } .ipsPhotoPanel > .ipsUserPhoto { float: none; } html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_mini > div { margin-left: 0; } or this: @media screen and (max-width: 767px) .ipsGrid_span3.ipsType_left.ipsPhotoPanel.ipsPhotoPanel_mini.cNewestMember { text-align: -webkit-center; } @media screen and (max-width: 767px) .ipsPhotoPanel > .ipsUserPhoto { float: none; } @media screen and (max-width: 767px) html[dir="ltr"] .ipsPhotoPanel.ipsPhotoPanel_mini > div { margin-left: 0; }
  3. 1 point
    Hello Is there a way in ipb 4.2.7 to clean all pm messages and notifications ?
  4. 1 point
  5. 1 point
    Avatar Border Colour Depending Of Group Go to ACP -> Customization -> Themes -> Your Theme -> Edit HTML and CSS -> core -> front -> global -> userPhoto and replace all content with this: {{if $member->member_id and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}} {{$memberURL = ( $warningRef ) ? $member->url()->setQueryString( 'wr', $warningRef ) : $member->url();}} <a href="{$memberURL}" data-group_id='{$member->member_group_id}' {{if $hovercard}}data-ipsHover data-ipsHover-target="{$memberURL->setQueryString( 'do', 'hovercard' )}"{{endif}} class="ipsUserPhoto ipsUserPhoto_{$size}{{if $classes}} {$classes}{{endif}}" title="{lang="view_user_profile" sprintf="$member->name"}"> <img src='{$member->photo}' alt='{$member->name}' itemprop="image"> </a> {{else}} <span class='ipsUserPhoto ipsUserPhoto_{$size} {{if $classes}}{$classes}{{endif}}'> <img src='{$member->photo}' data-groupID='{$member->member_group_id}' alt='{$member->name}' itemprop="image"> </span> {{endif}} Go to custom.css and add this code: .ipsUserPhoto[data-group_id="4"] { border: solid 3px #e74c3c; } .ipsUserPhoto[data-group_id="3"] { border: solid 3px #2c3e50; } Change 4 and 3 with an id of your group Id your group can see in the ACP - Members - Group click group (example Members) that you want to see. In the address bar, you will see your id groups:
  6. 1 point
    It is necessary to make so that the last answers in a subject were shown the first.. ? The direction of sorting posts in the IPS Community Suite can be fixed in the file: Applications / forums / modules / front / forums / topic.php Find: $ OrderDirection = 'asc'; Replace to: $ OrderDirection = 'desc';
  7. 1 point
    Add file uploading buttons to your ckeditor Go to ACP > Customization > Themes > Your theme >edit HTML and CSS > core > global > forms > editorAttachments and find: <li class='ipsPos_right ipsResponsive_noFloat'> followed paste this code: <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('[Hidden Content]','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> MediaFire</button></span> <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('[Hidden Content]','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> FileDropper</button></span> <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('[Hidden Content]','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> TinyUpload</button></span> Safe Go to CSS > custom.css and paste this code: .uploadfile button:link { text-decoration: none; color: #333; transition: all 0.5s ease; } .uploadfile button:visited { text-decoration: none; color: #333; transition: all 0.5s ease; } Safe you can place links to your taste Enjoy
  8. 1 point

    Version 1.0.2

    20 downloads

    This plugin will allow you to clear the cache without having to use the support tool.

    Free

  9. 1 point
    IPS4 Constants.php Available Settings 'CP_DIRECTORY' => 'admin', 'IN_DEV' => FALSE, 'DEV_USE_WHOOPS' => TRUE, 'DEV_USE_FURL_CACHE' => FALSE, 'DEV_USE_MENU_CACHE' => FALSE, 'DEBUG_JS' => FALSE, 'DEV_DEBUG_JS' => TRUE, 'DEV_DEBUG_CSS' => FALSE, 'DEBUG_TEMPLATES' => FALSE, 'IPS_FOLDER_PERMISSION' => 0777, 'FOLDER_PERMISSION_NO_WRITE' => 0755, 'IPS_FILE_PERMISSION' => 0666, 'FILE_PERMISSION_NO_WRITE' => 0644, 'ROOT_PATH' => __DIR__, 'NO_WRITES' => FALSE, 'DEBUG_LOG' => FALSE, 'LOG_FALLBACK_DIR' => '{root}/uploads/logs', 'STORE_METHOD' => 'FileSystem', 'STORE_CONFIG' => '{"path":"{root}/datastore"}', 'CACHE_METHOD' => 'None', 'CACHE_CONFIG' => '{}', 'CACHE_PAGE_TIMEOUT' => 30, 'TEST_CACHING' => FALSE, 'EMAIL_DEBUG_PATH' => NULL, 'BULK_MAILS_PER_CYCLE' => 500, 'JAVA_PATH' => "", 'ERROR_PAGE' => 'error.php', 'UPGRADING_PAGE' => 'upgrading.html', 'QUERY_LOG' => FALSE, 'CACHING_LOG' => FALSE, 'ENFORCE_ACCESS' => FALSE, 'THUMBNAIL_SIZE' => '500x500', 'PHOTO_THUMBNAIL_SIZE' => 240, // The max we display is 120x120, so this allows for double size for high dpi screens 'COOKIE_DOMAIN' => NULL, 'COOKIE_PREFIX' => 'ips4_', 'COOKIE_PATH' => NULL, 'COOKIE_BYPASS_SSLONLY' => FALSE, 'CONNECT_NOSYNC_NAMES' => FALSE, 'BYPASS_CURL' => FALSE, 'FORCE_CURL' => FALSE, 'NEXUS_TEST_GATEWAYS' => FALSE, 'NEXUS_LKEY_API_DISABLE' => TRUE, 'NEXUS_LKEY_API_CHECK_IP' => TRUE, 'NEXUS_LKEY_API_ALLOW_IP_OVERRIDE' => FALSE, 'UPGRADE_MANUAL_THRESHOLD' => 250000, 'HTMLENTITIES' => ( version_compare( phpversion(), '5.4.0', '<' ) ) ? ENT_IGNORE : ENT_DISALLOWED, 'SUITE_UNIQUE_KEY' => mb_substr( md5( '02bf3' . '$Rev: 3023$'), 10, 10 ), 'CACHEBUST_KEY' => mb_substr( md5( '02bf3' . '$Rev: 3023$'), 10, 10 ), // This looks unnecessary but SUITE_UNIQUE_KEY can be set to a constant constant in constants.php whereas we need a version specific constant for cache busting. 'SITE_SECRET_KEY' => NULL, 'TEXT_ENCRYPTION_KEY' => NULL, 'CONNECT_MASTER_KEY' => NULL, 'USE_DEVELOPMENT_BUILDS' => FALSE, 'DEV_WHOOPS_EDITOR' => NULL, 'DEFAULT_REQUEST_TIMEOUT' => 10, // In seconds - default for most external connections 'LONG_REQUEST_TIMEOUT' => 30, // In seconds - used for specific API-based calls where we expect a slightly longer response time 'TEMP_DIRECTORY' => sys_get_temp_dir(), 'TEST_DELTA_ZIP' => '', 'DELTA_FORCE_FTP' => FALSE, 'BYPASS_ACP_IP_CHECK' => FALSE define( 'DISABLE_MFA', TRUE );
  10. 1 point
    View File IPS Community Suite Retail IPS Community Suite 4.3.2 Submitter IPBDesign Submitted 03/17/2017 Category Release Notes  
  11. 1 point
    How to make a fixed navigation bar Go to: Customization > Theme > Edit HTML & CSS > Templates > GlobalTemplate Here you have to find: </footer> {template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""} Add below: <script> $('#elSearchNavContainer').addClass('original').clone().insertAfter('#elSearchNavContainer').addClass('cloned').css('position','fixed').css('top','0').css('margin-top','0').css('z-index','2000').removeClass('original').hide(); $('.cloned #elSearch').remove(); $(document).ready(function() { var stickyNavTop = $('#elSearchNavContainer').offset().top; window.addEventListener("resize", clone); function clone() { var test = document.getElementById('elSearchNavContainer').offsetWidth; $('.cloned').css('width',test); } var stickyNav = function(){ var scrollTop = $(window).scrollTop(); if (scrollTop > stickyNavTop) { $('.cloned').css('display', 'inline'); $('.original').css('visibility', 'hidden'); $('.original #elSearch').appendTo('.cloned'); } else { $('.cloned').css('display', 'none'); $('.original').css('visibility', 'visible'); $('.cloned #elSearch').appendTo('.original'); } }; stickyNav(); clone(); $(window).scroll(function() { stickyNav(); }); }); </script> Click the save button. It should look like this image: Navigation should now scroll down, Preview:
  12. 1 point
    Twitch block for IPB4 Today I would like to share this tutorial about how to get a Twitch block on your Invision Power Board 4.x forum! You will need to create PHP block under Pages and use the following code: function is_channel_live($channel) { $request = json_decode( @[member='fileposter']_get_contents( '[Hidden Content]' . $channel ) ); return ( ! is_null( $request->stream ) ) ? TRUE : FALSE; } $chan = "twitch"; if (is_channel_live($chan)==true) echo " <h3 class='ipsType_reset ipsWidget_title'>Live Stream (Online)</h3> <div class='embed-container'> <iframe src='[Hidden Content]' . $chan . '/embed' frameborder='0'></iframe> </div>"; else echo " <h3 class='ipsType_reset ipsWidget_title'>Live Stream (Offline)</h3> <div class='embed-container'> <font color=red><b>Offline</b></font> </div>"; Not much of an tutorial, I know but it's not very hard to this.
  13. 1 point
    Header background image This tutorial will teach you how to add a background image to the header in the default IPS theme, as shown below. BEFORE: AFTER: 1. To begin, log into your ACP and browse to Customization > Themes. Click the arrow to the right of your theme and select Manage Resources. Click the + Add Resource button at the top right. 2. Change the location from admin to global and use the Choose single file... button to upload your background image. This tutorial uses header.png as the file name, however you are welcome to use whatever name you like. Press Save. 3. You will be taken back to the resources page. Use the Search: Name field at the top right to search for your file name (header.png). Under the Template tag column, you'll see your resource code which allows you to reference that image in your css and HTML. We'll need this code in the next step: {resource="header.png" app="core" location="global"} 4. Go to Customization > Themes > Edit HTML and CSS. Click the CSS tab and choose custom.css. Paste the following code: @media screen and (min-width:980px){ #ipsLayout_header header{ background-image: url('{resource="header.png" app="core" location="global"}'); background-size: cover; background-position: 50% 0%; background-repeat: no-repeat; } #elSearchNavContainer{ background: rgba(0,0,0,0.5); } } The first line, starting with @media restricts the css to desktops and laptops. The background image will not be shown for tablets or mobiles (which is ideal for loading times). If you wish to show the image on all devices, remove the top line, and the } in the very last line. background-image simply defines our image URL, using the template tag from step 3. background-size defines if the image should be stretched to occupy the entire space of the header. Remove this line if you don't want the image to use it's natural image size background-position defines the position of the image (centered horiztontally, positioned at the top vertically). background-repeat defines how the image should be repeated (no-repeat, repeat, repeat-x, repeat-y) For an added effect, the background of the navigation bar has been changed to a semi-transparent black, which allows your background image to show beneath it. You are welcome to remove that code if you wish since it may not look correct for all images.
×