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)

Bree 03-13-2007 12:56 AM

*Installed* Works perfect - then again I expected nothing less =0) vB 3.6.5 Thanks a bunch! Always, Bree

SCRIPT3R 03-16-2007 10:07 PM

Edit: Sorry, this is just for my personal reference... you told me this eons ago and i always forget it. :up:
Code:

                <plugin active="1" executionorder="3">
                        <title>Members in Flashchat (2)</title>
                        <hookname>forumhome_start</hookname>


Paul M 03-16-2007 11:16 PM

Huh ?

rwilkins108 03-18-2007 09:01 AM

After applying latest upgrade, my $totalchatters edit I made in other places isn't returning anything... on the navbar I have Chat (#) where # is the number of user's currently in chat and it doesn't show anything any more.

so, for example, it used to say Chat (0) or Chat (10) and now it shows Chat ().

I checked the style edit, it didn't change. Users in Flashchat does show correctly in the WOL area.

Any thoughts?

Thanks.

Paul M 03-18-2007 08:40 PM

$totalchatters has not changed - but what you describe would never have worked unless you had edited the hook this runs on, since the code only runs on forumhome - at a guess I would say you must have edited it to run on global_start. Any such change would be lost when you upgraded.

rwilkins108 03-18-2007 08:51 PM

Damn you're good! lol, guess I totally forgot that I made that change. All is working well again. Thanks! :)

daddygrim 03-21-2007 02:11 AM

amazing!!!!! installed

PoetJA-1975 03-24-2007 02:47 AM

I've been wanting this for a while now - finally installed.
Thanx for the great modification PAUL ;)

Jacquii.

jmergener 03-27-2007 08:32 PM

Quote:

Originally Posted by GearTripper (Post 1079642)
hi Paul... in regards to my previous post here.

for my navbar code; would the number of active users should appear next to the link, as with forumhome_start, as long as i copy the Plugin PHP Code to hook location forumdisplay_Start? changing the template cache accordingly. i know it's a lot of unnecessary code. can you specify the specific i would need to call the correct number for $totalchatters?

Code:

                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="chat/flashchat.php$session[sessionurl_q]">Flashchat: $totalchatters</a></td>
                </if>


Quote:

Originally Posted by Paul M (Post 1079669)
Change the hook that this uses to global_start and $totalchatters will be available on any page (note, obviously it will run the query on every page as well).

Paul,

Can you give some more information on this as I am trying to get this to work on my site and the number will display on first of the forums page but will not display on any of the other pages or the main (home) page. I am using vBadvanced so I am sure the issue revolves around that.

Any help would be much appreciated.

Website: www.arizonabass.com

Paul M 03-27-2007 11:27 PM

All the information is in the line you quoted - you must edit the plugin that uses forumhome_start to use global_start instead.

Merriweather 03-28-2007 05:23 AM

Gotta love a plugin that takes less than 1 minute to install and set up... thanks! :up:

jmergener 03-28-2007 08:38 PM

Quote:

Originally Posted by Paul M (Post 1214087)
All the information is in the line you quoted - you must edit the plugin that uses forumhome_start to use global_start instead.

Thanks, I got it to work on all the forum pages. But, I am still having an issue with it displaying properly on the main page of the vBadvanced. Do you or anyone know which file I need to modify?

Paul M 03-29-2007 11:37 AM

Sorry, I can't help you with vba.

dcpaq2xx 04-02-2007 10:54 AM

Paul,

Im using this hack and down at the bottom on my main page, it uses the "Who's Online" gif image and is clickable to the integrated chat room.

How do I make this image not clickable or go to the chat room. I just want it to be an icon and nothing more.

Another thing is if the code edit is the same as what i did in the post provided below, i need to know where I would edit it. I beleive i need to do this in the xml file?

http://www.vbulletin.com/forum/showthread.php?t=225486

Thanks Paul

Doug

Paul M 04-02-2007 02:08 PM

Just edit the Display_Chatters template to remove the link code (<a> tag) associated with the icon.

I'm curious as to why you would bother doing this ?

dcpaq2xx 04-02-2007 04:05 PM

Quote:

Originally Posted by Paul M (Post 1218348)
I'm curious as to why you would bother doing this ?

Paul,

Because I dont want members logging into the chat room this way, it doesnt take much to mess them up, they like things 'simple'. Trust me.

Thank you for the help, ill give it a try.

Doug

beatyourtruck 04-04-2007 11:11 AM

Hi Paul. I am having trouble and I hope you can point me in the right direction.

I am getting this error on the forum home page when I turn on this mod.


Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT connections.*, rooms.*, user.*
FROM flashchat_connections as connections
LEFT JOIN flashchat_rooms as rooms ON connections.roomid = rooms.id
LEFT JOIN byt_user as user ON connections.userid = user.userid
WHERE connections.userid > 0 AND connections.ip != '0.0.0.0'
AND connections.updated > DATE_SUB(NOW(),INTERVAL 60 SECOND)
ORDER BY start;

MySQL Error : Unknown column 'connections.userid' in 'where clause'
Error Number : 1054
Flashchat works fine (just installed the latest version) and the forum works fine when this mod is not turned on. I tried repairing tables etc and now I am helpless! LOL

My guess is there is a problem with a table? It looks like it is searching for "connections.userid'" and can not find it or it is corrupt? I have tried uninstalling and reinstalling this mod a few times. Same error.

Any help is appreciated!

Thanks!

Paul M 04-04-2007 03:29 PM

Your flashchat connections table seems to be missing a field.

beatyourtruck 04-05-2007 01:03 PM

OK! I have already tried reinstalling it so I will take this up with the dudes at FC.

Thanks for the help! 8)

EDIT:

FYI - just in case someone else has this issue/error: reinstalling FlashChat is supposed to repair bad tables (if it finds existing FC tables) etc but it does not work (or at least it did not for me). I deleted the connections table (the table that was giving me the error) and then reinstalled FC, it created an all new connections table and wallllllla! It works.

Thanks for a great mod Paul M. My users have been crying about not having it for the past few days! LOL

Inaam 04-12-2007 07:22 PM

i haved added, the mod, the text du is displayed at the top of my forum and flashchat has stopped working. Any solution?

General_ 04-16-2007 07:49 PM

is there a possibility to add such an online box to the vba cmps ? (as a module?)

Paul M 04-16-2007 07:53 PM

Quote:

Originally Posted by General_ (Post 1229205)
is there a possibility to add such an online box to the vba cmps ? (as a module?)

Not by me, I suggest you ask in the vba forum.

RobH 04-17-2007 08:20 PM

Clicks install............

titodj 04-20-2007 03:11 PM

Great thanks....

breamy1990 04-20-2007 08:03 PM

how can i add a Click here to join line

thejdm 05-03-2007 12:05 AM

is there a way i can intigrate the 'whos chatting' into the 'currently active users' box? instead of making a new table?? i wanted something like this...

Most users ever online was 00, 04-18-2007 at 06:32 PM.
bla, bla, bla, bla

Members currently using Flashchat: 0
No one is currently using the chat.

all in the same box just maybe put a page break in between them. i dont like the look of all the tables at the bottom looks cluttered.

Paul M 05-03-2007 11:58 AM

Edit the relevant templates.

thejdm 05-08-2007 03:12 AM

i looked around i couldnt find anything about the whos online in flashchat anywhere.

Paul M 05-08-2007 02:57 PM

I don't understand what you are asking.

laura66a 05-10-2007 11:09 AM

Hi everyone.

This works nicely but it puts the "Who's Chatting" box in What's Going On at the bottom of the page. I don't see this in the forumhome template either so I don't know how to move it.

Is there a way to move Who's Chatting to the top of the forum home page?

Thanks.

Laura

Paul M 05-11-2007 01:18 AM

Only if you are confident at template edits and altering plugin settings.

inciarco 05-12-2007 01:03 PM

Magnific Add-On!! :up:

Works Ok With vBulletin 3.6.6!! :up:

:)

Strafe 05-14-2007 06:21 AM

Which template should I edit to add a text link going to my flashchat?

Paul M 05-14-2007 11:29 AM

That would depend on your style, and where you want the lnik.

Strafe 05-14-2007 12:34 PM

I would like to have it on the Who's Chatting area.

Paul M 05-14-2007 08:52 PM

The icon already links to the chat, just click on it.

stagmite 05-16-2007 07:19 PM

Hi I'm having problems with this mod. I'm using the aerohead style template, and it just looks weird. I also have the default vBulletin style and it looks fine in that style. Below are two pics of what it looks like. When it's collapsed it looks fine, but when it is uncollapsed it looks horrible.

Paul M 05-16-2007 08:27 PM

You will need to edit the display_chatters template in your red style, it looks to me like that style has no icon (or table cell for the icon).

bongwater 06-03-2007 10:02 AM

anybody know if this works for 3.6.7 ?

GeekDrew 06-03-2007 04:59 PM

Quote:

Originally Posted by bongwater (Post 1260235)
anybody know if this works for 3.6.7 ?

I'm running it on 3.6.7 and it is working properly.


All times are GMT. The time now is 04:33 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.01481 seconds
  • Memory Usage 1,815KB
  • 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
  • (7)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