vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - VSa - ChatBox (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=235271)

KittyWireless 11-26-2011 04:24 AM

Confirmed same here, blank menus, only appear when moused over.....

spillage 11-26-2011 09:57 PM

Quote:

Originally Posted by The Rocketeer (Post 2271720)
Anyone else notice this issue where the links have blended in with the background and dont show unless hovered over. I'm Using 4.1.8.

Yup, I also have this issue after upgrading to 4.1.8.
I only use the default style/colours.

BayLee2 11-27-2011 04:18 AM

I can access the delete all posts button on my board. How do I enable this button for my modstaff? They have to delete page by page. I've searched this thread and looked through mst pages with no luck. Any help is appreciated.

Datenpapst 11-28-2011 08:57 AM

well I also get the security token problem, after I had to reimport my database and I reinstalled the chat box. :( Any help?

dariyos 11-28-2011 02:15 PM

how can I rename the chatbox into shoutbox?

Videx 11-28-2011 03:02 PM

Quote:

Originally Posted by dariyos (Post 2272743)
how can I rename the chatbox into shoutbox?

Go to the upper right and "Search this mod" for a term like "rename". It will lead you to one of my old posts: https://vborg.vbsupport.ru/showpost....&postcount=399

musado1961 11-28-2011 06:44 PM

Quote:

Originally Posted by spillage (Post 2272230)
Yup, I also have this issue after upgrading to 4.1.8.
I only use the default style/colours.

..and the same issue here as well. Any news on a fix for this?

bcilloniz 11-30-2011 06:15 AM

My chatbox is not reading date and time.. I saw the options, but don`t know how to set them correctly, because it should work like that -I think so-.

Any help please...

I also got the same problem with blank menus, unless you move you mouse over the options.

Thanks for this chat, becaause it was very easy to install, and it looks and works great.

Thank you veru much.

Hippy 11-30-2011 08:07 PM

Quote:

Originally Posted by musado1961 (Post 2272821)
..and the same issue here as well. Any news on a fix for this?

Quote:

Originally Posted by bcilloniz (Post 2273299)
My chatbox is not reading date and time.. I saw the options, but don`t know how to set them correctly, because it should work like that -I think so-.

Any help please...

I also got the same problem with blank menus, unless you move you mouse over the options.

Thanks for this chat, becaause it was very easy to install, and it looks and works great.

Thank you veru much.

.blockhead .popupbody

.popupbody li

try to change the background color in this stylevar (body_color)
and
(Blockhead Background)
example how to track this stuff down

if you search for this in your templates youll see what stylevar is being used
Code:

.blockhead .popupbody li >
this is the stylevar for it
change the font first . find this stylevar
blockhead_link_color
this will change the font color
I would do this one first..
before the background.
Posted both incase your background is off thats why you can see the font..
and posted for the font incase it's the font thats off..


hope this helps

spiritguide 12-01-2011 10:45 AM

Excellento my man thank you very much indeed! is there anyway we can get an addon to this that would allows us to play sounds in the chatbox? At all??

Hippy 12-01-2011 07:34 PM

welcome

search this thread for sound etc ..
someone posted here how to do so..

Jpolola 12-01-2011 08:41 PM

This is great and very easy to install. thanks valter
Upload OPTIONAL icons.zip and that will fix alignment and broken images using browser Firefox, Chrome and IE
I am using 4.1.6

musado1961 12-01-2011 08:58 PM

Many thanks Hippy, changing the font colour sorted it :D

Lord. Dela 12-02-2011 01:29 PM

why i have 900 guest viewing chat bot, what can i do ? :(

Videx 12-02-2011 02:59 PM

Quote:

Originally Posted by Lord. Dela (Post 2274001)
why i have 900 guest viewing chat bot, what can i do ? :(

This has been discussed before, but I don't think there's any better solution than to disable guest viewing in the options.

bcilloniz 12-02-2011 10:36 PM

Any help for my date and hour problem...?

Thanks hippy for the other solution. I will try it as soon as possible.

Videx 12-02-2011 11:56 PM

Quote:

Originally Posted by bcilloniz (Post 2274141)
Any help for my date and hour problem...?

Instead of expecting us to find your earlier post you should have just figured maybe nobody understood the question "My chatbox is not reading date and time.. I saw the options, but don`t know how to set them correctly, because it should work like that -I think so-.?" and re-phrased it, maybe added a link to the site and a screenshot. And most importantly: assured us that you've searched this mod, found all the earlier discussions about date and time, but still haven't found a solution.

bcilloniz 12-03-2011 01:50 AM

Quote:

Originally Posted by Videx (Post 2274160)
Instead of expecting us to find your earlier post you should have just figured maybe nobody understood the question "My chatbox is not reading date and time.. I saw the options, but don`t know how to set them correctly, because it should work like that -I think so-.?" and re-phrased it, maybe added a link to the site and a screenshot. And most importantly: assured us that you've searched this mod, found all the earlier discussions about date and time, but still haven't found a solution.

Will try it that way...

Thanks for your support and for you excellent chat. Not the best in english...sorry

Bye:up:

bcilloniz 12-03-2011 03:54 PM

1 Attachment(s)
Posting solution for date and time problem, bug or whatever you call this issue in english.

"Edit your language, make 'Locale' field blank, then remove all '%' from time/date format settings." (By: Videx)

Dear Hippy; any way to put just the word or link "ChatBox" in white color, without changing the text of the pop up menu?... I have the same problem with my register button, beacause if I change text to white, other links of my menu can?t be seen because of my white background.

Thanks for your useful help...:up:

Hippy 12-03-2011 04:56 PM

I will look into it ..
got to find a stylevar to change it to.. or use hard code color in the template / css

sazkar 12-05-2011 05:09 AM

First of all, great mod!

I have one issue though, when the chatbox loads initially, it loads the whole page into the chat area instead of messages. User has to reload the page or click on some link to actually load the messages.

I noticed, the initial AJAX request looks like this:

Code:

POST http://sazkar.net/misc.php?es=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&show=ccbmessages
whereas subsequent requests use '&' to separate params. I don't have any idea why '&' is escaped to '&' initially. Does anyone have any idea how to fix it?
Its doesn't make good impression to the new users.

Thanks!

P.S. There is 's' instead of 'es' in the code example, I had to change it as otherwise this smart editor will remove the session data (that I've modified before posting anyway..)

RSNF 12-07-2011 12:45 AM

Is there anyway to get this to also display on the home page as well?

torcidas 12-07-2011 10:04 AM

I have problem when I upgrade VBulletin to 4.1.8 since colour of font in dropdown menu of chatbox is white same as background. Only when I pass with arrow it change colour to black. On all other dropdown menus ( User CP, Help, Most popular forums, ...) everything is normal. How to fix that problem?

https://vborg.vbsupport.ru/

dippetas 12-11-2011 09:57 PM

thank you valter for this nice product, is there any chance to implement some commands like
/pm username
/ban username
/ignore username
/unban username
in chatboxe's input area?

The Rocketeer 12-12-2011 10:16 AM

Quote:

Originally Posted by torcidas (Post 2275486)
I have problem when I upgrade VBulletin to 4.1.8 since colour of font in dropdown menu of chatbox is white same as background. Only when I pass with arrow it change colour to black. On all other dropdown menus ( User CP, Help, Most popular forums, ...) everything is normal. How to fix that problem?

https://vborg.vbsupport.ru/

I have the same problem, I wish valter would have fixed it in his product and re uploaded the mod so we didn't have to do the file edits to fix this

persianpros 12-12-2011 10:33 AM

great mod but doesn't support "https" links in chatbox

i can give you my modified version that supports https links

datoneer 12-14-2011 03:46 PM

Can you update this mod for 4.18? That would be nice. Also good thing would be to show user avatars there

Valter 12-15-2011 10:04 AM

It works fine on vB 4.1.8. There is just small cosmetic issue with the drop-down menu.

LuDawgs 12-16-2011 04:31 AM

What I would give to have a light version of this operating in a forum sidebar block. If I beg, can we make that happen?

foler 12-16-2011 11:07 AM

Great mod, thanks! Marked as installed.

Just a quick question...

When the ChatBox is set to display newest messages on the bottom and the input area is in the bottom, after refresh the scroll bar is not positioned at the bottom (i.e. the last few messages are not shown). Is there a solution to fix this?

Nelson58 12-17-2011 03:40 PM

This mod works great and installs super easy.

One request- Can you add some sort of paging command so that you can ask someone to come to the chat room? That would let them know someone wishes to chat with them. It would be super!

Thanks,

Nelson

thompson 12-18-2011 10:21 AM

does this work in 3.8.7 too ?
how works the ban in archive ?

RedPoint 12-18-2011 01:09 PM

Quote:

Originally Posted by torcidas (Post 2275486)
I have problem when I upgrade VBulletin to 4.1.8 since colour of font in dropdown menu of chatbox is white same as background. Only when I pass with arrow it change colour to black. On all other dropdown menus ( User CP, Help, Most popular forums, ...) everything is normal. How to fix that problem?

http://www.planinarenje.net/1_temp/chatbox.jpg

I have the same problem - any solution for this?

RedPoint 12-19-2011 08:29 AM

I have the solution from Dorin, the rostyles.com owner - many thanks.

Insert in additional.css this:
Quote:

/* ***** start styling for chat popupmenu ***** */
.blockhead .popupbody li > a { color: #000000;
}
/* ***** end styling for chat popupmenu ***** */

geckoz 12-19-2011 10:46 AM

I wish there would be a chat bot with pre-defined messages getting posted every x minutes.
Somebody can do this? :)

torcidas 12-19-2011 01:43 PM

Quote:

Originally Posted by RedPoint (Post 2279040)
I have the solution from Dorin, the rostyles.com owner - many thanks.

Insert in additional.css this:

Perfect, it's working :)

Videx 12-19-2011 02:23 PM

PHP Code:

/* ***** start styling for chat popupmenu ***** */
.blockhead .popupbody li color#000000; }
/* ***** end styling for chat popupmenu ***** */ 

That works. But why can't I find an 'additional.css' in my vb package? Anyway, it's found in AdminCP>Styles and templates>Style Manager>edit templates>CSS templates

Hippy 12-19-2011 09:14 PM

Quote:

Originally Posted by geckoz (Post 2279059)
I wish there would be a chat bot with pre-defined messages getting posted every x minutes.
Somebody can do this? :)

there are a few out there if you use downloadII there is one ..
if you use ibproarcade
you can do this..


You need to have VSa - Chatbox & ibproarcade installed.

Now create a new bbcode called 'siteurl' with the code
<a href="{option}">{param}</a>
(This makes the game link in the chatbox open in the same window rather than a new one)
Code:

Title = siteurl
BB Code Tag Name = siteurl
Replacement = <a href="{option}">{param}</a>
Example = [siteurl=http://www.example.com]Example Web Site[/siteurl]
Decription = This open site urls in the same window rather than the default target="_blank"
Use {option} = Yes
Button Image (Optional) = Leave Blank
Remove Tag If Empty = Yes
Disable BB Code Within This BB Code = No
Disable Smilies Within This BB Code = Yes
Disable Word Wrapping Within This BB Code = Yes




Ok Now open your root arcade.php file and find
PHP Code:

                        // finally update Highscore-Table
                        
if ( ($this->arcade->user['id'] != 0) && ($player_score <> 0) )
                        {
                                                
$DB->query("UPDATE ibf_games_champs SET ".$db_string." WHERE champ_gid=".$gid);
                            
$ginfo['champ_mid'] = $this->arcade->user['id'];
                            
$ginfo['champ_name'] = $this->arcade->user['name'];
                            
$ginfo['champ_score'] = $player_score


Add after
PHP Code:

// Insert New Chatbox Message
$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND g.active=1 AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,1");
while( 
$row $DB->fetch_row() )
        {
            
$newchattxt .= "[color=green]".$row['champ_name']." set a new high score of ".$row['champ_score']." in [/color][siteurl=http://".$_SERVER['SERVER_NAME']."/arcade.php?do=play&gameid=".$row['champ_gid']."]".$row['champ_gtitle']."[/siteurl]";
                    
$vbulletin->db->query_write("
                        INSERT INTO "
.TABLE_PREFIX."vsa_chatbox
                            (userid, userip, message, dateline, textprop)
                        VALUES ('42', '"
.$_SERVER['REMOTE_ADDR']."', '".$newchattxt."', ".TIMENOW.", '')
                    "
);
        }
// End insert 

Then Find

PHP Code:

                    if ($player_score <> 0)     // no champ with no result ...
                    
{
                                
$DB->query("INSERT INTO ibf_games_champs (" .$db_string['FIELD_NAMES']. ") VALUES ("$db_string['FIELD_VALUES'] .")");
                        
$ginfo['champ_mid'] = $this->arcade->user['id'];
                        
$ginfo['champ_name'] = $this->arcade->user['name'];
                        
$ginfo['champ_score'] = $player_score

Add after
PHP Code:

// Insert New Chatbox Message
$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND g.active=1 AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,1");
while( 
$row $DB->fetch_row() )
        {
            
$newchattxt .= "[color=green]".$row['champ_name']." set a new high score of ".$row['champ_score']." in [/color][siteurl=http://".$_SERVER['SERVER_NAME']."/arcade.php?do=play&gameid=".$row['champ_gid']."]".$row['champ_gtitle']."[/siteurl]";
                    
$vbulletin->db->query_write("
                        INSERT INTO "
.TABLE_PREFIX."vsa_chatbox
                            (userid, userip, message, dateline, textprop)
                        VALUES ('42', '"
.$_SERVER['REMOTE_ADDR']."', '".$newchattxt."', ".TIMENOW.", '')
                    "
);
        }
// End insert 

example
Change BOTH INSTANCES of 42 in the above code to the value of the userid of the users name you wish to appear in the chatbox. I have a user with id 42 called spam_master who does all the arcade shouting for this addon.



this code was writen by someone here @vb.org
but it was never posted as a mod.. so it's lost ATM
I keep the code on hand .. when I seen it
I forget who wrote it ..
If I find it I will give 100% credit to him for this great addition

thompson 12-20-2011 01:26 PM

how can i change the font size in chatbox ??

DEGE 12-20-2011 02:05 PM

Is there any version of this mod for 3.X ?


All times are GMT. The time now is 09:37 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.04240 seconds
  • Memory Usage 1,879KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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