vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [User CP Plug-in] Quick User Stats (https://vborg.vbsupport.ru/showthread.php?t=82616)

Brad 06-06-2005 10:00 PM

[User CP Plug-in] Quick User Stats
 
This plug-in adds a new table to the usercp that lets the user look at his own stats quickly with one glance.

It currently shows:

User's posts/posts per day
User's avatar
User's join date
User's last visit (includes time)

I think it makes the usercp look a little better, otherwise the homepage is shorta bare..

New version:

1.0.2:

Fixed bug in file loo_sql.php, now re-builds phrase cache after adding phrases to the database.

Upgrade instructions:

From 1.0.0: see the file /upgrade_docs/upgrade100-102.txt in the zip file

From 1.0.1: see the file /upgrade_docs/upgrade101-102.txt in the zip file

Past versions

1.0.1:

Fixed bug that would show quick stat table when plug-in's are disabled (https://vborg.vbsupport.ru/showpost....88&postcount=9)
Added phrases

1.0.0: Initial release to public

C.Birch 06-09-2005 10:07 PM

works fine here :)

Chris M 06-09-2005 10:08 PM

Installed and working here :)

Satan

Link14716 06-09-2005 10:31 PM

Nice job. :)

burnist 06-10-2005 09:51 AM

Lookin good, my first plugin installed :)

MrNase 06-10-2005 01:52 PM

Quote:

Originally Posted by burnist
Lookin good, my first plugin installed :)


Same for me, nice hack.. erm.. Plug-in ;)

southernlady 06-10-2005 05:09 PM

Okay, it's also MY first plugin and I'm confused.

At the top it has Hook Location: What do I use there? Liz

C.Birch 06-10-2005 05:24 PM

Quote:

Originally Posted by southernlady
Okay, it's also MY first plugin and I'm confused.

At the top it has Hook Location: What do I use there? Liz


you dont you upload the xml file from your pc thats in the zip file.

ShiningArcanine 06-10-2005 10:24 PM

Nice. I installed this but I have it disabled at the moment as I'm not comfortable with plugins (or hacks for that matter) yet.

By the way, you might want to surround the template code with this:

Code:

<if condition="$vbulletin->options['enablehooks']">
<if condition="$user_joindate">

</if>
</if>

It will disable the template code if the plugin system has been disabled or the plugin has been disabled.

mholtum 06-10-2005 10:42 PM

worked like a charm! I am now very excited on this new concept.

Brad 06-11-2005 01:54 AM

Thanks guys :), I will update this sometime tonight ;)

Brad 06-13-2005 03:34 AM

Quote:

Originally Posted by ShiningArcanine
Nice. I installed this but I have it disabled at the moment as I'm not comfortable with plugins (or hacks for that matter) yet.

By the way, you might want to surround the template code with this:

Code:

<if condition="$vbulletin->options['enablehooks']">
<if condition="$user_joindate">

</if>
</if>

It will disable the template code if the plugin system has been disabled or the plugin has been disabled.

New version is up, fixed this bug and added phrase support :)

Mike Gaidin 06-13-2005 08:37 PM

I did the update, twice, and this is the result....

KuRi 06-13-2005 09:01 PM

i get same.... it would seem that the phrases arent working

The Wise One 06-14-2005 12:00 AM

i got the same thing. went through and searched for one of the phrases. didnt alter it at all...just saved. now it works.

Mike Gaidin 06-14-2005 12:43 AM

Tried that and it worked for me too. Thanks for the tip! ^_^

Brad 06-14-2005 03:16 AM

Yea guys, something to do with the cache, I thought I fixed it but I guess I didn't. I'll take a look at it for now you'll just need to find one of the new phrases and save it, that will re-set the cache and they will all show :)

Brad 06-14-2005 04:30 AM

Ok bug fixed, released 1.0.2, upgrade instructions in the first post :)

ShiningArcanine 06-16-2005 10:18 PM

Quote:

Originally Posted by Brad.loo
Ok bug fixed, released 1.0.2, upgrade instructions in the first post :)

Hey, Brad.loo, I haven't tried this but I'm curious, what happens to Quick Stats if the Quick Stats plugin is disabled via the Plugin Manager rather than via vBulletin Options' Plugin off switch?

mholtum 06-16-2005 11:10 PM

Mine wont show the avatar. But it is working otherwise

mholtum 06-17-2005 09:19 AM

upgrade fixed my issues! Thanks

Jaxx 06-18-2005 07:01 PM

Just upgraded to beta2 and this no longer works.

Brad 06-18-2005 07:20 PM

Quote:

Originally Posted by Jaxx
Just upgraded to beta2 and this no longer works.

I have not had a chance to download the latest public beta yet, when I have it on localhost I will fix this problem (asuming there is one :) )

C.Birch 06-18-2005 08:02 PM

still works for me when updated to beta 2 :)

Jaxx 06-18-2005 10:47 PM

Quote:

Originally Posted by C.Birch
still works for me when updated to beta 2 :)

Hm. Strange.

Gonna have to go through and take a look.

ShiningArcanine 06-19-2005 04:00 AM

Quote:

Originally Posted by Brad.loo
I have not had a chance to download the latest public beta yet, when I have it on localhost I will fix this problem (asuming there is one :) )

I upgraded to Beta 2 and it still works.

Jaxx 06-19-2005 06:01 AM

I reran the sql.php file and now it works.

dreck 06-20-2005 05:00 AM

nice! *install*

Chris M 06-20-2005 11:14 AM

Re-ran loo_sql.php and it works :)

Satan

Brad 06-21-2005 10:30 AM

Lemme guess, after the upgrade there was no longer any text in the table? :)

Chris M 06-21-2005 11:05 AM

Yup;)

Satan

Brad 06-27-2005 06:06 AM

Quote:

Originally Posted by hellsatan
Yup;)

Satan

This is a result of re-build the phrases durring the upgrade, I can probbly fix that but for now just re-run loo_sql.php after each vB upgrade :)

Link14716 06-27-2005 06:18 AM

Add to languageid 0, not -1.

0 is the custom master language which is not deleted every upgrade, whereas -1 is the master language which is deleted every upgrade.

TTG 06-27-2005 08:11 PM

Clicked install .. works on 3.0.5 beta 3 :)

Chris M 06-29-2005 08:41 PM

Question: Why is this in Code Mods? o_O

Satan

Andreas 06-29-2005 08:47 PM

Quote:

Originally Posted by Forum Description
Code mods are any plugins or code modifications that require direct file access.

This Hack comes with PHP Files that must be uploaded and executed.

Chris M 06-29-2005 09:20 PM

Ah I see - Sorry must be a new thing;)

Satan

FleaBag 08-08-2005 06:58 PM

Brad do you have this running with RC2?

Neal-UK 08-08-2005 07:08 PM

Quote:

Originally Posted by FleaBag
Brad do you have this running with RC2?

Is this working on rc2? Members will love this

hydrostatic 08-08-2005 07:10 PM

Quote:

Originally Posted by nealparry
Is this working on rc2? Members will love this

Yeah, if it's confirmed to work with RC2 I'll install it.


All times are GMT. The time now is 01:19 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.02111 seconds
  • Memory Usage 1,789KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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