Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #62  
Old 12-31-2004, 02:53 PM
pagekeeper pagekeeper is offline
 
Join Date: Sep 2003
Location: London, UK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just curious havent you repeated the following twice ?

HTML Code:
==========================================================
[FIND]-->
		homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',

[REPLACE WITH]-->
		homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "',
		awaystatus = $xawaystatus,
		awaymessage = '" . addslashes(htmlspecialchars_uni($xawaymessage)) . "',
		awaysince = $xawaydate,
==========================================================
Reply With Quote
  #63  
Old 12-31-2004, 09:01 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, this is bizarre. Wonder if anyone can help.
Installed without a problem. HOWEVER, if you are logged in, you cannot go and view your own member profile. (You can see other's without difficulty, and, they can see you. But you get a blank white page when you go to member's list and try to view yourself).

Any ideas????

rich
Reply With Quote
  #64  
Old 01-05-2005, 03:34 PM
Crank Crank is offline
 
Join Date: Jan 2004
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bison
It would be nice to see all of this in a text file ...
ya any chance of an updated version coming i would love to install this.
Reply With Quote
  #65  
Old 01-05-2005, 04:39 PM
docvader's Avatar
docvader docvader is offline
 
Join Date: Dec 2002
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crank
ya any chance of an updated version coming i would love to install this.
OK, problem was a mis installation of the VBChat, that wiped out my member profile thing, not this hack. This hack works great. Sorry for the confusion.
Reply With Quote
  #66  
Old 01-30-2005, 02:43 AM
pagekeeper pagekeeper is offline
 
Join Date: Sep 2003
Location: London, UK
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im trying to add this on vb 3.0.6 i had it before i upgraded so i reinstalled it, but when i test it, the away fields dont save ..... do you know whats causing it ?
Reply With Quote
  #67  
Old 02-16-2005, 03:33 AM
wb-legends wb-legends is offline
 
Join Date: Feb 2005
Location: California
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alrighty...I followed all the instructions (and then went back and added in the second homepage = '" . addslashes(htmlspecialchars_uni($homepage)) . "', that's in there a second time as well as change my " $show['extrainfo'] = true;" thing with the different combos since it shows up twice in my file..and its still not showing up. Can anyone tell me what might be the problem?
Reply With Quote
  #68  
Old 03-09-2005, 11:04 AM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to install this hack. Currently I am using vb 3.06 and will upgrade to vb3.07 this weekend. Does this hack work in vb3.07?
Reply With Quote
  #69  
Old 03-16-2005, 10:37 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I?d really like to install this hack but I guess I?m missing something and haven?t been able to figure this out yet. I execute the query as instructed:



ALTER TABLE `user` ADD `awaystatus` INT( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,

ADD `awaymessage` VARCHAR( 200 ) NOT NULL ,

ADD `awaysince` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL



But I keep getting the same message:



An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'forum.user' doesn't exist




Okay, so somebody told me that is because the file does not exist and I have to added the location just before user like; forum_user. Tried that and no luck so I search for the user.php file, which I assume is the right file and I have two. One in admin and one in admincp. I tried the query adding both and different error but still an error.



I don?t want to keep asking these silly questions so there has to be someplace I can learn about running a query in vb3.07. Can somebody assist me please?
Reply With Quote
  #70  
Old 03-17-2005, 03:20 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[sql]ALTER TABLE `user` ADD `awaystatus` INT( 1 ) UNSIGNED DEFAULT '0' NOT NULL ,

ADD `awaymessage` VARCHAR( 200 ) NOT NULL ,

ADD `awaysince` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL
[/sql]
You are not editing files, but a table in your database. You are probably using a table prefix, thus the table named 'user' will be named something like 'prefix_user'.

To find your table prefix look in the bottom of your includes/config.php file.

For more information on how to run a query, click the link "How to run a query" above the sql-statement in my post.
Reply With Quote
  #71  
Old 03-17-2005, 01:07 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for the help MarcoH64 and I will do as you suggest. By the way, the link is good, but the information is out of date when following those instructions and maybe they need updating from years back since the site linked is no longer what is described in the instructions and for someone like me, who hasn't a clue about this information it is rather confusing.
Reply With Quote
Reply


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 02:27 PM.


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.09801 seconds
  • Memory Usage 2,308KB
  • 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_html
  • (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
  • (4)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