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)
-   -   Un-Activated User Management 3 (https://vborg.vbsupport.ru/showthread.php?t=99509)

sabret00the 11-09-2005 08:06 AM

Quote:

Originally Posted by ikastara
running v3b2, i get this:



any idea what i did wrong ??

i'm gonna need the error number.

Lapsetur 11-09-2005 09:04 AM

I also get this error


Quote:

Database error in vBulletin 3.5.1:

Invalid SQL:

SELECT user.username, user.userid, user.email, user.joindate, useractivation.activationid
FROM vb3_user AS user
LEFT JOIN vb3_useractivation AS useractivation ON (user.userid = useractivation.userid)
WHERE vb3_user.usergroupid = 3 AND vb3_user.posts = 0;

MySQL Error : Unknown table 'vb3_user' in where clause
Error Number : 1109
Date : Wednesday, November 9th 2005 @ 01:03:15 PM
Script : http://www.turkonline.tv/v6/admincp/...cron&cronid=21
Referrer : http://www.turkonline.tv/v6/admincp/....php?do=modify
IP Address : *******
Username : lapsetur
Classname : vb_database

sabret00the 11-09-2005 09:07 AM

nice one, i can fix it :)

Lapsetur 11-09-2005 09:13 AM

I am just waiting for you here :lol:

Lapsetur 11-09-2005 10:44 AM

We have some un-activeted users who has posts to inform or to ask new activations codes. Can this be the problem.

Quote:

vb3_user.posts = 0;

Flow Fusion 11-09-2005 11:25 AM

Great hack. Thanks.

Lapsetur 11-12-2005 05:44 AM

Quote:

Originally Posted by sabret00the
nice one, i can fix it :)

Any improvement ?

ikastara 11-12-2005 12:37 PM

Quote:

Originally Posted by sabret00the
i'm gonna need the error number.


exact same arror as Lapsetur
any improvements ?

Paul M 11-12-2005 12:43 PM

There are table prefixes in the WHERE clause (which shouldn't be there).

In the manageActivation.php file

This line ;

PHP Code:

WHERE " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.posts 

Should be this ;

PHP Code:

WHERE user.usergroupid AND user.posts 

:)

Lapsetur 11-12-2005 01:42 PM

Quote:

Originally Posted by Paul M
There are table prefixes in the WHERE clause (which shouldn't be there).

In the manageActivation.php file

This line ;

PHP Code:

WHERE " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.posts 

Should be this ;

PHP Code:

WHERE user.usergroupid AND user.posts 

:)


WoooW It's working now. Tanx alot.


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