Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TfSEO: a Light Url-Rewrite (thread and forum only) Details »»
TfSEO: a Light Url-Rewrite (thread and forum only)
Version: 1.1.3, by superjeff superjeff is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 03-17-2008 Last Update: 04-28-2008 Installs: 56
Uses Plugins Auto-Templates
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

TfSEO 1.1.3 for vBulletin 3.6.x (3.7 here)

What does it do?
TfSEO in a light and basic Url-Rewrite plugin for vBulletin. It rewite only forum and thread urls.
TfSEO is think for not weigh on the server. It don't add queries!

Live Demo: 1 (vB 3.7)

Installation:
  1. Upload functions_tfseo.php into your ./includes/ directory
  2. Import the product
  3. Set-up you .htaccess file (view readme)
  4. If do you want to rewite archive or RSS view the FILE MODIFICATION section of the readme
  5. Set-up the TfSEO options and enable it
This product will be update and supported for long time.

Plugin now work with PHP4 too!

For Support and question you can contact me at davide {at} techforum .it

I welcome (and really do ask for) any feedback, suggestions, issues, etc...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 04-26-2008, 06:38 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
  #113  
Old 04-26-2008, 07:23 AM
KSM899 KSM899 is offline
 
Join Date: Mar 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this add , but it always gives me "the page Cannot be found"!
Can you solve this please?
Reply With Quote
  #114  
Old 04-26-2008, 08:22 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you set up the .htaccess file?
Try to disable the 301 redirect, and fill the base url of the site field.
Reply With Quote
  #115  
Old 04-26-2008, 09:12 AM
bazzup bazzup is offline
 
Join Date: Dec 2006
Location: Liverpool
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using a few different suggestions from here i have it working.

However for it to work properly I have had to switch off the 301 error is this going to affect my board?
Reply With Quote
  #116  
Old 04-26-2008, 09:18 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your setting fiel called Base url of tour site =
Code:
http://www.fonesandsport.com
?
Reply With Quote
  #117  
Old 04-26-2008, 10:38 AM
bazzup bazzup is offline
 
Join Date: Dec 2006
Location: Liverpool
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have it set to http://www.funforums.co.uk/forum

as we have recently changed the url for the site from fonesandsport.com
Reply With Quote
  #118  
Old 04-26-2008, 11:06 AM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Set it to "http://www.fonesandsport.com" and activate the 301 redirect.
Reply With Quote
  #119  
Old 04-26-2008, 12:13 PM
KSM899 KSM899 is offline
 
Join Date: Mar 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by superjeff View Post
Have you set up the .htaccess file?
Try to disable the 301 redirect, and fill the base url of the site field.
I used the same one that on the zip file.
I filled the base url to: www.ar-web.org/vb
note: That my website is in arabic .. does this affect??
Reply With Quote
  #120  
Old 04-26-2008, 12:36 PM
KSM899 KSM899 is offline
 
Join Date: Mar 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked fine when I disabled 301 redirates.
What does 301 do?

A bug appeard to me:
Warning: implode() [function.implode]: Argument must be an array in /includes/functions_forumlist.php(374) : eval()'d code on line 9
Reply With Quote
  #121  
Old 04-26-2008, 01:22 PM
superjeff superjeff is offline
 
Join Date: Apr 2007
Location: Italy
Posts: 394
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your base forum url shoud be
Code:
http://www.ar-web.org
It is relative at the site, not forum.
To fix the bug, do this edit
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:23 PM.


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.05388 seconds
  • Memory Usage 2,320KB
  • Queries Executed 27 (?)
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
  • (1)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
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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