Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #392  
Old 06-29-2008, 09:37 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you do the specif file for my language?

How cam I do? My language is use a lot chart like this á à ả ã ạ â ă ấ ầ ẩ ẫ ậ ắ ằ ẳ ẵ ặ .
Reply With Quote
  #393  
Old 06-29-2008, 09:43 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Send me all your strange characher. (or manual edit the functions_tfseo_chr)
Reply With Quote
  #394  
Old 06-29-2008, 09:49 AM
yingzhou's Avatar
yingzhou yingzhou is offline
 
Join Date: Oct 2006
Location: Ho Chi Minh
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can I leave the accent instead of remove it?

and how to edit the functions_tfseo_chr?

is this right?

Code:
<?php
function remove_accents($string){
    return strtr($string,
                "??ả?ạ?ăấầẩẫậắằẳẵặ",
                "aaaaaaaaaaaaaaaaa");
}
?>
thanks anyway!
Reply With Quote
  #395  
Old 06-29-2008, 10:14 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can leave it, but it will break the url structrure.
Something like
f##/hell?-huh?
Will be
f##/hell-huh

I'ts right, Please when you finish send me so i can integrate for other people
Reply With Quote
  #396  
Old 06-29-2008, 11:56 AM
EarnDollars EarnDollars is offline
 
Join Date: Feb 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Superjeff,
I got a new bug here:
Can not read PMs when turn on the product (Got database error, and everything back to normal when turn it off)

The error notice info
Database error in vBulletin 3.7.0:

Quote:
Invalid SQL:

SELECT forum.tfseo_key
FROM forum AS forum
WHERE forumid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number : 1064
Request Date : Sunday, June 29th 2008 @ 08:41:36 AM
Error Date : Sunday, June 29th 2008 @ 08:41:37 AM
Script : http://sdnforum.com/forums/private.p...howpm&pmid=173
Referrer : http://sdnforum.com/forums/private.php
IP Address : 116.21.208.78
Username : Julian
Classname : vB_Database
MySQL Version : 4.1.22-standard
can you let me know how to fix this?

Thx!
Reply With Quote
  #397  
Old 06-29-2008, 12:32 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is truly a big bug! Working on it..
Reply With Quote
  #398  
Old 06-29-2008, 12:38 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed, i will include this in the next relase:
Go to the AdminCP > Plugin > Edit Plugin. Select "Generate post url" and replace all with:

PHP Code:
//Globals are uncached!
global $vbulletin;
//If is TfSEO enable and post is to rewrite
if ($vbulletin->options['tfseo_enable'] AND $vbulletin->options['tfseo_rewrite'] & $vbulletin->bf_misc_rewrite['post'] AND THIS_SCRIPT != 'private')
{

//Generate url
if ($vbulletin->options['tfseo_type'] == 1)
{
$tfseo['g'] = tfseo_url_post($thread['forumid'], $thread['threadid'], $post['postid']);
} else if (
$vbulletin->options['tfseo_type'] == 2)
{
$tfseo['g'] = tfseo_url_post($thread['forumid'], $thread['title'], $thread['threadid'], $post['postid']);
} else if (
$vbulletin->options['tfseo_type'] == 3)
{
//Get forum key 
$tfseo_key_query $vbulletin->db->query_read_slave("   
SELECT forum.tfseo_key   
FROM " 
TABLE_PREFIX "forum AS forum   
WHERE forumid = 
$forum[forumid]  
"
); 
$forum[tfseo_key] = mysql_fetch_assoc($tfseo_key_query); 
$forum[tfseo_key] = implode($forum[tfseo_key]);
$tfseo['g'] = tfseo_url_post($forum[tfseo_key], $thread['forumid'], $thread['title'], $thread['threadid'], $post['postid']);
}

Reply With Quote
  #399  
Old 06-29-2008, 01:14 PM
EarnDollars EarnDollars is offline
 
Join Date: Feb 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
This is truly a big bug! Working on it..
Thanks for fast reply!
I will make the change and let you know the result
Reply With Quote
  #400  
Old 06-29-2008, 02:11 PM
EarnDollars EarnDollars is offline
 
Join Date: Feb 2008
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Jeff,
I edited the plugin with your new codes but have the same error...

Could you relook this?

Thanks a lot!

Julian
Reply With Quote
  #401  
Old 06-29-2008, 02:54 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works in my test forum (php 4 and 5)
Disabling the same plugin, what happens?
Reply With Quote
Reply

Thread Tools

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 12:25 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.08843 seconds
  • Memory Usage 2,329KB
  • 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
  • (1)bbcode_php
  • (2)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