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
[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
  #22  
Old 07-12-2008, 08:05 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please add usergroup permissions, so that only usergroups with permission can set their status.
Reply With Quote
  #23  
Old 07-12-2008, 09:00 AM
luffy's Avatar
luffy luffy is offline
 
Join Date: Dec 2006
Location: Alger
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok my friend I note for the next version
Reply With Quote
  #24  
Old 07-12-2008, 03:05 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!
Reply With Quote
  #25  
Old 07-12-2008, 10:21 PM
ahmedeldeep's Avatar
ahmedeldeep ahmedeldeep is offline
 
Join Date: Jun 2007
Location: Egypt
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlew24asu View Post
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)
same problem
Reply With Quote
  #26  
Old 07-12-2008, 10:22 PM
ahmedeldeep's Avatar
ahmedeldeep ahmedeldeep is offline
 
Join Date: Jun 2007
Location: Egypt
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled. doesnt work
Reply With Quote
  #27  
Old 07-12-2008, 10:35 PM
ahmedeldeep's Avatar
ahmedeldeep ahmedeldeep is offline
 
Join Date: Jun 2007
Location: Egypt
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is working in navbar bar only but in the postbit always no status
Reply With Quote
  #28  
Old 07-12-2008, 11:58 PM
ahmedeldeep's Avatar
ahmedeldeep ahmedeldeep is offline
 
Join Date: Jun 2007
Location: Egypt
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem after updating for second time

Quote:
it is working in navbar bar only but in the postbit always no status
Reply With Quote
  #29  
Old 07-25-2008, 09:40 AM
ErrorLog ErrorLog is offline
 
Join Date: Jul 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

İnstalled !!!

Worked mod =} Thank You ..
Reply With Quote
  #30  
Old 07-25-2008, 01:33 PM
Ionsurge's Avatar
Ionsurge Ionsurge is offline
 
Join Date: Jan 2003
Location: United Kingdom
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried installing, it shows on the navbar, but not on the postbit.

www.virtueguild.com - sample there.
Reply With Quote
  #31  
Old 08-01-2008, 06:48 PM
AnabolicResourc AnabolicResourc is offline
 
Join Date: Jan 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It didn't work for me neither, so i changed a part and now it's working great.

I changed this line:
HTML Code:
<if condition="THIS_SCRIPT!='forumdisplay'">
to:
HTML Code:
<if condition="THIS_SCRIPT=='index'">
Now it only works on the index page, and that's the page where it does work.
On other pages it showed up under the PM box but i couldn't change the status.
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:09 PM.


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.04871 seconds
  • Memory Usage 2,312KB
  • 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_code
  • (7)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
  • (3)pagenav_pagelink
  • (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