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)

Zorck 04-25-2008 12:23 AM

Jeff Thanks a lot for sharing this mod!. Is very usefull.

I have doubt with the instructions of the files edits.

In the Archive.php I cant find the first code to change.

Code:

$output .= "\t<li><a href=\"" . $vbulletin->options['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title]</a></li>\n";
with the external.php I find the first code to change 2 times, I need to change both?

Code:

// list returned threads

if (!empty($threadcache))

{

        foreach ($threadcache AS $thread)

Thanks for the help!

Zorck 04-25-2008 02:27 AM

Jeff, I think thar I find a bug.
In the forums where I have a link-forum, I ge this error

Code:

Warning: implode() [function.implode]: Argument to implode must be an array. in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 9
If I inactive the forum-link the error disapear.
I have VB3.7RC4 and you last version of the mod.

Regards, Sergio

superjeff 04-25-2008 04:42 AM

Quote:

Originally Posted by Zorck (Post 1498682)
Jeff Thanks a lot for sharing this mod!. Is very usefull.

I have doubt with the instructions of the files edits.

In the Archive.php I cant find the first code to change.

Code:

$output .= "\t<li><a href=\"" . $vbulletin->options['bburl'] . "/showthread.php?t=$thread[threadid]\">$thread[title]</a></li>\n";
with the external.php I find the first code to change 2 times, I need to change both?

Code:

// list returned threads

if (!empty($threadcache))

{

        foreach ($threadcache AS $thread)

Thanks for the help!

Yes, change both.
Quote:

Originally Posted by Zorck (Post 1498731)
Jeff, I think thar I find a bug.
In the forums where I have a link-forum, I ge this error

Code:

Warning: implode() [function.implode]: Argument to implode must be an array. in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 9
If I inactive the forum-link the error disapear.
I have VB3.7RC4 and you last version of the mod.

Regards, Sergio

Sorry of this.. i thinked to have fox it with the last relase, but i didint tinked about the forum links.
I will fix it tomorrow, today I am from my grandfathers.

Zorck 04-26-2008 01:21 AM

thanks!

superjeff 04-26-2008 06:41 AM

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";
}



Zorck 04-27-2008 01:38 AM

excellent!. Thanks Jeff for the quick support.

jscieza 04-28-2008 02:20 PM

Hi superjeff,

I have just installed TfSEO in my forums a few days back and it's working fine :)

But there are some issues that I have noticed:
  1. Links from Who's online aren't being rewrited
  2. RSS feed links aren't being rewrited (yes, I have edited all files as your readme indicates)
  3. Previous/Next Thread links aren't working (it appears that it's a know bug)

I'm using vBulletin 3.7.0 RC1. When you have time please take a look at this issues. Hope you are fine with your studies, good luck in your exams!

Kind regards,

Jonathan.

superjeff 04-28-2008 03:58 PM

I'm sixteen years old, i don't go to the university! :)
  1. I think i could fix it in the future, but i don't know how
  2. This is very strange! I will attack my external.php, i have done it a lot of time ago (3.6.x) and it works well with the 3.7 too.
  3. A rewrite of this will add a lot of queryes, and it have by default a "nofollow" tag. Vbseo don't rewrite it, but the url works in my forum.

superjeff 04-28-2008 04:03 PM

Quote:

Originally Posted by jscieza (Post 1501519)
I'm using vBulletin 3.7.0 RC1.

You should update soon... :)

jscieza 04-29-2008 01:49 AM

Quote:

Originally Posted by superjeff (Post 1501582)
I'm sixteen years old, i don't go to the university! :)
  1. I think i could fix it in the future, but i don't know how
  2. This is very strange! I will attack my external.php, i have done it a lot of time ago (3.6.x) and it works well with the 3.7 too.
  3. A rewrite of this will add a lot of queryes, and it have by default a "nofollow" tag. Vbseo don't rewrite it, but the url works in my forum.

But you go to the school :)

1. Glad to hear.
2. It's "attach" not "attacco" :D. Also... I suggest you don't attach your own vBulletin files, there are some reasons but the most important is that it's appears to don't be allowed by the vBulletin.org forums.
3. Erm... NO, vbSEO REWRITES links in the Who's online page. I think that if we have allowed guests (and also, spiders) to see our Who's online page, we will have serious issues because Google my think that there are duplicated content. Please tell me if I'm wrong.

Quote:

Originally Posted by superjeff (Post 1501584)
You should update soon... :)

And you... because you're running vBulletin 3.7.0 Beta 3 hehe. Hey! this could be probably the reason because external.php works for you and not for me. Try to upgrade to the latest RC and edit external.php as your readme.txt file indicates... then probably you will have the same issue that I'm passing :(

Thank you! :)


All times are GMT. The time now is 02:15 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.01863 seconds
  • Memory Usage 1,764KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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