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
  #472  
Old 07-20-2008, 08:01 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dinodino View Post
It is a problem
Send me all the character to replace that you can type with your keyboard.
Quote:
Originally Posted by dreeded View Post
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);


}
}
}
It could work.. i will put a look
Quote:
Originally Posted by Xray12345 View Post
I have went back to 1.1.4, since there are alot of Errors In this Version..

I'll update when there's a fix..
For you and all the other, there are a lot of thing to fix, that i hope to do in a bit time. Contact me via email if you want "prioriry support".
Reply With Quote
  #473  
Old 07-20-2008, 04:56 PM
OziloZ's Avatar
OziloZ OziloZ is offline
 
Join Date: Jun 2006
Location: Turkiye
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that great mod.

But i have a weird problem. All links works fine except one. In showthread page, when i want to go another page, server says that "page not found". Look at the picture. The rewrite rule adds an ekstra code: "&page=xx" . It works fine when i delete this part from the addres bar. I looked my .htacces and delete this part, but nothing change.

I'm using TFSEO1 compatible, medium method.
Reply With Quote
  #474  
Old 07-20-2008, 06:22 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like the rewrite template didn't worked. You can delete from the template that part, it is unusefull.
Reply With Quote
  #475  
Old 07-20-2008, 06:22 PM
Xray12345 Xray12345 is offline
 
Join Date: Jan 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xray12345 View Post
Great! I have installed the latest version of this mod.. Will it ever be updated for Member Profiles?

Edit: I did find one error.. Its when I try to access member Profiles, heres the Error I get

PHP Code:
Database error in vBulletin 3.7.2:

Invalid SQL:
    
SELECT forum.tfseo_key    
FROM forum 
AS forum    
WHERE forumid 
=;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number  
1064
Request Date  
TuesdayJuly 8th 2008 01:51:51 AM
Error Date    
TuesdayJuly 8th 2008 01:51:51 AM
Script        
http://www.nintendostars.com/forum/member.php?u=1
Referrer      http://www.nintendostars.com/forum/
IP Address    : -Removed-
Username      Nashikafu
Classname     
vB_Database
MySQL Version 
5.0.45-log 
I've tried doing the previous Edits, you and Rammz posted, but I still get the same Errors...
Is there a fix for my error?
Reply With Quote
  #476  
Old 07-20-2008, 06:32 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it be a conflitt with other plugin? Like vbseo?
Reply With Quote
  #477  
Old 07-20-2008, 10:59 PM
Xray12345 Xray12345 is offline
 
Join Date: Jan 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's possible, I have vRewrite still installed..(which doesn't work anymore :P)
I'll Uninstall if it works I'll let you know..
Reply With Quote
  #478  
Old 07-22-2008, 12:15 PM
PiTXI PiTXI is offline
 
Join Date: Apr 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I install this mod, hide links from guests doesn't work.

Help please!!
Reply With Quote
  #479  
Old 07-22-2008, 03:07 PM
harvest_666 harvest_666 is offline
 
Join Date: Jan 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems there's another problem. In the 'New Post' page, the subforum link doesn't lead to that subforum.

You know where it says:
Thread / Thread Starter Last Post Replies Views Forum
the red one, it doesn't lead anywhere, it just seems to refresh the page.

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

Quote:
Originally Posted by harvest_666 View Post
It seems there's another problem. In the 'New Post' page, the subforum link doesn't lead to that subforum.

You know where it says:
Thread / Thread Starter Last Post Replies Views Forum
the red one, it doesn't lead anywhere, it just seems to refresh the page.

Thanks
Screen please
Reply With Quote
  #481  
Old 07-22-2008, 05:44 PM
nfy_markus nfy_markus is offline
 
Join Date: Nov 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think also the sorting in a forum, e.g. sorting by subject, topic, count, date does not work...

but the most important at the moment is the paging with first next previous and last links in a thread...
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 09:19 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.06454 seconds
  • Memory Usage 2,334KB
  • 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
  • (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