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
  #272  
Old 06-15-2008, 04:59 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
Fixed
Go in Admin Cp > Plugins & Products > Plugin Manager > search for "301 Post" and replace all with:
PHP Code:
//get forumid
    
$forumid_query $db->query_first("
        SELECT forumid
        FROM " 
TABLE_PREFIX "thread AS thread
        WHERE threadid = 
$threadid AND visible = 1
    "
);
$redirect_url $vbulletin->options['bburl'] . "/f" $threadinfo[forumid] . "/" tfseo_url($threadinfo[title]) . "-" $threadinfo[threadid] . "/post" $postinfo[postid] . ".html";
$forumid implode($forumid_query);
$tfseo_base $vbulletin->options['tfseo_base'] . $vbulletin->tfseo['tseo_uri'];
if (isset(
$threadinfo[threadid]) AND $_REQUEST['goto'] !== 'nextoldest' AND $_REQUEST['goto'] !== 'nextnewest' AND $vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'] AND $vbulletin->options['tfseo_301'] AND $tfseo_base != $redirect_url)
{

    
header("HTTP/1.1 301 Moved Permanently");
    
header("Location: $redirect_url");

It's working fine now. Thank you!
Reply With Quote
  #273  
Old 06-15-2008, 05:02 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I have one suggestion

In past versions of your plugin, the rewrite rules that where found in both .HTACCESS and README.TXT were a bit different. In order to skip these type of errors, I suggest you to only provide the rewrite rules in one of those files: .HTACCESS or README.TXT but not in both.

Just a suggestion

And a wish that I hope you can add in the next major version: URL rewrite for members profiles... so we'll be able to get something like http://www.ourforums.com/members/superjeff/ instead of http://www.ourforums.com/member.php?u=XXXXX. Also, it will be a very good idea to allow us to change the "members" word in the URL... so we can put in translated into our language. For example: "membri" (in italian) or "miembros" (in spanish).

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

Thank you for all.
Like already see, the next version (near to the end of deployment, i think another week) must be perfect, totaly bug-free.
For the rewrite of member, (that i think unusefull ) i will not add it in the next relase, i will have to do large modification to the code. After that relase, i think i could do another big one with this too.
Reply With Quote
  #275  
Old 06-15-2008, 09:43 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Jeff

Possible bug found: I can't see soft deleted posts. When I click on the "view post" there is no action

*EDITED*

And another one: visit the profile of any member, go to the Statistics tab and under the Visitor Messages click on Post a visitor message for [username] and see what happens

Thank you!

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

It work both the "problems" in my forum:
http://www.techforum.it/member.php?u=1
Try to update the templates, if they are old.
Reply With Quote
  #277  
Old 06-16-2008, 08:12 AM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
Simpli edit the plugin "rewrite something" replace something like .....$tfseo_url-$thread[threadid]/
With
.....$tfseo_url-$thread[threadid]/#post$lastposcount
Can get this mod work by clicking the thread title and bringing us to the latest post?Which plug-in to edit that?Rewrite Thread plug-in?Dont mind you can post the whole sentence here?Thanks
Reply With Quote
  #278  
Old 06-16-2008, 09:39 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the new version, i have did something like:
To guest:
url/
To user:
url/?goto=newpost

It works correctly, the variable do the redirect to url/page.html#unreadpost
Reply With Quote
  #279  
Old 06-16-2008, 12:05 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
It work both the "problems" in my forum:
http://www.techforum.it/member.php?u=1
Try to update the templates, if they are old.
I have just registered in your forum and I'm able to reproduce the problem

Quote:
And another one: visit the profile of any member, go to the Statistics tab and under the Visitor Messages click on Post a visitor message for [username] and see what happens.
And I'm pretty sure that this issue is also related with TfSEO:

Quote:
Possible bug found: I can't see soft deleted posts. When I click on the "view post" there is no action
Are you sure that in your test forum you're using the 1.1.4 version as is here in vbulletin.org?

Thank you!

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

1) My error, you have right.
In "add base href" delete "OR THIS_SCRIPT == "member"". But i remember i have add it to fix another bug..
2) it works in my forum, se attackmenet.
Reply With Quote
  #281  
Old 06-16-2008, 03:16 PM
jscieza jscieza is offline
 
Join Date: Apr 2007
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't understand your fix explanation for the problem #1

For #2... yes I can soft delete messages, but I can't after see they :S
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 08:18 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.05395 seconds
  • Memory Usage 2,338KB
  • 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
  • (2)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