Discussion in "E107 FURL Support" started by    activa    Oct 26, 2007.
Fri Oct 26 2007, 03:47 am
#1
hello ,

the E107 FURL is a great plugin , but it will great more if the resrite based in the titles (news tiles , forums titles , ext ...) and not the url page . this will be make the search engine more powerfull in the indexing pages , like this example ..

news-titlesnewshere-1.html is more powerfull than news-1.html

any planted work for this feutered FURL ?
Fri Oct 26 2007, 10:53 am
#2
yeah i can understand.. but that requires hacking of e107 script and is possibly cannot be done with FURL.
Also if you make changes in the core files of e107 then you will face a lot of problem when you are dealing with updating your e107. Where as this problem is not there with FURL as there is nothing to do with core files in FURL.

rather i made another alternative for this.. a lofi version of my forum... you can see the link at the bottom of this topic and everywhere in the forum...
Tue Oct 30 2007, 11:48 pm
#3
helloo this is what i like , this is not possible with full version at least with the news and content or download section ?

Wed Oct 31 2007, 10:14 am
#4
as i said you need to hack your e107 core files.. there is no way you can do it with FURL. I still don't recommend it to you if you are not aware of coding.. but if you want then you need to ask the dev team at e107.org to ask them how to proceed. i can help you with the .htaccess only..
Fri Nov 02 2007, 01:25 am
#5
in the module system we can overide some code funtcion ?

also what about the Lo-Fi Version hack as you have here ... are any download link for it :blush
Fri Nov 02 2007, 12:28 pm
#6
no download for lo-fi version yet.. because its not yet finished..
Tue Sep 07 2010, 03:59 pm
#7
Hi,
can you send us the code or say us how to search in e107.
what keywords to use to find the appropriate article on e107.org
Tue Sep 07 2010, 09:08 pm
#8
@humanxDVB
article about what? what exactly are you asking? you see the thread is too old better to use your thread and ask there.
Fri Sep 30 2011, 08:10 pm
#9
Hi There!
The FURL plugin is good but i'm also digging about having a complete SEF/SEO like url...

@Ajay Bhargav uhm maybe simpli using preg_replace_callback instead of preg_replace can do for

Look at this code:

$text = preg_replace_callback($patterns, 'furl_rewrite_url', $text);


function furl_rewrite_url($matches){
  
  if (!is_object($sql)) $sql = new db;
  
  //$matches[0] contains the full url query
  $furl_current_url_array = explode( '?', $matches[0] );
  $furl_current_url_base  = $furl_current_url_array[0];
  
  //type of e107 data
  switch( $furl_current_url_base ){
    case 'news.php':
      $query = 'SELECT 
                       n.news_title
                FROM
                       #news as n
                WHERE
                       n.news_id = '.$matches[1].'
                ;';
      
      $sql->
db_Select_gen($query);
      $row = $sql->
db_Fetch();
      $mytitle = $row['news_title'];
      //print_debug( $furl_current_url_base.' news: '.$mytitle.' id: '.$matches[1] );
      
      $sef_url_ecoded = ''.$mytitle.'/news-i'.$matches[1].'-'.$matches[2].'.html';
    
  }
  //ritorna url SEF
  return $sef_url_ecoded;
}



Not sure if this is a total solution it can be a lot of code but maybe we can team up and write the whole code, i'm the developer of the metaweblog plugin.

Ciao Rob
Sun Oct 02 2011, 06:35 pm
#10
Hi Rob,

I am not actively working on any e107 plugin these days coz of time shortage. But your suggestion is surely helpful. The thing is.. FURL might eat up a lot of CPU resource on a big website as i feel. coz when rendering a big page, there may be lot of substitutions... and hence lot of sql queries.

Right now i am modified core files to build SEO links. I had no other best way of doing so.. but yes for forum I and other pages on site FURL is still active and it works perfectly.

I do not mind having helping hands to make this plugin even better.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am