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)
-   -   Integration with vBulletin - Zoints Thread Tags - GREAT for SEO (https://vborg.vbsupport.ru/showthread.php?t=127244)

SBlueman 11-09-2007 08:09 PM

This starts at about line 370 of tags/index.php:

Quote:

if ($vbulletin->options['zointstags_showresultsas'])
{
$thread['showicon'] = ($vbulletin->forumcache[$thread['forumid']]['options'] & $vbulletin->bf_misc_forumoptions['allowicons']);
$thread = process_thread_array($thread, '', $thread['showicon']);

if ($thread['showicon'])
{
$show['threadicons'] = true;
}

}

$threads[$thread['threadid']] = $thread;
}
}
Maybe something in there needs to be changed?

class101 11-09-2007 08:30 PM

Yep must be around this part just up look at the SQL query from Zoints index.php

Code:

                        $_threads = $db->query_read("
                                SELECT * FROM " . TABLE_PREFIX . "thread
                                WHERE forumid IN(" . implode(',', $visible) . ")
                                        AND threadid IN(" . implode(',', $threadids) . ")
                                ORDER BY $orderby $direction
                                LIMIT $limitlower, $pp
                        ");

the one made by forumdisplay.php catchs much datas

Code:

        $threads = $db->query_read_slave("
                SELECT $votequery $previewfield
                        thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
                        $lastpost_info2, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
                        hiddencount, deletedcount
                        " . (($vbulletin->options['threadsubscribed'] AND $vbulletin->userinfo['userid']) ? ", NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed" : "") . "
                        " . ($deljoin ? ", deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason" : "") . "
                        " . (($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) ? ", threadread.readtime AS threadread" : "") . "
                        " . ($redirectjoin ? ", threadredirect.expires" : "") . "
                        $hook_query_fields
                FROM " . TABLE_PREFIX . "thread AS thread
                        $deljoin
                        " . (($vbulletin->options['threadsubscribed'] AND $vbulletin->userinfo['userid']) ?  " LEFT JOIN " . TABLE_PREFIX . "subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = " . $vbulletin->userinfo['userid'] . " AND canview = 1)" : "") . "
                        " . (($vbulletin->options['threadmarking'] AND $vbulletin->userinfo['userid']) ? " LEFT JOIN " . TABLE_PREFIX . "threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = " . $vbulletin->userinfo['userid'] . ")" : "") . "
                        $previewjoin
                        $tachyjoin
                        $redirectjoin
                        $hook_query_joins
                WHERE thread.threadid IN (0$ids) $hook_query_where
                ORDER BY sticky DESC, $sqlsortfield $sqlsortorder
        ");

this is just supositions because I dunno really at coding but it looks like the zoints query doesn't retrieve what we do need the threadid. In function_forumdisplay.php included in the zoints index.php you see:

Code:

                        if ($thread['threadiconid'])
                        {
                                $thread['threadiconpath'] = $vbulletin->iconcache["$thread[threadiconid]"]['iconpath'];
                                $thread['threadicontitle'] = $vbulletin->iconcache["$thread[threadiconid]"]['title'];
                        }

                        // show poll icon
                        if ($thread['pollid'] != 0)
                        {
                                $show['threadicon'] = true;
                                $thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.gif";
                                $thread['threadicontitle'] = $vbphrase['poll'];
                        }
                        // show specified icon
                        else if ($thread['threadiconpath'])
                        {
                                $show['threadicon'] = true;
                        }
                        // show default icon
                        else if (!empty($vbulletin->options['showdeficon']))
                        {
                                $show['threadicon'] = true;
                                $thread['threadiconpath'] = $vbulletin->options['showdeficon'];
                                $thread['threadicontitle'] = '';
                        }

if ($thread['threadiconid']) is not defined I think and we land in the default post icon else if (!empty($vbulletin->options['showdeficon']))

SBlueman 11-09-2007 08:33 PM

Anyone have a clue? This is way out of my league....

ballpnet 11-10-2007 03:45 AM

Hello,

I'm experiencing a strange problem. When ever I click on "tags" and then on any of the pages at the bottom, it seems to log me out of the forum. My custom skin gets switched over to the default and I see the login widget on the right. However, when I click on any link taking me back to the forum, I'm all of a sudden logged into the system and have my theme back. Does that make any sense? Does this happen to anyone else? Thanks for any insight.

ballpnet 11-10-2007 01:27 PM

Quote:

Originally Posted by ballpnet (Post 1379476)
Hello,

I'm experiencing a strange problem. When ever I click on "tags" and then on any of the pages at the bottom, it seems to log me out of the forum. My custom skin gets switched over to the default and I see the login widget on the right. However, when I click on any link taking me back to the forum, I'm all of a sudden logged into the system and have my theme back. Does that make any sense? Does this happen to anyone else? Thanks for any insight.

I found the problem: mod_rewrite was causing the the issue. Disabling it seems to have fixed the problem.

Makc666 11-22-2007 10:14 AM

What can cause an error when I type some word in Russian/Cyrillics for example:
"мама"
I get a result:
"u043cu0430u043cu0430"
So I see in URL "/u043cu0430u043cu0430/"

As you see "u043cu0430u043cu0430" consists of four letter:
u043c -> м
u0430 -> а
u043c -> м
u0430 -> а

Strike3ForumsMH 11-24-2007 04:22 PM

Hi Makc,

Have you tried using character replacements yet?

- Reid

sabrawy 11-25-2007 06:30 PM

i wanna ask please
i have an arabic forum when im adding any tag with arabic language its not adding anything
its reloading the page and give me nothing after i add my tags
any solutions please?

kafi 11-25-2007 06:46 PM

tag system is going to be default from vb 3.7. on.
If you are runging zoints tag and wish to switch to default tag system, please support my request with comment :) here
http://www.vbulletin.com/forum/showthread.php?p=1452523

SBlueman 11-25-2007 07:48 PM

I was just wondering if anyone had figured out how to make the post icons show in the tag results pages. This was talked about in post #741 to #745


All times are GMT. The time now is 12:20 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.02259 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
  • (3)bbcode_code_printable
  • (2)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