vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Who is chatting (for Flashchat) (https://vborg.vbsupport.ru/showthread.php?t=121884)

Paul M 07-22-2006 10:00 PM

Who is chatting (for Flashchat)
 
This modification is no longer available or supported.

This is a simple display of who is currently chatting in FlashChat - on the forum homepage display.

The main features of the 3.6 version are basically the same as previous versions ;

1. It displays the list on Forum Home with the "Users online" display.
2. The list view is collapsable, so you see just the number.
3. Users who should display as coloured or bold etc are displayed correctly (based on the display usergroup)
4. If you 'hover' over a username it will show the room they are chatting in and their status (away etc).
5. If the chat is empty, a simple "no one is chatting" message is displayed.
6. The hack is phrased.
7. The ability to turn it on/off is in the ACP Options.
8. The ability to allow only certain usergroups to view the list is an ACP option (include or exclude groups).
9. The location of the flashchat folder is now an ACP option
10. The option to record and display the Most Ever chatters has been added (v4.46+).

(Options are located in vBulletin Options > Who Is Using Flashchat).

Unzip the XML and import into vB using the ACP Product Manager.

To upgrade from the 3.5 version you need to re-import the product with the overwrite option set to yes.


Note: This hack cannot display any bots in the chat, due to the strange way that flashchat stores this information.

Please also note that I have no connection with the Flashchat product - if you have questions about Flashchat functionality then their forums are located here.



History:

v4.30 : First vb 3.6 release, some code re-written.
v4.31 : Dependancies updated for 3.6.0 Gold.
v4.32 : Updated for Version Checking.
v4.33 : Added options to disable/change auto template insert.
v4.34 : Minor internal code change.
v4.35 : More internal code changes (not released).
v4.36 : Options moved to own settings group.
v4.37 : Minor phrasing changes.
v4.38 : Added new template for username display code.
v4.39 : Fix uncached template.
v4.40 : Moved auto-template options to mods main settings group.
v4.41 : Added 'Always Collapsed' Option to display.
v4.42 : ATCS options updated, Code Run option added, Include/Exclude option added.
v4.43 : Internal update, not released.
v4.44 : Minor code update, no functionality changes.
v4.45 : Defaults on first install updated.
v4.46 : Most Ever chatters option added.


Atakan KOC 07-23-2006 12:41 PM

Thanks Paul M :)

Snake 07-23-2006 04:43 PM

I'll definitely install this. Thanks buddy! :)

utw-Mephisto 07-23-2006 11:45 PM

Nice one, I only changed one phrase to give also a link to join, otherwise just awesome ...

Catsgot9 07-24-2006 01:11 AM

Sweet ty man... I am going to install this in a minute :D

CG9

dizzine 07-29-2006 11:45 AM

sorry for being dumb..ive imported using ACP but where are the config options..nothings being displayed in the acp or on forumhome..
sorry for stupid question..

Paul M 07-29-2006 12:21 PM

vBulletin Options > Forum Home Page Options

dizzine 07-29-2006 02:18 PM

nope still not working..nothing in forum hom page options..
the plugin manager says its installed..
uninstalled and re-uploaded but get the following error:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Members in Flashchat (1)', 'cache_templates', 'if ($vbulletin->options[\'wic\'])\r\n{\r\n $groups = explode(\',\',$vbulletin->options[\'wicgrps\']); \r\n if (is_member_of($vbulletin->userinfo,$groups) OR $groups[0] == 0) \r\n {\r\n $show[\'wic\'] = true;\r\n $globaltemplates[] = \'Display_Chatters\' ;\r\n }\r\n else \r\n {\r\n $show[\'wic\']= false;\r\n }\r\n}\r\nelse\r\n{\r\n $show[\'wic\']= false;\r\n}', 'paulm_20050629');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, July 29th 2006 @ 05:16:07 PM
Script : http://xxxx.co.uk/admincp/plugin.php
Referrer : http://xxxx.co.uk/admincp/plugin.php?do=productadd
IP Address : 0.0.0.0
Username : xxxxxxx
Classname : vb_database

Paul M 07-29-2006 02:48 PM

Quote:

Originally Posted by dizzine
Database error in vBulletin 3.5.4:

This is the vb 3.6.0 version.

You want https://vborg.vbsupport.ru/showthread.php?t=91338

SVZ 08-04-2006 08:30 PM

Hey I have this installed and everything but it's not showing up unfortunately :(

http://www.gossiprocks.com/forum/

Even upgraded to the latest version of flaschat, I had this on 3.5.4 previously and it worked fine

Edit: OK figured it out :) It's the plugin based template cache. Do you know which template I need to exclude for this to work? I tried FORUMHOME but that wasn't it

Falcon Capt 08-04-2006 09:46 PM

I just upgraded from 3.5.4 to 3.6.0 and I use this mod... It still seems to work from the 3.5.4 version. Do I need to upgrade to this version or should I leave it alone?

Paul M 08-04-2006 10:45 PM

Your choice - at the moment the differences are minor (some code has changed). However, no more changes or updates will be made to the 3.5 version, and support for it will cease in a few months.

epic1 08-05-2006 02:10 AM

Awesome hack. I installed the 3.5 one and removed it and it tore my bottom up a bit. Thanks for this one. :)

One small thing - How do I change the image link to go to the chat? It's currently linking to:
http://www.myforum.com/forums/misc.php?do=flashchat

It should link to /forums/chat/flashchat.php

Paul M 08-05-2006 11:16 AM

Quote:

Originally Posted by epic1
It should link to /forums/chat/flashchat.php

No it shouldn't, the link is correct, you need to install the 3.6 integration mod for it to work though.

epic1 08-05-2006 04:36 PM

Found it, disregard my PM. Thanks for the mods, work perfectly. :)

kofoid 08-06-2006 12:39 AM

Anyone know how to get this into a CMPS module?

stinger2 08-06-2006 01:09 PM

thx alot

loonytune15 08-09-2006 05:28 AM

How do I change the location of this mod?

I have the posters and visitors mods installed as well, but i want them to display in the order, visitors, posters and then flashchat.

Any ideas on how to change it to that order?

Paul M 08-09-2006 07:56 AM

Edit the execution order of the plugins, each defaults to 5.

loonytune15 08-09-2006 12:00 PM

ok i Have no idea on how to do that..

Paul M 08-09-2006 05:52 PM

Via the Plugin Manager in the ACP.

loonytune15 08-10-2006 04:04 AM

i found it!! but sorry that didn't change anything..

jw00dy 08-10-2006 06:50 AM

Great hack! Thanks.

I however, am having the same trouble that loonytune15 is having. It's there, but it's at the bottom of the forums.

I also tried to change what you suggested and it didn't move.

Execution order in (1) is 5, execution order in (2) is 10 by default. I changed both to 1 and nothing moved. :(

jw00dy 08-10-2006 07:32 AM

Ha, never mind. Looks like the old 3.5.4 template was still there, and I needed to revert it to the new one. Which I did, however it's still not moving... :(

loonytune15 08-10-2006 01:48 PM

hopefully we can work out a fix for this..

Paul M 08-10-2006 04:07 PM

There is nothing broken to fix - it sounds to me like you are only changing the execution order for the pluginis in this mod - you have to change them for each mod, so (for example) you set these to 10, and then the who has visited plugins to 20 (or vice versa).

jw00dy 08-10-2006 04:59 PM

Thank you Paul, that certainly sheds some light! Some of us are just slower then others :D

jw00dy 08-11-2006 07:56 AM

Ok, I'm obviously lacking somewhere in the head, because I changed all three hacks to:

Members in Flashchat (1) - Execution Order = 10
Members in Flashchat (2) - Execution Order = 10

Members who have posted (1) - Execution Order = 20
Members who have posted (2) - Execution Order = 20

Members who have visited (1) - Execution Order = 30
Members who have visited (2) - Execution Order = 30

And nothing moved.

I do have your two other hacks for these installed as well:

Most Ever Visitors, Users or Chatters
Most Ever Users, Members & Guests

Though, I do not believe either of these would affect it, though I could be wrong as it's just a guess.

I'm really sorry to be a PITA :(

Paul M 08-11-2006 08:57 AM

Quote:

Originally Posted by jw00dy
Ok, I'm obviously lacking somewhere in the head, because I changed all three hacks to:

Members in Flashchat (1) - Execution Order = 10
Members in Flashchat (2) - Execution Order = 10

Members who have posted (1) - Execution Order = 20
Members who have posted (2) - Execution Order = 20

Members who have visited (1) - Execution Order = 30
Members who have visited (2) - Execution Order = 30

And nothing moved.

That will (should) display them as ;

Members who have visited
Members who have posted
Members in Flashchat

loonytune15 08-11-2006 04:12 PM

hang on one tic...
In the example above:
So the last one to be executed being "visited" will show before the first one being "flashchat" ?

Paul M 08-11-2006 07:12 PM

Correct, they way the mods work, the last one executed will appear at the top.

jw00dy 08-11-2006 10:45 PM

Aaa Ha! Now that worked.

Ok, so after causing all that trouble, I guess I thought this mod/hack put it at the top of of the forums home page. This is of course fine where it is. Didn't the 3.5.4 version all you to put it on the top?

Suppose I'll go look at the old one and see what maybe I need to do to make that happen since i don't recall what I did to make it happen.

Forumi Shqiptar 08-12-2006 07:00 PM

Quote:

Originally Posted by utw-Mephisto
Nice one, I only changed one phrase to give also a link to join, otherwise just awesome ...


Just installed it how can i add a link like you have done mephisto?

Many thanks in advance for your help

loonytune15 08-13-2006 12:45 PM

cool works fine now :D and i learnt something new :D

MrSquid 08-25-2006 12:45 AM

Sweet - been looking forward to a 3.6.

I never have any problems with your mods! :)

Cazzzidy 08-25-2006 04:47 PM

Great mod, thank you!

Someone asked earlier, but I guess I will repeat the question because there was no answer. Can this be incorporated into a CMPS?

I would love to have this on the portal.

cassidy

SCRIPT3R 08-25-2006 06:11 PM

Quote:

Originally Posted by Cazzzidy
Great mod, thank you!

Someone asked earlier, but I guess I will repeat the question because there was no answer. Can this be incorporated into a CMPS?

I would love to have this on the portal.

cassidy

i made a module for vBA in the 3.5 version... haven't looked at this one yet, but i'm guessing it would more or less be the same.

Paul M 08-25-2006 11:28 PM

Quote:

Originally Posted by GearTripper
i made a module for vBA in the 3.5 version... haven't looked at this one yet, but i'm guessing it would more or less be the same.

The php code has changed from the final 3.5 version, but that's all, the template code and output variables are the same.

NeitherSparky 08-27-2006 03:54 AM

I made a minor chage to the xml file to change the icon used; glad I could do that, that was nifty. Thanks a lot for this!

schlumbes.com 08-28-2006 09:14 AM

Hi, i already installed the "Who is Chatting" File - it works but the Usernames are not correct....?

Where could be the problem ? :confused:


All times are GMT. The time now is 03:07 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.01465 seconds
  • Memory Usage 1,817KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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