vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBJournal for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=96462)

Zelda-King 09-24-2005 02:37 PM

I get the following SQL error when I try to edit Journal Buddies;

Invalid SQL:

SELECT userid, username FROM user
WHERE userid IN ()
ORDER BY username;

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 ')
ORDER BY username' at line 2
Error Number : 1064
(etc)
Classname : vb_database


Using latest version on vB3.5 RC3. Have not customised the journal in any way but have been upgrading it since about Alpha 1 Build 1.

Zelda-King 09-24-2005 02:42 PM

I thought I'd take the opportunity to show a few cosmetic issues I've come across where the system doesn't go seemlessly with my styles (see attachments).
1) Wrong text colour in dropdown.
2) USERCP_SHELL appears to be using the wrong Alt colour;

Andreas 09-24-2005 02:48 PM

Quote:

As always, please report Bugs @ http://bugs.kirbydemos.ath.cx
Normally this can't happen.
Try
[sql]update usertextfield set jbuddylist='' where jbuddylist=' '[/sql]

Zelda-King 09-24-2005 03:09 PM

Query done. "Affected Rows: 0". Actually I was a little apprehensive about posting on your bugtracker because I wasn't sure it was a bug. But I'll continue this there if you like.

Andreas 09-24-2005 03:13 PM

Hmm, then I don't know how this could happen.

Try editing Plugin vBJournal: Edit jBuddylist, change
PHP Code:

if ($vbulletin->userinfo['jbuddylist']) 

to

PHP Code:

if (trim($vbulletin->userinfo['jbuddylist'])) 


Zelda-King 09-24-2005 03:30 PM

Still getting the same thing I'm afraid. I'll open the case on your bugtracker, but first I'll try uninstalling/reinstalling from scratch.

EDIT: Uninstalling results in this fatal error: Fatal error: Call to undefined function: fetch_table_info() in /home/root/to/plugin.php(994) : eval()'d code on line 10

So.. guess I'll have to make the thread after all.

Andreas 09-24-2005 03:47 PM

I really wanna know who wrote vB_Database_Alter ... that class doesn't really seem to fit with vB Code standards ;)

As for the buddylist problem: I can't reproduce this effect without intentionally putting corrupted data into the database. But even then the above code prevents the error.

You should also keep in mind that uninstalling deletes all existing journal data.

HabboForum 09-24-2005 03:59 PM

This looks good. Will it work on RC2 and are there any screenshots?

Thank you. :)

Andreas 09-24-2005 04:03 PM

Will not work on RC2.
Currently there are no screenshots, but you can take a look here

Omega Prime 09-25-2005 12:46 PM

Quote:

Originally Posted by KirbyDE
@Omega Prime
Seems like you are using customized journal Templates.
Please revert them.

Templates have been reverted, but since they're not vB defaults, they're just erased. The reason why it seemed that I customized it was that I first added the journal back in Sept. 2004 and I guess they haven't been overwritten since the recent 3.5 port of the journal.

At any rate, it's as I noted before with some users showing up with blank comments, while others appear fine :ermm:


All times are GMT. The time now is 06:50 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.02549 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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