Jump to content

Featured Replies

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

Any of you guys have this plugin ?

only: Tournaments 1.1.1

 

Tournaments 1.1.1.tar

  • Author
comment_190974
	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

  • 1 месяц спустя...
comment_193224
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?

comment_193330
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.

comment_193332

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}

comment_193339
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 в конце ожидается скобка ), , а не переменная.

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.