Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TfSEO 2: the free vBulletin url rewrite Details »»
TfSEO 2: the free vBulletin url rewrite
Version: 2.1, by superjeff superjeff is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.x Rating:
Released: 03-20-2008 Last Update: 03-18-2009 Installs: 633
DB Changes Uses Plugins Auto-Templates
Code Changes Additional Files Translations  
No support by the author.

TfSEO 2.1

TfSEO is a powerful and free url rewrite for the vBulletin system: it rewrite forum, thread and post urls.
For me it's very hard to explain well all the feature of this plugin, soo the best way is test it.

How much does it weight on the server?

I have tested on my home server:
TfSEO enabled, heavy:
Code:
[root@hserver ~]# ab -n 100  http://hserver/tfseo_1/main-forum-f2/dsadas-t4
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking hserver (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        hserver
Server Port:            80

Document Path:          /tfseo_1/main-forum-f2/dsadas-t4
Document Length:        33804 bytes

Concurrency Level:      1
Time taken for tests:   22.177687 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      3420400 bytes
HTML transferred:       3380400 bytes
Requests per second:    4.51 [#/sec] (mean)
Time per request:       221.777 [ms] (mean)
Time per request:       221.777 [ms] (mean, across all concurrent requests)
Transfer rate:          150.60 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   220  221   0.7    221     223
Waiting:      209  210   0.8    210     213
Total:        220  221   0.7    221     223

Percentage of the requests served within a certain time (ms)
  50%    221
  66%    221
  75%    222
  80%    222
  90%    222
  95%    222
  98%    223
  99%    223
 100%    223 (longest request)
TfSEO disabled, standart vburl:
Code:
[root@hserver ~]# ab -n 100  http://hserver/tfseo_1/showthread.php?p=4#post4
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking hserver (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        hserver
Server Port:            80

Document Path:          /tfseo_1/showthread.php?p=4#post4
Document Length:        34010 bytes

Concurrency Level:      1
Time taken for tests:   21.870820 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      3441000 bytes
HTML transferred:       3401000 bytes
Requests per second:    4.57 [#/sec] (mean)
Time per request:       218.708 [ms] (mean)
Time per request:       218.708 [ms] (mean, across all concurrent requests)
Transfer rate:          153.63 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:   216  218   0.9    218     220
Waiting:      205  207   0.9    208     209
Total:        216  218   0.9    218     220
WARNING: The median and mean for the waiting time are not within a normal deviat                                                                                                 ion
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%    218
  66%    218
  75%    219
  80%    219
  90%    219
  95%    219
  98%    220
  99%    220
 100%    220 (longest request)
Like you can see product takes about +10ms per request.
Live Demos
  1. Light
  2. Medium
  3. Heavy
AdminCP Demo:


For Support and question you can contact me at davide {at} techforum .it

This product will be updatefor long time, I welcome (and really do ask for) any feedback, suggestions, issues, etc...

If you install it, click install.

Note: vbulletin will have by default a rewrite system from version 4.0 (beta should coming next month, april). I relly suggest you to wait, and not use this product. If the vb's rewrite will be great, i will no more update this product.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #452  
Old 07-04-2008, 11:36 AM
dinodino dinodino is offline
 
Join Date: Feb 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod thx, but i have problems with Turkish carakters

functions_tfseo_chr_hun.php

PHP Code:
<?php
function remove_accents($string){
    return 
strtr($string,
                
"ĞğŞş??",
                
"ggssuu");
}
?>
Reply With Quote
  #453  
Old 07-04-2008, 01:22 PM
space? space? is offline
 
Join Date: May 2008
Location: Germany
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod, but I am using tfSEO together with vBAdvanced Portal and don't like that it creates duplicate Content or at least doesn't link the latest threads properly.

Example:
In the Box "latest threads" the topics are linked like that: http://spacequadrat.de/showthread.php?t=146

I'm not sure, but can't you make the Link to the latest threads directly? (like that: http://spacequadrat.de/f11/stellenan...pace-team-146/

I asked at the vBAdvanced Support Forum first, but they told me to contact the tfSEO-Guys.
Regards,
Reply With Quote
  #454  
Old 07-04-2008, 04:43 PM
Terrasoft Terrasoft is offline
 
Join Date: May 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally got this modification working and I am happy with it. However, I think I may have ran into a small error. Whenever Im in a thread with multiple pages, whenever I click the "First" button to go to the first page, it doesnt work. It keeps me on the same page I was looking at. If that can be confirmed...

[EDIT] This is one of the demo sites threads: http://foro.blacktouch.com.ar/off-to...-t1/page7.html

If you try to click "First" or actually "Primero" in their case, it doesnt work. Any fix?
Reply With Quote
  #455  
Old 07-04-2008, 04:47 PM
RaMMz RaMMz is offline
 
Join Date: Jun 2008
Location: Rosario, Argentina
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by space? View Post
Great Mod, but I am using tfSEO together with vBAdvanced Portal and don't like that it creates duplicate Content or at least doesn't link the latest threads properly.

Example:
In the Box "latest threads" the topics are linked like that: http://spacequadrat.de/showthread.php?t=146

I'm not sure, but can't you make the Link to the latest threads directly? (like that: http://spacequadrat.de/f11/stellenan...pace-team-146/

I asked at the vBAdvanced Support Forum first, but they told me to contact the tfSEO-Guys.
Regards,
I'ts not done yet, superjeff said that it'll be added soon, that he's working on that.

I am triying to make it, but it's quite hard for me :P.

Cya.

Quote:
Originally Posted by Terrasoft View Post
I finally got this modification working and I am happy with it. However, I think I may have ran into a small error. Whenever Im in a thread with multiple pages, whenever I click the "First" button to go to the first page, it doesnt work. It keeps me on the same page I was looking at. If that can be confirmed...

[EDIT] This is one of the demo sites threads: http://foro.blacktouch.com.ar/off-to...-t1/page7.html

If you try to click "First" or actually "Primero" in their case, it doesnt work. Any fix?
And i'm triying to work in that too , btw that's my forum x).

Cya.
Reply With Quote
  #456  
Old 07-04-2008, 05:13 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dinodino View Post
Nice mod thx, but i have problems with Turkish carakters

functions_tfseo_chr_hun.php

PHP Code:
<?php
function remove_accents($string){
    return 
strtr($string,
                
"ĞğŞş??",
                
"ggssuu");
}
?>
It this to add for next relase, like turish support? Or is a problem?
Quote:
Originally Posted by space? View Post
Great Mod, but I am using tfSEO together with vBAdvanced Portal and don't like that it creates duplicate Content or at least doesn't link the latest threads properly.

Example:
In the Box "latest threads" the topics are linked like that: http://spacequadrat.de/showthread.php?t=146

I'm not sure, but can't you make the Link to the latest threads directly? (like that: http://spacequadrat.de/f11/stellenan...pace-team-146/

I asked at the vBAdvanced Support Forum first, but they told me to contact the tfSEO-Guys.
Regards,
Hi. See that you are using the same url structure of tfseo 1.x, you can use that vba plugin.
I't a bit hard, you should add the tfseo_url() function, (in tfseo2 it has been replaced with tfseo_clean()). If you know a bit of php you will no have problem.

Quote:
Originally Posted by Terrasoft View Post
I finally got this modification working and I am happy with it. However, I think I may have ran into a small error. Whenever Im in a thread with multiple pages, whenever I click the "First" button to go to the first page, it doesnt work. It keeps me on the same page I was looking at. If that can be confirmed...

[EDIT] This is one of the demo sites threads: http://foro.blacktouch.com.ar/off-to...-t1/page7.html

If you try to click "First" or actually "Primero" in their case, it doesnt work. Any fix?
...! Another case!
Sorry for this.. i will hix when back.
Quote:
Originally Posted by RaMMz View Post
I'ts not done yet, superjeff said that it'll be added soon, that he's working on that.

I am triying to make it, but it's quite hard for me :P.

Cya.



And i'm triying to work in that too , btw that's my forum x).

Cya.
For the vbadvanced plugin, you can do like already explaian above, if you are using the tfseo 1 url type.
For the url in multi page thread (that for example i see working here) you can edit the corrispective plugin (generate url for thread (number 5,6 or 7, i don't remember.))
Reply With Quote
  #457  
Old 07-04-2008, 07:21 PM
dinodino dinodino is offline
 
Join Date: Feb 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
It this to add for next relase, like turish support? Or is a problem?
It is a problem
Reply With Quote
  #458  
Old 07-05-2008, 08:16 AM
space? space? is offline
 
Join Date: May 2008
Location: Germany
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
Hi. See that you are using the same url structure of tfseo 1.x, you can use that vba plugin.
I't a bit hard, you should add the tfseo_url() function, (in tfseo2 it has been replaced with tfseo_clean()). If you know a bit of php you will no have problem.
Sorry, what?
Adding which tfseo_url() funktion to what plugin?
I'm afraid, I couldn't folow you.
Reply With Quote
  #459  
Old 07-05-2008, 05:35 PM
dreeded dreeded is offline
 
Join Date: Apr 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a temp fix for First post error.

Go Plugin Manager -> Edit "Generate Navbar URLs 2"
Replace existing code with below.

Code:
if ($vbulletin->options['tfseo_enable'])
{

//Forum or Thread?
if ($vbulletin->tfseo['pagenav']['area'] == 'forum' AND $vbulletin->options['tfseo_enable'] AND $vbulletin->options['tfseo_rewrite'] & $vbulletin->bf_misc_rewrite['forum'])
//Is Forum
{

if ($vbulletin->options['tfseo_type'] == 1 OR $vbulletin->options['tfseo_type'] == 2)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_forum_multi($forumid, $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_forum_multi($forumid, $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_forum($forumid);
}
$lastaddress = tfseo_url_forum_multi($forumid, $totalpages);

} 
else if ($vbulletin->options['tfseo_type'] == 3)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_forum($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid']);
}
$lastaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $totalpages);

}
} else if ($vbulletin->tfseo['pagenav']['area'] == 'thread' AND $vbulletin->options['tfseo_enable'] AND $vbulletin->options['tfseo_rewrite'] & $vbulletin->bf_misc_rewrite['thread'])
//Is Thread
{
if ($vbulletin->options['tfseo_type'] == 1)
{



if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid']);
}
$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);



}
else if ($vbulletin->options['tfseo_type'] == 2)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid']);
}
$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);



}
else if ($vbulletin->options['tfseo_type'] == 3)
{



if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid']);
}

$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);


}
}
}
Reply With Quote
  #460  
Old 07-06-2008, 01:48 PM
nfy_markus nfy_markus is offline
 
Join Date: Nov 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

with your fix the first and last links work, but the prev and next links do not.
Also there is a bug with the go to page xx dropdown (it always redirects to first page).
Reply With Quote
  #461  
Old 07-06-2008, 02:12 PM
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Posts: 1,360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this mod, but when will the member error be fixed?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09366 seconds
  • Memory Usage 2,354KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete