Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

haerde

Użytkownik
  • Postów

    247
  • Dołączył

  • Ostatnia wizyta

Odpowiedzi opublikowane przez haerde

  1. Właśnie niestety tutaj nie ma problemu. Chodzi o to, że okienko, które wyskakiwało po kliknięciu w obrazek medalu znikło. Na przykładzie 1 doskonale widać o co chodzi. Niestety ta funkcja jest niezbędna i w samej modyfikacji występuje. Musiał gdzieś powstać jakiś konflikt modyfikacji, lecz gdzie to nie mam niestety pojęcia :a:. Czy może to być wina CSEO i tego formatowania URL ?

  2. Witajcie,

    Zauważyłem dziwny błąd na swoim forum, otóż w zakładce 'Awards' w profilu użytkownika po naciśnięciu obrazka medalu powinno wyskoczyć okienko z ilością przyznanych medali (przykład 1), lecz niestety nagle funkcja ta ... znikła (przykład 2). Przykład 1 pochodzi ze starszej wersji forum, lecz i na obecnej wersji forum pamiętam, że bez problemu to działało. Gdzie mogę szukać potencjalnego błędu, lub jakie dane potrzebujecie do wykonania diagnostyki ?

    Pozdrawiam i dzięki za pomoc,

    haerde

  3. Też jestem ciekaw, czy zostawią Wasze domeny w ioncube. Oraz jak wyobrażacie sobie upgrade do kolejnych wersji - bo to chyba niemożliwe. Nie mogę się także doczekać reakcji haerde, który zakupił moduł jakieś dwa tygodnie temu ;)

    Oblał mnie zimny pot ... Zdenerwowałem się, politycznie ujmując. Fakt co prawda jest taki, iż odnotowuję znaczny wzrost liczby odwiedzin, ale i tak jestem ... zły.

  4. Hiho,

    Wiem, że macie mnie jak i to moje CSEO serdecznie dość, lecz ten ostatni (oby! :) ) raz proszę Was o pomoc związaną z tą aplikacją, otóż:

    cseo.png

    1. Jak zrobić, aby tabele trackbacks oraz similar topics było równo pod sobą.

    2. Jak ten ciąg znaków w 'ostatni post' przekształcić w ładną datę ?

    Zamieszczam kod obu wtyczek z ACP:

    Similar topics

    <br />
    <div class='category_block'>
    <table class='ipb_table topic_list' summary='Topics similar to "{$topic['title']}"' id='forum_table'>
    <caption class='maintitle'>
    	<span class='main_forum_title'>Similar Topics</span>
    </caption>
    <tr class='header'>
    	<th scope='col' class='col_f_icon'> </th>
    	<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
    	<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
    	<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
    	<th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th>
    </tr>
    <if test="is_array( $topics ) AND count( $topics )">
    	{parse striping="forumTable" classes="row1,row2"}
    	<foreach loop="$topics as $tid => $data">
    		<tr class='{parse striping="forumTable"}' id='trow_{$data['tid']}'>
    			<td class='short altrow'>{parse replacement="{$data['folder_img']}"}</td>
    			<td>
    				{$data['prefix']}
    				<if test="$data['go_new_post'] === true"><a href='{parse url="showtopic={$data['tid']}&view=getnewpost" template="showtopic" seotitle="{$data['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{parse replacement="f_newpost"}</a></if> 
    				<if test="$data['topic_hasattach']">
    					<a href="{$this->settings['base_url']}app=forums&module=forums&section=attach&tid={$data['tid']}" title="{parse expression="intval($data['topic_hasattach'])"} {$this->lang->words['topic_attach']}">{parse replacement="t_attach"}</a>
    				</if>
    				<a id="tid-link-{$data['tid']}" href="{parse url="showtopic={$data['tid']}" base="public" template="showtopic" seotitle="{$data['title_seo']}"}" title='{$this->lang->words['View topic, started on']} {$data['start_date']}' class='topic_title'>{$data['title']}</a>
    				{$data['_rate_img']}
    				<if test="is_array( $data['pages'] ) AND count( $data['pages'] )">
    					<ul class='mini_pagination'>
    					<foreach loop="pages:$data['pages'] as $page">
    							<if test="$page['last']">
    								<li><a href="{parse url="showtopic={$data['tid']}&st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']} →</a></li>
    							<else />
    								<li><a href="{parse url="showtopic={$data['tid']}&st={$page['st']}" seotitle="{$data['title_seo']}" template="showtopic" base="public"}" title='{$this->lang->words['topic_goto_page']} {$page['page']}'>{$page['page']}</a></li>
    							</if>
    					</foreach>
    					</ul>
    				</if>
    				<if test="$data['description']"><br /><span class='desc'>{$data['description']}</span></if>
    			</td>
    			<td class='short altrow'>{$data['starter']}{parse template="user_popup" group="global" params="$data['starter_id'], $data['seo_first_name']"}</td>
    			<td class='stats'>
    				<ul>
    					<li>{$data['posts']} <if test="intval($data['posts']) == 1">{$this->lang->words['reply']}<else />{$this->lang->words['replies']}</if></li>
    					<li class='views desc'>{$data['views']} {$this->lang->words['views']}</li>
    				</ul>
    			</td>
    			<td class='altrow'>
    				<ul class='last_post'>
    					<li>
    						<a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{parse replacement="f_lastpost"}</a> <a href='{parse url="showtopic={$data['tid']}&view=getlastpost" seotitle="{$data['title_seo']}" template="showtopic" base="public"}' title='{$this->lang->words['goto_last_post']}'>{$data['last_post']}</a>
    						<if test="$data['trackingTopic']">*</if>
    					</li>
    					<li>{$this->lang->words['forum_by']} {$data['last_poster']}{parse template="user_popup" group="global" params="$data['last_poster_id'], $data['seo_last_name']"}</li>
    				</ul>
    			</td>
    		</tr>
    	</foreach>
    <else />
    	<tr> 
    		<td colspan='6' class='no_messages'>No similar topics were found</td>
    	</tr>
    </if>
    </table>
    </div>
    <br />

    trackbacks

    <br />
    <div style='category_block'>{$pages}</div>
    
    <table class='clear ipb_table topic_list' summary='Trackbacks for "{$topic['title']}"' id='forum_table'>
    <caption class='maintitle'>
    	<span class='main_forum_title'>Trackbacks</span>
    </caption>
    <tr class='header'>
    	<th scope='col' class='col_f_topic'>Trackback URL</th>
    	<th scope='col' class='col_f_post'>Trackback Date</th>
    	<th scope='col' class='col_f_views'>Total Hits</th>
    </tr>
    <if test="is_array( $trackbacks ) AND count( $trackbacks )">
    	{parse striping="forumTable" classes="row1,row2"}
    	<foreach loop="$trackbacks as $data">
    		<tr class='{parse striping="forumTable"}' id='trow_{$data['traid']}'>
    			<td>
    				<a href='{$data['url']}' rel='external'>{$data['title']}</a>
    			</td>
    			<td>
    				{parse date="$data['trdate']" format="short"}
    			</td>
    			<td class='altrow'>
    				{parse format_number="$data['trcnt']"}
    			</td>
    		</tr>
    	</foreach>
    <else />
    	<tr> 
    		<td colspan='3' class='no_messages'>No trackbacks were found</td>
    	</tr>
    </if>
    </table>
    <div class='clear' style='margin-top: 5px;'>{$pages}</div>

    Jeszcze raz wielkie dzięki za Waszą pomoc!

    Pozdrawiam,

    haerde

    PS. Mam nadzieję, że mogę wkleić ten kod.

  5. Hmm, inaczej Ci pokaże. W tej calej instrukcji nie ma ani słowa o tym fragmencie:

    		if ( is_array( self::$_seoTemplates ) AND count( self::$_seoTemplates ) )
    		{ 
    			if ( ! isset( $_SERVER['REQUEST_URI'] ) )
    			{
    				$_SERVER['REQUEST_URI'] = substr( $_SERVER['PHP_SELF'], 1 );
    
    				if ( isset( $_SERVER['QUERY_STRING'] ) )
    				{ 
    					/* Ok, can't use bot detection as that is set up later, so this should do it
    					   Basically facebook bot encodes all / to %2F after query string, so LIKE button
    					   returns board index and when clicking link from FB brings up board index as URL is ?%2Ftopic%2F4314-test-digest%2F */
    					if ( substr( $_SERVER['QUERY_STRING'], 0, 3 ) == '%2F' )
    					{
    						$_SERVER['QUERY_STRING'] = str_replace( '%2F', '/', $_SERVER['QUERY_STRING'] );
    					}
    
    					$_SERVER['REQUEST_URI']	.= '?' . $_SERVER['QUERY_STRING'];
    				}
    			}
    			else
    			{
    				if ( isset( $_SERVER['QUERY_STRING'] ) )
    				{ 
    					/* Facebook thing */
    					if ( substr( $_SERVER['QUERY_STRING'], 0, 3 ) == '%2F' )
    					{
    						$_SERVER['REQUEST_URI'] = str_replace( '%2F', '/', $_SERVER['REQUEST_URI'] );
    					}
    				}
    			}
    
    			$uri = $_SERVER['REQUEST_URI']  ? $_SERVER['REQUEST_URI']  : @getenv('REQUEST_URI');

    I znajduje się to w miejscu ktore nalezy usunac, a jak sie to zostawi to wyskakują byki.

  6. /**
     * INIT furls
     * Performs set up and figures out any incoming links
     *
     * @access	private
     * @return	void
     */
    private static function _fUrlInit()
    {
    	/* @MOD */
    	if( !ipsRegistry::isClassLoaded('communityseo') )
    	{
    		require_once( IPSLib::getAppDir( 'communityseo' ) . '/sources/functions.php' );
    	}
    
    	$results	= seoFunctions::initFurl();
    
    	self::$_uri				= $results['uri'];
    	self::$_seoTemplates	= $results['templates'];
    	/* @END MOD */
    }
    

    Właśnie problem dotyczy ,iż producent CSEO każe usunąć całą funkcję od 1224 - 1495, gdzie w liniach 1288 - 1309 jest funkcja, o której w instrukcji nie ma ani słowem

  7. Sir yes Sir !

    Instrukcja

    -------------------------------------------------------------------------------------------------------------
    Then find
    -------------------------------------------------------------------------------------------------------------
    
    /**
     * INIT furls
     * Performs set up and figures out any incoming links
     *
     * @access	private
     * @return	void
     */
    private static function _fUrlInit()
    {
    	/**
    	 * Don't run if we are in the ACP.  Also, running this causes problems because it will take any data submitted (including in _POST params)
    	 * and then loop over it later in this function, recreating query_string_real, which then breaks the params in the ACP in some cases.
    	 * @link	http://community.invisionpower.com/tracker/issue-21539-logout-issue/
    	 */
    	if( IN_ACP )
    	{
    		return;
    	}
    
    	if ( ipsRegistry::$settings['use_friendly_urls'] )
    	{
    		/* IIS rewrite */
    		if( $_SERVER['HTTP_X_ORIGINAL_URL'] )		// IIS 7 with Microsoft Rewrite module
    		{
    			$_SERVER['REQUEST_URI']	= $_SERVER['HTTP_X_ORIGINAL_URL'];
    		}
    		else if( $_SERVER['HTTP_X_REWRITE_URL'] )	// IIS with ISAPI_Rewrite
    		{
    			$_SERVER['REQUEST_URI']	= $_SERVER['HTTP_X_REWRITE_URL'];
    		}
    
    		/* Grab and store accessing URL */
    		self::$_uri = preg_replace( "/s=(&|$)/", '', str_replace( '/?', '/index.php?', $_SERVER['REQUEST_URI'] ) );
    
    		$_urlBits = array();
    
    		/* Grab FURL data... */
    		if ( ! IN_DEV AND file_exists( DOC_IPS_ROOT_PATH . 'cache/furlCache.php' ) )
    		{
    			require( DOC_IPS_ROOT_PATH . 'cache/furlCache.php' );
    			self::$_seoTemplates = $templates;
    		}
    		else
    		{
    			/* Attempt to write it */
    			self::$_seoTemplates = IPSLib::buildFurlTemplates();
    
    			try
    			{
    				IPSLib::cacheFurlTemplates();
    			}
    			catch( Exception $e )
    			{
    			}
    		}
    
    		if ( is_array( self::$_seoTemplates ) AND count( self::$_seoTemplates ) )
    		{ 
    			if ( !isset( $_SERVER['REQUEST_URI'] ) )
    			{
    				$_SERVER['REQUEST_URI'] = substr( $_SERVER['PHP_SELF'], 1 );
    
    				if ( isset( $_SERVER['QUERY_STRING'] ) )
    				{
    					$_SERVER['REQUEST_URI']	.= '?' . $_SERVER['QUERY_STRING'];
    				}
    			}
    
    			$uri = $_SERVER['REQUEST_URI']  ? $_SERVER['REQUEST_URI']  : @getenv('REQUEST_URI');
    
    			/* Bug 21295 - remove known URL from test URI */
    			$_t      = @parse_url( ipsRegistry::$settings['board_url'] );
    			$_toTest = ( $_t['path'] AND $_t['path'] != '/' ) ? preg_replace( "#^{$_t['path']}#", '', $uri ) : str_replace( $_t['scheme'] . ';)/' . $_t['host'], '', $uri );
    			$_toTest = str_replace( '/index.php?', '', $_toTest );
    
    			foreach( self::$_seoTemplates as $key => $data )
    			{
    				if ( ! isset( $data['in']['regex'] ) OR ! $data['in']['regex'] )
    				{
    					continue;
    				}
    
    				if ( preg_match( $data['in']['regex'], $_toTest, $matches ) )
    				{ 
    					if ( is_array( $data['in']['matches'] ) )
    					{
    						foreach( $data['in']['matches'] as $_replace )
    						{
    							$k = IPSText::parseCleanKey( $_replace[0] );
    
    							if ( strpos( $_replace[1], '$' ) !== false )
    							{
    								$v = IPSText::parseCleanValue( $matches[ intval( str_replace( '$', '', $_replace[1] ) ) ] );
    							}
    							else
    							{
    								$v = IPSText::parseCleanValue( $_replace[1] );
    							}
    
    							$_GET[ $k ]     = $v;
    							$_POST[ $k ]    = $v;
    							$_REQUEST[ $k ] = $v;
    							$_urlBits[ $k ] = $v;
    
    							ipsRegistry::$request[ $k ]	= $v;
    						}
    					}
    
    					if ( strpos( $_toTest, self::$_seoTemplates['__data__']['varBlock'] ) !== false )
    					{ 
    						$_parse = substr( $_toTest, strpos( $_toTest, self::$_seoTemplates['__data__']['varBlock'] ) + strlen( self::$_seoTemplates['__data__']['varBlock'] ) );
    
    						$_data = explode( self::$_seoTemplates['__data__']['varSep'], $_parse );
    						$_c    = 0;
    
    						foreach( $_data as $_v )
    						{
    							if ( ! $_c )
    							{
    								$k = IPSText::parseCleanKey( $_v );
    								$v = '';
    								$_c++;
    							}
    							else
    							{
    								$v  = IPSText::parseCleanValue( $_v );
    								$_c = 0;
    
    								$_GET[ $k ]     = $v;
    								$_POST[ $k ]    = $v;
    								$_REQUEST[ $k ] = $v;
    								$_urlBits[ $k ] = $v;
    
    								ipsRegistry::$request[ $k ]	= $v;
    							}
    						}
    					}
    
    					break;
    				}
    			}
    
    			//-----------------------------------------
    			// If using query string furl, extract any
    			// secondary query string.
    			// Ex: http://localhost/index.php?/path/file.html?key=value
    			// Will pull the key=value properly
    			//-----------------------------------------
    
    			$_qmCount = substr_count( $_toTest, '?' );
    
    			if ( $_qmCount > 1 )
    			{ 
    				$_secondQueryString	= substr( $_toTest, strrpos( $_toTest, '?' ) + 1 );
    				$_secondParams		= explode( '&', $_secondQueryString );
    
    				if( count($_secondParams) )
    				{
    					foreach( $_secondParams as $_param )
    					{
    						list( $k, $v )	= explode( '=', $_param );
    
    						$k	= IPSText::parseCleanKey( $k );
    						$v	= IPSText::parseCleanValue( $v );
    
    						$_GET[ $k ]     = $v;
    						$_REQUEST[ $k ] = $v;
    						$_urlBits[ $k ] = $v;
    
    						ipsRegistry::$request[ $k ]	= $v;
    					}
    				}
    			}
    
    			/* Process URL bits for extra ? in them */
    			if ( is_array( $_GET ) AND count( $_GET ) )
    			{
    				foreach( $_GET as $k => $v )
    				{
    					/**
    					 * Have to protect against openid_return_to, which will have a valid IPB url in it (breaks openid)
    					 */
    					if ( ! is_array( $v ) AND strstr( $v, '?') AND $k != 'openid_return_to' )
    					{
    						list( $rvalue, $more ) = explode( '?', $v );
    
    						if ( $rvalue AND $more )
    						{
    							//$k	= IPSText::parseCleanKey( $_k );
    							$v	= IPSText::parseCleanValue( $_v );
    
    							/* Reset key with correct value */
    							$_v = $rvalue;
    
    							$_GET[ $k ]     = $_v;
    							$_REQUEST[ $k ] = $_v;
    							$_urlBits[ $k ] = $_v;
    
    							ipsRegistry::$request[ $k ]	= $_v;
    
    							/* Now add in the other value */
    							if ( strstr( $more, '=' ) )
    							{
    								list( $_k, $_v ) = explode( '=', $more );
    
    								if ( $_k and $_v )
    								{
    									$_GET[ $_k ]     = $_v;
    									$_REQUEST[ $_k ] = $_v;
    									$_urlBits[ $_k ] = $_v;
    
    									ipsRegistry::$request[ $_k ]	= $_v;
    								}
    							}
    						}
    					}
    				}
    			}
    		}
    
    		/* Reformat basic URL */
    		if ( is_array( $_urlBits ) )
    		{
    			ipsRegistry::$settings['query_string_real'] = '';
    
    			foreach( $_urlBits as $k => $v )
    			{
    				ipsRegistry::$settings['query_string_real'] .= '&' . $k . '=' . $v;
    			}
    
    			ipsRegistry::$settings['query_string_real'] = trim( ipsRegistry::$settings['query_string_real'], '&' );
    		}
    	}
    }
    
    -------------------------------------------------------------------------------------------------------------
    Replace the entire function (from about lines 1160-1282) with
    -------------------------------------------------------------------------------------------------------------
    
    /**
     * INIT furls
     * Performs set up and figures out any incoming links
     *
     * @access	private
     * @return	void
     */
    private static function _fUrlInit()
    {
    	/* @MOD */
    	if( !ipsRegistry::isClassLoaded('communityseo') )
    	{
    		require_once( IPSLib::getAppDir( 'communityseo' ) . '/sources/functions.php' );
    	}
    
    	$results	= seoFunctions::initFurl();
    
    	self::$_uri				= $results['uri'];
    	self::$_seoTemplates	= $results['templates'];
    	/* @END MOD */
    }
    

    ipsRegistry (tenże cały fragment)

    /**
     * INIT furls
     * Performs set up and figures out any incoming links
     *
     * @access	private
     * @return	void
     */
    private static function _fUrlInit()
    {
    	/**
    	 * Don't run if we are in the ACP.  Also, running this causes problems because it will take any data submitted (including in _POST params)
    	 * and then loop over it later in this function, recreating query_string_real, which then breaks the params in the ACP in some cases.
    	 * @link	http://community.invisionpower.com/tracker/issue-21539-logout-issue/
    	 */
    	if( IN_ACP )
    	{
    		return;
    	}
    
    	if ( ipsRegistry::$settings['use_friendly_urls'] )
    	{
    		/* IIS rewrite */
    		if( $_SERVER['HTTP_X_ORIGINAL_URL'] )		// IIS 7 with Microsoft Rewrite module
    		{
    			$_SERVER['REQUEST_URI']	= $_SERVER['HTTP_X_ORIGINAL_URL'];
    		}
    		else if( $_SERVER['HTTP_X_REWRITE_URL'] )	// IIS with ISAPI_Rewrite
    		{
    			$_SERVER['REQUEST_URI']	= $_SERVER['HTTP_X_REWRITE_URL'];
    		}
    
    		/* Grab and store accessing URL */
    		self::$_uri = preg_replace( "/s=(&|$)/", '', str_replace( '/?', '/index.php?', $_SERVER['REQUEST_URI'] ) );
    
    		$_urlBits = array();
    
    		/* Grab FURL data... */
    		if ( ! IN_DEV AND file_exists( DOC_IPS_ROOT_PATH . 'cache/furlCache.php' ) )
    		{
    			require( DOC_IPS_ROOT_PATH . 'cache/furlCache.php' );
    			self::$_seoTemplates = $templates;
    		}
    		else
    		{
    			/* Attempt to write it */
    			self::$_seoTemplates = IPSLib::buildFurlTemplates();
    
    			try
    			{
    				IPSLib::cacheFurlTemplates();
    			}
    			catch( Exception $e )
    			{
    			}
    		}
    
    		if ( is_array( self::$_seoTemplates ) AND count( self::$_seoTemplates ) )
    		{ 
    			if ( ! isset( $_SERVER['REQUEST_URI'] ) )
    			{
    				$_SERVER['REQUEST_URI'] = substr( $_SERVER['PHP_SELF'], 1 );
    
    				if ( isset( $_SERVER['QUERY_STRING'] ) )
    				{ 
    					/* Ok, can't use bot detection as that is set up later, so this should do it
    					   Basically facebook bot encodes all / to %2F after query string, so LIKE button
    					   returns board index and when clicking link from FB brings up board index as URL is ?%2Ftopic%2F4314-test-digest%2F */
    					if ( substr( $_SERVER['QUERY_STRING'], 0, 3 ) == '%2F' )
    					{
    						$_SERVER['QUERY_STRING'] = str_replace( '%2F', '/', $_SERVER['QUERY_STRING'] );
    					}
    
    					$_SERVER['REQUEST_URI']	.= '?' . $_SERVER['QUERY_STRING'];
    				}
    			}
    			else
    			{
    				if ( isset( $_SERVER['QUERY_STRING'] ) )
    				{ 
    					/* Facebook thing */
    					if ( substr( $_SERVER['QUERY_STRING'], 0, 3 ) == '%2F' )
    					{
    						$_SERVER['REQUEST_URI'] = str_replace( '%2F', '/', $_SERVER['REQUEST_URI'] );
    					}
    				}
    			}
    
    			$uri = $_SERVER['REQUEST_URI']  ? $_SERVER['REQUEST_URI']  : @getenv('REQUEST_URI');
    
    			/* Bug 21295 - remove known URL from test URI */
    			$_t        = ipsRegistry::$settings['board_url'] ? @parse_url( ipsRegistry::$settings['board_url'] ) : @parse_url( ipsRegistry::$settings['base_url'] );
    			$_toTest   = ( $_t['path'] AND $_t['path'] != '/' ) ? preg_replace( "#^{$_t['path']}#", '', $uri ) : str_replace( $_t['scheme'] . ':a:/' . $_t['host'], '', $uri );
    			$_404Check = $_toTest; //We want to retain any /index.php for this test later in this block of code
    			$_toTest   = str_ireplace( array( '//index.php?', '/index.php?', '/index.php' ), '', $_toTest );
    			$_gotMatch = false;
    
    			foreach( self::$_seoTemplates as $key => $data )
    			{
    				if ( ! isset( $data['in']['regex'] ) OR ! $data['in']['regex'] )
    				{
    					continue;
    				}
    
    				if ( preg_match( $data['in']['regex'], $_toTest, $matches ) )
    				{ 
    					$_gotMatch = true;
    
    					if ( is_array( $data['in']['matches'] ) )
    					{
    						foreach( $data['in']['matches'] as $_replace )
    						{
    							$k = IPSText::parseCleanKey( $_replace[0] );
    
    							if ( strpos( $_replace[1], '$' ) !== false )
    							{
    								$v = IPSText::parseCleanValue( $matches[ intval( str_replace( '$', '', $_replace[1] ) ) ] );
    							}
    							else
    							{
    								$v = IPSText::parseCleanValue( $_replace[1] );
    							}
    
    							$_GET[ $k ]     = $v;
    							$_POST[ $k ]    = $v;
    							$_REQUEST[ $k ] = $v;
    							$_urlBits[ $k ] = $v;
    
    							ipsRegistry::$request[ $k ]	= $v;
    						}
    					}
    
    					if ( strpos( $_toTest, self::$_seoTemplates['__data__']['varBlock'] ) !== false )
    					{ 
    						$_parse = substr( $_toTest, strpos( $_toTest, self::$_seoTemplates['__data__']['varBlock'] ) + strlen( self::$_seoTemplates['__data__']['varBlock'] ) );
    
    						$_data = explode( self::$_seoTemplates['__data__']['varSep'], $_parse );
    						$_c    = 0;
    
    						foreach( $_data as $_v )
    						{
    							if ( ! $_c )
    							{
    								$k = IPSText::parseCleanKey( $_v );
    								$v = '';
    								$_c++;
    							}
    							else
    							{
    								$v  = IPSText::parseCleanValue( $_v );
    								$_c = 0;
    
    								$_GET[ $k ]     = $v;
    								$_POST[ $k ]    = $v;
    								$_REQUEST[ $k ] = $v;
    								$_urlBits[ $k ] = $v;
    
    								ipsRegistry::$request[ $k ]	= $v;
    							}
    						}
    					}
    
    					break;
    				}
    			}
    
    			if (
    				! defined('CCS_GATEWAY_CALLED')
    				AND ! defined('IPS_ENFORCE_ACCESS')
    				AND IPS_DEFAULT_PUBLIC_APP == 'forums'
    				AND $_gotMatch === false
    				AND $_toTest
    				AND $_toTest != '/'
    				AND ! strstr( $_404Check, '.php' )
    				AND ! strstr( $_404Check, '&' )
    				AND ! strstr( $_404Check, '=' )
    			  )
    			{
    				self::$_noFurlMatch = true;
    			}
    
    			//-----------------------------------------
    			// If using query string furl, extract any
    			// secondary query string.
    			// Ex: http://localhost/index.php?/path/file.html?key=value
    			// Will pull the key=value properly
    			//-----------------------------------------
    
    			$_qmCount = substr_count( $_toTest, '?' );
    
    			if ( $_qmCount > 1 )
    			{ 
    				$_secondQueryString	= substr( $_toTest, strrpos( $_toTest, '?' ) + 1 );
    				$_secondParams		= explode( '&', $_secondQueryString );
    
    				if( count($_secondParams) )
    				{
    					foreach( $_secondParams as $_param )
    					{
    						list( $k, $v )	= explode( '=', $_param );
    
    						$k	= IPSText::parseCleanKey( $k );
    						$v	= IPSText::parseCleanValue( $v );
    
    						$_GET[ $k ]     = $v;
    						$_REQUEST[ $k ] = $v;
    						$_urlBits[ $k ] = $v;
    
    						ipsRegistry::$request[ $k ]	= $v;
    					}
    				}
    			}
    
    			/* Process URL bits for extra ? in them */
    			if ( is_array( $_GET ) AND count( $_GET ) )
    			{
    				foreach( $_GET as $k => $v )
    				{
    					/**
    					 * Have to protect against openid_return_to, which will have a valid IPB url in it (breaks openid)
    					 */
    					if ( ! is_array( $v ) AND strstr( $v, '?') AND $k != 'openid_return_to' )
    					{
    						list( $rvalue, $more ) = explode( '?', $v );
    
    						if ( $rvalue AND $more )
    						{
    							//$k	= IPSText::parseCleanKey( $_k );
    							$v	= IPSText::parseCleanValue( $_v );
    
    							/* Reset key with correct value */
    							$_v = $rvalue;
    
    							$_GET[ $k ]     = $_v;
    							$_REQUEST[ $k ] = $_v;
    							$_urlBits[ $k ] = $_v;
    
    							ipsRegistry::$request[ $k ]	= $_v;
    
    							/* Now add in the other value */
    							if ( strstr( $more, '=' ) )
    							{
    								list( $_k, $_v ) = explode( '=', $more );
    
    								if ( $_k and $_v )
    								{
    									$_GET[ $_k ]     = $_v;
    									$_REQUEST[ $_k ] = $_v;
    									$_urlBits[ $_k ] = $_v;
    
    									ipsRegistry::$request[ $_k ]	= $_v;
    								}
    							}
    						}
    					}
    				}
    			}
    		}
    
    		/* Reformat basic URL */
    		if ( is_array( $_urlBits ) )
    		{
    			ipsRegistry::$settings['query_string_real'] = '';
    
    			foreach( $_urlBits as $k => $v )
    			{
    				ipsRegistry::$settings['query_string_real'] .= '&' . $k . '=' . $v;
    			}
    
    			ipsRegistry::$settings['query_string_real'] = trim( ipsRegistry::$settings['query_string_real'], '&' );
    		}
    	}
    }
    

  8. Właśnie robiłem to już dziesiątki razy, od 5 rano jak tylko naprawili mi licencję :-/. Pamiętam, że kiedyś przy zabawie z minervaSEO miałem identyczny problem, forum padało przy furl'ach z .html. Czy za ten stan rzeczy może być odpowiedzialna konfiguracja VPS'a ? Poniżej zamieszczam dane z Diagnostyki IPB:

    Wersja  	v3.1.1 (ID:31004)
    MYSQL Wersja 	MYSQL 5.0.32-Debian_7etch12-log
    Wersja PHP 	5.2.0-8+etch16 (apache2handler) ( Informacje o PHP )
    Wyłączone funkcje PHP 	Brak informacji
    Załadowano rozszerzenia 	PDO, Reflection, SPL, SimpleXML, apache2handler, bcmath, bz2, calendar, ctype, curl, date, dba, dom, exif, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mime_magic, mysql, mysqli, openssl, pcre, pdo_mysql, posix, session, shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib
    Tryb bezpieczny 	Wyłączony
    Oprogramowanie serwera 	Linux vs122142.vserver.de 2.6.9-023stab051.12-smp #1 SMP Fri Feb 26 15:22:25 MSK 2010 i686
    Uruchomione procesy na serwerze 	0.10
    Pamięć serwera 	2048 MB
    Dostępna pamięć serwera 	1745 MB

  9. Witajcie,

    W końcu naprawiono mój klucz licencyjny do SEO i pojawił się kolejny problem, otóż po instalacji, modyfikacji plików i wszystkich zaleceniach w instrukcji gdy chcę wejść na forum co prawda mam adres http://www.grajkownia.com/forums.html, lecz forum wywala błąd, zresztą sami zobaczcie. Przebudowywałem FURL, .htaccess zamieszczam poniżej.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.