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 07-20-2008 08:01 AM

Quote:

Originally Posted by dinodino (Post 1566915)
It is a problem

Send me all the character to replace that you can type with your keyboard.
Quote:

Originally Posted by dreeded (Post 1567534)
Here is a temp fix for First post error.

Go Plugin Manager -> Edit "Generate Navbar URLs 2"
Replace existing code with below.

Code:

if ($vbulletin->options['tfseo_enable'])
{

//Forum or Thread?
if ($vbulletin->tfseo['pagenav']['area'] == 'forum' AND $vbulletin->options['tfseo_enable'] AND $vbulletin->options['tfseo_rewrite'] & $vbulletin->bf_misc_rewrite['forum'])
//Is Forum
{

if ($vbulletin->options['tfseo_type'] == 1 OR $vbulletin->options['tfseo_type'] == 2)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_forum_multi($forumid, $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_forum_multi($forumid, $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_forum($forumid);
}
$lastaddress = tfseo_url_forum_multi($forumid, $totalpages);

}
else if ($vbulletin->options['tfseo_type'] == 3)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_forum($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid']);
}
$lastaddress = tfseo_url_forum_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $totalpages);

}
} else if ($vbulletin->tfseo['pagenav']['area'] == 'thread' AND $vbulletin->options['tfseo_enable'] AND $vbulletin->options['tfseo_rewrite'] & $vbulletin->bf_misc_rewrite['thread'])
//Is Thread
{
if ($vbulletin->options['tfseo_type'] == 1)
{



if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid']);
}
$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);



}
else if ($vbulletin->options['tfseo_type'] == 2)
{

if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid']);
}
$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['threadinfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);



}
else if ($vbulletin->options['tfseo_type'] == 3)
{



if ($show['next'])
{
$nextpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $nextpage);
}
if ($show['prev'])
{
$prevpageaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $prevpage);
}
if ($show['first'])
{
$address = tfseo_url_thread($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid']);
}

$lastaddress = tfseo_url_thread_multi($vbulletin->tfseo['foruminfo']['tfseo_key'], $vbulletin->tfseo['foruminfo']['forumid'], $vbulletin->tfseo['threadinfo']['title'], $vbulletin->tfseo['threadinfo']['threadid'], $totalpages);


}
}
}


It could work.. i will put a look
Quote:

Originally Posted by Xray12345 (Post 1571035)
I have went back to 1.1.4, since there are alot of Errors In this Version..

I'll update when there's a fix..

For you and all the other, there are a lot of thing to fix, that i hope to do in a bit time. Contact me via email if you want "prioriry support".

OziloZ 07-20-2008 04:56 PM

Thanks for that great mod.

But i have a weird problem. All links works fine except one. In showthread page, when i want to go another page, server says that "page not found". Look at the picture. The rewrite rule adds an ekstra code: "&page=xx" . It works fine when i delete this part from the addres bar. I looked my .htacces and delete this part, but nothing change.

I'm using TFSEO1 compatible, medium method.

superjeff 07-20-2008 06:22 PM

It looks like the rewrite template didn't worked. You can delete from the template that part, it is unusefull.

Xray12345 07-20-2008 06:22 PM

Quote:

Originally Posted by Xray12345 (Post 1569889)
Great! I have installed the latest version of this mod.. Will it ever be updated for Member Profiles?

Edit: I did find one error.. Its when I try to access member Profiles, heres the Error I get

PHP Code:

Database error in vBulletin 3.7.2:

Invalid SQL:
    
SELECT forum.tfseo_key    
FROM forum 
AS forum    
WHERE forumid 
=;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number  
1064
Request Date  
TuesdayJuly 8th 2008 01:51:51 AM
Error Date    
TuesdayJuly 8th 2008 01:51:51 AM
Script        
http://www.nintendostars.com/forum/member.php?u=1
Referrer      http://www.nintendostars.com/forum/
IP Address    : -Removed-
Username      Nashikafu
Classname     
vB_Database
MySQL Version 
5.0.45-log 

I've tried doing the previous Edits, you and Rammz posted, but I still get the same Errors...

Is there a fix for my error?

superjeff 07-20-2008 06:32 PM

Could it be a conflitt with other plugin? Like vbseo?

Xray12345 07-20-2008 10:59 PM

It's possible, I have vRewrite still installed..(which doesn't work anymore :P)
I'll Uninstall if it works I'll let you know..

PiTXI 07-22-2008 12:15 PM

If I install this mod, hide links from guests doesn't work.

Help please!!

harvest_666 07-22-2008 03:07 PM

It seems there's another problem. In the 'New Post' page, the subforum link doesn't lead to that subforum.

You know where it says:
Thread / Thread Starter Last Post Replies Views Forum
the red one, it doesn't lead anywhere, it just seems to refresh the page.

Thanks

superjeff 07-22-2008 04:51 PM

Quote:

Originally Posted by harvest_666 (Post 1581467)
It seems there's another problem. In the 'New Post' page, the subforum link doesn't lead to that subforum.

You know where it says:
Thread / Thread Starter Last Post Replies Views Forum
the red one, it doesn't lead anywhere, it just seems to refresh the page.

Thanks

Screen please ;)

nfy_markus 07-22-2008 05:44 PM

I think also the sorting in a forum, e.g. sorting by subject, topic, count, date does not work...

but the most important at the moment is the paging with first next previous and last links in a thread...


All times are GMT. The time now is 08:09 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.01793 seconds
  • Memory Usage 1,770KB
  • 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
  • (1)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