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)
-   -   Add-On Releases - vBulletin-Glossary (https://vborg.vbsupport.ru/showthread.php?t=188189)

g0rdy 09-25-2011 04:53 PM

Quote:

Originally Posted by byalik (Post 2220038)
There is a problem with the mod for version 4. Does anyone have a fix?

You're in the wrong thread. Go here: https://vborg.vbsupport.ru/showthread.php?t=258898

G0F0RBR0KE 05-20-2012 06:27 AM

<font face="Georgia">When using this modification. For some reason. I cannot have a paragraph.

Example what I want

Test
Test
Test

But, what I get is
Test Test Test. How do I fix this?

Version: 3.7.1</font>

Digital Jedi 12-17-2013 06:54 PM

Supposedly there's a syntax error when trying to access a category.

Code:

Invalid SQL:

                        SELECT SQL_CALC_FOUND_ROWS *
                        FROM vb_vbglossar_entry AS entry
                       
                        WHERE categoryid = 3
                                AND status IN (0,1)
                               
                               
                        ORDER BY entry.name ASC
                        LIMIT 0,;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
Error Number  : 1064


I'm not familiar with this error, but these seem to be the offending lines in vbglossar.php:
PHP Code:

    do
    {
        if (!
$page)
        {
            
$page 1;
        }

        
$limitlower = ($page 1) * $perpage;

        
// fetch all entries of defined category
        
$hook_query_fields $hook_query_joins $hook_query_where '';

        (
$hook vBulletinHook::fetch_hook('vbglossar_query_allentriesofcat')) ? eval($hook) : false;

        
$entrylist $db->query_read_slave("
            SELECT SQL_CALC_FOUND_ROWS *
            FROM " 
TABLE_PREFIX "vbglossar_entry AS entry
            
$hook_query_joins
            WHERE categoryid = " 
intval($catid) . "
                AND status IN (" 
. (($permissions['groupvbglossar'] & $vbulletin->bf_ugp['groupvbglossar']['canadminvbglossar']) ? "0,1" "1") . ")
                
$condition
                
$hook_query_where
            ORDER BY " 
$sqlsortfield " " $sortorder "
            LIMIT 
$limitlower$perpage
        "
);

        
$entriestotal $db->found_rows();
        if (
$limitlower >= $entriestotal)
        {
            
$page ceil($entriestotal $perpage);
        }
    } 

But it seems to check out. Unless there's a deprecated function in here somewhere, I can't find it.


All times are GMT. The time now is 06:40 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.01421 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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