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)
-   -   Chatbox Lite (https://vborg.vbsupport.ru/showthread.php?t=92537)

Dream 07-19-2005 10:00 PM

Chatbox Lite
 
This is a very simple shoutbox.

For those of us who don't have the resources to spare for vBShout v2.0.

[high]Installation[/high]
Instructions in the zip.

aethro 07-20-2005 05:43 AM

Very simple and very easy to install Thanks! :D

**EDIT**
The one thing i did notice is people are showing up in the who's online page as going too an unknown location ^^

** Edit 2**
I noticed this when I tried to use your code to only show it on index you forgot a " after 'index' so it should look like this

Code:

<if condition="THIS_SCRIPT == 'index'">
<br /><center><iframe src="chatbox_lite.php" width="95%" style="border: 0px"></iframe></center>
</if>


ForYou 07-20-2005 09:27 AM

Hello ,

Is there a screenShot ,

Regards

Allan 07-20-2005 11:41 AM

Quote:

Originally Posted by ForYou
Hello ,

Is there a screenShot ,

Regards


yep lol ;)

Roxie 07-20-2005 04:16 PM

Yes...a screenie would be nice.

gldtn 07-20-2005 04:53 PM

Quote:

Originally Posted by aethro
Very simple and very easy to install Thanks! :D

**EDIT**
The one thing i did notice is people are showing up in the who's online page as going too an unknown location ^^

** Edit 2**
I noticed this when I tried to use your code to only show it on index you forgot a " after 'index' so it should look like this

Code:

<if condition="THIS_SCRIPT == 'index'">
<br /><center><iframe src="chatbox_lite.php" width="95%" style="border: 0px"></iframe></center>
</if>


The if condition did not work for me, vB3.5b3! But thats ok I just placed the code on the FORUMHOME template. Also I'm try to have this feature available to certain usergroups and can't get it to work for some reason.. anyone know how to do this?

I got;

Code:

<if condition="is_member_of($bbuserinfo, 6,5,7)">
<center><iframe src="chatbox_lite.php" width="95%" style="border: 0px"></iframe></center><br />
</if>


Jenta 07-20-2005 05:10 PM

awesome, your my hero
i can remove my sig now! :)

Jenta 07-20-2005 07:49 PM

Quote:

Originally Posted by ForYou
Hello ,

Is there a screenShot ,

Regards

here's mine so far
https://vborg.vbsupport.ru/

john1744 07-20-2005 10:21 PM

Hmm, when trying to run a query it says I must select a column, to what is it referring to?

aethro 07-21-2005 01:40 AM

If you copied and pasted the entire query above it shouldn't ask for anything. I did a clean install with the above instructions and it worked fine :)

Dream 07-21-2005 03:40 AM

simple update, it now logs ip addresses, if you already installed youll need to run this query using your table prefix

[sql]ALTER TABLE `sl_shout` ADD `ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL ;[/sql]

also changed the template modifications in the first post, but you can place it anywhere

aethro 07-21-2005 05:33 AM

Oo nice update dream :D

Dream 07-21-2005 05:48 AM

Quote:

Originally Posted by aethro
Oo nice update dream :D

thanks :) and it looks a "little" nicer now

nkt 07-21-2005 07:05 AM

Dream THANK YOU SO MUCH !!! Works like a charm, and the little chat window can be used everythere on the forum. My users LOVE ME (Or you?)

EDIT:
This has to be HOTM cuzz its ub4r l33t - Nothing new BUT IT WAS SO WANTED.

Dream 07-22-2005 12:33 AM

updated, added auto refresh, enjoy

Dream 07-22-2005 01:35 AM

another small update, added current time next to the page links

Dream 07-22-2005 09:04 PM

im adding /me code, but it kinda lags the parsing ;/

im gonna add "maximum page links" too, so you wont have 1-100 pages in there, with << first/last >> page

other than that, its good to go (unless I have ideas, and that happens...)

please post screenshots of yours working if you can, that would help me save some time so I dont have to set it on my test board to take screenshots etc

edit:

btw did anyone upgrade from version 0.1?

edit2:

its not hard to upgrade, all options can be disabled with false and true in the code

hello anybody there

edit3:

go figure why people install the first crappy version like mad and not the better one

peterska2 07-23-2005 04:37 PM

nice. Thanks.

Dream 07-23-2005 10:41 PM

you are welcome :)

updated, added "max page links" before showing first/last page links

the /me code was slowing down the script too much, so I didnt add it

edit: also added a screenshot

that's all folks

nkt 07-25-2005 03:58 AM

Here is mine :) http://www.NaKazdyTemat.com
Translated into Polish :)

Jenta 07-25-2005 10:17 PM

Quote:

Originally Posted by Dream
i

edit3:

go figure why people install the first crappy version like mad and not the better one

for me, i havent had time to look at it
but i like the first version since it was really bare bones
all i want is simple without a lot of bells and whistles like that monstrocity they made for 3.0 (7 queries on forum home plus forumhome's own queries!)

anyways, when i have a few minutes to spare i will look at the latest and see about installing it :)

thanks again!!!

Dream 07-25-2005 10:49 PM

you are welcome, its still bare bones, but a better looking one

its one query, plus one if you are using bbcodes I think but not sure (fetch_tag_list()), and another one if you shout or delete a shout

not counting queries done by global.php

hotrod1 07-25-2005 11:57 PM

Great hack! Thanks and it was so easy to install!

Dream 08-08-2005 04:05 AM

updated to RC2, its a product now ;)

Brinnie 08-08-2005 01:22 PM

goes on the board index?

Boofo 08-08-2005 02:20 PM

Will this allow then to use size code to make big letters? I want to avoid that if all possible. And how do you delete a shout? ;)

Dream 08-08-2005 04:22 PM

yes it goes in the forum index, you can put it elsewhere editing templates

bofo, you can disable bbcode by editing the file and setting use_bbcode = false

theres an X next to each shout to delete them, only appears for mods

Boofo 08-08-2005 04:27 PM

Quote:

Originally Posted by Dream
yes it goes in the forum index, you can put it elsewhere editing templates

bofo, you can disable bbcode by editing the file and setting use_bbcode = false

theres an X next to each shout to delete them, only appears for mods

I don't want to delete all bbcode usuage, just the ones that make the font too big. ;)

Dream 08-08-2005 04:30 PM

you cant do that right now

the parser object im using doesnt have this option (disable only font sizes), not sure how i would do that, and how it would affect performance...

Boofo 08-08-2005 04:36 PM

Shouldn't affect performance at all, I would think. ;)

Maybe have a font size that overrides the setting?

Dream 08-08-2005 04:42 PM

it would, you would have to test for [ font ] with a regex on all shouts, its the only way i can think of doing it

Boofo 08-08-2005 05:06 PM

I have an Admin (don't worry Biker, I won't mention your name) that likes to play with the shout box I am using now and use big letters. I am on a mission to stop him! ;)

Pion 08-11-2005 02:14 AM

I would like to place the box under "Forum Statistics". Where should I place the code? Thank you.

Dream 08-11-2005 02:45 AM

Quote:

Originally Posted by Pion
I would like to place the box under "Forum Statistics". Where should I place the code? Thank you.

edit FORUMHOME template, put the chatbox code after

Code:

<tbody>
        <tr>
                <td class="thead" colspan="2">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                        <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
                </td>
        </tr>
</tbody>


Pion 08-11-2005 03:06 AM

Thanks but I meant under the whole table. I actually got it. It was after this code.

Code:

<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
                <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
</tbody>
</if>


gothicuser 08-27-2005 10:59 AM

Hi, I got a testbed on my home machine that I use to, well, test everything before going "live".
I have a totally clean vB 3.5.0 RC2 all up and running, working perfectly. No mods, no skins, totally untouched my my itchy little fingers....lol
All I get when I try and install either this mod OR the other "vBShout" is:
Code:

WARNING: Invalid argument supplied for foreach() in \includes\functions.php on line 772
I have absolutely no idea why, does anyone else please?

Dream 08-27-2005 07:59 PM

are you running php on windows? maybe theres a problem in that php file with it

gothicuser 08-28-2005 09:03 AM

Quote:

Originally Posted by Dream
are you running php on windows? maybe theres a problem in that php file with it

You could well be right. I am running under NT but have never suffered probs before, but having said that I have now upgraded to php 4.4.0 and (coincidentally) I have now experimented with six shout/chat boxes, none of which will install.
Wierd....... all other plugs install fine, just not the shouts........ :disappointed: :disappointed:

Wordplay 09-10-2005 01:19 AM

anybody knows how to make this shoutbox show a miniture (resized version of the avatar of the user instead of the username if they are registered)? and of course the shout would then have to wrap next to it.

anybody out there that can help out with this?

mholtum 09-10-2005 03:12 AM

:( Install was easy enough.. But ....

Code:

Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
SELECT count(shoutid) AS total FROM vb3_chatboxlite_shout;

MySQL Error  : Table 'mholtum_forums.vb3_chatboxlite_shout' doesn't exist
Error Number : 1146
Date        : Saturday, September 10th 2005 @ 12:07:32 AM
Script      : XXXXXXXXXXXXXX/chatbox_lite.php?nofocus=1
Referrer    : XXXXXXXXXX
IP Address  : 70.162.7.101
Username    : Unregistered
Classname    : vb_database

What needs to be done?


All times are GMT. The time now is 12:52 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.01499 seconds
  • Memory Usage 1,818KB
  • 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
  • (7)bbcode_code_printable
  • (8)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