Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
[AJAX] - User Status v1.2 Details »»
[AJAX] - User Status v1.2
Version: 1.20, by luffy luffy is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 07-08-2008 Last Update: 07-10-2008 Installs: 39
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

For the detail view the screen

INSTALLTION
  • Step 1: Upload file "vbulletin_ajax_status.js" to folder "clientscript"
  • Step 2: Upload file "userstatus.php" to your forum folder
  • Step 3: Import the XML product file
  • Step 4: Go to ACP -> Styles & Templates -> Style Manager -> Edit Templates -> Edit The Template:

- In "postbit":
-- FIND:

HTML Code:
<div>
	$vbphrase[posts]: $post[posts]
</div>

-- ADD BELOW:
HTML Code:
<div>
$vbphrase[userstatus]: $post[userstatus]
</div>




- In "navbar":
-- FIND:

HTML Code:
<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
		</div>


-- ADD BELOW:
HTML Code:
<if condition="THIS_SCRIPT!='forumdisplay'">
<div class="smallfont" id="userstatus_$bbuserinfo[userid]">$vbphrase[my_status]: <a name ="userstatus" id="status_title_$bbuserinfo[userid]">$current_status</a></div>
</if>




-- FIND:
HTML Code:
<!-- / PAGENAV POPUP -->
</if>


-- ADD BELOW:

Code:
<script type="text/javascript" src="clientscript/vbulletin_ajax_status.js"></script>
	<script type="text/javascript">
	<!--
	var vB_AJAX_Userid = $bbuserinfo[userid];
	vB_AJAX_Status_Init('userstatus_$bbuserinfo[userid]');
	var stitlemaxchars = parseInt("40");

	//-->
</script>
UPDATE 07.11.2008:
  • Adding userstatus.php
  • Fixed all Bug

All done. Enjoy it

Show Your Support

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

Comments
  #2  
Old 07-09-2008, 02:46 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds great! Is there a way we can do this without manual template edits (using template hook system)?
Reply With Quote
  #3  
Old 07-09-2008, 02:49 PM
luffy's Avatar
luffy luffy is offline
 
Join Date: Dec 2006
Location: Alger
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello, yes I believe

I promised you that for the next version
Reply With Quote
  #4  
Old 07-09-2008, 03:05 PM
jlew24asu jlew24asu is offline
 
Join Date: Nov 2006
Location: Chicago, IL USA
Posts: 702
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed but doesnt seem to be working correctly. I change my status by double clicking status (correct?) that changes status to whatever I type but when I go to a forum or click around, the status changes to default (no status)
Reply With Quote
  #5  
Old 07-09-2008, 04:40 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would love these kind of hacks if the staus was displayed in other places too, instead of only postbit.
Examples of other places:
  • WOL
  • Forumhome little WOL
  • Friends tab in profile
  • Member list
  • memberinfo
  • memberinfo_tiny
  • memberinfo_small
  • etc
Reply With Quote
  #6  
Old 07-09-2008, 05:24 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, doesn't work; getting an error related to the YAHOO object. Does this hack require a version of YUI? If so, I don't see it included with the ZIP or mentioned anywhere.
Reply With Quote
  #7  
Old 07-09-2008, 05:42 PM
SHANE-D-PAIN's Avatar
SHANE-D-PAIN SHANE-D-PAIN is offline
 
Join Date: Sep 2003
Location: Sheffield, Uk
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michelle View Post
I would love these kind of hacks if the staus was displayed in other places too, instead of only postbit.
Examples of other places:
  • WOL
  • Forumhome little WOL
  • Friends tab in profile
  • Member list
  • memberinfo
  • memberinfo_tiny
  • memberinfo_small
  • etc
Agreed. If we could have one Phrase to call for wherever or something, that'd be cool.
I like that this is editable from the NavBar too. Perfect.
Reply With Quote
  #8  
Old 07-09-2008, 06:12 PM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SHANE-D-PAIN View Post
Agreed. If we could have one Phrase to call for wherever or something, that'd be cool.
I like that this is editable from the NavBar too. Perfect.
Its not hard to make vbstatus editable from the navbar. I did it the other day in a matter of a few minutes.
Reply With Quote
  #9  
Old 07-09-2008, 06:13 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Agree for the other Locations. Will install if there was a Version without Templateedits.
Reply With Quote
  #10  
Old 07-09-2008, 06:32 PM
Q-v-n-s-Q Q-v-n-s-Q is offline
 
Join Date: Mar 2005
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice work, testing out
Reply With Quote
Reply

Thread Tools

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 01:58 AM.


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.04548 seconds
  • Memory Usage 2,296KB
  • 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
  • (1)bbcode_code
  • (5)bbcode_html
  • (2)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
  • (2)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