Thread: Major Additions - TfSEO 2: the free vBulletin url rewrite
View Single Post
 
Old 02-24-2009, 01:06 AM
NeDra NeDra is offline
 
Join Date: Dec 2008
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SoftDux, it work with vBulletin Version 3.8.1
If you download the version 2.1 and not 1.4

Also the version 2.1 has an issue while using the Heavy Method
'edit-this-from-admincp-than-forum' appear in some section of the forum
Even though the variable in the admincp has been setup.

Somewhat the version 2.1 isn't approved yet, so it still show the version 1.4
The link to version 2.1 is here
https://vborg.vbsupport.ru/showpost....&postcount=895

Here is a fix for the TfSEO 2.1 Error where
'edit-this-from-admincp-than-forum'
Appear even though you have configured the admincp variable on that forum

While using the Heavy Method
Open 'product-tfseo_2_37.xml' with notepad

Search for the 2nd occurrence of the following line of code

PHP Code:
$tfseo['e'] = tfseo_url_thread($forum[tfseo_key], $thread['forumid'], $thread['threadtitle'], 
There should be only 2 occurrence, so the 2nd one is the last one.

Replace the text by:

PHP Code:
//Get forum key 
$tfseo_key_query $vbulletin->db->query_read_slave(
SELECT forum.tfseo_key 
FROM " 
TABLE_PREFIX "forum AS forum 
WHERE forumid = 
$thread[forumid] 
"
); 
$forum[tfseo_key] = mysql_fetch_assoc($tfseo_key_query); 
$forum[tfseo_key] = implode($forum[tfseo_key]); 
$tfseo['e'] = tfseo_url_thread($forum[tfseo_key], $thread['forumid'], $thread['threadtitle'], 
Now update your product and allow overwrite.
I might do a compilation of all the small bug I have fixed, but this was the main issue to have the version 2.1 working while getting the url renamed entirely on the website.

Thank a lot, this product is really nice, it just need a bit more knowledgeable user to fix issues and not rely on only 1 user since time is something that we never have enough of.
Good job up to now, I really wouldn't of been able to write all that code.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01289 seconds
  • Memory Usage 1,777KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete