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)
-   -   SR Away/Status Hack 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=113626)

Gio~Logist 04-20-2006 10:00 PM

SR Away/Status Hack 1.0.0
 

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

https://vborg.vbsupport.ru/external/2006/07/12.gif

Gio~Logist 04-20-2006 11:42 PM

Here are some screenshots

Roxie 04-21-2006 12:11 AM

Looks good. *installs*

Roxie 04-21-2006 12:24 AM

Question...why does it appear in the postbit as a link?

Gio~Logist 04-21-2006 12:27 AM

Quote:

Originally Posted by Roxie
Question...why does it appear in the postbit as a link?

Hover over it and you'll see :p Take a look at the screenshot.

Roxie 04-21-2006 12:29 AM

Okey..it's the message. Got it.

2 things (nothing major). Can't use ( ' ) when adding new statuses to the menu and the menu of statuses is blank on a vbadvanced page. I think this would be awesome if the users could just add their on custom status.

Nonetheless, great hack!!

Stop 04-21-2006 12:33 AM

I'll try it.

Gio~Logist 04-21-2006 12:33 AM

Quote:

Originally Posted by Roxie
Okey..it's the message. Got it.

2 things (nothing major). Can't use ( ' ) when adding new statuses to the menu and the menu of statuses is blank on a vbadvanced page. I think this would be awesome if the users could just add their on custom status.

Nonetheless, great hack!!

I was able to use 't"'e's't'''' just fine. What are you trying to use? As for the users having their own statuses, that can be done by changing the drop down to another input. I made it like that just so that you can have some control. And the vbadanced page, options can't be called there at all for some reason. Vbadavanced uses the global.php file in a weird way. I will look into making it compatible with vba.

Roxie 04-21-2006 12:42 AM

One of my options was Please Don't Bother Me. When I selected it, I got a database error:

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 't Bother Me',

I just changed it to Please Dont Bother Me.

Gio~Logist 04-21-2006 12:51 AM

I see the problem for that Roxie :p

Forgot to add
Code:

        $message = $vbulletin->db->escape_string($message);       
        $status = $vbulletin->db->escape_string($status);

Anyways, i updated the zip. Just add that code under
Code:

        $status= $vbulletin->GPC['status'];
        $message= $vbulletin->GPC['message'];

In the "Save Away/Status Message" Plugin if you already installed it.


All times are GMT. The time now is 12: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.01118 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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