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)

Sweeks 08-12-2008 12:45 PM

Quote:

Originally Posted by ShadowOne (Post 1594022)
This Hack Works Fine...

Thanks for the way where you add the code beneath instead of above, that was the only way i got it work. :D
________
V-8

NetRover 08-12-2008 02:47 PM

Hi there, great hack and works fine on 3.7.2

How would I edit the postbit code so it only shows up for the usergroups with edit permissions?

I know I will need another if conditional somewhere and I have tried this but it shows up for all groups:-

Code:

<!--BEGIN VB STATUS-->
<if condition="($vbulletin->options['vbstatus_active']) AND (is_member_of($bbuserinfo, 5, 6, 7, 10, 11))">

        <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-->


RobbieZ 08-13-2008 01:22 PM

Hey Attilitus...

I have made this alteration..

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

In my postbit/postbit legacy.. i have also added it to my MEMBERINFO too..

It seems that i now have two edit variables..

One that is in all the threads i post and the other in my members info page..

But i cant edit that one.. what have i done wrong ??

ShadowOne 08-13-2008 01:43 PM

Quote:

Originally Posted by RobbieZ (Post 1597768)
Hey Attilitus...

I have made this alteration..

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

In my postbit/postbit legacy.. i have also added it to my MEMBERINFO too..

It seems that i now have two edit variables..

One that is in all the threads i post and the other in my members info page..

But i cant edit that one.. what have i done wrong ??

what you mean you cant edit that one?

Corndog235 08-13-2008 01:44 PM

Great Mod, thanks :)

RobbieZ 08-13-2008 05:33 PM

Quote:

Originally Posted by ShadowOne (Post 1597781)
what you mean you cant edit that one?

I thought that you can edit your custom message in either postbit or memberinfo.. and wherever you change it the other changes as well..

I inputed the same code in MEMBERINFO but for some reason when i press edit.. the edit box appears but when i press edit.. nothing happens..

*EDIT* I have now deleted the code out of MEMBERINFO.. to stop confusing members..

Should i re-instal the xml and overwrite and start from scratch ??

john102774 08-14-2008 08:00 AM

When I tried to Upload the product named 'product-userstatus.xml' in the AdminCP under the Products section I'm getting this error message stating..

Database error in vBulletin 3.7.2:

Invalid SQL:
ALTER TABLE userfield ADD vbstatus_status VARCHAR( 200 ) NOT NULL;

MySQL Error : Duplicate column name 'vbstatus_status'
Error Number : 1060
Request Date : Thursday, August 14th 2008 @ 04:00:33 AM
Error Date : Thursday, August 14th 2008 @ 04:00:34 AM
Script : http://superbikemoto.com/vbulletin/a...=productimport
Referrer : http://superbikemoto.com/vbulletin/a...?do=productadd
IP Address : 69.64.49.249
Username : ADMINISTRATOR
Classname : vb_database
MySQL Version : 5.0.27-community-nt

abroad 08-14-2008 10:08 AM

I would like to show the status of members in a vbadvanced template...how can do this? If I just insert the code it does not work.

Sweeks 08-14-2008 11:43 AM

I can and members can edit their status inside on their profile but has no status is no longer showing on the threads/posts unless theyve set it in their profile.

Anyone?
________
Kitchen Measures

Sweeks 08-15-2008 04:21 AM

The instructions by Shadow One is the only way I have been able to get this to work at all. I have added the code posted by him in replacement of the postbit edits needed. I have also added my edited product file which shows edit to begin with and then save when in the process of editing the status, once saved it then shows edit again.

Thanks Shadow One!
________
Upskirt Teacher

jamesf4218 08-17-2008 02:17 PM

On the post pages and the member's profile page it is fine, but in PMs, it misses out the word 'is'. So instead of saying JoeUser is busy at the moment, it says JoeUser busy at the moment.

How do you change this?

Thanks

Bilderback 08-18-2008 03:47 AM

vbStatus stopped working after installing this image resizer mod
https://vborg.vbsupport.ru/showthread.php?t=184571

Nothing happens now when clicking on 'Edit'
Any ideas why? Do I need to edit the execution order of a plugin?

hotpursuite 08-18-2008 11:48 AM

Turkish language the character problem reaches.I will rejoice if the you do an adjustment while becoming UTF-8. Thanks.

Im Spazzoid 08-28-2008 01:44 AM

Quote:

Originally Posted by Bilderback (Post 1601170)
vbStatus stopped working after installing this image resizer mod
https://vborg.vbsupport.ru/showthread.php?t=184571

Nothing happens now when clicking on 'Edit'
Any ideas why? Do I need to edit the execution order of a plugin?

I too am getting that error, any help?

The Chief 08-30-2008 04:58 PM

Works perfectly fine here.

Is there a way to get it to save when you press 'Enter'?

Some users won't think about pressing Edit. Thanks!

ShadowOne 09-01-2008 01:37 PM

Quote:

Originally Posted by The Chief (Post 1610690)
Works perfectly fine here.

Is there a way to get it to save when you press 'Enter'?

Some users won't think about pressing Edit. Thanks!

read my previous posts to fix that

The Chief 09-01-2008 07:45 PM

Quote:

Originally Posted by ShadowOne (Post 1611989)
read my previous posts to fix that

care to link me to the right one? or post again? or even better PM?

would be greatly appreciated.

Boosted Panda 09-06-2008 10:55 PM

Curious about the enter key also I searched the thread but no luck.

ShadowOne 09-07-2008 05:25 AM

Quote:

Originally Posted by Boosted Panda (Post 1616226)
Curious about the enter key also I searched the thread but no luck.

obviously not cuz its there...

Boosted Panda 09-07-2008 06:27 AM

Im getting w3c errors too with this. Just wanted to let you know that the id tag is enough as the name tag is no longer considered up to date.

jazde86 09-07-2008 04:11 PM

Any idea to get it working in the navbar? Please post the code. :D And for the online.php the code too.

ENVCOM 09-12-2008 10:52 PM

You can use this with Tcatt's Image Resizer if you uninstall the resizer and then install Status, and re-install Tcatt.

3z3k3l 09-14-2008 01:50 PM

Banned Groups can still see default message but they can't edit, is this right?

Shouldn't it not show up for them at all?
VB 3.7.3..

tmiland 09-15-2008 12:37 PM

Quote:

Originally Posted by ShadowOne (Post 1616367)
obviously not cuz its there...

Hi,
what postcount number is it? I cannot find it either...

I just found where you explained how to change the name of the link "Edit", not how to make it save when hitting the "Enter" button.

Thanks in advance. :)

Taragon 09-15-2008 03:58 PM

Last night I’ve spend several hours comparing versions and solutions given here at this thread, and I highly doubt it’s still there.
For sure I know some of the posts and some of the versions uploaded by members have been deleted, so above post might be one of them.

Also, I wonder which conflicts there exactly are, together with which other mods?

PS. it's still working like a charm :p

ivanp 09-15-2008 04:27 PM

Couple suggestions:

1) Merge two .js (vbstatus/ajax_wrapper.js and vbstatus/headerjavascript.js) into single one - provides faster load time

2) Add language phrase vbstatus_add_activity having "- enter you current activity" and set vbStatus Options/Default Status to null. This phrase would be displayed for active users if there is no previous status. So there would be no need for 'Edit' link and nothing will be displayed when having empty status.

TEMPLATE MEMBERINFO:

Instead:

Code:

<h1>$prepared[musername] $prepared[onlinestatus]</h1>
put:

Code:

                                        <h1>$prepared[musername] $prepared[onlinestatus]

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

</h1>


TEMPLATE postbit_legacy:

After:

Code:

$post[musername]
                                </if>
                        </div>

insert:

Code:

                       
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
        <if condition="$post[vbstatus_status]">
                <div id="vbstatus_$post[postid]" class=smallfont style="display:inline">
                <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]')">        $post[vbstatus_status]</a>
                        <else />
                                <a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">$post[vbstatus_status]</a>
                        </if>
                <else />
                $post[vbstatus_status]
                </if>       
                </div>
        <else />               
                <if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
                        <div id="vbstatus_$post[postid]" class=smallfont style="display:inline">
                        <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]')">$vbphrase[vbstatus_add_activity]</a>
                        <else />
                                <a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">$vbphrase[vbstatus_add_activity]</a>
                        </if>
                        </div>
                </if>       
        </if>
</if>
<!--END VB STATUS-->


jazde86 09-15-2008 07:58 PM

Quote:

Originally Posted by Captain Tycoon (Post 1596162)
What code will i need to place if i wanted my members to be able to edit their status on all pages? I want to place the code in the header template.

Hi Captain, can you post the corrected code, please? :cool:

Bobby Blaze 09-16-2008 03:45 AM

can someone tell me how to get this below the user title instead of above it? This works great btw. Thanks in advance.

Julrou 09-16-2008 03:59 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1573774)
I saw your post and I reported the modification using the https://vborg.vbsupport.ru/external/2008/09/5.gif button -- Fortunately I'd already uninstalled the modification because the author is apparently no longer supporting it and it didn't work on my board.... Some sort of javascript conflict - clicking the edit button does nothing...

Jacquii.

Quote:

Originally Posted by PoetJA-1975 (Post 1584385)
What would be useful is if the modification actually worked.
There's been many many many people (myself included) who have asked for support on the javascript conflict. Still the modification has made no reply - The vB.org Administrators should mark the mod as Unsupported :(

Jacquii.

Same here !

Quote:

Originally Posted by ShadowOne (Post 1587846)
try these instructions...
no different really except that template edit 2 was not bolded...
i was copy n pasting 2 diff edits at once....
try those text instructions and see if anyone else had the same problem...
it works fine for me after i noticed it and fixed...
and the reason you can see everyones edit is because your admin or have permissions..
it is permission based...
im posting this because i dont see the creator..:)

I've done this modification... but nothing changed...
I've uninstalled this mod but i'd love it...

iceytdot 09-16-2008 06:53 PM

sick mod Attilitus, my site will benefit from having this added to it. not to mention it was very easy to install + havent seen any bugs yet an i've tested it out. so thanks for sharing this with other vBulletin owners.

Taragon 09-19-2008 09:36 PM

Quote:

Originally Posted by ivanp (Post 1622710)
Couple suggestions:

1) Merge two .js (vbstatus/ajax_wrapper.js and vbstatus/headerjavascript.js) into single one - provides faster load time

Thanks! Although I have to admit I'm not really sure how to do this best.
Could you explain this a bit more perhaps?

sam_816 09-20-2008 07:39 AM

good work brotha!!
love this hack..
all members of my forum wud like to thanks u..

Guest210212002 09-20-2008 11:48 AM

Great mod - just one suggestion. Can you toss up code to change the button to "submit/ok" and the smaller "edit" text in the AJAX popup to cancel? Most people are used to clicking OK/hitting enter, and having the cancel button so highlighted is a bit confusing.

Cheers!

/me clicks install

Krazeguy 09-22-2008 12:04 AM

Nice mod.

How about a front page announcement of updated user status'?

sam_816 09-22-2008 03:21 PM

Did not work well for me.. worked for a couple of days n then suddenly stopped working..
tried to re do the whole procedure.. still no use..
too bad for me.. back to uninstalled..

sam_816 09-22-2008 03:26 PM

Quote:

Originally Posted by ENVCOM (Post 1620813)
You can use this with Tcatt's Image Resizer if you uninstall the resizer and then install Status, and re-install Tcatt.

by uninstall u mean just uninstall from manage products (not deleting the files from server) or uninstalling xml n deleting files of tcatt??

Update:
got it.. just uninstalled the tcatt(didnt remove any files) and reinstalled VBstatus.. then installed the Tcatt mod..
vb status works only if i dnt select any 3rd party resizer.. :(

jlew24asu 09-22-2008 04:18 PM

not sure if this has been asked before but can we take away the "is"


edit....found the answer :)

Bobby Blaze 09-22-2008 05:01 PM

This is breaking the my forum template with postbit legacy I know there is word wrap but what should this be set at? I have tried several different numbers.

ZomgStuff 09-22-2008 08:31 PM

This is awesome, installing now.

ZomgStuff 09-22-2008 08:53 PM

Anyone else getting
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(243) : eval()'d code on line 2

when trying to edit the status?


All times are GMT. The time now is 04:54 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.01979 seconds
  • Memory Usage 1,854KB
  • 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
  • (5)bbcode_code_printable
  • (14)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