Version: 2.1, by superjeff
Developer Last Online: May 2010
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.
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.
with the external.php I find the first code to change 2 times, I need to change both?
Code:
// list returned threads
if (!empty($threadcache))
{
foreach ($threadcache AS $thread)
Thanks for the help!
Yes, change both.
Quote:
Originally Posted by Zorck
Jeff, I think thar I find a bug.
In the forums where I have a link-forum, I ge this error
Code:
Warning: implode() [function.implode]: Argument to implode must be an array. in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 9
If I inactive the forum-link the error disapear.
I have VB3.7RC4 and you last version of the mod.
Regards, Sergio
Sorry of this.. i thinked to have fox it with the last relase, but i didint tinked about the forum links.
I will fix it tomorrow, today I am from my grandfathers.
Ok, i have fixed it, but it is soo easy that i will not relase a new relase only for this.
You must only replace all the code in the plugin called "Query for last page in forumhome" with this:
PHP Code:
if (!empty($forum['lastpostinfo']) AND $forum['lastpostinfo'] != $vbphrase['private'] AND $forum['lastpostinfo'] != $vbphrase['never'] AND $forum['lastpostinfo'] != '-' AND $vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'] AND $vbulletin->options['tfseo_page_index'])
{
$tfseo_tot_post = $vbulletin->db->query_read_slave("
SELECT thread.replycount
FROM " . TABLE_PREFIX . "thread AS thread
WHERE threadid = '$lastpostinfo[lastthreadid]'
");
$a = mysql_fetch_assoc($tfseo_tot_post);
$a = implode($a);
$a = $a / $vbulletin->options['maxposts'];
$a = floor($a);
if ($a > 0)
{
$tfseo_total_page = $a+1;
$tfseo_lastpage = $vbulletin->options['tfseo_pagina'] . $tfseo_total_page . ".html";
}
}
I'm sixteen years old, i don't go to the university!
I think i could fix it in the future, but i don't know how
This is very strange! I will attack my external.php, i have done it a lot of time ago (3.6.x) and it works well with the 3.7 too.
A rewrite of this will add a lot of queryes, and it have by default a "nofollow" tag. Vbseo don't rewrite it, but the url works in my forum.
But you go to the school
1. Glad to hear.
2. It's "attach" not "attacco" . Also... I suggest you don't attach your own vBulletin files, there are some reasons but the most important is that it's appears to don't be allowed by the vBulletin.org forums.
3. Erm... NO, vbSEO REWRITES links in the Who's online page. I think that if we have allowed guests (and also, spiders) to see our Who's online page, we will have serious issues because Google my think that there are duplicated content. Please tell me if I'm wrong.
Quote:
Originally Posted by superjeff
You should update soon...
And you... because you're running vBulletin 3.7.0 Beta 3 hehe. Hey! this could be probably the reason because external.php works for you and not for me. Try to upgrade to the latest RC and edit external.php as your readme.txt file indicates... then probably you will have the same issue that I'm passing