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

Reply
 
Thread Tools
Details »»

Version: , by bira bira is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-09-2001 Last Update: Never Installs: 109
 
No support by the author.

Hi,

This is something that is common in IRC - /me is away

In BBs, a user is either online or offline (or invisible).

But, on my Bulletin Board, the folks created such a community that every time someone goes on a holiday or goes offline for a while, he/she posts a new thread to annouce they're 'away.

So, I wrote a hack allowing a user to change his/her status to "away", including a return date and an away reason which will show up in their profile.

Likewise, the online/offline icon in postbit and buddy list will change to an away icon (a very faded version of the 'offline' one).

Some demo captures:

The Edit Profile screen, when a user is NOT away:



The Edit Profile screen when a user IS away:



The Get Info (User Profile) screen when a user IS away:



The Get Info (User Profile) screen when a user is NOT away:



The postbit icon when a user is away:




How to install:

Download the attached zip file. Upload away.gif to your images dir (or create your own away.gif).

Upload install_awayuser.php to your admin dir and follow the instructions.

Cheers,

Bira

newest version by sho here:
https://vborg.vbsupport.ru/showthrea...606#post287606

Show Your Support

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

Comments
  #112  
Old 12-15-2001, 04:54 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

np, as long as you got it working
Reply With Quote
  #113  
Old 12-15-2001, 05:13 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by bira


Who do you think you're punishing here?

For all I care, don't install a single hack. It's your bulletin board, not mine. I'm not even a user of your BB. I don't care what you do there.

I write hacks for my own Bulletin Board and I release them here for the sake of those who may have equal interest in them.

I do my best to provide a very clear and accurate installer.

Including line numbers will be supremely inaccurate and hazzardeous -- most people follow instructions to a T so if I tell them "find code X on line 100", they'll just jump to line 100 and if they don't find it there, they'll either come here complaining or simply overwrite whatever is in line 100.

If you are too inadequate to do a search on specific code as provided in the instructions, not even a line number will help you.

In any event, as I said, it's a free world. Do whatever you want, but don't think you're sanctioning me or any other hacker by making such ultimatums.
Reply With Quote
  #114  
Old 12-16-2001, 10:12 AM
Crinos's Avatar
Crinos Crinos is offline
 
Join Date: Oct 2001
Location: Los Angeles, CA
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no problem with the way bira gives instructions for her hacks ... imho line numbers just make it more confusing if you already have several hacks installed in the same file (hence making them irrelevant) ... I usually ignore instructions that say "look at around lines 157 to 169" because more often than not the code to be changed is not there .... it "may" help you find tha range, but isn't it much faster to just do a Ctrl-F instead of dragging your scroll bar and "hunting" for it?

Line numbers won't be a problem if you're installing on a vanilla vbulletin board ...

Quote:
I just will not install no more hacks that don't display line numbers.
Yeah, that sounded a bit demanding ... but frankly, who cares if someone doesn't install it for just that reason If someone has been hacking lots of forums for a long time, something as trivial as line numbers won't matter
Reply With Quote
  #115  
Old 12-16-2001, 04:45 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

CRINOS,

"The hack is nice but my files are just to hacked up to install anymore without the hack installations that include line numbers. The installer doesn't show line numbers. No more installer hacks. Maybe someone could add line numbering to the installer proggie.

The hack is very nice though Bira. "

That is what I said.

Where did I once say anything about Bira's instructions not being fine? I didn't . Not once did I demand anything in this statement and if you want to read something more into what I wrote then fine. I merely wrote that my files are quite hacked up and that I wouldn't install no more hacks that didn't have line numbering. This statement is in regards to hacked up files and in no way should have been taken like it has. For crying out loud I said the hack was very nice. This must mean I like it. nO? And if I like it I must have it installed no????. Why didn't you read that into it?

Now if you can get something demanding out of this you most definitely are not reading what I wrote. Case closed.
Reply With Quote
  #116  
Old 12-16-2001, 04:52 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hooper, maybe you should have started a thread about it in the General Discussions forum?

I'll just say once again that your request is contradictory by nature. If your files are thoroughly hacked, then the line number will 100% be wrong.

You are also ignoring the fact that MY files are thoroughly hacked, in which case the line number I would give out would be wrong to start with.

Anyhow, I think that as a GENERAL suggestion to all hackers - if this isn't aimed at me personally - you should take this topic to the General Discussions forum, rather than debate it within a thread dedicated to a different topic, namely A specific hack.
Reply With Quote
  #117  
Old 12-16-2001, 04:59 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by KuraFire
Hooper, you're awfully demanding and picky, ya know that?


Line numbers are not at all useful with hacks. Hacks that say "find **example line** and ADD ABOVE that **hacked code line**" and the like are much better in this aspect, for no matter what line this will be at, you can simply find it and add to it the necessary changes.

Also, when a new version of vbulletin is released which adds about 60-80 lines above this line, the line numbers would be WAY off, but if you just search for the strings it doesn't matter.
Reply With Quote
  #118  
Old 12-16-2001, 05:05 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by JJR512


The "find and replace" method isn't perfect, either, because sometimes there is more than one occurance of the same line in one file.
Reply With Quote
  #119  
Old 12-16-2001, 05:16 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by bira
Hooper, maybe you should have started a thread about it in the General Discussions forum?

I'll just say once again that your request is contradictory by nature. If your files are thoroughly hacked, then the line number will 100% be wrong.

You are also ignoring the fact that MY files are thoroughly hacked, in which case the line number I would give out would be wrong to start with.

Anyhow, I think that as a GENERAL suggestion to all hackers - if this isn't aimed at me personally - you should take this topic to the General Discussions forum, rather than debate it within a thread dedicated to a different topic, namely A specific hack.
Reply With Quote
  #120  
Old 12-16-2001, 05:17 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by JJR512

But line numbers are good to include in case the code you're looking for has already been changed by another hack. So you will never find the code by searching for it. But if you have a line number, you can at least go to that line and look for something similar to the code you're supposed to find, and adapt the new hack as necessary.

I don't think this argument is one that can be clearly won one way or the other. It seems the best solution is to include both the line numbers and the search-for code.
Reply With Quote
  #121  
Old 12-17-2001, 07:10 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Hooper
I have found that at times code isn't there at all when you go to do a search for it. It had been modified by another hack.
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 08:09 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.05114 seconds
  • Memory Usage 2,315KB
  • 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_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
  • (2)pagenav_pagelinkrel
  • (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