Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User's Forum status Details »»
User's Forum status
Version: 1.00, by napukjon napukjon is offline
Developer Last Online: Sep 2011 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.8 Rating:
Released: 07-27-2007 Last Update: Never Installs: 13
Template Edits
 
No support by the author.

This mod allows you to add a profile field where users can state whether or not they are on the board and available. This is then added to the postbit(_legacy) so people can see when posting whether or not they will be getting a reply from the person soon etc.

Instructions
1. Go to your ACP > User Profile Field > Add New Profile Field
2. Use either Single Selection Menu/Radio Buttons
3. Then enter the following information into the fields (Feel free to change them to your own - This is just what i have put in)

Title: Forum Status
Description: Are you available at the moment?
Options: -
Available
On Holiday
Prolonged Absence
Message me, ill get back to you when i can.

4. Click Submit.
5. Add another profile field with the following information (Again feel free to change)

Title - Absence Message
Description - If you are on holiday or Absent for prolonged period, and would like to leave a message (Maybe when you are returning etc, please leave it here)
Max Length of allowed user input - 500 (Make it more if you so wish, i think this should be sufficient though.)
And the rest should be fine as they are.

6. Take a note of the 2 fields numbers you have just created. Your going to need this for the template edit.

Now for the template edits...

1. Go to Style & Templates > Style Manager > Select the Style(s) you want to edit > Find "edit templates" in the drop down list > Postbit(_Legacy)

Find:
Code:
				<div>
					$vbphrase[posts]: $post[posts]
				</div>
After add:
Code:
				<div>
					Forum Status: $post[fieldxx]
				</div>
Field xx is the number of the custom field which relates to the forum status.

That should be that, and it should be fixed up. Any problems let me know and ill see what i can do to help. But it would be nice for others to help each other if there are any problems

Show Your Support

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

Comments
  #2  
Old 07-30-2007, 02:52 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In its small, this can be a good idea.
Installed.
Reply With Quote
  #3  
Old 07-30-2007, 03:48 PM
rayphua rayphua is offline
 
Join Date: Jul 2007
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be more interesting if users are able to set their status in ajax at a location that's more accessible than going into control panel. thanks.
Reply With Quote
  #4  
Old 08-05-2007, 12:01 AM
LjubavnaZona LjubavnaZona is offline
 
Join Date: Feb 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahmm I have a little problem with this. In the User Profile Field: Absence Message that I created I am unable to leave the Option blank. I have to enter something because it's telling me that I have to put something in it. And I tried to just put "Leave a message" but than I dont get any box to write in for my long absence ... I am not sure what I am doing wrong, I followed all of the instructions... other than that looks great.
Thank you!
Reply With Quote
  #5  
Old 08-05-2007, 12:02 AM
LjubavnaZona LjubavnaZona is offline
 
Join Date: Feb 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never mind I found the problem Duh!!
Reply With Quote
  #6  
Old 08-05-2007, 12:41 AM
cbiweb cbiweb is offline
 
Join Date: May 2004
Location: Nova Scotia, Canada
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good mod, but how does it get around the cookie timeout problem? For instance, if the timeout is set to 15 minutes, it's quite possible the member is not actually in the forums anymore, even though his status says he is, due to the timeout period.
Reply With Quote
  #7  
Old 08-31-2007, 03:08 AM
Wheezy's Avatar
Wheezy Wheezy is offline
 
Join Date: Jun 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! Installed.
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 09:53 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.04140 seconds
  • Memory Usage 2,256KB
  • Queries Executed 20 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete