vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - vBStatus - Facebook Style Status Display (v4) (https://vborg.vbsupport.ru/showthread.php?t=181283)

Denno 02-24-2009 11:06 AM

When I add this code to my template as the readme file tells me to it mess up the whole forum. I add it in the headinclude at the bottom.

I get a msg that reads:
Some error on line 64 the </if> tag and so on. Tells me that the if tag is a closure tag. Is there some tags missing in the code below?

<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div id='mypopup' name='mypopup' style='z-index:1000; position: absolute; background: none; border: none;'></div>
<script type="text/javascript" src="vbstatus/ajax_wrapper.js"></script>

<script type="text/javascript" src="vbstatus/headerjavascript.js"></script>
</if>
<!--END VBSTATUS-->
<!--END VBSTATUS-->
<!--END VBSTATUS-->

Template Edit 2 (postbit OR postbit_legacy) (If your postbit is a verticle column you use postbit_legacy)

Search For: <if condition="$post['usertitle']">

Above This Code Add:

<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

<div class=smallfont>
$post[username]
<em id="vbstatus_$post[postid]">
$post[vbstatus_status]
<if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
<if condition="$vbulletin->options['vbstatus_inline']">
<a href="javascript:Att_AjaxDiv('inline=1&userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php','vbstatus_$post[postid]')">Edit</a>

<else />
<a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">Edit</a>
</if>

</if>
</em>
</div>

</if>
<!--END VB STATUS-->
<!--END VB STATUS-->
<!--END VB STATUS-->

Cobra-J82 02-24-2009 12:09 PM

Quote:

Originally Posted by Denno (Post 1753229)
When I add this code to my template as the readme file tells me to it mess up the ....................

Make sure u add this at the end of headinclude (make sure it is the end)
Code:

<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div id='mypopup' name='mypopup' style='z-index:1000; position: absolute; background: none; border: none;'></div>
<script type="text/javascript" src="vbstatus/ajax_wrapper.js"></script>

<script type="text/javascript" src="vbstatus/headerjavascript.js"></script>
</if>
<!--END VBSTATUS-->
<!--END VBSTATUS-->
<!--END VBSTATUS-->

And regarding the postbit or postbit_legacy, if you dont know which one you are using, just add the code to both of them in your desired place.

Denno 02-24-2009 04:29 PM

Thanks, I got that to work now.

Denno 02-24-2009 05:03 PM

Now the next problem. The edit buttonw wont do anything. And I changed the javacode in the wrapper. Any ideas? Or is it like people say, it only works in the default template and not in others?

gemmk1 02-26-2009 06:54 PM

When i click edit it does not do anything can you tell us why please

zombietom 02-27-2009 10:08 AM

same here --click edit and nothing...bummer wanted to use this

RobbieZ 03-01-2009 01:12 PM

Ok so I seem to have solved the problem to the edit not working when clicked.

javascript:Att_Ajax('userid=4&postid=26888','vbsta tus/vbstatus_ajax.php')

First of all I used this.

https://vborg.vbsupport.ru/showpost....&postcount=391

and overwrote and saved.

Then I cleared my cache or private data (depends what browser your using)

kalliey 03-03-2009 07:32 PM

why öäü not displayed?

How can i fix this?

i have ISO-8859-1 in my language settins in acp and in mysql the same.

soletrader 03-04-2009 03:05 AM

Ive upgraded to v4 but somehow the "is" always remain by default. Anyone know how one can change the status from the "is" word? Thanks

Keyser S?ze 03-05-2009 01:23 PM

looks neat but u should put up a screenshot of this in legacy postbit

well i got a request, and for it needed a pic, so heres a legacy screen if wanted, my request, can we take out the double of the username, like see it says my name Ice, then under says Ice again and what my status is, seems silly

toxin 03-06-2009 11:39 PM

vB 3.8.1 PL1
Installed with no problems :)

Jibba Jabbas 03-07-2009 02:36 PM

Would also like to echo Keyser Soze about the duplicate name.

Thanks for the mod

Wseries 03-09-2009 04:36 PM

Quote:

Originally Posted by Jibba Jabbas (Post 1762524)
Would also like to echo Keyser Soze about the duplicate name.

Remove '$post[username]' from the vBStatus edit you made to your postbit or postbit_legacy template. Just make sure you remove the right one, and only one.

Otherwise, I've clicked install on this one but I've currently got it disabled on my forum until a few tweaks surface. Namely, the ability to clear a status update like you can on Facebook is needed in my opinion. Oh, and I haven't been able to get the in-line editing to work either and the 'edit' link in the pop-up window really should be changed to something else like 'save' to make it more logical for your average user.

mindhunter77 03-12-2009 05:34 PM

Just a heads up for vBSEO users:

You must add the vbstatus folder to your exception list in the vBSEO control panel or this will not work.

TitanJeff 03-14-2009 05:04 PM

I've done many of the suggested tweaks and still can't get the edit to work in Firefox.

Great hack idea if someone with more knowledge than I could get this kinks worked out.

oxblood12 03-15-2009 02:29 AM

thank`s :)

amjadz4 03-15-2009 07:13 PM

suggestions:
1. how about..hitting "enter" key saves the status. right now it saves when we press the eidt key again.
2. also need a "clear" button. to clear the status
3. remove the duplicate name...under the username.

thats all for now. great mod!

pooslokka 03-17-2009 02:06 PM

Marked as installed :)
btw, few suggession from me.

1. insted of user name better display status : keyword before the prefix.
2. should have an option to selet a status message color.

jaredwilli 03-17-2009 09:07 PM

does this work for vbulletin 3.8.x by any chance?

soletrader 03-17-2009 11:29 PM

Has the character limit been added on the latest version? Thanks.

Boosted Panda 03-20-2009 01:41 AM

Quote:

Originally Posted by Cobra-J82 (Post 1751873)
Any Idea how to make the Font None Italic?
Thanks.

remove <em id....>

and </em>

pooslokka 03-22-2009 05:50 AM

conflict with vbexperience :(
when the message with long, vbexperince bar also goes long
https://vborg.vbsupport.ru/

any solutions?

kalliey 04-06-2009 11:57 AM

What can i do that smileys work in this mod?

Allan 04-06-2009 12:54 PM

This hack work with vB 3.8.2 ?

coltz-one 04-09-2009 07:01 PM

I am curious as well, this is a great hack, would love to see an update!!

DieselMinded 04-10-2009 11:06 PM

does this work with 3.8 ?

zefyx 04-11-2009 04:35 AM

Works perfectly fine on 3.8.x. Only one search string has changed.

DieselMinded 04-11-2009 11:40 AM

thanks brother

desi-boy 04-11-2009 12:26 PM

wow gr8 thnxxxxxxxxxxxxxxxxx

pooslokka 04-14-2009 04:31 AM

Quote:

Originally Posted by pooslokka (Post 1773961)
conflict with vbexperience :(
when the message with long, vbexperince bar also goes long
http://img256.imageshack.us/img256/8827/screenshotn.jpg

any solutions?

any solution to my problem :confused:

Lionel 04-16-2009 02:36 AM

Quote:

Originally Posted by Allan (Post 1784993)
This hack work with vB 3.8.2 ?

it works with 3.82. I only seem to have a problem with French accents

edit: found the fix here

rainyleaves 04-19-2009 06:50 PM

Works with NAVBAR------------------

Works good with NAVBAR.
But not working on CMPS.

Anyone who can make working with CMPS?


* NAVBAR template

Find:
Quote:

$vbphrase[last_visited_x_at_y]</phrase>
Below add:
Quote:

<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div class=smallfont>
<span id="vbstatus_$bbuserinfo[userid]">$bbuserinfo[vbstatus_status]
<if condition="$bbuserinfo['userid']==$bbuserinfo['userid'] OR $vbstatus_isadmin==1">
<if condition="$vbulletin->options['vbstatus_inline']">
<a href="javascript:Att_AjaxDiv('inline=1&userid=$bbuserinfo[userid]&postid=$bbuserinfo[userid]','$vboptions[bburl]/vbstatus/vbstatus_ajax.php','vbstatus_$bbuserinfo[userid]')">Edit</a>
<else />
<a href="javascript:Att_Ajax('userid=$bbuserinfo[userid]&postid=$bbuserinfo[userid]','$vboptions[bburl]/vbstatus/vbstatus_ajax.php')">Edit</a>
</if></if>
</span>
</div>
</if>
<!--END VB STATUS-->
* HEADINCLUDE template

Put this code very bottom:
Quote:

<!--BEGIN VBSTATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div id='mypopup' name='mypopup' style='z-index:1000; position: absolute; background: none; border: none;'></div>
<script type="text/javascript" src="$vboptions[bburl]/vbstatus/ajax_wrapper.js"></script>
<script type="text/javascript" src="$vboptions[bburl]/vbstatus/headerjavascript.js"></script>
</if>
<!--END VBSTATUS-->

starli 04-24-2009 10:22 AM

? ? ? ? <- dosn't work :(

Allan 04-24-2009 01:24 PM

Quote:

Originally Posted by Lionel (Post 1792161)
it works with 3.82. I only seem to have a problem with French accents

edit: found the fix here

Merci Lionel ;)

Aeropars 04-29-2009 08:05 PM

Thanks for this.

I have it installed on my Forums however because I use a fixed width forum, when people write a relatively long message it messes up the template. Is there a way to make the text wrap with the template instead of stretching the template?

kersti 05-02-2009 09:44 AM

I've installed and am having a look.

Would like to see the following changes made

A In the settings you have the following

Is vBStatus On/Off?
Turn vBStatus On or Off.

The options are Yes or No, which make absolutely no sense given the question - can you change these to On or Off instead of Yes or No

B I note that a group that is "banned" still has the default status listed, not sure that is appropriate.

C Would like the username removed from the status message as it's appearing under the username anyway so seems to be doubling up. Would make more sense to just have the prefix and status message. I did this myself by removing the line

$post[username]

from the postbit

D would love to have the ability to set the status according to the primary usergroup, would make this infinitely more useful

E on the pop up status edit screen you currently have an input field, a link to click to submit the status edit and a button to cancel, the "edit" link should be replaced with a submit button or an update button, makes more sense for my users.

Thanks for the mod, great idea.

kersti 05-02-2009 09:45 AM

Quote:

Originally Posted by Aeropars (Post 1801358)
Thanks for this.

I have it installed on my Forums however because I use a fixed width forum, when people write a relatively long message it messes up the template. Is there a way to make the text wrap with the template instead of stretching the template?

That's in the settings

code707 05-02-2009 03:06 PM

Hi, I installed this but my problem is, it doesnt 'edit' the status. the link is there but its not doing anything

TonicWater 06-07-2009 11:14 AM

hi i installed the plugin and it works, but i have a question. is it possible to edit the status directley on the startpage in the box where are the "private messages, and welcome message" appears? any chance?

p.s. i have (vBulletin 3.6.8 Patch Level 2) installed

PinkDaisy 06-08-2009 03:25 PM

If I want this to be like on the navbar under the username at the top, where ppl can update it from there, where would I put the code?

Thanks!


All times are GMT. The time now is 05:55 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.01549 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete