Jump to content

ibaker

Clients
  • Posts

    262
  • Joined

  • Last visited

 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 ibaker

  1. If there is something wrong with the server space then my other IPS site and my Shopping Cart site would also be impacted but they are ok. It is just my main site and it was working ok this morning and then an error came up saying something was wrong with Data Storage. I clicked Support and Clear Cache and this is what happened.

    I have checked the permissions on datastore and the files in there and they are the same as permissions as my other IPS site on the same server.

    I have tested uploading a file to the datastore, uploads and css_built_0 folders and all worked ok

  2. 3 hours ago, Matt said:

    I found them. Your server is writing 0 byte files, this usually means the disk is full. Check with your host, but it's certainly not an Invision Community issue so unfortunately there's not anything I can do to help.

    Matt, there is heaps of room:

    Filesystem      Size  Used Avail Use%
    devtmpfs         34G     0   34G   0%
    tmpfs            34G     0   34G   0%
    tmpfs            34G  236M   34G   1%
    tmpfs            34G     0   34G   0%
    /dev/nvme0n1p2  1.2T  145G  974G  13%
    tmpfs            34G  160k   34G   1%
    /dev/nvme0n1p1  1.1G  244M  710M  26%
    tmpfs           6.8G     0  6.8G   0%

  3. Thanks, but with the permissions on the folders correct, or so I believe, the host can't really help me. I am hoping that someone from IPS Support could log in, see what is going on and fix it for me or at least tell me what is wrong and how I can fix it. They have all my server details and logins

  4. I have made sure that:

    Check the CHMOD of your \uploads and any \uploads\css_built_* folders. Usually it should be either 0777 or 0755.

    Both uploads and css_built_0 folders are 777

    But still have the problem and I can't get help from IPS as even though I am licensed the help page shows no email support meanwhile my site is not usable

  5. Hi, I am desperate for help. I checked my site today and found this (both site and Admin CP and don't know what to do to rescue my site:

     

    Could contain: Page, Text, File, Menu

    Could contain: Page, Text, Paper, Poster, Advertisement

    It also refers to EX3 and EX6 plus

    Technical Details:

    IPS\File\Exception: CANNOT_MAKE_DIR (6)
    #0 /home/<removed>/domains/recreationalflying.com/public_html/system/File/FileSystem.php(306): IPS\File\_FileSystem->getFolder()
    #1 /home/<removed>/domains/recreationalflying.com/public_html/system/File/File.php(351): IPS\File\_FileSystem->save()
    #2 /home/<removed>/domains/recreationalflying.com/public_html/system/Theme/Theme.php(5374): IPS\_File::create()
    #3 /home/<removed>/domains/recreationalflying.com/public_html/system/Theme/Theme.php(2563): IPS\_Theme::writeCss()
    #4 /home/<removed>/domains/recreationalflying.com/public_html/system/Theme/Theme.php(641): IPS\_Theme->compileCss()
    #5 /home/<removed>/domains/recreationalflying.com/public_html/system/Dispatcher/Front.php(831): IPS\_Theme->css()
    #6 /home/<removed>/domains/recreationalflying.com/public_html/system/Dispatcher/Front.php(79): IPS\Dispatcher\_Front::baseCss()
    #7 /home/<removed>/domains/recreationalflying.com/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
    #8 /home/<removed>/domains/recreationalflying.com/public_html/index.php(13): IPS\_Dispatcher::i()
    #9 {main}

  6. The backing up and restoring is not an issue, it's setting up everything else. Just reading the setup of Centos and Direct Admin guide link above that loses me. I need php, mysql, mail, elasticsearch etc and anything else that is needed as well all done

  7. I have a dedicated server in LA that currently has 2 Invision forum sites and a CS Cart shopping cart site:
    recreationalflying.com
    socialaustralia.com.au
    clearprop.com.au

    It uses Centos and nginx but no control panel or email services. I also use Cloudfare for domains and Amazon Web services for email. This server was set up for me as I have limited server management experience having always used cPanel. However I have a need to do basic things myself like I did when I used cPanel.

    What I need is for someone to back up my sites off the server, my hosting company will then reinstall standard centos and Direct Admin (Direct Admin is free for me), then set up the server without nginx but with all the extra things that are needed, hardening, elasticsearch, php modules etc like the server is now, set up email so I don't need AWS any more, no nginx and put my sites back on and make sure they are working and back online.

    I basically want my server with Centos, Direct Admin and email all set up but NOT use nginx or AWS any more.

    Is anyone interested and if so let me know an approx cost...thanks

  8. My users have advised me that they don't want other users to see how bad they may have gone in a quiz so they have asked for the leader board to not be displayed. At this stage I have suggested to just show the top 3.

    So can anyone help me with how I can limit the leader records to just display the top 3,

     

  9. Can anyone assist in the html I need to do this? I would like to create an editor button that when clicked would place a highlighted image with text to the side of existing text like the image with the text underneath it in this screenshot:

    1.jpg.0ae7c04f2f752982bc2131b8e6b0c60d.jpg

    I have created a button to set an image to the right:

    <span style="float: right; margin-left: 8px; clear: both;">{content}</span>

    But I have no idea how to make the text to be the same width of the image as in the above screen shot.

    Any help is greatly appreciated...thanks

  10. I use Supergrid Frontpage on several databases on my site however I have one database called Classifieds that needs a slight change to the Supergrid Frontpage template. So I created a new database Template for Featured Records (index and entry templates) and  called it Classifieds_Frontpage.

    I then assigned Classifieds_Frontpage to the database. I copied the contents of the index and entry templates from Supergrid Frontpage to Classifieds_Frontpage. Basically duplicating Supergrid Frontpage so I could make my changes in Classifieds_Frontpage for the Classifieds database.

    However, the database, even though it has Classifieds_Frontpage selected in the Homepage Options, it displays Supergrid Frontpage.

    I did this with Supergrid Listing to get a different category display and it worked perfectly but the same process with Supergrid Frontpage doesn't work.

    How can I have 2 versions of Supergrid Frontpage assigned to different databases?

  11. I have done it this way:

    A guest user sees all the records in the database landing page (note I use an addon to display the individual records with an image in this screen shot):

    1.thumb.jpg.2608cade766560cc5dc3facf99b6a986.jpg

    And when a Guest clicks on one of the records to view it what they see is:

    2.thumb.jpg.ec915a5028a09c8f8dac07e5f5520cb2.jpg

    To help everyone else that may need this type of permissions for a database/page this what I have done:

    1. In Page management create a copy of the Display template group and name the group what you like

    2. In the record template of the group add the following code at the very top of the template:

    {{if !\IPS\Member::loggedIn()->member_id}}
    	<div class='ipsPageHeader ipsBox ipsResponsive_pull ipsPadding ipsClearfix'>
    		<div class='ipsFlex ipsFlex-ai:center ipsFlex-fw:wrap ipsGap:4'>
    			<div class='ipsFlex-flex:11'>
    				<h1 class='ipsType_pageTitle ipsContained_container'>Registered Users Only</h1>
    				<div data-controller="core.global.core.login">
    					<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
    					{{if \IPS\Login::registrationType() != 'disabled'}}
    						<div class='ipsType_center ipsPad cGuestTeaser'>
    							<div class='ipsBox ipsPad ipsSpacer_top'>
    								<div class='ipsGrid ipsGrid_collapsePhone'>
    									<div class='ipsGrid_span6 cGuestTeaser_left'>
    										<h2 class='ipsType_sectionHead'>{lang="teaser_account"}</h2>
    										<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_account_desc"}</p>
    										{{if \IPS\Login::registrationType() == 'redirect'}}
    											<a href='{expression="\IPS\Settings::i()->allow_reg_target"}' class='ipsButton ipsButton_primary ipsButton_small' target="_blank" rel="noopener">
    										{{else}}
    											<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class='ipsButton ipsButton_primary ipsButton_small' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}'{{endif}}>
    										{{endif}}
    										{lang="teaser_account_button"}</a>
    									</div>
    									<div class='ipsGrid_span6 cGuestTeaser_right'>
    										<h2 class='ipsType_sectionHead'>{lang="teaser_signin"}</h2>
    										<p class='ipsType_normal ipsType_reset ipsType_light ipsSpacer_bottom'>{lang="teaser_signin_desc"}</p>
    										<a href='{url="app=core&module=system&controller=login" seoTemplate="login" $item->url() . '#replyForm'"}' data-ipsDialog data-ipsDialog-size='medium' data-ipsDialog-remoteVerify="false" data-ipsDialog-title="{lang="teaser_signin_button"}" class='ipsButton ipsButton_primary ipsButton_small'>{lang="teaser_signin_button"}</a>
    									</div>
    								</div>
    							</div>
    						</div>
    					{{endif}}
    				</div>
    			</div>
    		</div>
    	</div>
    {{else}}

    and don't forget to add {{endif}} at the very bottom of the template as well

    3. Open the settings of your database and in the field "Display Template Group" select the name you gave the group in Step 1 above.

    Hope this helps

  12. 1 hour ago, Morrigan said:

    Do it at the field level instead of at the article level. So edit the permissions of the fields and create a special “guest teaser” field. This field only shows to guests while the others don’t.

    I tried that, maybe I am doing something wrong but I edited the "Content" field permissions and it made no difference:

    1.thumb.jpg.845b48e7dbb067085ae499bdeb85687d.jpg

  13. I have several databases which are used for Tutorials, Tools and Calculators etc which I want to provide only to registered logged in users. However, to entice people to register on a site you need to show them what they are missing out on by not registering. The issue with the permissions on databases/pages is to stop Guests from accessing individual records you can't show them a page listing the records that they are missing out on.

    For example in my case I want to show them what is available to them if they registered:

    1.thumb.jpg.2196d747c4783a3fbc4a380d0b75b791.jpg

    BUT NOT allow them them to see/use the actual record (in this case a form tool):

    2.thumb.jpg.dae2f600b36df53f72bfd8c98becd41d.jpg

    If you set the database/pages permissions so that Guests can't access the individual records in the database all they see is:

    3.thumb.jpg.95a0a282651316bfd35ed809243bd66a.jpg

    Which does nothing to entice them to register because they have no idea what they are missing out on and what the site provides.

    Any thoughts on how I could fix this...like for example could I leave Guests with permissions to view but put in the actual record template an "If usergroup = Guest, display msg to view please register"...a bit messy so any other ideas...thanks

    (I think IPS needs to add an extra level of permissions in many areas of the suite to help site owners grow their sites)

×
×
  • Create New...