vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - TfSEO: a Light Url-Rewrite (thread and forum only) (https://vborg.vbsupport.ru/showthread.php?t=173390)

superjeff 03-30-2008 07:37 AM

The last post button in homepage? It will add a query.

superjeff 03-30-2008 09:26 AM

Quote:

Originally Posted by superjeff (Post 1478156)
The last post button in homepage? It will add a query.

I will add it like option.

glennybee 03-30-2008 11:27 PM

I am following this thread intently.

Seems to be too many bugs at the moment to install on main forum but will install on test forum to see how it performs.

Thanks. :)

superjeff 03-31-2008 03:42 AM

Quote:

Originally Posted by glennybee (Post 1478674)
Seems to be too many bugs

I'm fixing with love :cool:
Thank you.

superjeff 04-01-2008 03:03 PM

UPDATED: Fixed a lot of bugs, add the option for last post (with thread with multiple page) in homepage

Chachacha 04-02-2008 07:00 AM

Quote:

Originally Posted by superjeff (Post 1480072)
UPDATED: Fixed a lot of bugs, add the option for last post (with thread with multiple page) in homepage

Unfortunately the "last post" issue isn't resolved.

superjeff 04-02-2008 10:01 AM

You should set to "yes" the relative setting in the configuration......

superjeff 04-02-2008 10:25 AM

Little bug fixed: In the plugin "Add in showthread" do the edit marked in red:



Original: (don't work)
if ($vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'])
{
$tfseourl['thread'] = tfseo_url($thread[threadtitle]);
$tfseo_pagina = $vbulletin->options['tfseo_pagina'];
if ($thread[totalpages] != 1)
{
$lastpage = $tfseo_pagina . $thread[totalpages] . ".html";
}
}
New: (Work!)
if ($vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'])
{
$tfseourl['thread'] = tfseo_url($thread[threadtitle]);
$tfseo_pagina = $vbulletin->options['tfseo_pagina'];
if ($thread[totalpages] > 1)
{
$lastpage = $tfseo_pagina . $thread[totalpages] . ".html";
}
}

Chachacha 04-02-2008 06:43 PM

That seems to have fixed the problem!^^

Thank you.

superjeff 04-02-2008 07:03 PM

Good. I'm sorry for this, but i had not understood the problem fast and in my forum there was the same problem too!

zeus_r6 04-03-2008 06:27 PM

Quote:

Originally Posted by superjeff (Post 1480751)
Little bug fixed: In the plugin "Add in showthread" do the edit marked in red:



Original: (don't work)
if ($vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'])
{
$tfseourl['thread'] = tfseo_url($thread[threadtitle]);
$tfseo_pagina = $vbulletin->options['tfseo_pagina'];
if ($thread[totalpages] != 1)
{
$lastpage = $tfseo_pagina . $thread[totalpages] . ".html";
}
}
New: (Work!)
if ($vbulletin->options['tfseo_attivo'] AND $vbulletin->options['tfseo_riscrivi'])
{
$tfseourl['thread'] = tfseo_url($thread[threadtitle]);
$tfseo_pagina = $vbulletin->options['tfseo_pagina'];
if ($thread[totalpages] > 1)
{
$lastpage = $tfseo_pagina . $thread[totalpages] . ".html";
}
}

Two questions:
Does this solve the last post problem?
Where is this code modification done?

superjeff 04-03-2008 06:49 PM

Yes, it solve it.
You have only to edit the thinks marked in red (was this the question?)

zeus_r6 04-03-2008 06:55 PM

In the SHOWTHREAD template?

superjeff 04-03-2008 06:59 PM

No:
Quote:

Little bug fixed: In the plugin "Add in showthread" do the edit marked in red:
Go in "plugin manager" or something like it in the admin cp.

zeus_r6 04-03-2008 07:07 PM

Didn't work

zeus_r6 04-03-2008 07:13 PM

Just double checked it and also my setting in vb options and everything is as said....still not redirecting to the last post

zeus_r6 04-04-2008 03:25 AM

Any insight on why this won't work for me?

edge23 04-04-2008 03:50 AM

Thank you!!!!!

This is amazing m8. It works great Thanks a lot :):):):)

Installed and nominated :)

superjeff 04-04-2008 10:11 AM

Quote:

Originally Posted by zeus_r6 (Post 1482222)
Didn't work

Go in your admincp, Plugins & Products > Plugin Manager > select the plugin called "Add in showthread" and replace "!=" with ">"
Quote:

Originally Posted by edge23 (Post 1482515)
Thank you!!!!!

This is amazing m8. It works great Thanks a lot :):):):)

Installed and nominated :)

Thank you very much :)

superjeff 04-04-2008 11:49 AM

UPDATED: Add a fist, basic support to vbAdvanced. I have tested it only with vb 3.7 and vBA 3.0.0. It don't rewrite, for now, the news's urls.

Ark del KAOS 04-04-2008 01:36 PM

Maybe i'm so paranoid...well, i REALLY like this mod (is one of the first things i looked for my vb)...but, ¿it's really safe?
I can wait some time. Y' know, if my forum goes offline, the users kill me XD XD XD

Anyway, this is a very good job. Very "blog-like". And that's the way to go.
Congratulations!

superjeff 04-04-2008 02:50 PM

Quote:

Originally Posted by Ark del KAOS (Post 1482835)
Y' know, if my forum goes offline, the users kill me XD XD XD

Unfortunately, i know what it mind.. :!
In this plugin, there is nothing that can put offline you forum. Actually, there are no knows bugs. At the worst, you will have a (or some) not rewrited urls, but you can fix it with an robots file. If can i help you for the (future) installation, i'm here.
Quote:

Originally Posted by Ark del KAOS (Post 1482835)
Anyway, this is a very good job. Very "blog-like". And that's the way to go.
Congratulations!

Thank you very much :)

Ark del KAOS 04-04-2008 03:19 PM

Mmm...i forgot to ask you something! ^ ^
Well, you or anyone who knows the answer...
I'm using the vbSEO that make the sitemap.
Well, obviously I don'y know how exactly that mod make the sitemap...so maybe it stop working properly if I install this one.
"Maybe"
Someone use both and can tell me about?

superjeff 04-04-2008 03:41 PM

VbSEO sitemap.. i'd realy like to modific it, but i'm not allowed for the license. You should un-install the vbseo sitemap if you install this plugin..

javichu 04-08-2008 03:39 AM

Hello sorry I do not speak English.

I have a problem.In showthreads page when I click on the User nick gives me a 404 error.

Some pictures

http://img158.imagevenue.com/img.php..._122_894lo.jpg

http://img151.imagevenue.com/img.php..._122_696lo.jpg

http://img220.imagevenue.com/img.php..._122_150lo.jpg

The URL should be valid ==> /foros/member.php?u=6750
not
/foros/f24/member.php?u=6750

There are solutions?

Thanks

superjeff 04-08-2008 10:06 AM

I will fix it today.

superjeff 04-08-2008 11:00 AM

UPDATED: Other bug fixed.
If someone have some suggest to extend the functions of the rewrite (no member and blog), please suggest.

superjeff 04-24-2008 02:00 PM

UPDATED: Add the online localization support, ad fix the errors with forums without posts in forumhome.

zeus_r6 04-26-2008 04:44 AM

will this be working with the vbSEO yahoo/google sitemaps anytime soon?

superjeff 04-26-2008 05:59 AM

No, because I'm not allowed to modific the Vbseo sitemap code.
I hope to relase a my sitemap this summer.

superjeff 04-26-2008 06:38 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";
}



KSM899 04-26-2008 07:23 AM

Thanks for this add , but it always gives me "the page Cannot be found"!
Can you solve this please?

superjeff 04-26-2008 08:22 AM

Have you set up the .htaccess file?
Try to disable the 301 redirect, and fill the base url of the site field.

bazzup 04-26-2008 09:12 AM

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?

superjeff 04-26-2008 09:18 AM

Is your setting fiel called Base url of tour site =
Code:

http://www.fonesandsport.com
?

bazzup 04-26-2008 10:38 AM

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

as we have recently changed the url for the site from fonesandsport.com

superjeff 04-26-2008 11:06 AM

Set it to "http://www.fonesandsport.com" and activate the 301 redirect.

KSM899 04-26-2008 12:13 PM

Quote:

Originally Posted by superjeff (Post 1499597)
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??

KSM899 04-26-2008 12:36 PM

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

superjeff 04-26-2008 01:22 PM

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


All times are GMT. The time now is 07:50 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.01592 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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