Jump to content

Featured Replies

23 минуты назад, shadowbringer сказал:

Any of you guys have this plugin ?

only: Tournaments 1.1.1

 

Tournaments 1.1.1.tar

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190971
Share on other sites

shadowbringer it crashes my website (i am using 4.7.7)

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190972
Share on other sites
	public static function getItemsWithPermission( $where=array(), $order=NULL, $limit=10, $permissionKey='read', $includeHiddenItems=\IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags=0, \IPS\Member $member=NULL, $joinContainer=FALSE, $joinComments=FALSE, $joinReviews=FALSE, $countOnly=FALSE, $joins=NULL, $skipPermission=FALSE, $joinTags=TRUE, $joinAuthor=TRUE, $joinLastCommenter=TRUE, $showMovedLinks=FALSE )
	{
		$member = $member ?: \IPS\Member::loggedIn();
		if ( !$member->isAdmin() )
		{
			$joinContainer = TRUE;
		}
		
		return parent::getItemsWithPermission( $where, $order, $limit, $permissionKey, $includeHiddenItems, $queryFlags, $member, $joinContainer, $joinComments, $joinReviews, $countOnly, $joins, $skipPermission, $joinTags, $joinAuthor, $joinLastCommenter, $showMovedLinks );
	}

this function is the problem i think it should be converted to php 8.0+

this function is present in 2 files sources\Tournaments\Tournaments.php and sources\Teams\Teams.php

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190974
Share on other sites

After $showMovedLinks=FALSE 

add: , $location=NULL

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190975
Share on other sites

worked thank you very much

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=190976
Share on other sites
  • 1 месяц спустя...

How i can make it work on ips 4.7.9 ? is not compatible.

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193221
Share on other sites
37 минут назад, hardkboy сказал:

How i can make it work on ips 4.7.9 ? is not compatible.

Have you already tried to install this app on version 4.7.9 or are you just asking?

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193224
Share on other sites
At 10.05.2023 at 10:26, ryancoolround said:

Have you already tried to install this app on version 4.7.9 or are you just asking?

I try to install it but i get this error.

1C133/K The application you uploaded cannot be installed because it is not a valid application, the archive is corrupt or the file and directory permissions in /applications do not allow it.

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193330
Share on other sites

Ok i manage to install it bow if i click on tournaments in front i get 

 

ParseError: syntax error, unexpected variable "$location", expecting ")" (0)
#0 [internal function]: IPS\IPS::autoloader()
#1 /home/gameport.ro/public_html/system/Dispatcher/Front.php(254): is_subclass_of()
#2 /home/gameport.ro/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#3 /home/gameport.ro/public_html/index.php(13): IPS\_Dispatcher::i()
#4 {main}

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193332
Share on other sites
3 часа назад, hardkboy сказал:

Ok i manage to install it bow if i click on tournaments in front i get 

 

ParseError: syntax error, unexpected variable "$location", expecting ")" (0)
#0 [internal function]: IPS\IPS::autoloader()
#1 /home/gameport.ro/public_html/system/Dispatcher/Front.php(254): is_subclass_of()
#2 /home/gameport.ro/public_html/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Front->init()
#3 /home/gameport.ro/public_html/index.php(13): IPS\_Dispatcher::i()
#4 {main}

В части кода, где находится $location в конце ожидается скобка ), , а не переменная.

Link to comment
https://ipbmafia.ru/topic/25358-tournaments-112/?&do=findComment&comment=193339
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.