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 - Zoints SEO (https://vborg.vbsupport.ru/showthread.php?t=127336)

curt5446 11-15-2006 02:51 PM

Hi,

Not sure if anyone is still having the problem of a redirect to the site index when clicking on forums. I had the same problem and got it working by (duhhh) making sure htaccess was enabled on my server.

Hope that helps

Curt

curt5446 11-15-2006 02:53 PM

Oh alomost forgot.

Dave, thanks VERY much for this.

nocte 11-15-2006 10:43 PM

TEMPLATE: threadbit:
Code:

Find:
==================================================
                        <if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
==================================================
Replace With:
==================================================
                        <if condition="$show['gotonewpost']"><a href="<if condition="$show['zointsurl']">$thread[zointsurl]?goto=newpost<else />showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]</if>"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
==================================================

this does not work in vB 3.6.3
the result is a link to www.forum.com/forum/#postXXX

citricguy 11-16-2006 08:18 AM

First of all, thank you so much for releasing this mod. It is amazing!

After I got everything installed I noticed that I cannot follow links within my archive/sitemap directory. Everything else seems to work fine.

Here is the link to my archive/sitemap post install:

http://www.chaosforums.com/sitemap/

You will notice as you click on the links it will not take you any deeper into the archive. I think its the .htaccess file messing things up, but cant tell.

im running 3.6.3

nocte 11-16-2006 10:35 PM

There's another problem: If you guess the ID of a thread in a private forum you can see the title, because you will be redirected to the rewritten url (with the keywords from the title) before you see an error mesage.

nocte 11-16-2006 10:39 PM

Jet another one: If you go to http://www.chaosforums.com/forumdisplay.php?f=1 you will be redirected to http://www.chaosforums.com/managemen...er-f1.html?f=1 so the parameter f=1 is suffixed, tough we don't need it.

nocte 11-17-2006 12:35 AM

if fount a bunch of bugs more:


template threadbit line 65:
Quote:

<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="<if condition="$show['zointsurl']">$thread[zointsurl]?goto=lastpost<else />showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]</if>"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
-> this does not work with the searchengine. the serach sesult pages will link to:
http://www.yourforum.com/forum/your-title-t123.html?&highlight=keyword?goto=lastpost
while it should be
http://www.yourforum.com/forum/your-title-t123.html?highlight=keyword&goto=lastpost


template search_results_postbit line 25:
Code:

                        $post[typeprefix] <a href="<if condition="$show['zointsurl']">$post[threadurl]<else />showthread.php?$session[sessionurl]t=$post[threadid]$post[highlight]</if>"><strong>$post[threadtitle]</strong></a>
does not work. it will show a link to the forum in witch the thread is located, not the thread itself.


modification of thempate forumhome_lastpostby is useless, because there will be a redirection anyway. If you do this you just have a rewritten url redirecting to another rewritten (both having parameters). I don't see an advantage doing the modification that is sugested for this template.


if you use "go to the last posting" you will be redirected to a url like this
http://www.yourforum.com/forum/your-title-t123.html?p=470529#post470529
though the last posting might not be on page 1 the url looks like it was page one. If the last posting was on page 3 the url should be
http://www.yourforum.com/forum/your-title-t123p3.html#post470529


on online.php - if a user is currently seeing a thread in the archive, the url has no keywords and two slashes, like
http://www.yourforum.com/forum/archive//t-15828.html


"Use Zoints Archive Navigation?" -> when i use this feature, no navigation shows up at all.

redlabour 11-17-2006 06:18 AM

Quote:

Originally Posted by phlogiston (Post 1107193)
I'm pretty certain I've figured out why I haven't experienced problems with vBGallery (and other addons) while using Zoints SEO - I have vBa CMPS wrapped around everything and forums in root dir = not standard.


So I worked out a possible fix.
If anyone wants to try this (without guarantee!) to get Zoints SEO working on sites with photopost's vBGallery (may also solve the incompatibility with vBadvanced Links Directory) I'm fairly/quite confident it may work. (I apologise for the vagueness but I don't have good test installs at present :()

in the "Zoints SEO" plugin at parse_templates (on line #1),
originally (Zoints SEO v 2.2.2) it should be
PHP Code:

if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_rewrite_urls'] AND VB_AREA == 'Forum' AND !defined('VBA_PORTAL')) 

change VBA_PORTAL to VBA_SCRIPT,
ie REPLACE line#1 with
PHP Code:

if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_rewrite_urls'] AND VB_AREA == 'Forum' AND !defined('VBA_SCRIPT')) 

this should prevent the <base href=""> tag being added to the header which I think was the problem.


Again, apologies for the lack of testing of this before offering it as a possible solution.

Seems to work fine. But there are to much other Bugs in this Hack. It is still absolutely unusable and brings more Problems than it is worth.

Example - forum/index.php is not longer active in navbar if you use vBa at forum/cmps_index.php and if you use a DirectoryIndex to forum/cmps_index.php. It rewrits to forum/ and you still go to Portal and not to the Forum.

M0rGu3 11-17-2006 05:36 PM

Quote:

Originally Posted by redlabour (Post 1119194)
Example - forum/index.php is not longer active in navbar if you use vBa at forum/cmps_index.php and if you use a DirectoryIndex to forum/cmps_index.php. It rewrits to forum/ and you still go to Portal and not to the Forum.

You can turn this off... Set "correct links to index.php" on off (I'm not sure about the title, in german it's "Links zu index.php korrigieren" - solltest du also finden redlabour ;) )

mpage 11-17-2006 09:47 PM

poop, Im a bit stck in the mud. after installing i get:

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Zoints SEO', 'archive_complete', 'if ($vbulletin->options[\'zointsseo_on\'])\r\n{\r\n $output .= zseo_archive_ad(\'g_foot1\');\r\n $output .= \"
$vbphrase[vbulletin_copyright]
\";\r\n $output .= zseo_archive_ad(\'g_foot2\');\r\n $output .= \"\";\r\n if (defined(\'NOSHUTDOWNFUNC\'))\r\n {\r\n exec_shut_down();\r\n }\r\n echo $output;\r\n exit;\r\n}', 'zointsseo');

MySQL Error : Unknown column 'executionorder' in 'field list'
could this be due to a non compatible MySQL version, i think my servers use quite an out of date MySQL

anyone know, or seen similar?


All times are GMT. The time now is 08:03 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.01865 seconds
  • Memory Usage 1,760KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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