vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Away message for users (https://vborg.vbsupport.ru/showthread.php?t=33099)

bira 12-12-2001 11:30 AM

squawell - what error do you get? Paste it here

Evil_Incarnate - you have a comma missing after FROM_UNIXTIME(awaydate) AS awaydate

It should be:

FROM_UNIXTIME(awaydate) AS awaydate[high],[/high]
avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar

Evil_Incarnate 12-12-2001 12:25 PM

thankya bira, and great hack btw
works a treat now...

bira 12-12-2001 12:29 PM

Glad it works. Thanks :)

squawell 12-12-2001 12:31 PM

this is my error
=====================================
Database error in vBulletin Control Panel 2.2.1:

Invalid SQL: UPDATE user SET away=0,awaydate=,returndate='0000-00-00',awayreason='',birthday='0000-00-00',options='15',usergroupid='2',username='789',em ail='plumgreen75@hotmail.com',styleid='1',parentem ail='',coppauser=0,homepage='http://www.',icq='',aim='',yahoo='',signature='',adminema il=1,showemail=1,invisible=0,usertitle='<div style=\"width:100%; font-size:8pt; color:white; filter:Glow(color=purple, strength=2)\">???ŷ|??</div>',customtitle=0,joindate=UNIX_TIMESTAMP('2001-11-25 05:03:38'),cookieuser=1,nosessionhash=0,daysprune= '-1',lastvisit=UNIX_TIMESTAMP('2001-12-11 14:25:09'),lastactivity=UNIX_TIMESTAMP('2001-12-11 14:25:09'),lastpost=UNIX_TIMESTAMP('2001-12-11 09:51:15'),posts='2',timezoneoffset='0',emailnotif ication=1,receivepm='1',emailonpm='0',ipaddress='' ,pmpopup=IF(pmpopup=2 AND 0=1,pmpopup,'0') WHERE userid=85
mysql error: You have an error in your SQL syntax near 'returndate='0000-00-00',awayreason='',birthday='0000-00-00',options='15',usergro' at line 1

mysql error number: 1064

=====================================

any idea??and thankz ur help~~

bira 12-12-2001 12:35 PM

squawell, scroll up and look at post #62 ( https://vborg.vbsupport.ru/showthrea...284#post206284 ) for the fix :)

squawell 12-12-2001 01:09 PM

bira~~~thankz!!

now it's work!!

TheComputerGuy 12-12-2001 10:37 PM

I get this
Database error in vBulletin 2.2.0:

Invalid SQL: UPDATE user SET birthday='0',signature='',customtitle='0',usertitl e='Administrator',email='chrisdildy@hotmail.com',p arentemail='',coppauser='0',homepage='',icq='',aim ='',yahoo='',usergroupid='6' WHERE userid='1', ,away='1',awaydate='1008201008',returndate='01-12-13',awayreason='Testing this old thing out :)' WHERE userid='1'
mysql error: You have an error in your SQL syntax near ' ,away='1',awaydate='1008201008',returndate='01-12-13',awayreason='Testing this ' at line 1

mysql error number: 1064

Date: Wednesday 12th of December 2001 06:50:08 PM
Script: http://www.webmafiaforums.com/***/***/member.php
Referer: http://www.webmafiaforums.com/****/m...on=editprofile



when I mark myself away in the admin cp it works great..but the usercp.com or it is the memeber.php that I get this error when I hit submit...

mADmAX` 12-13-2001 04:17 AM

I have installed this hack only to figure out that I am not getting the online and offline tags happening so it will not work under a post. I am running 2.20 and cannot upgrade right now because I will lose alot of work I have into it. Can someone tell me why it wont show online, offline, or away? I have $onlinestatus in the templete and I see ppl talking about turning that on in the vb options but its not there in 2.20 are at least not mine, so what do I do?

Nemesis77 12-13-2001 05:37 AM

I'm having the same problem in 2.2.1 I have the online option turned on in the admin cp in the vbulletin options.

bira 12-13-2001 06:27 AM

The ComputerGuy: you made a complete mess of the UPDATE user query. Check the instructions again and make sure you follow them accurately.

mADmAX & Nemesis77: Go to the Admin Control Panel -> Options -> Forum Home Page Options, and select 'yes' for 'Display logged in users on home page'


All times are GMT. The time now is 02:12 AM.

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.01552 seconds
  • Memory Usage 1,741KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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