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)

sledfreak 11-30-2005 06:49 PM

Does anyone know what this means?
Quote:

Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
SELECT * FROM chatboxlite_shout ORDER BY dateline DESC LIMIT 0, 50;

MySQL Error : Error writing file 'D:\WINNT\TEMP\MY371' (Errcode: 28)
Error Number : 3
Date : Wednesday, November 30th 2005 @ 03:44:07 PM
Script : http://www.xxxxxxx.com/forum/chatbox_lite.php?nofocus=1
Referrer : http://www.xxxxxxx.com/forum/
IP Address : xx.xxx.xx.xxx
Username : xxxxxxx
Classname : vb_database

smokering 12-04-2005 08:18 AM

thank you for the nice chatbox.

i have a question or two is there anyway to change the color of the font on the send and refresh buttons i have a dark board with light text and it is not very readable.

thanks again for the hack

kdh344 12-06-2005 12:45 PM

Is this hack compatible with a 3.0.3 version of vbulletin?

I've found all of the code references in the install instructions but I'm not sure how to import - where in the admin do i find the "Product Manager" for the import of the xml file? The only thing I see under Import & Maintenance is "Import / Export" of source board format.

Thanking you in advance,

kdh

Bounce 12-11-2005 02:28 AM

Works a treat

/me installs

any way of adding a smileys button,at present smileys work if you paste in the code from a smiley.. a button to clickable smileys would be nice? possible? :ermm:

Bounce 12-11-2005 05:41 PM

Quote:

Originally Posted by kdh344
Is this hack compatible with a 3.0.3 version of vbulletin?

I've found all of the code references in the install instructions but I'm not sure how to import - where in the admin do i find the "Product Manager" for the import of the xml file? The only thing I see under Import & Maintenance is "Import / Export" of source board format.

Thanking you in advance,

kdh

no 3.0.3 doesn't have the plug-in system , upgrade to 3.5.2 :o lol

Justdave 12-18-2005 07:46 PM

Shoutbox slows down my site. Are you having the same problems with this version, if not, why not?

TIA

Dave

johnnypict 01-02-2006 10:43 PM

Hi,

I'm concerned that if I pop this into the front of my forums page that the odd passer by may leave abusive language etc. Can't really ban them from the forum. Or is this only visible to registered people.

Is there away of banning certain words from appearing.

Thanks in advance. :squareeyed:

RichieBoy67 01-03-2006 12:22 AM

How can I change the color of the text inside the buttons???

Thanks

Mastar 01-14-2006 10:09 PM

Can we make the chatbox only visible to members??

Mastar 01-25-2006 03:51 PM

Any help to my last post??? How can I make the chatbox visible to only members???

rudiviss1 01-25-2006 05:11 PM

Yes, simply add these:
PHP Code:

<if condition="$show['member']"

Before the Code
and the following after it:
PHP Code:

</if> 

If you want a notice, add this above where you add
PHP Code:

<if condition="$show['member']"

:
PHP Code:

<if condition="$show['guest']">
<
p><b>ONLY FOR MEMBERSSORRY!</b></p>
</if> 


rudiviss1 01-25-2006 05:13 PM

Quote:

Originally Posted by johnnypict
Hi,

I'm concerned that if I pop this into the front of my forums page that the odd passer by may leave abusive language etc. Can't really ban them from the forum. Or is this only visible to registered people.

Is there away of banning certain words from appearing.

Thanks in advance. :squareeyed:

This chat box uses the forum's post system, ie. tags that can be used in posts can be used in the chatbox. This is not confirmed but I think that the swear filter may be in effect too :ermm:

Why not just close it off to guests?? See above post :nervous:

Rudi

Mastar 01-26-2006 04:29 PM

Quote:

Originally Posted by rudiviss1
Yes, simply add these:
PHP Code:

<if condition="$show['member']"

Before the Code
and the following after it:
PHP Code:

</if> 

If you want a notice, add this above where you add
PHP Code:

<if condition="$show['member']"

:
PHP Code:

<if condition="$show['guest']">
<
p><b>ONLY FOR MEMBERSSORRY!</b></p>
</if> 


say I don't want certain usergroups to view the chatbox.... what would I add?

Mastar 01-28-2006 12:29 PM

Can some create a cp in the admincp for chatbox like HERE

Mikecp421 01-28-2006 07:58 PM

excellent, thanks!

rudiviss1 01-29-2006 07:37 AM

Quote:

Originally Posted by Mastar
Can some create a cp in the admincp for chatbox like HERE

Hi Mastar,
I don't know about the AdminCP integration but I could make a standalone PHP file that administrators only can use to edit their chatbox if that would help... :ermm:

rudiviss1 01-29-2006 07:50 AM

Quote:

Originally Posted by Mastar
say I don't want certain usergroups to view the chatbox.... what would I add?

:ermm:

From my current knowledge of how vB works, I think you have to go through the permissions of certain usergroups, what I don't know is how we get the Chatbox to show up in these permissions... :nervous:

Mastar 01-29-2006 12:39 PM

Quote:

Originally Posted by rudiviss1
Hi Mastar,
I don't know about the AdminCP integration but I could make a standalone PHP file that administrators only can use to edit their chatbox if that would help... :ermm:

Well thank you! I would like to see how that works, can you please?! THanks again.

rudiviss1 01-30-2006 08:08 PM

Quote:

Originally Posted by Mastar
Well thank you! I would like to see how that works, can you please?! THanks again.

Hello again Mastar, I will try my best although results cannot be guarenteed :nervous:

I will get to work on it ASAP, currently just working on my whole new Bulletin Board system, MageBB :)

Dennis B 01-30-2006 11:13 PM

hmmmmm

I've installed this... but there doesn't seem to be an easy way to prune messages... it would be nice if at every interval the script would just prune messages that are either older than X hours/days/weeks or if there are more than X messages in the chat...

Otikeu 02-04-2006 09:26 AM

Worked on my test board, but...

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
show tables like ghf_'sl_shout';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ghf_'sl_shout'' at line 1
Error Number : 1064
Date : Saturday, February 4th 2006 @ 06:22:06 AM
Script : http://myurl.com/admincp/plugin.php
Referrer : http://myurl.com/admincp/plugin.php?do=productadd
IP Address : 69.10.160.68
Username : Otikeu
Classname : vb_database
I am currently using MySQL 4.1.14-standard. I get this error when trying to import the xml product file.

Thank you.

Otikeu 02-04-2006 06:43 PM

Help please? Thanks...

rudiviss1 02-04-2006 09:34 PM

hmm, is the test board on the same database as the other board? If so, this could be conflicting...

Otikeu 02-04-2006 10:14 PM

Quote:

Originally Posted by rudiviss1
hmm, is the test board on the same database as the other board? If so, this could be conflicting...

No, they were on seperate databases, just did that so I could see a live demo of some hacks and templates myself, before I upgraded my forum.

Anyways, it seems to be the wrong syntax... for some weird reason. maybe the issue is "'sl_" portion?

wdlove 02-04-2006 11:50 PM

This is very exciting news also. Just need to convince my brother.

Dream 02-05-2006 07:17 AM

i would hep you if I knew what was going on

say hmmm... is your test board running the same chatbox lite version as your live board? did you follow the instructions right?

wdlove 02-06-2006 12:48 AM

I'm hoping that I will get to use this if my brother agrees.

Otikeu 02-13-2006 08:23 PM

Any word on the previous support request? Thank you.

rudiviss1 02-13-2006 09:24 PM

Quote:

Originally Posted by Otikeu
Any word on the previous support request? Thank you.

Yes ::

Quote:

Originally Posted by Dream
i would hep you if I knew what was going on

say hmmm... is your test board running the same chatbox lite version as your live board? did you follow the instructions right?

:)

* Work will be started on my CP Module for this within the next few days.

Otikeu 02-15-2006 12:36 AM

Quote:

Originally Posted by rudiviss1
Yes ::



:)

* Work will be started on my CP Module for this within the next few days.

Oh, haha stupid me.

Anyways, when I try to upload the product xml file, it seems to report that the synax doesn't agree.

Actually, my test board was 3.5.2, then I upgraded my main forum (the one I use, not the test) to the 3.5.3, which seems to not be agreeing correctly. I'll double check to see if it just doesn't work with 3.5.3 and report back.

Thanks!

Otikeu 02-15-2006 01:02 AM

Well, it seems that the version isn't the issue, just the upgrade process could have caused it... here is the MySQL error I get when importing the product (aka it shows this when I click on "Import" and doesn't import the product)

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
show tables like ghf_'sl_shout';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ghf_'sl_shout'' at line 1
Error Number : 1064
Date : Tuesday, February 14th 2006 @ 10:00:30 PM
Script : http://forums.xxxxxxxxxxxxx.com/admincp/plugin.php
Referrer : http://forums.xxxxxxxxxxxxx.com/admi...?do=productadd
IP Address : 69.10.160.68
Username : Otikeu
Classname : vb_database
My MySQL version is 4.1.14-standard. It works on a test board of vB 3.5.3, but won't work on my upgraded board of 3.5.3...

Asha'man 02-15-2006 10:43 AM

Hi,

first of all, thanks for the really nice chatbox! :) It's running fine now in my brandnew vBulletin installation @http://www.celica-community.de

I had to patch a small thing to allow usernames containing ticks (as mine):

$username = ereg_replace("'","\\'",$vbulletin->userinfo['username']);

And then use $username in the rest of the code instead of $vbulletin->userinfo['username'].

It would be great if you could add a fix similar to this to your codebase. So I (and probably others) won't have to take care for the future. It also enhances your security. Someone might be able to inject SQL by using a malformed username or something. I think it's not trivial or maybe not even possible, but why not going the safes way?!

Cheers,
Thomas

Asha'man 02-15-2006 10:46 AM

Otikeu: I had the same. Just change the statement in the xml to: show tables like 'sl_shout'.

But do this with care and only if you're sure the [yourprefix]sl_shout table is not existing already in your db. This is a nasty workaround to get it running, but it works.

Otikeu 02-15-2006 10:08 PM

Quote:

Originally Posted by Asha'man
Otikeu: I had the same. Just change the statement in the xml to: show tables like 'sl_shout'.

But do this with care and only if you're sure the [yourprefix]sl_shout table is not existing already in your db. This is a nasty workaround to get it running, but it works.

Aw, yes that is what I thought, but wasn't too sure on what to do. However, I was gonna backup my database and then do that, but now that you've confirmed, I'll proceed with it heh. Thank you for the help, I'll post what the results are.

EDIT: It worked! Thank you!

zama 02-23-2006 04:38 AM

while i try to importing the product it appear to error. this is what the program noticed>>>

Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
show tables like vb3_'sl_shout';

MySQL Error : You have an error in your SQL syntax near 'vb3_'sl_shout'' at line 1
Error Number : 1064
Date : Thursday, February 23rd 2006 @ 01:28:10 AM
Script : http://vuth.com/forum/admincp/plugin.php
Referrer : http://vuth.com/forum/admincp/plugin.php?do=productadd
IP Address : 203.144.160.243
Username : admin
Classname : vb_database
Does anybody can tell me what happened with this? and what should i do to install it please..... :ermm:

Otikeu 03-14-2006 01:58 AM

Quote:

Originally Posted by zama
while i try to importing the product it appear to error. this is what the program noticed>>>



Does anybody can tell me what happened with this? and what should i do to install it please..... :ermm:

Same issue as I had, check the posts on this page.

Also, what file do I edit to modify Chatbox templates? Cause, I wanna take out the input text field so it doesn't auto refresh... and just customize it some more. Also, maybe for the next release, a /emote system? I can give you a list of good ones.

Replicators 03-14-2006 07:43 AM

It's obvious that this mod is made for a lighter skin, if you have a dark skin then you cannot see the button letter's or the text people put into the box. I like this, a bit better than vbshout to be honest as it's much lighter on the db. If someone could tell me how i could change the font colors of the buttons and box text, i would be most happy.

Otikeu 03-21-2006 10:16 PM

Quote:

Originally Posted by Replicators
It's obvious that this mod is made for a lighter skin, if you have a dark skin then you cannot see the button letter's or the text people put into the box. I like this, a bit better than vbshout to be honest as it's much lighter on the db. If someone could tell me how i could change the font colors of the buttons and box text, i would be most happy.

The colors depend on your vBulletin's CSS customizations. It works on my dark layout.

You can check the coding, etc, through the chatbox_lite.php file.
WARNING! Basic PHP knowledge required.

Brandon Sheley 03-24-2006 06:44 AM

just installed with no problems :)
[high]* Brandon Sheley clicked install[/high]

ARCANE_B0SS 03-24-2006 05:19 PM

can i use this hack with vb3.5.4 ????????

is there r any risk?????


All times are GMT. The time now is 06: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.01444 seconds
  • Memory Usage 1,848KB
  • 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
  • (8)bbcode_php_printable
  • (18)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