Skocz do zawartości

ProHax0r

Użytkownik
  • Postów

    161
  • Dołączył

  • Ostatnia wizyta

Treść opublikowana przez ProHax0r

  1. zmieniam na <th height="3%" width="30%"><center>Nazwa</center></th> <th height="3%" width="15%"><center>IP</center></th> <th height="3%" width="5%"><center>Sloty</center></th> <th height="3%" width="5%"><center>Typ</center></th> <th height="3%" width="20%"><center>Sponsor</center></th> <th height="3%" width="30%"><center>Status</center></th></tr> i nic
  2. Upss.. zapomniałem
  3. witam, posiadam na forum tabelke z serwerami - i jest troche za wysoka - chciałbym troche zmniejszyć jej kolumny (na wysokość) i niestety mi się to nie udaje, gdybyście mnie mogli naprowadzić byłbym wdzięczny. <!-- START OF THE SERWER'S --> <div class="category_block block_wrap" id=""> <h3 class="maintitle" id="category_message_index"> <B>Nasze Serwery</b></h3> <div class="table_wrap"><table class="ipb_table"> <tbody><tr class="header"> <th width="30%"><center>Nazwa</center></th> <th width="15%"><center>IP</center></th> <th width="5%"><center>Sloty</center></th> <th width="5%"><center>Typ</center></th> <th width="20%"><center>Sponsor</center></th> <th width="30%"><center>Status</center></th></tr> <tr><td align="center" class="row2 altrow">cs-eXtreme [TeamPlay]</td> <td align="center" class="row1 altrow">188.116.34.75:27015</td> <td align="center" class="row2 altrow">20</td> <td align="center" class="row1 altrow">S/NS</td> <td align="center" class="row2 altrow">-</td> <td align="center" class="row1 altrow"><a href="http://www.gametracker.com/server_info/188.116.34.75:27015/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/188.116.34.75:27015/b_350_20_6B6B6B_181616_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td> </tr><tr><td align="center" class="row2 altrow">cs-eXtreme.pl [FFA]</td> <td align="center" class="row1 altrow">91.203.223.51:27069</td> <td align="center" class="row2 altrow">20</td> <td align="center" class="row1 altrow">S/NS</td> <td align="center" class="row2 altrow">NoLags.pl</td> <td align="center" class="row1 altrow"><a href="http://www.gametracker.com/server_info/91.203.223.51:27069/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/91.203.223.51:27069/b_350_20_6B6B6B_181616_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></td> </tr> </tbody></table></div> <!-- END OF THE SERWER'S -->
  4. właśnie, że nie pasuje mi tego instalować bo takich tabelek mam mieć kilka.
  5. witam, mam tabelke z tym, że chciałbym zmienić jej szerokość i położenie Czyli miała by mieć rozmiar taki jak Kategoria forum która jest pod nią i znajdować się tam gdzie jest długa czerwona strzałka (na równi z aktualizacją statusu), prosiłbym o pomoc. <!-- POCZATEK TABELI SERWEROW --> <div class="category_block block_wrap" style="margin: 0px 40px 0px 40px;"> <h3 id="category_289" class="maintitle"><a class="toggle right" href="#" title="Zmień widoczność tej kategorii">Zmień widoczność tej kategorii</a>Serwery Games-Center.pl</h3> <div class="table_wrap"><table class="ipb_table" summary="Fora w kategorii 'Forum serwerów Games-Center.pl'"> <tbody> <!-- wiersz z legenda --> <tr class="header"> <th scope="col" class="col_c_icon">Nazwa</th> <th scope="col" class="col_c_icon">Adres IP</th> <th scope="col" class="col_c_icon">Sloty</th> <th scope="col" class="col_c_icon">Rodzaj</th> <th scope="col" class="col_c_icon">Sponsor</th> </tr> <!-- koniec wiersza z legenda --> <!-- [TP] --> <tr class="row1"><td align="center"> Games-Center.pl #1 [TP]</td> <td class="altrow stats"> <p align="center"><a href="steam://connect/77.79.241.199:27214">77.79.241.199:27214</a></p> </td> <td align="center">19+1</td> <td class="altrow stats"><p align="center"><a href="steam://connect/77.79.241.199:27214"> <img border="0" src="http://games-center.pl/img/steam.jpg"></a></td> <td align="center"> <p align="center"><a target="_blank" href="http://www.Games-Center.pl">Games-Center.pl</a></td> </tr> <!-- [/TP] --> <!-- [Games-Center.pl #2 [Zombie Mod]] --> <tr class="row2"><td align="center"> Games-Center.pl #2 [Zombie Mod]</td> <td class="altrow stats"> <p align="center"><a href='steam://connect/195.114.0.182:27090'>195.114.0.182:27090</a></p> </td> <td align="center">26</td> <td class="altrow stats"><p align="center"><a href="steam://connect/195.114.0.182:27090"> <img border="0" src="http://games-center.pl/img/steam.jpg"></a> / <img border="0" src="http://games-center.pl/img/nonsteam.jpg"></td> <td align="center"> <p align="center"><a target="_blank" href="http://www.Netservers.pl">Netservers.pl</a></td> </tr> <!-- / [/Games-Center.pl #2 [Zombie Mod]] --> </tbody></table></div></div> <!-- KONIEC TABELI SERWERÓW -->
  6. Tu po prostu chodzi o to aby to co wyświetlało się pod logiem i menu w przemie tak samo wyświetlało sie na IPB
  7. Witam, Jestem świeżo po zakupie licencji oraz konwersji forum z przema i mam do Was takie pytanie - miałem na przemie zrobiony taki banalny skrypcik zamówieniowy przez który można było kupić różne rzeczy - a konkretniej po jego wypełnieniu dostawałem wiadomość na maila z danymi - wyświetlał on się na forum pod logiem i tutaj pytanie czy jest możliwość zrobienia czegoś takiego na IPB? Czyli mówiąc prośniej - W menu pod logiem mam zakładkę 'Sklep' po naciśnięciu na nią wyświetla się forum ale bez działów etc. a na to konto pokazuje się właśnie taka tabelka. Pokażę plik jak to wyglądało na przemie - w głównym katalogu forum miałem plik vip.php <?php /*************************************************************************** * vip.php * ------------------- * begin : Monday, 23 March 2009 * mod version : 1.5 * author : SznaJK3r * ***************************************************************************/ define('IN_PHPBB', true); define('ATTACH', true); $phpbb_root_path = './'; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); // // Start session management // $userdata = session_pagestart($user_ip, PAGE_INDEX); init_userprefs($userdata); // // End session management // $page_title = '[sznaJK3r] # Formularz ~ DiabloShop'; include($phpbb_root_path . 'includes/page_header.'.$phpEx); $template->set_filenames(array( 'body' => 'vip.tpl') ); $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?> Po jego otworzeniu przechodziło do pliku .tpl który był w folderze stylu a wyglądał tak: <html> <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td align="left"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span></td> </tr> </table> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th height="5" class="thCornerL" nowrap="nowrap">Formularz zakupu VIPa</th> </tr> </table> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <td class="row2" align="left" width="50%" class="white" style="margin:0"> <?php if (empty($_POST['submit'])) { echo "<table border=\"0\"><form method=\"post\"> <tr> <td><b> Twój nick*:</b><br> Podaj swój nick z forum.</td> <td><input type=\"text\" name=\"nick\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Nick z CS'a*:</b><br> Twój nick na serwerze.</td> <td><input type=\"text\" name=\"nick2\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Twój e-mail*:</b><br> Wpisz adres e-mail.</td> <td><input type=\"text\" name=\"email\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Twoje GG:</b><br> Wpisz swój numer GG.</td> <td><input type=\"text\" name=\"gg\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Steam ID*:</b><br> Jeżeli nie masz wpisz <strong>brak</strong>.<br></td> <td><input type=\"text\" name=\"steamid\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Serwer*:</b><br> Wpisz nazwę serwera.</td> <td><input type=\"text\" name=\"serwer\" style=\"width: 250px\"></td> </tr> <tr> <td><b> Kod SMS*:</b><br> Kod zwrotny z sms'a.</td> <td><input type=\"text\" name=\"kodsms\" style=\"width: 250px\"></td> </tr> <tr> <td> </td> <td> <input type=\"submit\" name=\"submit\" value=\"Wyślij\"> <input type=\"reset\" value=\"Wyczyść\"></td></form> </tr> </table>"; } elseif (!empty($_POST['nick']) && !empty($_POST['email']) && !empty($_POST['steamid']) && !empty($_POST['serwer']) && !empty($_POST['kodsms'])) { $message = "\n##############################\n# Nick z forum: $_POST[nick]\n# Nick z CS'a: $_POST[nick2]\n# E-mail: $_POST[email]\n# GG: $_POST[gg]\n# SID: $_POST[steamid]\n# Serwer: $_POST[serwer]\n# Kod SMS: $_POST[kodsms]\n##############################\n"; $header = "From: $_POST[nick] <$_POST[email]>"; @mail("[email protected]","Formularz ~ zakup VIPa ~ cs-eXtreme.pl","$message","$header") or die('Nie udało się wysłać wiadomości, spróbuj ponownie pużniej.<br> W razie ponownych problemów skontaktuj się z Administratorem sklepu'); echo "<strong>Wiadomość została wysłana poprawnie!</strong><br><br> Obsługa sklepu po pomyślnym rozpatrzeniu zgłoszenia doda VIPa o nicku:<br><strong> $_POST[nick2]</strong><br><br>Po dodaniu VIPa zostaniesz powiadomiony na adres e-mail:<strong><br> $_POST[email]</strong>"; } else echo "<span style=\"color: #FF0000; text-align: center;\"><strong>Wypełnij wszystkie pola formularza!</strong></span>"; ?> </td> <center> <td class="row2" align="middle" width="50%"><span class="gensmall"> <font color="white" size="2">Aby zakupić VIPa wystarczy wysłać SMS:<br> <strong>Treść: AP.MS5<br> Numer: 75068<br></strong> Koszt wysłania SMS to 6.10zł<br> Kod zwrotny należy wpisać do okienka <strong>Kod SMS</strong><br> Po dodaniu VIPa zostaniesz powiadomiony na e-mail*</font><br><br> <font color="red" size="2"><b>Na wszystkich serwerach CoD nie ma możliwości zakupu VIP'ów!</b></font><br><br> <font color="red" size="1"><b>*UWAGA! Prosimy o nie podawanie adresu e-mail z onet.pl, ponieważ są problemy z dochodzeniem wiadomości zwrotnych!</b></font> </center> </td> <br> <table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline"> <tr> <td class="catSides" colspan="8" height="28" align="center"><span class="gensmall">Formularz zakupu VIPa cs-eXtreme.pl</span></td> </tr> </table> </table> </html> Bardzo proszę o wskazówki jak mógłbym zrobić coś takiego ma IPB.
  8. I te tabele które podałem wyżej moge spokojnie usunąć? wziąłem je z pliku communityseo_mysql_tables <?php /** * Installation Schematic File * Generated on Thu, 19 Feb 2009 08:15:47 +0000 GMT */ $TABLE[] = "CREATE TABLE seo_rewrite_packages ( package_id smallint(6) NOT NULL auto_increment, package_key varchar(255) NOT NULL, package_active tinyint(1) NOT NULL default '0', package_name varchar(255) default NULL, package_description text, PRIMARY KEY (package_id), KEY package_key (package_key) );"; $TABLE[] = "CREATE TABLE seo_rewrite_rules ( id int(11) NOT NULL auto_increment, app varchar(255) NOT NULL, rule_key varchar(255) default NULL, out_lookfor text, out_replacewith text, in_regex text, in_matches text, package smallint(6) NOT NULL default '0', active tinyint(1) NOT NULL default '0', rule_name varchar(255) default NULL, rule_description text, PRIMARY KEY (id), KEY app (app), KEY package (package) );"; $TABLE[] = "CREATE TABLE seo_rewrite_vars ( rw_id int(11) NOT NULL auto_increment, rw_package_id int(11) NOT NULL default '0', rw_start varchar(255) default NULL, rw_end varchar(255) default NULL, rw_varblock varchar(255) default NULL, rw_varsep varchar(255) default NULL, rw_joiner varchar(255) default NULL, PRIMARY KEY (rw_id), KEY rw_package_id (rw_package_id) );"; $TABLE[] = "CREATE TABLE sitemap_alterations ( id int(11) NOT NULL auto_increment, `file` varchar(255) NOT NULL, `type` varchar(32) NOT NULL default 'edit', link varchar(255) default NULL, priority varchar(4) default NULL, changefreq varchar(32) default NULL, lastmod varchar(13) default NULL, PRIMARY KEY (id), KEY link (link) );"; $TABLE[] = "CREATE TABLE sitemap_custom_files ( id smallint(6) NOT NULL auto_increment, filename varchar(255) default NULL, description text, PRIMARY KEY (id) );"; $TABLE[] = "CREATE TABLE sitemap_custom_links ( link_id int(11) NOT NULL auto_increment, link_loc text, link_lastmod varchar(13) NOT NULL default '0', link_changefreq varchar(32) default NULL, link_priority varchar(4) NOT NULL default '0.5', link_file smallint(6) NOT NULL default '0', PRIMARY KEY (link_id), KEY link_file (link_file) );"; if( !ipsRegistry::DB()->checkForTable( 'sitemap_track' ) ) { $TABLE[] = "CREATE TABLE sitemap_track ( `file` varchar(50) NOT NULL default '', last_run varchar(13) NOT NULL default '0', last_date varchar(13) NOT NULL default '0', PRIMARY KEY (`file`) );"; } $TABLE[] = "CREATE TABLE social_networks ( id mediumint(9) NOT NULL auto_increment, title varchar(255) NOT NULL, url text, icon varchar(255) default NULL, PRIMARY KEY (id) );"; if( !ipsRegistry::DB()->checkForTable( 'trackbacks' ) ) { $TABLE[] = "CREATE TABLE trackbacks ( traid int(10) NOT NULL auto_increment, url varchar(255) NOT NULL default '0', title varchar(255) default NULL, trdate varchar(13) NOT NULL default '0', trcnt smallint(4) NOT NULL default '0', topicid int(10) NOT NULL default '0', trqueued tinyint(1) NOT NULL default '0', PRIMARY KEY (traid), KEY topicid (topicid), KEY url (url) );"; } if( !ipsRegistry::DB()->checkForField( 'seo_description', 'forums' ) ) { $TABLE[] = "ALTER TABLE forums ADD seo_description TINYTEXT NULL;"; $TABLE[] = "ALTER TABLE forums ADD seo_keywords TINYTEXT NULL;"; } if( !ipsRegistry::DB()->checkForTable( 'outbound_clicks' ) ) { $TABLE[] = "CREATE TABLE outbound_clicks ( id int(10) NOT NULL auto_increment, link text, ip_address varchar(50) default NULL, click_time varchar(13) NOT NULL default '0', referer text, member_id int(10) NOT NULL default '0', PRIMARY KEY (id) );"; } if( !ipsRegistry::DB()->checkForField( 'seo_inflate', 'sessions' ) ) { $TABLE[] = "ALTER TABLE sessions ADD seo_inflate TINYINT( 1 ) NOT NULL DEFAULT '0';"; }
  9. Witam, Zainstalowałem dzisiaj CommunitySeo - nie modyfikowałem plików, które trzeba po samej instalacji bo się rozmyśliłem co do tego moda - wyłączyłem go w ACP i usunąłem go - i tutaj mam takie pytanie Czy ten mod ingeruje w standardowe pliki forum? bo np. w bazie są tabele które zainstalował i ich nie usunał czyli: seo_rewrite_packages seo_rewrite_rules seo_rewrite_vars sitemap_alterations sitemap_custom_files sitemap_custom_links sitemap_track social_networks trackbacks outbound_clicks Czy mam jej usunąć i nadpisać jakieś pliki oryginalne w które ingeruje czy samo usunięcie tabel załatwi problem? bo nie wiem na jakiej zasadzie to działa a nie chce żebym miał jakieś pozostałości na forum i w plikach po tym modzie.
  10. Dzieki serdeczne.
  11. Witam, Jak mogę zmienić standardowe linki typu: index.php?showtopic=8785&pid=29550&st=0entry29550 na przyjazne typu: index.php?/topic/1193-pare-propozycji-co-do-dzialu-amxx/page__pid__1609#entry1609
  12. Witam, Podczas instalacji CommunitySeo mam kilka problemów - wrzuciłem pliki instalacyjne na serwer - zainstalowałem i teraz zostało mi ręczne przerabianie plików tak jak to jest napisane tutaj: ============================================================================================================= STEP 2 :: Modififying Files ------------------------------------------------------------------------------------------------------------- IpsRegistry.php ------------------------------------------------------------------------------------------------------------- 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 */ } ------------------------------------------------------------------------------------------------------------- Save, close and upload the file Download, backup, and open "admin/sources/class/output/adminOutput.php" Find ------------------------------------------------------------------------------------------------------------- class adminOutput extends output ------------------------------------------------------------------------------------------------------------- Change this to ------------------------------------------------------------------------------------------------------------- /* @MOD: CSEO */ //class adminOutput extends output class adminOutput extends communityseoOutput /* @MOD END */ ------------------------------------------------------------------------------------------------------------- Save, close and upload the file ------------------------------------------------------------------------------------------------------------- Odnośnie pierwszej konfiguracji to moja zawartość pliku jest inna - linie też się nie zgadzają - podaje jak to jest u mnie: /** * INIT furls * Performs set up and figures out any incoming links * * @return void */ private static function _fUrlInit() { /** * Fix request uri */ self::_fixRequestUri(); /** * 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'] ) { /* 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' ) ) { $templates = array(); 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 ) ) { $uri = $_SERVER['REQUEST_URI'] ? $_SERVER['REQUEST_URI'] : @getenv('REQUEST_URI'); /* Bug 21295 - remove known URL from test URI */ $_t = ( isset(ipsRegistry::$settings['board_url']) AND 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'] . '://' . $_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 ! defined('LOFIVERSION_CALLED') AND IPS_DEFAULT_PUBLIC_APP == 'forums' AND $_gotMatch === false AND $_toTest AND $_toTest != '/' AND $_toTest != '/?' AND ( strstr( $_404Check, 'index.php?/' ) OR ! 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; } } } } } } } Co do ostatniej modyfikacji to nie mam wogóle takiego folderu jak class/output/adminOutput.php
  13. Witam, Zainstalowałem spolszczenie - wszystko ok prócz kilku wyrazów które nie zostały spolszczone - w widoku posta 'Location' , 'Interests' pod avatarem rejestracja i tutaj mam skrótu dni tygodni i miesięcy 'Fri, 26 Nov 10', 'Calendar' w menu pod logiem. jezyk forum mam w iso-8859-2
  14. Wydaje mi się to dziwne być może dlatego, że świeżo przeszedłem z phpbb2 na ipb - tam tagi się same zbierały ale skoro tak ma być to już nie węszę. Dzięki serdeczne za pomoc
  15. są dodawane wtedy kiedy je na siłę wklepię w temat w okienko 'tagi tematu' - nie powinno sobie samo pobierać listy tagów z całego forum?
  16. Więc dlaczego nie wyświetlają się z całego forum?
  17. Przeładowałem cache - bez zmian. Spróbowałem napisać temat i podałem w nim kilka tagów - wtedy okno sie pojawiło i jest na stronie głównej z tym, że tylko z tymi kilkoma tagami co podałem... nie mam pojęcia o co chodzi
  18. W ustawieniach systemu tagów nie ma takiej opcji - jest tylko blokowanie wyswietlania dla poszczególnych grup.
  19. Tak, modyfikacje są włączone w ich ustawieniach. A jeżeli wchodze na stronie głównej w zakladkę 'Taki" pojawia się błąd Znalezione błędy Przepraszamy, wystąpił błąd. Jeśli nie jesteś pewny jak używać tej opcji lub nie wiesz dlaczego wystąpił ten błąd, zajrzyj do tematów pomocy by uzyskać więcej informacji. [#6 PTS] Nie znaleziono tagów
  20. @ PS z pozostałymi modami typu Smilar Topic jest to samo.
  21. @ Sprawa rozwiązana, prosze o zamknięcie i dziękuje co do udzielonej mi pomocy
  22. Witam, Jestem po konwersji forum z przema na ipb 3.1.4 - wszystko wyszło ok. wziąłem się do instalwoania modów - zaczałem od Tags System (pavulona) - wszystko zainstalowało się poprawnie i poprawnie jest ustawione (tak aby było wszędzie widoczne) problem w tym, że nie ma żadnej tabelki z tagami itp.
  23. Witam, Dzisiaj próbowałem zainstalować spolszczenie modułami - z tego wzgledu modułami gdyż całość nie chciała pójść - wszystko szło okej i staneło na ipCore314-pl156.xml.gz (po dlugim czasie wyskoczyl blad taki sam jak wyskakiwal gdy próbowałem wgrać pełne spolszczenie) i forum zrobiło mi się po polsku z tym, że na języku angielski bo tylko jego mam obecnie na forum? Czy jest na to jakiś sposób aby to odwrócić?
×
×
  • 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ę.