Jump to content

Music Case

Advanced Members
  • Content count

  • Joined

  • Last visited

  • Days Won


Music Case last won the day on January 30

Music Case had the most liked content!

Community Reputation

11 Fair

About Music Case

  • Rank
    Upstanding Flake

Profile Information

  • Gender
  • Software
  • Version

Contact Methods

Recent Profile Visitors

869 profile views
  1. Shift

    Version 1.0.0


    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.
  2. Rules - Give reputation on [event]

    Hello, So i'm currently using Rules 1.3.16 and I was wondering if there's a way to reward reputation based on an [event] such as adding calendar, creating new topic etc ? I know there's expansion packs but none that i can find with this functionality ? Any help would be great thanks!
  3. Internal embeds not working

    Cool thanks for clarifying depending on price I’ll probably purchase it when I get paid. Thanks!
  4. Internal embeds not working

    The version on my profile is incorrect, I use 4.2.5, in fact I’ll change it now
  5. Internal embeds not working

    @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.
  6. Internal embeds not working

    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 ?
  7. 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!
  8. Change file paths for attatchments

    Done that, however it still organises them into months. I'd be happy with how it organised them if it did it "month_ddmmyy" or something but it doesnt... Ah well i dont think it's possible.
  9. Change file paths for attatchments

    Hello, So iv'e set up my IPS4 to upload files to an external "image" server to save space on my hosting and i was curious if it's possible to change the file path ? By default it uploads images to: (../public_html/uploads/monthly_xx/) now it uploads to: (https://images.domain.com/monthly_xx) is there any way possible to remove the monthly_xx part of the uploads and just have everything upload to https://images.domain.com/ Thanks!
  10. Create You're Own Widget Locations

    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. Create You're Own Widget Locations

    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. Add more tabs to create a topic

    Hello, I was wondering if it's possible to add more tabs on create a topic ? I've spent hours on end trying various code to try and replicate the tabs but i can't find some things i'm looking for so i wondered if anyone knew how to do it ? Any help would be great thanks!
  13. Create You're Own Widget Locations

    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.
  14. 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.
  15. Making your own block locations

    I sussed it out, i'll be making a tutorial soons