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

Reply
 
Thread Tools
Simple Status Mod v1.0 Details »»
Simple Status Mod v1.0
Version: 1.00, by javolin14 javolin14 is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 01-23-2009 Last Update: Never Installs: 6
Template Edits
Re-useable Code Translations  
No support by the author.

This is a simple status mod that does not require very much modifying knowledge.
*I know there are other mods that do this, but I have had issues with setting them up so I setup a small status mod for us "not too knowledgeable" people.

Details:
Allows users to edit their current status of what they're doing at the moment.

How to use:
Simply go to your profile edit and update your "Current Status" field and click Save.
*Also you can click the "Update" button in any of your posts which will take you to the edit of your current status.

Installation instructions:

1. Admin CP> User Profile Fields> Add user profile field type single line text: Current Status
to make it clearer for users to pick out input following into TITLE field
Code:
<font color="#000000" size="3"><b>Current Status</b></font>
2. Set field display order to "0" (zero)
3. Admin CP> Styles & Templates> Style Manager> Edit templates of your style
Edit POSTBIT Search for in postbit:
Code:
<if condition="$post['usertitle']">
Above paste:
Code:
<!------//BEGIN STATUS------>
<!------//BEGIN STATUS------>
<!------//BEGIN STATUS------>
	<if condition="$post['field22']">
<div class=smallfont>
   $userinfo[username] is $post[field22]
      [<a href="profile.php?do=editprofile">Update</a>]

<else />
has not yet set status   [<a href="profile.php?do=editprofile">Update</a>]
</div>
</if>

<!------///END STATUS------->
<!------///END STATUS------->
<!------///END STATUS------->
4. Save.


If you have any questions I can support this.
If you have any suggestions on how to improve please by all means give your opinion.

Show Your Support

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

Comments
  #2  
Old 01-23-2009, 11:27 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shame it uses profile fields but great work
________
Cheapest vaporizer
Reply With Quote
  #3  
Old 01-23-2009, 11:30 PM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I noticed though that if the user goes to the profile you have the option to "inline" edit a profile field. I'm trying to figure out how to take that inline edit ability and incorporate it into postbit so far I've tried a bunch and can't seem to figure it out, but when I do i'll update this mod.
Reply With Quote
  #4  
Old 01-23-2009, 11:44 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. The other mod was a right mess on to get working for me. I only had it working once for a short while and then it just stopped working suddenly.
________
CREAMPIE FEST
Reply With Quote
  #5  
Old 01-24-2009, 01:54 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this has potential, but it would be good if this displays it in many areas like profile, navbar, postbit, and anywhere else good.

It would also be good if there were usergroup options with which usergroups could use it.
Reply With Quote
  #6  
Old 01-24-2009, 05:39 AM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not bad ideas, Pretty much the code can be called from using the $post[field22] vb command. Just need to search navbar in breadcrumbs and then the MAINPROFILE and add it.
Reply With Quote
  #7  
Old 01-24-2009, 08:06 AM
Kiros72 Kiros72 is offline
 
Join Date: Apr 2006
Location: Albany, LA - USA
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't taken a look at the postbit template in a long while, but I just saw this and I've gotta wonder if it's really correct. I'm sure that it works properly, but should it really be this?

PHP Code:
<if condition="$post['field22']">
<
div class=smallfont>
   
$userinfo[usernameis $post[field22]
      [<
a href="profile.php?do=editprofile">Update</a>]

<else />
has not yet set status   [<a href="profile.php?do=editprofile">Update</a>]
</
div>
</if> 

I was thinking that it might work better like this:

PHP Code:
<div class="smallfont">
<if 
condition="$post['fieldx']">
    
is $post[fieldx
<else />
    
has not yet set status 
</if>
[<
a href="profile.php?do=editprofile">Update</a>]
</
div
(... where 'fieldx' is the correct field, like 'field22')

I haven't tested this, but I think it's correct.
Reply With Quote
  #8  
Old 01-24-2009, 01:00 PM
sinucello sinucello is offline
 
Join Date: Apr 2006
Location: dutch-german border
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

would be cool if this mod could use the Twitter API:
http://apiwiki.twitter.com/
to receive the vB status from a Twitter account.

Facebook, Skype, Xing everybody does it.

all the best,
Sacha
Reply With Quote
  #9  
Old 01-24-2009, 01:32 PM
tiekie tiekie is offline
 
Join Date: Sep 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool dude
Reply With Quote
  #10  
Old 01-24-2009, 02:50 PM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kiros72 View Post
I haven't taken a look at the postbit template in a long while, but I just saw this and I've gotta wonder if it's really correct. I'm sure that it works properly, but should it really be this?

PHP Code:
<if condition="$post['field22']">
<
div class=smallfont>
   
$userinfo[usernameis $post[field22]
      [<
a href="profile.php?do=editprofile">Update</a>]

<else />
has not yet set status   [<a href="profile.php?do=editprofile">Update</a>]
</
div>
</if> 

I was thinking that it might work better like this:

PHP Code:
<div class="smallfont">
<if 
condition="$post['fieldx']">
    
is $post[fieldx
<else />
    
has not yet set status 
</if>
[<
a href="profile.php?do=editprofile">Update</a>]
</
div
(... where 'fieldx' is the correct field, like 'field22')

I haven't tested this, but I think it's correct.
Pretty much works the same, i've moved the coding around like you had it, and it doesn't change anything other than the "div class=smallfont" it doesn't work before the <if so either way works. And yes the "field22" will change it would be for anyone else "fieldx" where x is the field # I guess I assumed everyone would understand. But thanks!
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 11:05 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.04608 seconds
  • Memory Usage 2,323KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (4)bbcode_php
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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