Jump to content

ChrisTERiS

Members
  • Posts

    195
  • 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 ChrisTERiS

  1. I know that bombing a coder/designer with new features requests is always frustrated. Especially if he/she has to deal with many mods/styles.

    But there are sometimes, where, these requests, even not bugs, are important. eg With movies. At least in my opinion a simple addition to Movie Feed widget-> Short by-> RATING is very important.  Most of the sites are using Movies for Reviews. If they don't have any option to show eg Top 10 Movies what to show? Random?

    Thank you

    Chris

     

  2. 8 hours ago, TAMAN said:

    Hi,

    This button has no background color, you cant change the background color in the settings

    you can only change the text color which is connected with Light Text color option

    this is in the "Text" theme settings tab

    77d558ed3ff0054445892db9674ab043.png

     

     

    if you need to change it manually with css

    add in custom.css 

    
    body[data-pagecontroller="topic"] a[id*="elShareItem"] {
        background-color: #556b2f;
    }

     

    Ahaaa,,,,,,,,, Thank you. And I was wondering if I lost my visual at all. Now it makes sense. Thank you again.

    PS: I added !important; at the end and works fine.

  3. 9 hours ago, TheJackal84 said:

    I dont think IPS will allow a new club categories as it adds a column to the clubs database which IPS have said we can no longer use their database tables to add columns to, there is no other way for me to make it using a separate table for the clubs ID etc, honestly I have loads of messages and pm's here and not enough time to go through them all, I am trying lol I have like 50 ips apps and plugins to do plus over 100 custom ones and as 1 person its a lot without rushing them done

    Simple question. If I buy Club Categories from the link below which indicates that is IPS 4.5 compatible, do I've to pay the full license ($20) or the renewal ($7.5)

    https://flashmodding.com/index.php?/files/file/53-club-categories/

     

  4. @optrexnz

    Must be on the file applications/competition/modules/admin/competition/competitions.php

    Before (Line 21):

    protected $nodeClass = '\IPS\competition\Competition';

    Insert:

    public static $csrfProtected = TRUE;

    This way the final class should be:

    class _competitions extends \IPS\Node\Controller
    {
    	public static $csrfProtected = TRUE;
    	/**
    	 * Node Class
    	 */
    	protected $nodeClass = '\IPS\competition\Competition';
    	
    	/**
    	 * Execute
    	 *
    	 * @return	void
    	 */
    	public function execute()
    	{
    		\IPS\Dispatcher::i()->checkAcpPermission( 'competitions_manage' );
    		parent::execute();
    
    		\IPS\Output::i()->title = \IPS\Member::loggedIn()->language()->addToStack( 'menu__competition_competition_competitions' );
    
    	}
    }

    But I'm not getting any responsibility. I believe that @Andy Millne knows much better than me.

     

  5. On 10/1/2020 at 7:35 AM, optrexnz said:

    2S119/1 The CSRF protection key did not match. This may indicate a plugin or theme is out of date.

    This can be fix by adding:

    public static $csrfProtected = TRUE;

    But I need to re-download the file as I never used this mod. This is no way underestimates the value of this mod. I just changed the target of my community.

    By the way, as I don't remember anything, can this mod work like:

    AAA team VS BBB team?

    I mean to have 2 teams, or 2 persons, or what ever 2 competitors and the user to vote one of those 2??

    Something like this:

    image.png.74bbeb38a3d8a3951719cf877a5fb75e.png

  6. 17 minutes ago, TheJackal84 said:

    Sorry for the delays i have been really busy, hopefully soke point this week it will get updated

    Even if I've Sticky Notes and some other Mods of you, I can wait. But Club Categories have been released in your site since Aug 31, and here we're still waiting. In person, I've did 2 posts in the Support Forum plus a PM. No response at all, even if I've seen you online here replying to other posts/forums.

  7. 3 hours ago, V0RT3X666 said:

    Just tested the club categories application on 4.5, seems to fine when you add CSRF protection by yourself.

    I know what is CSRF protection from my vB4 addons, where it was a line at the top of php files:

    define('CSRF_PROTECTION', true);

    But I know nothing for IPS style of coding, so I can't risk to mess my installation. Have spent weeks to install and configure a dozen of mods and style.

    That said, most probably I'll wait the official release of this addon. I don't blame the developer. I accept his rights to upgrade it or not. Finally there is no any term that he'll continue upgrades for ever. But I was expecting a post here "Sorry, I don't plan to upgrade it".

  8. 23 minutes ago, Adriano Faria said:

    I'm working on another feature so expect a new version later next week.

    Take your time. It's not something so important. Just I was wondering if I miss something in settings. Or if I removed by mistake something from the templates. But the issue exists even in Default theme.

  9. 7 hours ago, Adriano Faria said:

    In categories it shows its subcategories.

    Sorry no. It does not display any subcategory in sidebar. I can see subcaterories only in the main (left) section. I gave a look in the widgets, but there is nothing there, even if I believe that this is a predefined widget.

    And actually I can't understand why there no any widget for it. eg I want to have the categories structure in sidebar for fast navigation is seeing a movie page.

    https://www.diziask.com/movies/category/1-tv-series/

     

  10. 15 minutes ago, Daniel F said:

    It's the same approach for applications.

    upload.png

    Thank you. Seems that I started loosing my visual below the average 😞 I can swear that I look at that place when I found that option for Plugins. But didn't seen it.

  11. 2 minutes ago, V0RT3X666 said:

    Have you tried the 4.4 addon in 4.5? Haven't tested that one, but many work without any problems.

    Thank you for your reply. Unfortunately with new Marketplace in Admincp is difficult to install Application manually. I found the way to install Plugins but not Applications. And with automatic installation is impossible. I'm getting message that this app is not compatible with my IPS version.

    Pitty that IPS don't adds such important feature is the core.

     

  12. Again same error but for different field. Now is for field movie_episodes and I seen that API return NULL for this field

    I found in line 298 of the same file above

    $movie->episodes	= $type == 'tv' ? $data['number_of_episodes'] : 0;

    TV Show: Rüzgarin Kalbi

     

  13. Data are updating periodically from TMDB, or they stay as is after the initial save? Actually I want to update number of episodes as many of them are wrong. I can do it directly to database, but I'm wondering if I'll loose these changes in a future data update from TMDB.

    PS: Fix works fine. Thank you.

  14. 4 minutes ago, Adriano Faria said:

    Thanks. This app adds records in 3 different places. Knowing where it is will help. I’ll check all of them anyway.

    Stuart mentioned a fix in the Community Map about the CSS issue. I mean, I think he’s talking about it and not about the app. 
     

    Make sure you have this patch.

    Yes I know....... I had such issues years ago. Actually, if I remember well, always was after running that "Support" option and selecting to Auto fix the problems.

     

  15. 4 minutes ago, Adriano Faria said:

    movie_runtime has 0 as default value. Not sure why NULL is passing for it. I’ll check it out and fix for next version. I’ll provide the fix as file edit as I’m not planning a new version for now.

    Regarding the CSS, that happens everyday with a lot of people and a MySQL error on front end won’t strip all your CSS from the Admin CP. The only solution IPS provides is run the support tool. If it’s not solving, then I suggest you to submit a ticket. 

    From what you're saying, this issue must be relevant to MySQL strict_mode. Don't know if it makes any sense but this was an insert from the "Add Movie" feature seeing the Crew tab of another movie. First 5-6 imports saved without any issue. For a moment I thought that maybe I had any custom field required. But checked in database and no one was required.

  16. ..hmmmmmm..... seems that most probably database messed. I tried with another one and I got the same error

    INSERT INTO `ips45_movies_movies` ( `movie_submitted`, `movie_updated`, `movie_mid`, `movie_ipaddress`, `movie_last_comment`, `movie_last_review`, `movie_cat`, `movie_open`, `movie_locked`, `movie_views`, `movie_pinned`, `movie_featured`, `movie_comments`, `movie_reviews`, `movie_unapproved_comments`, `movie_hidden_comments`, `movie_unapproved_reviews`, `movie_hidden_reviews`, `movie_title`, `movie_title_seo`, `movie_subtitle`, `movie_description`, `movie_tmdb_id`, `movie_imdb_id`, `movie_homepage`, `movie_runtime`, `movie_original_language`, `movie_revenue`, `movie_budget`, `movie_release_date`, `movie_status`, `movie_seasons`, `movie_episodes`, `movie_type`, `movie_genres` ) VALUES ( 1602235046, 1602235046, 1, '37.98.196.145', 1602235046, 1602235046, 4, 1, false, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Poyraz Karayel', 'poyraz-karayel', NULL, '', 65163, NULL, 'https://www.kanald.com.tr/poyraz-karayel', NULL, NULL, 0, 0, '2015-01-07', 'Ended', 3, 190, 'tv', '18,10759' )
    IPS\Db\Exception: Column 'movie_runtime' cannot be null (1048)
    #0 /home/diziask/public_html/system/Db/Db.php(948): IPS\_Db->preparedQuery()
    #1 /home/diziask/public_html/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert()
    #2 /home/diziask/public_html/applications/movies/modules/front/movies/view.php(315): IPS\Patterns\_ActiveRecord->save()
    #3 /home/diziask/public_html/system/Dispatcher/Controller.php(90): IPS\movies\modules\front\movies\_view->addMovie()
    #4 /home/diziask/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #5 /home/diziask/public_html/applications/movies/modules/front/movies/view.php(37): IPS\Content\_Controller->execute()
    #6 /home/diziask/public_html/system/Dispatcher/Dispatcher.php(152): IPS\movies\modules\front\movies\_view->execute()
    #7 /home/diziask/public_html/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

     

    And now seems that I messed everything. I tried from Admincp-> Support-> Something is not going well, and it found some database errors. Choosing "Fix Automatically", i redirected to a messed screen like below. Any time and with any browser I'm visiting admin area I'm getting the same:

    image.png.74f7679b69369b2bf0be54f945cb5493.png

    Public area works fine.

     

  17. Got an error trying to add a movie:

    Error code: EX1048

    I understood what it says, most probably API didn't return movie_runtime value, but I don't know how to fix it.

    INSERT INTO `ips45_movies_movies` ( `movie_submitted`, `movie_updated`, `movie_mid`, `movie_ipaddress`, `movie_last_comment`, `movie_last_review`, `movie_cat`, `movie_open`, `movie_locked`, `movie_views`, `movie_pinned`, `movie_featured`, `movie_comments`, `movie_reviews`, `movie_unapproved_comments`, `movie_hidden_comments`, `movie_unapproved_reviews`, `movie_hidden_reviews`, `movie_title`, `movie_title_seo`, `movie_subtitle`, `movie_description`, `movie_tmdb_id`, `movie_imdb_id`, `movie_homepage`, `movie_runtime`, `movie_original_language`, `movie_revenue`, `movie_budget`, `movie_release_date`, `movie_status`, `movie_seasons`, `movie_episodes`, `movie_type`, `movie_genres` ) VALUES ( 1602234697, 1602234697, 1, '37.98.196.145', 1602234697, 1602234697, 4, 1, false, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Merhamet', 'merhamet', NULL, '', 53677, NULL, '', NULL, NULL, 0, 0, NULL, 'Ended', 2, 44, 'tv', NULL )
    IPS\Db\Exception: Column 'movie_runtime' cannot be null (1048)
    #0 /home/diziask/public_html/system/Db/Db.php(948): IPS\_Db->preparedQuery()
    #1 /home/diziask/public_html/system/Patterns/ActiveRecord.php(487): IPS\_Db->insert()
    #2 /home/diziask/public_html/applications/movies/modules/front/movies/view.php(315): IPS\Patterns\_ActiveRecord->save()
    #3 /home/diziask/public_html/system/Dispatcher/Controller.php(90): IPS\movies\modules\front\movies\_view->addMovie()
    #4 /home/diziask/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #5 /home/diziask/public_html/applications/movies/modules/front/movies/view.php(37): IPS\Content\_Controller->execute()
    #6 /home/diziask/public_html/system/Dispatcher/Dispatcher.php(152): IPS\movies\modules\front\movies\_view->execute()
    #7 /home/diziask/public_html/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

     

  18. What can cause this issue? It does not takes the movie_type . It exists in the actions button down-left. Other details are ok.

    EDITED: Just a notice. This issue is not in all movies. Actually among 80, I noticed it only in one

    image.png.58880352dbb8fa18b07db648aa6eac3e.png

×
×
  • Create New...