Vai al contenuto

Modificare i FURL nella 3.1.0

Featured Replies

Inviato

Per fare diventare i tuoi FURL da cosi:

http://TUODOMINIO/forum/2-community-board/
http://TUODOMINIO/user/1-ciccio321/

a cosi:

http://TUODOMINIO/f2/community-board/

http://TUODOMINIO/t10/recommend-me-a-laptop/
http://TUODOMINIO/u1/ciccio321/

è necessario eseguire questa procedura (è solo un esempio, è possibile customizzare a piacere)

admin/applications/forums/extensions/furlTemplates.php

Trovare:

'showforum' 	=> array( 'app'	     	=> 'forums',						     'allowRedirect' => 1,						     'out' 	=> array(  '#showforum=(.+?)(&|$)#i', 'forum/$1-#{__title__}/$2' ),						     'in' 	=> array( 'regex' =>  "#/forum/(\d+?)-#i",														'matches' =>  array( array( 'showforum', '$1' ) ) ) ),						'showtopic' 	=> array( 'app'	     	=> 'forums',						     'allowRedirect' => 1,						     'out' 	=> array(  '#showtopic=(.+?)(&|$)#i', 'topic/$1-#{__title__}/$2' ),						     'in' 	=> array( 'regex' =>  "#/topic/(\d+?)-#i",											     	'matches' =>  array( array( 'showtopic', '$1' ) ) ) ),

Sostituire con:

'showforum' 	=> array( 'app'	     	=>  'forums',						     'allowRedirect' => 1,						     'out' 	=> array(  '#showforum=(.+?)(&|$)#i', 'f$1/#{__title__}/$2' ),						     'in' 	=> array( 'regex' =>  "#/f(\d+?)/#i",														'matches' =>  array( array( 'showforum', '$1' ) ) ) ),						'showtopic' 	=> array( 'app'	     	=> 'forums',						     'allowRedirect' => 1,						     'out' 	=> array(  '#showtopic=(.+?)(&|$)#i', 't$1/#{__title__}/$2' ),						     'in' 	=> array( 'regex' =>  "#/t(\d+?)/#i",											     	'matches' =>  array( array( 'showtopic', '$1' ) ) ) ),

admin/applications/members/extensions/furlTemplates.php

Trovare:

'showuser'	=> array( 'app'	     	=> 'members',					     'allowRedirect' => 1,					     'out' 	=> array(  '#showuser=(.+?)((?:&|&)f=(.+?))?(&|$)#i',  'user/$1-#{__title__}/$2$4' ),					     'in' 	=> array( 'regex' =>  "#/user/(\d+?)-#i",													'matches' =>  array( array( 'showuser', '$1' ) ) ) ),

Sostituire con:

'showuser'	=> array( 'app'	     	=>  'members',					     'allowRedirect' => 1,					     'out' 	=> array(  '#showuser=(.+?)((?:&|&)f=(.+?))?(&|$)#i',  'u$1/#{__title__}/$2$4' ),					     'in' 	=> array( 'regex' =>  "#/u(\d+?)/#i",													'matches' =>  array( array( 'showuser', '$1' ) ) ) ),

Per favore accedi per lasciare un commento

Potrai lasciare un commento dopo aver effettuato l'accesso

Accedi Ora

Chi sta navigando 0

  • Nessun utente registrato visualizza questa pagina.

Informazioni importanti

Abbiamo inserito dei cookies nel tuo dispositivo per aiutarti a migliorare la tua esperienza su questo sito. Puoi modificare le impostazioni dei cookie, altrimenti puoi accettarli cliccando su continua. to insert a cookie message.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.