Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Issue information

  • #000588

  • Issue

  • 0 - None Assigned

  • Fixed

  • 2.2.2

  • 2.3.0


Issue Confirmations

  • Yes (0)No (0)
Photo

Global Hook

Posted by jenolan on 19 November 2011 - 10:44 PM

The global video hook is not showing unless you set it to show on all pages. Tracked it down to ... admin/applications_addon/other/videos/sources/functions.php line 110
	 # Find out what page we are on
if( $this->request['app'] == '' AND $this->request['module'] == '' AND $this->request['section'] == '' )
		{
			$page = 'board_index';		   
		} 
		else if( $this->request['app'] == 'forums' AND $this->request['module'] == 'forums' AND $this->request['section'] == 'boards' )  
		{
			$page = 'board_index';		  
		}  
needed to change to
	 # Find out what page we are on
if( $this->request['app'] == '' AND $this->request['module'] == '' AND $this->request['section'] == '' )
		{
			$page = 'board_index';		   
		} 
		else if( $this->request['app'] == 'forums' AND $this->request['module'] == 'forums' AND $this->request['section'] == 'boards' )  
		{
			$page = 'board_index';		  
		}  
		else if( $this->request['app'] == 'forums' AND $this->request['module'] == '' AND $this->request['section'] == '' )  
		{
			$page = 'board_index';		  
		} 
Would seem that IP.Board 3.2.3 is not setting module/section for the root page

changed status to: Confirmed

changed status to: Fixed
changed fixed-in version to: 2.3.0

Thanks, included.






1 user(s) are reading this issue

0 members, 1 guests, 0 anonymous users