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)

Zweeper 06-02-2008 04:50 PM

hm, i followed your instroductions and reinstalled/updated it, but the error is still the same. did i something wrong?

Attilitus 06-02-2008 04:52 PM

Yes. You must have not reinstalled it properly. Make sure that you upload all the new files, uninstall the old product, and then reinstall the new product.

It is impossible for the same error to be generated, you must have not uploaded the new files. Or perhaps you tried to modify a user's status after reinstalling the product but before uploading the new files, thus causing the old-line of code to trigger itself again.

Zweeper 06-02-2008 05:14 PM

hm, can you give me the code to create the sql tables?

hastyhost 06-02-2008 05:23 PM

Just found a small bug. As for the DB errors, I fixed that with your new instructions, and the script itself works fine.

However, it seems to be having an issue with a secondary script which is the "current activity" which shows what the user is doing at the moment.

When you edit your status, then go to your public profile and see what the current activitly is, it gives you this message:

Current Activity: Unknown Location /vbstatus/vbstatus_ajax.php?userid=1&postid=1

Then of course when you refresh your browser, it goes to Current Activity: viewing profile

So that's just a small issue I found. Not a biggie but just so you know.

Attilitus 06-02-2008 05:24 PM

Quote:

ALTER TABLE " . TABLE_PREFIX . "userfield ADD vbstatus_status VARCHAR( 200 ) NOT NULL
Here you go. You'll have to replace " . TABLE_PREFIX . " with whatever table prefix your forum uses.

Mr. Hoddz 06-02-2008 05:38 PM

/me clicks installed.

Got to say I like this hack alot. Will be voting for this for sure!

BlakeMichael 06-02-2008 05:45 PM

Thank you for the quick fix, Attilitus! Love the mod!

Zweeper 06-02-2008 05:59 PM

thx, works!

redlabour 06-02-2008 08:11 PM

When will it be available without Template Edits?

Attilitus 06-02-2008 08:14 PM

I never planned on adding automatic template edits. But I suppose it can be done in the next release.

Hornstar 06-02-2008 08:31 PM

Thanks, this might be a winner on my site.

skooby 06-02-2008 11:36 PM

Great install. Any way to change it so if the user doesn't put in a status, it won't display anything?

Attilitus 06-02-2008 11:47 PM

Yes wrap the following code around the $post[username] section:

Code:

<if condition="$post['vbstatus_status']">
//code
</if>

Be sure that you do not include the link in that section, otherwise they won't be able to edit it.

Lea Verou 06-03-2008 12:07 AM

Wow, this looks almost like what I had to make for my site!
Have you thought of allowing the user to change status from the header/navbar?
Also, it would be a good idea if the status was displayed in WOL and in Forumhome WOL (as tooltip). Perhaps in memberlist too, the profile and other places.
Also, an option to make the hack only show status for online users and/or clear status upon logout would be useful too.

Attilitus 06-03-2008 12:10 AM

Thanks Michelle :) I'll keep all those features in mind for the next release.

Brandon Sheley 06-03-2008 02:38 AM

Quote:

Originally Posted by Attilitus (Post 1538694)
Second post Reserved

ha... sorry, just had to laugh at the 2nd post reserved

nice hack, I may add it :)

MissKalunji 06-03-2008 07:10 PM

Question : how many queries does this add?
Thanks

Attilitus 06-03-2008 07:47 PM

This adds no queries per page. (Except for the queries to actually change your status, but I'm sure that isn't what you meant.)

MissKalunji 06-03-2008 07:56 PM

nop :) thanks i wanted to know if i added any query when you view (wherever the status is showing)

kinggori 06-05-2008 12:08 AM

LOVE this mod! Thank you so much :)

Would it be possible not to show the user's name if their status is empty?

kinggori 06-05-2008 12:09 AM

Also would it be possible to have a section that displays the most recent status updates?

Mutt 06-05-2008 04:54 PM

like this. would like it if the editor was inline instead of a popup like your profile page. I'm working on it

Attilitus 06-05-2008 05:00 PM

hm. I'll add an inline option in the next version. The choice to have it be a popup was just a design choice, I happen to prefer it.

Mutt 06-06-2008 06:46 PM

Quote:

Originally Posted by Attilitus (Post 1541647)
hm. I'll add an inline option in the next version. The choice to have it be a popup was just a design choice, I happen to prefer it.

thanks so much

Attilitus 06-07-2008 03:15 AM

This hack has been updated to version 4.0

Please follow the update instructions to the letter!

In-line editting was added, as well as an admin-set default status message for users who have a blank status. More details are available in the original post (which has been editted) and in the update instructions within the download package.

Enjoy.

TimberFloorAu 06-07-2008 03:39 AM

Please could you do a txt file set of instructions, as we do not use WORD.
We can open in editplus, but get unusual addedit codes on each line, which could knacker the file edits etc up.

Looks like a good mod, downloaded. Reserved

Attilitus 06-07-2008 03:49 AM

I have changed the files to Rich Text Format (.rtf) and have included an additional folder which contains the instructions in normal .txt format. I find that being able to use bold text makes the instructions easier to follow, thats why I use the different format.

Download the package again to get the new instruction files.

TimberFloorAu 06-07-2008 04:07 AM

Quote:

Originally Posted by Attilitus (Post 1542828)
I have changed the files to Rich Text Format (.rtf) and have included an additional folder which contains the instructions in normal .txt format. I find that being able to use bold text makes the instructions easier to follow, thats why I use the different format.

Download the package again to get the new instruction files.

You are the MAN !

Will do, thanks !:up:

TimberFloorAu 06-07-2008 04:30 AM

One question.

We have added this, and will mark as installed.

In Postbit/postbit legacy, where it says Username.

Example.

Timberfloorau has no status

if we then edit this, to say playing a game

can we add in template the word IS after username.

So status reads, Timberfloorau is playing a game.

Most members will forget to add the word IS
And seeing as that is the most common word after their username, would be good if we could add that particular mod.

Ozzy

Attilitus 06-07-2008 05:05 AM

I added a status prefix option. I am not going to release a new version I just updated the package. So re-download v4 (which I've modified to include this feature) and follow the following instructions:

Upload all files in the upload folder (overwrite any existing files)
Reimport the product with the overwrite option checked.
No template edits necessary.

TimberFloorAu 06-07-2008 06:00 AM

Quote:

Originally Posted by Attilitus (Post 1542864)
I added a status prefix option. I am not going to release a new version I just updated the package. So re-download v4 (which I've modified to include this feature) and follow the following instructions:

Upload all files in the upload folder (overwrite any existing files)
Reimport the product with the overwrite option checked.
No template edits necessary.


Cheers Attilus, terrific service !

TimberFloorAu 06-07-2008 06:07 AM

Installed.

WONDERFUL !

That works an absolute treat.

Will happily, add your website, or link to our links section in gratitude.

We have had 50% of members discussing this already.

TOP HACK !

Added your link :)

Mutt 06-07-2008 01:29 PM

fantastic, thank you

Thelonius Beck 06-07-2008 05:05 PM

Nice. Thank you.

goodwillstacy 06-07-2008 05:34 PM

I love this hack and would really like to install it on my forum... I uploaded everything and did the template edits.. I checked and double checked... everything seems fine. It shows the status underneath the person's username, however when you click to edit the status, nothing happens (when you use inline editing or the pop-up). I have installed & re-installed this about 3 times trying to look for errors, but I have no idea what's going on!
When I troubleshoot the page to look for Javascript errors, I do get one error:

"Error: Att_AjaxDi is not defined." Source File: javascript:Att_AjaxDiv('inline=1&userid=1&postid=1','vbstatu s/vbstatus_ajax.php','vbstatus_1')
Line: 1

I tried this in both Safari and Firefox, and I'm coming up with the same problems.
Thanks!
stacy

Attilitus 06-07-2008 06:36 PM

Thats odd... could you perhaps give me a test account on your forums?

goodwillstacy 06-07-2008 07:18 PM

Thanks so much for your quick help, Attilitus!

For anyone who might be having the same issue, for some reason my vbstatus folder was not allowing anyone to read or write it. I just changed the permissions and everything started working.

Great mod!!! Thanks again!
:)
stacy

whitetigergrowl 06-08-2008 12:16 AM

Rather than show the word 'edit' under every name, why not make it so the status shows and we just click on the status to change it as admins. I have it set so admins can't edit other user statuses and still see that word. Its annoying seeing it under every name WITH the status.

Piratos 06-08-2008 01:06 AM

Really i like that :D

Attilitus 06-08-2008 01:10 AM

Quote:

Rather than show the word 'edit' under every name, why not make it so the status shows and we just click on the status to change it as admins. I have it set so admins can't edit other user statuses and still see that word. Its annoying seeing it under every name WITH the status.
Hm. I think that you must be using an older version of the templates, for two reasons. First, the edit link should not appear under the name anymore, it ought to appear to the right of the status in small print. Second, the bug your reporting (links appearing when admins don't have permission to edit user's status) was fixed in a previous version.

I suggest that you reinstall version 4.01 and follow the upgrade/installation instructions to the letter. (ie. Reupload all files, reimport the product with Allow Overwrite set to Yes, and redo ALL template edits)

The behavior you are describing is not consistent with version 4.01. If you remove all admin usergroups from the usergroup list in vBstatus options admins will not see the edit link.


All times are GMT. The time now is 01:02 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.01822 seconds
  • Memory Usage 1,816KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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