Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
User Away Messages Details »»
User Away Messages
Version: 1.00, by Gamingforce Gamingforce is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-15-2004 Last Update: Never Installs: 67
 
No support by the author.

[ Feature Description ]
This hack allows users to easily set themselves as away via the Edit Profile page. An optional away message can be added along with the away status. Away messages are viewable at the top of the user profile (by the avatar/user picture). If a post is made when a user is in away mode, the user is automatically set off away mode.

[ Hack Concept ]
Credits to bira for making the original away message hack for vBulletin 2. This is a complete remake however.

[ Future Plans ]
  • Show away status in postbit. (If you want, you can add this right now by using an xhtml conditional ($bbuserinfo[awaystatus] == 1)).
[ Example ]
http://www.gamingforce.com/forums/member.php?u=852


Enjoy!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 08-02-2005, 05:53 PM
henken henken is offline
 
Join Date: May 2005
Location: Germany
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be used on vB 3.0.8 without any problems too?
Reply With Quote
  #83  
Old 08-18-2005, 03:15 AM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
If a post is made when a user is in away mode, the user is automatically set off away mode.
i installed this hack and it seems good except when i try to post something while being away. it just gives me a db error message.

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE user SET awaystatus = '0',awaymessage = '',awaysince = '0' WHERE userid = '1'
mysql error: Table 'aex4.user' doesn't exist

mysql error number: 1146

Date: Wednesday 17th of August 2005 09:13:52 PM
Script: http://anime-extreme.net/forum/newthread.php
Referer: http://anime-extreme.net/forum/newth...newthread&f=17
Username: Yukino


but when i got to the forum again it DOES post the thread but it doesn't show in thread count. or posts.

help?
Reply With Quote
  #84  
Old 08-18-2005, 03:17 AM
Yukino_AE Yukino_AE is offline
 
Join Date: Jul 2005
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did do the original query with the intructions and added my prefix but is this another query that wasn't listed in teh instructions?
Reply With Quote
  #85  
Old 09-09-2005, 02:52 PM
ReZ ReZ is offline
 
Join Date: Jul 2005
Location: United Kingdom
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with version 3.0.7?
Reply With Quote
  #86  
Old 09-24-2005, 05:50 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed this on vb3.07?? and the only error i got so far is when I did the fuctions_newpost.php i got an error at line 703 when trying to edit or post a reply and new thread.

Also when I try saving my profile, I get this -->> Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE user SET
birthday = '02-03-1975',
birthday_search = '1975-02-03',
usertitle = 'Visiting Mods/Admins',
customtitle = 2,
parentemail = '',
homepage = '',homepage = '',
awaystatus = ,
awaymessage = '',
awaysince = ,homepage = '',
awaystatus = ,
awaymessage = '',
awaysince = ,
icq = '',
aim = '',
yahoo = '',
msn = '',
usergroupid = 6
WHERE userid = 392

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 '
awaymessage = '',
awaysince = ,homepage = '',
a

mysql error number: 1064

Date: Saturday 24th of September 2005 12:46:29 PM
Script: http://www.wanthelp.com/forums/profile.php
Referer: http://www.Wanthelp/forums/profile.php?do=editprofile
Username: Name
IP Address: 00.00.00.00

Any Help!!??
Reply With Quote
  #87  
Old 10-05-2005, 07:53 PM
BoYagoob BoYagoob is offline
 
Join Date: Jan 2005
Location: Doha
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it available for vb 3.5.0 ?
Reply With Quote
  #88  
Old 10-12-2005, 07:08 PM
Startinfresh Startinfresh is offline
 
Join Date: Jan 2005
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Was wondering the same thing BoYagoob
Reply With Quote
  #89  
Old 10-14-2005, 03:44 AM
Scribbller Scribbller is offline
 
Join Date: Nov 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok everything is fine but the hack doesnt work I set my self away go back to edit my profile and see that I am not set away thus nothing shows up when I view my own profile. Any ideas why?

PS. I am using 3.0.9
Reply With Quote
  #90  
Old 10-14-2005, 04:01 AM
Scribbller Scribbller is offline
 
Join Date: Nov 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yukino_AE
i installed this hack and it seems good except when i try to post something while being away. it just gives me a db error message.

Database error in vBulletin 3.0.7:

Invalid SQL: UPDATE user SET awaystatus = '0',awaymessage = '',awaysince = '0' WHERE userid = '1'
mysql error: Table 'aex4.user' doesn't exist

mysql error number: 1146

Date: Wednesday 17th of August 2005 09:13:52 PM
Script: http://anime-extreme.net/forum/newthread.php
Referer: http://anime-extreme.net/forum/newth...newthread&f=17
Username: Yukino


but when i got to the forum again it DOES post the thread but it doesn't show in thread count. or posts.

help?
Any solution to this problem?
Reply With Quote
  #91  
Old 10-14-2005, 04:25 AM
Scribbller Scribbller is offline
 
Join Date: Nov 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I solved both the problems myself first one well I didnt edit the files completely left out an edit. Second one which Yukino_AE posted you need to change a bit of code in functions_newpost.php the edit tells you to do this
Code:
[FIND]-->
		// ### POST NEW POST ###

[REPLACE WITH]-->
		if ($bbuserinfo['awaystatus'] == '1') {
			$DB_site->query("UPDATE user SET awaystatus = '0',awaymessage = '',awaysince = '0' WHERE userid = '$bbuserinfo[userid]'");
		}

		// ### POST NEW POST ###
Problem is with the bit highlighted in red so what I did was repace the word user with the name of the table in database eg my user table is called vb_user so the code should now look like
[REPLACE WITH]-->
if ($bbuserinfo['awaystatus'] == '1') {
$DB_site->query("UPDATE vb_user SET awaystatus = '0',awaymessage = '',awaysince = '0' WHERE userid = '$bbuserinfo[userid]'");
}

// ### POST NEW POST ###[/CODE]
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04381 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete