Limited-Time Donation Special!
Upgrade to Snow for $20 USD and receive a free copy of Oblivion Light ($5 discount).
Upgrade to +Blizzard for $35 USD and receive a free copy of Oblivion Light ($15 discount).

Please visit the thread below for more details.
CLICK HERE

Contact @Davlin with questions or comments.

Jump to content

Music Case

Advanced Members
  • Content count

    69
  • Joined

  • Last visited

  • Days Won

    1

Music Case last won the day on January 30 2017

Music Case had the most liked content!

Community Reputation

12 Fair

About Music Case

  • Rank
    Upstanding Flake

Profile Information

  • Gender
    Male
  • Software
    IPS4
  • Version
    4.2.5

Contact Methods

Recent Profile Visitors

1,072 profile views
  1. Hello, So iv'e created a custom field and rules to go along with it, however it's set to automatic which is meant to do it from what i can gather reading the description. Anyone got a snippet of code that would work or any help at all ? Thanks!
  2. Hello, So i'm currently using Automation Rules 1.4.4 and i'm trying to change usergroup based on reputation points earned, however i can't seem to get it to work, i see no option for earned reputation points and change usergroup. I remember a long time ago been able to award people for reaching X amount of rep using the iawards system but when i download iawards for the rules pack the reputation folder contains "issue-award-based-on-length-of-membership" not Reputation. Any help would be great i could offer some cash if need be. Also before anyone mentions the "Group Promotions" tab that also ain't working for me. Thanks. EDIT: Sussed it out, however i'd still like some help using Automation rules... Is it possible to Trigger when group is changed Is it possible to award reputation based on forums and calendar
  3. Yeah that's correct however you'll get the error "Could not save block location" nor will it have any styling as that template for a params="xxxx" doesn't exist yet.
  4. Shift

    Version 1.0.0

    92 downloads

    Theme Settings Easily enable, disable or modify theme features such as background images, logos, social media links, guest messages and colors. This makes modifications and upgrades very simple since little code changes are required. Minimal HTML edits This theme has only 3 modified template files, which means in most cases, you will not need to install theme updates between IPS versions. Too easy! Color Scheme Editor Your members can choose two colors to create their own color scheme from a predefined selection. This feature can be disabled easily if required. Background picker (if enabled) Your members can choose their own background image (or color) from a predefined selection and their choice is saved via cookies. This feature can be configured or disabled within the theme settings. Global message Display a message across the top of your site with important announcements. Once your members have seen the message, they can press the Dismiss button to remove it (until you configure a new one). Guest message A customizable message can be shown to guests, prompting them to either register or login to your forum. Social links Social links can be enabled/disabled and customized to your own URL, allowing you to easily link to your social network pages (facebook, twitter, etc) HTML logo with slogan Easily add/edit your text logo and slogan from within the theme settings. If required, the text can be replaced by an image instead. Mega Footer A mega footer with configurable column numbers and content can be enabled and customized all within the theme settings.

  5. Cool thanks for clarifying depending on price I’ll probably purchase it when I get paid. Thanks!
  6. The version on my profile is incorrect, I use 4.2.5, in fact I’ll change it now
  7. @Lady C I originally thought this was the case and due to me not knowing too much on how the themes work, I can only rely on information provided here. The theme was downloaded from the 4.2 section however judging by the comments which I’ve now read it seems to be the case of old theme.
  8. Yeah all my settings are allowing embeds, the embed works on other themes just not this one, i was wondering if i'm missing a theme template or something ?
  9. Hello, I'm currently having a theme related issue with embeds, whenever i go to embed something it just shows as a mobile version iframe: However it only does it on this one theme, on the default IPS theme it embeds correctly and on any other installed theme it also embeds correctly. Any ideas ? Thanks!
  10. this is an exact copy of the code i use just edited for your purpose: {{if (isset( \IPS\Output::i()->sidebar['enabled'] ) and \IPS\Output::i()->sidebar['enabled'] ) && ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) || ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar_two'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar_two'] ) ) || ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets() ) )}} <div id='ipsLayout_sidebar_two' class='ipsSidebar_two ipsLayout_sidebar_two{$position} {{if !( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) && ( !isset( \IPS\Output::i()->sidebar['widgets']['sidebar_two'] ) || !count( \IPS\Output::i()->sidebar['widgets']['sidebar_two'] ) ) && \IPS\Dispatcher::i()->application->canManageWidgets()}}ipsLayout_sidebarUnused{{endif}}' data-controller='core.front.widgets.sidebar_two'> {{if isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== ''}} <aside id="elContextualTools" class='ipsClearfix' {{if isset( \IPS\Output::i()->sidebar['sticky'] )}}data-ipsSticky{{endif}}> {expression="\IPS\Output::i()->sidebar['contextual']" raw="true"} </aside> {{endif}} {{if isset(\IPS\Output::i()->sidebar['widgets']['sidebar_two']) and count( \IPS\Output::i()->sidebar['widgets']['sidebar_two'] ) and ( \IPS\core\Advertisement::loadByLocation( 'ad_sidebar' ) ) }} {advertisement="ad_sidebar"} <br><br> {{endif}} {template="widgetContainer" group="global" app="core" params="'sidebar_two', 'vertical'"} </div> {{endif}} if you're needing any help just lemme know you're more than welcome to pop up in PM!
  11. Sorry bro been away from internet for a week or so I'll be home tomorrow evening and I'll be happy to help.
  12. you dont have to remove anything in these lines, you just gotta add your new widget location's name.... for example on line 33: if ( ! \IPS\Member::loggedIn()->modPermission('can_manage_sidebar', 'can_manage_WIDGET NAME') in bold is the part you need to add, same for the other lines, obviously you need to change WIDGET NAME to whatever you called it in previous steps. PM me a if you want me to have a lil look at your site.
  13. In the midst of adding images for the code as well as a demo board for people to add widgets to multiple new block locations! Hello, So I have spent a long time tinkering with IPS4 in order to have more than the default 3 widget locations. I've always urged for a portal more like the one from IPS3.X so iv'e found a way to add your own widget locations. This tutorial involved editing some important files and creating your own in the theme editor screen so it's a reasonably complex tutorial so i'd advise greatly to back your site up! So before you spend ages reading here's what this tutorial will show you how to do: Demo Prerequisites: Back up your website theme Back up your websites files and database Make a snapshot if possible (cPannel) Firstly: You need to go into your theme editor and edit some lines of your globalTemplate, I would advise copying the original code into a notepad just in case it goes wrong, but you should already of backed up your theme anyways. Around mid way down, depending on theme you'll find these the lines (they might be together or separated across a few lines): {template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"} {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"} {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} Now you want to copy one or multiple of these lines depending on what you're trying to accomplish. For tutorial reason i'm going to add 2 sidebars, so copy: {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} {template="sidebar_two" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} and paste it underneath the original and change the {template="sidebar"..... to {template="sidebar_two".... and now save your globalTemplate. Secondly: Now stay in the theme editor and add a new HTML template, name it sidebar_two or corresponding to what you named the new widget. Make sure the drop down menus are as follows: Location: Front Existing Group: Global Applications: System and now insert the "sidebar" template code into there and change are the sidebar tags as your widget name, in this case sidebar_two {{if (isset( \IPS\Output::i()->sidebar['enabled'] ) and \IPS\Output::i()->sidebar['enabled'] ) && ( ( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) || ( isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) && count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) || ( \IPS\Dispatcher::i()->application instanceof \IPS\Application AND \IPS\Dispatcher::i()->application->canManageWidgets() ) )}} <div id='ipsLayout_sidebar' class='ipsLayout_sidebar{$position} {{if !( isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== '' ) && ( !isset( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) || !count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) ) && \IPS\Dispatcher::i()->application->canManageWidgets()}}ipsLayout_sidebarUnused{{endif}}' data-controller='core.front.widgets.sidebar'> {{if isset( \IPS\Output::i()->sidebar['contextual'] ) && trim( \IPS\Output::i()->sidebar['contextual'] ) !== ''}} <aside id="elContextualTools" class='ipsClearfix' {{if isset( \IPS\Output::i()->sidebar['sticky'] )}}data-ipsSticky{{endif}}> {expression="\IPS\Output::i()->sidebar['contextual']" raw="true"} </aside> {{endif}} {{if isset(\IPS\Output::i()->sidebar['widgets']['sidebar']) and count( \IPS\Output::i()->sidebar['widgets']['sidebar'] ) and ( \IPS\core\Advertisement::loadByLocation( 'ad_sidebar' ) ) }} {advertisement="ad_sidebar"} <br><br> {{endif}} {template="widgetContainer" group="global" app="core" params="'sidebar', 'vertical'"} </div> {{endif}} Thirdly: Now you need to edit a system file, which you can do on your desktop then overwrite the file or you can do on cPannel file explorer as i have cPannel i'll be doing it in there, I STRONGLY advise you back this file up, editing this file incorrectly will result in none of your widgets working! Navigate to: Applications >> Core >> Modules >> Front >> System >> and edit Widgets.php On these lines add your widget name: Line: 33 if ( ! \IPS\Member::loggedIn()->modPermission('can_manage_sidebar', 'can_manage_WIDGET NAME') Line 35: \IPS\Output::i()->error( 'no_permission_manage_sidebar', 'no_permission_manage_WIDGET NAME', '3S172/1', 403, '' ); Line 75: if ( ! $block->isExecutableByApp( array( \IPS\Request::i()->pageApp, 'sidebar', 'WIDGET NAME' ) ) ) Line 236: if( !in_array( \IPS\Request::i()->area, array( 'sidebar', 'WIDGET NAME' , 'header', 'footer' ) ) ) once you have made those changes save the widgets.php and overwrite the file. Now when you go back to your home page and try to insert blocks into the new widgets it should work without any errors and save the locations! Finally: This is hugely variable between widgets youv'e chosen and widget locations. However you can move the original: {template="sidebar_two" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"} To wherever you want the widget to be on your site, you may need to also do some CSS edits. BUGS: So because default IPS only have 3 blocks 1 is which is sidebar, in your theme settings it will ask where you want your sidebar (left or right) this is kinda of obsolete now as you can put it wherever you want. The blocks do mobile friendly rather well, however left blocks will appear on top of the side and right blocks will appear at the bottom.
  14. I sussed it out, i'll be making a tutorial soons
  15. Hello, So iv'e noticed that IPS4.X is limited to 3 block locations: Header Side (Left OR Right not both) Footer Well i found i can create my own block locations, for example if i wanted Header Left Right Footer Some other location I can accomplish this by just simply copying {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"} and changing it to {template="widgetContainer" group="global" app="core" params="'footer_two', 'horizontal'"} or whatever else, this accomplishes the new block location however it reports as block cannot be saved error on the site. My question is if anyone knows how to get around this or if there's some javascript in place to save block locations ? I feel it would be of great benifit if we could make our own block locations for portal for example to be more on part with 3.x. Thanks!
×