Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Assistant Details »»
vB Assistant
Version: 1.00, by Sebastian Sebastian is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-29-2003 Last Update: Never Installs: 61
 
No support by the author.

Name: vB Assistant
Version: 1.1
templates to edit: 1 - 2

Description: vB Assistant is like a mini cpanel for your members, it small yet contains lots of information.

It will help you get to things much faster in a organized fashion. It will tell you all you need to know about your private messages, How many you have, how many in total, and show you the newest one in detail. It will show you the name of the person that sent it, the link directly to the PM (no hassle with going to inBox first), When you get a new PM within 24 hours It'll let you know with a flashing image and a "Received Today!" caption.

After the message ages (24 hours has past) it'll show the date instead. vB Assistant uses all your current forum settings, from date format, to forum title name.

vB Assistant will also let you know when a thread you started has a new reply which you haven't read. You will see a "View Replies" when someone posts in your thread. It will also tell you who the poster is, without even visiting the thread! It checks when was your last visit and determines if you read it or not. It wasn't easy since there isn't a "message unread" column in the database, so i managed to use the last login time.

vB Assistant has a mini quick search box, just type and hit enter.

When a user is not registered and he/she views vB Assistant, it will let them know what feature they have access to, and also tell them to register to get access to those features. (PM, cpanel links, etc...).

The buddie list is also available, clicking the username takes you to the PM window, clicking the red X will remove the buddie.

Each section in vB Assistant has a expandable/collapsible switch, If you do not want to see a part of it just click and it folds away with cool javascript affect

By having expandable/collapsible sections vB Assistant becomes even more compact and organized.

vB Assistant will also refresh every two minutes by default, it can be changed if wanted.

I see vB Assistant as a mini messenger that you can keep open (since it's small) while you browse the 'net

There is also a mini statistics section that will show you some information about how many registered members, users online, total post, etc...

Plus it will keep track of how many posts were made in the last 24 hrs.

Anyway, you get the idea.


Installation:

Very easy: Instructions are attached.
couple variables to edit, couple templates and your done.

Other information:

I wasn't going to release this yet, because i wanted to add more features, and remove anything that i later find unnecessary, But I am releasing in hope that i can get some ideas from you people on improving it.

If you find any bugs let me know and i will fix them. I have tested it many times. And have been using it for a couple days.

It should work with vbulletin version 2.x.x. I've tested it on 2.2.9 and 2.3.0

Please lick install if you find this useful

Updates:
March 30th: New version 1.1 Released.
Changes:

- Added: a PM Meter, shows percentage of how full inBox is
- Added: a preview of the private message, will show 75 characters of the message.,
- Added: 5 new images, for Meter.
- Fixed: PM Meter disappears when you have 1 new message to make space for the PM preview, Meter returns once the PM is read.

April 1st:

- Fixed bug: PM would show 1% full inBox when you had no PM's, now shows 0% when you have no messages in inBox

----------------------------------------------------------------

To upgrade simply re-upload assistant.php and overwrite. Edit new configuration settings.

Clear browser cache first to download the update.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 04-12-2003, 04:21 PM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-07-03 at 12:47 AM AnaFreak said this in Post #87
can't understand the directions.......of course I am not that great at this stuff, my problem is on step3.

"Notes: Make sure you edit the "forums" name to the name of your directory!

Some where at the top of your template head insert above $headnewpm"

Where is this???
It is a typo, it should read:

In the template headinclude add the following ABOVE $headnewpm

<snip code: (see install directions)>

Notes: Make sure you edit the "forums" name to the name of your directory!
Reply With Quote
  #93  
Old 04-14-2003, 09:10 PM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had looked at this hack when it was first released and I didn't think it was something I could use.....boy was I wrong. After some members suggested an easier way to browse my site I installed this. After only a few days it has become a huge hit on my site and I find myself using it all the time to.

Installation was so simple and this hack is such a great addition to any forum so I just want to say thanks Sebastian for releasing this.

This is a most excellent hack. Great Work


Cheers
Mike
Reply With Quote
  #94  
Old 04-14-2003, 10:16 PM
Kurayami's Avatar
Kurayami Kurayami is offline
 
Join Date: Sep 2002
Location: California
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a bit of an issue--I run my forum directly off of a domain, and not under a subdirectory. So how do I go about using this, as entering the forum directory as "/" doesn't work.

Thanks!
Reply With Quote
  #95  
Old 04-15-2003, 12:33 AM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
03-31-03 at 11:54 PM Pollo said this in Post #59
Sebastian, well my question was that my forum isn't in a directory (per se, of course it is in a directory, just the web site's home one). In other words, my forum is the site, the site the forum ie: http://domain.com

I solved it by removing:
$forumdir = "???"; // name of your forum directory

-and removing any mention of $forumdir anywhere.

Everything works now, and I'm sure members will really groove on it, DANKE!
I had same question (page 4 of this thread), and solved it via the method I posted above. Works fine now.
Reply With Quote
  #96  
Old 04-15-2003, 05:25 AM
alwaysweb alwaysweb is offline
 
Join Date: May 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
04-01-03 at 05:23 AM Rolodex said this in Post #65
My quota is set to 100 ... my mods are 50, and members are 40.

Edit: My BAD ... I had this set to Zero (Unlimited) ... after placing the members amount into the box, the error went away.

Thanks for the heads up guys!
Setting Maximum saved messages in Vbulletin admin area to zero *IS* a valid option (0 means unlimited, it says in the configuration option's description!)

Yes, the code needs a few small bugfixes (marked by the // ADDED comments below) so as not not div by zero if in fact limit is zero If max pm limit is 0 (unlimited), just hide the PM quota stuff.

Around line 46, add a simple IF statement. Change this:

PHP Code:
           $amount round(($allpm[messages]/$pmquota) * 100,2);

if ( 
$amount <= 15 
{     
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\">¬¬¬¬</small>";
}
elseif ( 
$amount <= 30 
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\">¬¬¬</small>";
}
elseif ( 
$amount <= 45 )
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\">¬¬</small>";
}
elseif ( 
$amount <= 60 )
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\"><img src=\"$images/level4.gif\">¬</small>";
}
elseif ( 
$amount <= 90 )
{
     
$meter "<br/><br/><small>($amount% full)</small> <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\"><img src=\"$images/level4.gif\"><img src=\"$images/level5.gif\">";  

else
{
     
$meter "<br/><br/><font color='red'><b>FULL</b></font>";

to be like:

PHP Code:
       if ($pmquota != 0) { // ADDED


    
$amount round(($allpm[messages]/$pmquota) * 100,2);

if ( 
$amount <= 15 
{     
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\">¬¬¬¬</small>";
}
elseif ( 
$amount <= 30 
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\">¬¬¬</small>";
}
elseif ( 
$amount <= 45 )
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\">¬¬</small>";
}
elseif ( 
$amount <= 60 )
{
     
$meter "<br/><br/><small>($amount% full) <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\"><img src=\"$images/level4.gif\">¬</small>";
}
elseif ( 
$amount <= 90 )
{
     
$meter "<br/><br/><small>($amount% full)</small> <img src=\"$images/level1.gif\"><img src=\"$images/level1.gif\"><img src=\"$images/level2.gif\"><img src=\"$images/level3.gif\"><img src=\"$images/level4.gif\"><img src=\"$images/level5.gif\">";  

else
{
     
$meter "<br/><br/><font color='red'><b>FULL</b></font>";
}


// ADDED 
Around line 383 where it prints this messages section:

PHP Code:
if ( $bbuserinfo[userid] != ) {
                        echo 
"<center>You have $unreadpm[messages] new messages. <br/> $allpm[messages] are old messages. $meter $lastpm</center>";
                } else {
                        echo 
$guestmsg;
                } 
change it to be:

PHP Code:
if ($pmquota == 0$meter ""// ADDED
if ( $bbuserinfo[userid] != ) {
                        echo 
"<center>You have $unreadpm[messages] new messages. <br/> $allpm[messages] are old messages. $meter $lastpm</center>";
                } else {
                        echo 
$guestmsg;
                } 
Reply With Quote
  #97  
Old 04-21-2003, 03:13 PM
wolfgang2 wolfgang2 is offline
 
Join Date: Apr 2003
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Sebastian( or anyone else) !

great hack idea unfortunately it is not working on my forum.
i use 2.3.0

Could u take a look at the source code of the header area please
and tell me what is wrong there?
Reply With Quote
  #98  
Old 04-21-2003, 08:54 PM
Lethal Lethal is offline
 
Join Date: Feb 2002
Location: PA/USA
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 11:13 AM wolfgang2 said this in Post #96
Hello Sebastian( or anyone else) !

great hack idea unfortunately it is not working on my forum.
i use 2.3.0

Could u take a look at the source code of the header area please
and tell me what is wrong there?

the assiatant oopens but only blank...
http://deutsches-architektur-forum.de/forum

thx
seems like it is working to me. Opens up fine for me.
Reply With Quote
  #99  
Old 04-22-2003, 04:34 AM
Pollo Pollo is offline
 
Join Date: Jul 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, no problems here, it works fine wolfgang2 (unless you eventually got it working, and thus duh, heh).
Reply With Quote
  #100  
Old 04-22-2003, 09:16 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, very nice Hack.
What about a Option in the users Profile, wher Users can select to Popup the Assistant Window automaticly when visit the forums?

Thanks
Kars

/me licks install!
Reply With Quote
  #101  
Old 04-27-2003, 08:08 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

d00d can't you make it template based please it would be easier to edit the tables how people want them.
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 04:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05449 seconds
  • Memory Usage 2,355KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_php
  • (4)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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