Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
SR Away/Status Hack 1.0.0 Details »»
SR Away/Status Hack 1.0.0
Version: 1.00, by Gio~Logist Gio~Logist is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-20-2006 Last Update: Never Installs: 63
 
No support by the author.


Brought to you by:
DopeGFX
-----------------------------------------------------------------
LOGOS | WEBSITES | SKINS | HTML | PHP(Limited) | AND MUCH MUCH MORE!
-----------------------------------------------------------------
In Conjunction With
SiteResort


**Copyright**
This script cannot be redistributed, reproduced, or published in any way unless given permission my the author (me). Modifying this script and sharing your modification elsewhere without the author's knowledge is not allowed as well.

**Before Making An Add on **
Please consult with me before making an add on to this hack. As it is my work and such, the add ons that you are trying to make for it may be in the next release.

What does this do?
This hack allows your members to have an away/status message. This message can be edited at any time on any page and is displayed
in posts, and in member profiles.


What features does this hack provide?
  • Users can have away/status message
  • Easily edited via the navbar, while viewing any page
  • Away/Status Message Appears In Profile
  • Away/Status Message Appears In Postbit
  • List status options
  • Turn system on and off
What does this hack require?
Template Edits: 4
Products Imported: 1

[high]4 Easy Steps[/high]
Step 1. Import the following product: product-sr_away.xml
Step 2. Do the edits located below
Step 3. Update newly added options
Step 4. Enjoy the hack.

Don't forget to click INSTALL

[high]As always, feel free to make a donation to:[/high]
gio@dopegfx.com

Show Your Support

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

Comments
  #52  
Old 04-21-2006, 06:36 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kall
Is there a 'Maximum Length of Input' setting?

Or, how do you get around people who might type some horrendously long entry?

*edit* Ahh, I see a post on this page... any reason why that is not in the vbulletin options for the hack?
I believe that the limit for the status is about 200 characters, and the limit for the message is about 250 (in the database, this is hot much can be stored).
Reply With Quote
  #53  
Old 04-21-2006, 06:42 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by apdcanari
It's possible to show in "whosonlinebit" ?
Not at the moment, as it would need to be added to the query, which would require another plugin or perhaps code modification.


Also, don't forget to click install!
Reply With Quote
  #54  
Old 04-21-2006, 06:43 PM
criscokid criscokid is offline
 
Join Date: Nov 2003
Location: London, UK
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be cool if their status showed up on the "who's online" page.
Reply With Quote
  #55  
Old 04-21-2006, 06:53 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by criscokid
It would be cool if their status showed up on the "who's online" page.
Try editing online.php and changing:
Code:
$allusers = $db->query_read("
	SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.skype,
To this:
Code:
$allusers = $db->query_read("
	SELECT user.username, session.useragent, session.location, session.lastactivity, user.userid, user.options, session.host, session.badlocation, session.incalendar, user.aim, user.icq, user.msn, user.yahoo, user.skype, user.sr_away_status, user.sr_away_message,
Then chang the whosonlinebit template

Add:
Code:
	<if condition="$vboptions[sr_away_onoff]">
		<div>
			$vbphrase[sr_away_status]: <a href="#" title="$userinfo[sr_away_message]">$userinfo[sr_away_status]</a>
		</div>
	</if>
After:
Code:
$userinfo[musername]
Reply With Quote
  #56  
Old 04-21-2006, 07:26 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone tell me how many queries does this adds?
Reply With Quote
  #57  
Old 04-21-2006, 07:38 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji
Can someone tell me how many queries does this adds?
None.
Reply With Quote
  #58  
Old 04-21-2006, 07:38 PM
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Posts: 2,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mike-D
Gee, that's a nice hack. Exactly what we can need in our forum. Thank you for this great hack, Giovanni
BTW: May I translate your hack in German ? -Mike

MikeD clicked Install
I belive someone already did this.
http://www.vbhacks-germany.com/forum...ead.php?t=3814
Reply With Quote
  #59  
Old 04-21-2006, 07:40 PM
PabloAM PabloAM is offline
 
Join Date: Jan 2006
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
The ability for users to enter their own status is just a matter of you changing the drop down to something like
Code:
<input type="text" size="45" maxlength="MAXIMUM LIMIT HERE" name="status">
As for the vbadvanced, like i said, it will be looked into. However, it's hard to make something hoping that it will be compatible with all hacks on your site till you figure out why it won't be compatible with the hack in the first place. Global.php is called in all files and that's where the plugin is. Therefore, i do not see why this problem occurs. However, it will be looked into.

If you are having a problem searching for $vbphrase[posts]: $post[posts] <br> then just search for $vbphrase[posts]: $post[posts] and place it after the next <br> or </div>

If your users are getting logged off after filling this out, it may be a problem with your misc.php or cookie settings.
OKI, When you know like fixing the problem. please reporte me.

Sorry by my english
Reply With Quote
  #60  
Old 04-21-2006, 10:27 PM
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Posts: 763
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll ask this again:

if a user selected a status then the admin decided to change the name of the status, it still shows the old name. How can one update this?
Reply With Quote
  #61  
Old 04-21-2006, 10:55 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gio~logist
None.
thanks
Reply With Quote
 


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 04:39 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.07421 seconds
  • Memory Usage 2,309KB
  • 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
  • (5)bbcode_code
  • (7)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