vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - TfSEO 2: the free vBulletin url rewrite (https://vborg.vbsupport.ru/showthread.php?t=173738)

superjeff 03-20-2008 10:00 PM

TfSEO 2: the free vBulletin url rewrite
 
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.

superjeff 03-21-2008 06:11 PM

FAQ:

Q: Where can i edit "edit-this-from-admincp-than-forum"?
A: Set TfSEO Type to Heavy, and than go AdminCP > Forums & Moderators > Forum Manager > Edit Forum > TfSEO Forum Urls.

Q: I get a 404 error surfing the rewrited urls.
A: Your htaccess file isn't working. Sure that your host support it?

Q: I get this error: "Fatal error: Call to undefined function tfseo_url() in /home/***/public_html/includes/class_postbit.php(265) : eval()'d code on line 27"
A: You haven't unistalled the 1.x version of the plugin. Do it.

Q: I don't see any changes. What could be?
A: Plugin can be disabled in Plugin Manager.

Q: I get this error:
Code:

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 11

Warning: implode() [function.implode]: Argument must be an array in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 1

A: See this post

Know Bugs:

Lighthttp incopatible
3.8.1 pl1 bug! Don't download it if you are using this version!!!
Some site have a problem with the heavy type in forumdisplay. Try to fix with this: https://vborg.vbsupport.ru/showpost.php?p=1752841 (it will add lots of query)

kaptanblack 03-21-2008 06:35 PM

Nice mod, thanks...

projectego 03-21-2008 11:02 PM

[high]* projectego clicks install. Thank you! :D[/high]

Adam21 03-22-2008 06:15 AM

functions_tfseo.php is missing in your zip package?

superjeff 03-22-2008 07:44 AM

Quote:

Originally Posted by Adam21 (Post 1471372)
functions_tfseo.php is missing in your zip package?

It's is upload\includes\functions_tfseo.php

Adam21 03-22-2008 08:35 AM

Quote:

Originally Posted by superjeff (Post 1471416)
It's is upload\includes\functions_tfseo.php

Thks,i got it

nfn 03-22-2008 05:46 PM

Hi,

This is a nice mod and I'm testing it, but as user already said, you're "eating" letters with accents and in my native Language we have lots.

You should add a function to replace these chars instead of using unhtmlspecialchars.

In a post with the word "cora??o" (Heart in Portuguese) in it's Title is replaced with "cora-o" that Google understand as "Cor?o", the Sacred book of Islam!

I'm testing with a function that I found in a Google search:

Code:

function remove_accents($string){
    return strtr($string,
                "???????????????????????????????????????????????????????????????@",
                "YuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyyEa");
}

Nice mod by the way, waiting for vBa!
Keep up with the good work.

superjeff 03-22-2008 07:32 PM

This function that you posted is perfect. I hope i will introdoce it tomorrow. Thank you very much, i hope i will introduce it tomorrow.

superjeff 03-23-2008 07:47 AM

<font color="red">UPDATED</font>: Plugin now replace strange character in the url.


All times are GMT. The time now is 12:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01930 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete