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
  #122  
Old 04-25-2008, 12:23 AM
Zorck Zorck is offline
 
Join Date: Jan 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jeff Thanks a lot for sharing this mod!. Is very usefull.

I have doubt with the instructions of the files edits.

In the Archive.php I cant find the first code to change.

Code:
$output .= "\t<li><a href=\"" . $vbulletin->options['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title]</a></li>\n";
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!
Reply With Quote
  #123  
Old 04-25-2008, 02:27 AM
Zorck Zorck is offline
 
Join Date: Jan 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #124  
Old 04-25-2008, 04:42 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zorck View Post
Jeff Thanks a lot for sharing this mod!. Is very usefull.

I have doubt with the instructions of the files edits.

In the Archive.php I cant find the first code to change.

Code:
$output .= "\t<li><a href=\"" . $vbulletin->options['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title]</a></li>\n";
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 View Post
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.
Reply With Quote
  #125  
Old 04-26-2008, 01:21 AM
Zorck Zorck is offline
 
Join Date: Jan 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!
Reply With Quote
  #126  
Old 04-26-2008, 06:41 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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";
}

Reply With Quote
  #127  
Old 04-27-2008, 01:38 AM
Zorck Zorck is offline
 
Join Date: Jan 2003
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent!. Thanks Jeff for the quick support.
Reply With Quote
  #128  
Old 04-28-2008, 02:20 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi superjeff,

I have just installed TfSEO in my forums a few days back and it's working fine

But there are some issues that I have noticed:
  1. Links from Who's online aren't being rewrited
  2. RSS feed links aren't being rewrited (yes, I have edited all files as your readme indicates)
  3. Previous/Next Thread links aren't working (it appears that it's a know bug)

I'm using vBulletin 3.7.0 RC1. When you have time please take a look at this issues. Hope you are fine with your studies, good luck in your exams!

Kind regards,

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

I'm sixteen years old, i don't go to the university!
  1. I think i could fix it in the future, but i don't know how
  2. 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.
  3. 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.
Reply With Quote
  #130  
Old 04-28-2008, 04:03 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jscieza View Post
I'm using vBulletin 3.7.0 RC1.
You should update soon...
Reply With Quote
  #131  
Old 04-29-2008, 01:49 AM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
I'm sixteen years old, i don't go to the university!
  1. I think i could fix it in the future, but i don't know how
  2. 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.
  3. 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 View Post
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

Thank you!
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 11:14 PM.


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.06896 seconds
  • Memory Usage 2,341KB
  • 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
  • (8)bbcode_code
  • (1)bbcode_php
  • (5)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