Jump to content

AlexWright

Clients
  • Posts

    1,372
  • Joined

  • Days Won

    1

 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 AlexWright

  1. 11 minutes ago, Adriano Faria said:

    @SJ77 nailed it down.... It's really my fault. Not exactly deleting the record but replacing.

    I'll provide a fix as soon as I can. 👍

    Is this only in 1.0.2? If so I probably should have mentioned we only have 1.0.1 installed, which could be why I was unable to reproduce. 

  2. On 5/10/2020 at 5:08 AM, Sonya* said:

    This {{if \count($entries)}}  returns NULL or 0. Try this:

    
    {{if !empty( $entries ) }}

    I have difficulties with count in the template. The variables seem to be not numeric (countable) so that count does not always work.

    Unfortunately didn't work. I also tried changing the following $count = 0 to $entries = 0, with no luck there either.

  3. Hi all! We'd like to add the Grid View of recent "Blog" entries as a placeable Pages block. Was hoping the following would work, but all I'm getting is "No Story Entries Yet" (We've renamed the module Stories, and use it for user-written Literature). Any help would be amazing, thanks! We're on the latest 4.4.10.

    {expression="\IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('front_browse.js', 'story'))"}
    <section class='ipsType_normal ipsSpacer_both cBlog_grid' data-controller='blog.front.browse.grid'>
    	{{if \count($entries)}}		
    		{{$count = 0;}}
    		{{if $pagination['page'] == 1}}
    			<div class='cBlog_grid_row cBlog_grid_row--primary'>
    				{{foreach $entries as $id => $entry}}
    					{{if $count == 2}}
    						{{break;}}
    					{{endif}}
    
    					{template="indexGridEntry" app="blog" location="front" group="browse" params="$entry, true"}
    					{{$count++;}}
    				{{endforeach}}
    			</div>
    		{{endif}}
    
    		{{$count = 1;}}
    		{{$subcount = 0;}}
    		<div class='cBlog_grid_row'>
    			{{foreach $entries as $id => $entry}}
    				{{$subcount++;}}
    				{{if ( $pagination['page'] == 1 and $subcount > 2 ) or ( $pagination['page'] > 1 and $subcount)}}
    					{template="indexGridEntry" app="blog" location="front" group="browse" params="$entry"}
    					{{if $count % 3 == 0}}
    						</div>
    						<div class='cBlog_grid_row'>
    					{{endif}}
    					{{$count++;}}
    				{{endif}}
    			{{endforeach}}
    		</div>
    	{{else}}
    		<div class="ipsBox ipsType_center ipsPad">
    			<p class="ipsType_large">{lang="no_entries_yet"}</p>
    		</div>
    	{{endif}}

     

  4. 5 hours ago, AlienOrigins said:

    Yep does it on the default theme as well....

    I have not messed with any of that cause I do not know what I am doing when it comes to that...I got one other thing I will try and get back to this thread shortly.

    OK...I had placed an Advertisement below the header, I removed it and things went back to the way they were...I don't know what the Advertisement had to do with it.

    Check the advertisement code. It's likely a missed closed bracket.

  5. 16 hours ago, Majbritt_merged said:

    Oh, the problems keep coming. Now they need access to PHPMyAdmin and SSH and I have no idea how to give them that. I have never used it and don't know what it is.

    They also ask me to turn off the site, which I do think I can do, but then I need to update the server to php 7.1 or above and again, I have no idea how to or what it is.

    On top of that, my hosting company sent an e-mail saying this: Beginning March 18, cPanel will be forcing all servers to update to EA4 from EA3, which could break your site. We're strongly encouraging our customers to upgrade now. That way, if anything breaks, you can still roll back to EA3 and troubleshoot without your site being down for the length of time it takes to fix the problem.

    Yes, great, more to deal with that I have no idea about 🤨

    EA3 to 4 is an upgrade process available through WHM's automation. You'll need to login to WHM and find the upgrade option. It's as easy as:

    Login to WHM

    Search "easy".

    Select EasyApache 4

    There should be a "migrate from EasyApache 3" button:

    whm-edu_easyapache-4_ea3-ea4-migration_easyapache-4-migration-button.png.22dde6044270351a4a78cd909753f3bb.png

     

    Then to upgrade from your current php to php7.1 or above, configure the new php from Easy Apache, disable the old php, and gracefully restart the server.*

    As far as phpmyadmin: cPanel should have a link to this from the cPanel page. Give this link to IPS, along with the username and password (this is usually found in your config files for the Invision Community install).

    SSH should also be controllable from cPanel.*

    (*Please note that I haven't used WHM in a while. I do most of my work through an SSH connection and dont have a control panel installed.)

    Edit: it is advisable that you turn your community to Offline mode while migrating from EA3 to EA4 and during the php upgrade process. Make sure you have backups first.

  6. 13 minutes ago, Majbritt_merged said:

    I have now done the back up and got an e-mail that it has finished. Is there any more I need to do? Should I download it to somewhere or is it okay, that it's just on another place on the server.

    It should be listed on the same page as the backups were done. Download them and keep a local copy. Good idea to do this every now and again.

  7. On 6/23/2019 at 9:38 PM, AlexWright said:

    Hi @TheJackal84! We have an issue. Clubs in a category inaccessible to some users still appear on the "All Clubs" main page. They are able to see/read/view/join these as well, despite them being unable to access that category. Is this the intended behavior?

    Regards,

    Alex

    Is there any word on this? Appears to still be an issue.

  8. So, the Ignore feature is extremely lacking in all of what should probably be essential functionality. Currently, by default, you can only ignore someone's: Forum Posts, Messages, Signatures, and Mentions. While that's great and all, it's an extremely simplistic view of an Ignore/Block function. All major platforms (Facebook, Twitter, etc) have a way to Block and/or Ignore a user account. This hides all of that user's comments and contents and/or blocks them from viewing your content and profile. This is a major oversight in functionality that's missing in the IPS software. Not to mention that the Ignore function misses almost all of the other IPS default applications (Pages, Blogs, Gallery, Downloads, Calendar, Statuses, etc). The entire Ignore function feels like it was just slapped on to solve a singular issue (Forums) and never touched again. What an Ignore / Block function should be able to do:

    • Ignore all or some of a user's content.
    • Block a user from contacting you (Blocking messages and mentions).
    • Blocking a user from your profile and content.

    Most users prefer Ease of Use with this. If you're blocking someone, you (usually) have a good reason to. The current ignore feature on IPS is basically bare-bones and doesn't really do a great job at what it does. It can definitely be better, and hopefully this can start that.

     

    ---

    Evidence has been found that William Tell and his family were avid bowlers. However, all the Swiss league records were unfortunately destroyed in a fire, and we'll never know for whom the Tells bowled.

  9. 3 hours ago, Maxxius said:

    @AlexWright thank you so much for this post! It helped me make the IDENTICAL fURLs I had customized back in the day on 3.4.x to be the same in 4.4!

    BTW my default app will be Pages.

    What you did not mention that you have to translate is

    
    "topLevel": "forums",

    to your language. Thus I was able to translate this toplevel fURL and translated the rest in ACP and in the end I got results such as:

    http://website.com/forum/f1/forum-category-name/
    http://website.com/forum/t46405/topic-name/

    Basically you have to do this for every app you want to translate, go to its folder, find furl.json file and edit it.

    Today IPS support told me this can't be done, but there it is. 🙂

    Yeah, sadly this work around only works on self-hosted licenses, as @Rhett mentioned. Until there's a fix for this ^^;

  10. Question as well, can something be added that shows up on the toggle to tell the user whether they're anonymous or not? Right now it's a bit confusing to have just the one notification popup that tells them they're browsing, but clicking the icon to come out of browsing anonymously doesn't have a message or notification. Maybe a color change on the icon itself to green or something when a member is browsing anonymously?

  11. 5 hours ago, Spanner said:

    If comments waiting for approve you can see its on ModCP

     

    If this is addtional group IPS merge permission for each user groups

     

    Admin or profile owner?

     

    Will be. First I integrate Gallery with (SD) Sales Portal Pro. Next in this app but inner "galleries" will be available

     

    Profile owner?

    1. The groups should have the highest available limit. Seems to be doing lowest available limit.

    2. Admin/mod.

    3. Sounds good thanks.

    4. Yep, profile owners can currently review themselves.

×
×
  • Create New...