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)

princeedward 03-04-2010 08:39 AM

Quote:

Originally Posted by buddyheiko (Post 1996724)
where and how ?
where and how ?
where and how ?
Heiko

(Guten Tag Mein Freund!)Hi hope this help you to solve your problem....

Edit your language / (Make 'Locale' field blank):
Go > ACP > Language & Phrases > Language Manager > Edit Settings > Date / Time Formatting > (Must All Blank)

Remove all '%' from time/date format settings: Go > ACP > vB Options VSa - ChatBox > Check all settings below

Date format (blank to disable): d-m

Time format: H:i


goodluck and best regards...

Gruss von Schleswig Holstein

:p:up:

buddyheiko 03-04-2010 09:11 AM

Hi princeedward,

I made your first tip, then everything worked fine.

Thanks

Heiko
Gruss aus Baden-Wuerttemberg an alle "Fischkoepfe" ( Spass )

Quote:

Originally Posted by princeedward (Post 1996742)
(Guten Tag Mein Freund!)Hi hope this help you to solve your problem....

Edit your language / (Make 'Locale' field blank):
Go > ACP > Language & Phrases > Language Manager > Edit Settings > Date / Time Formatting > (Must All Blank)

Remove all '%' from time/date format settings: Go > ACP > vB Options VSa - ChatBox > Check all settings below

Date format (blank to disable): d-m

Time format: H:i


goodluck and best regards...

Gruss von Schleswig Holstein

:p:up:


princeedward 03-04-2010 09:22 AM

Quote:

Originally Posted by buddyheiko (Post 1996749)
Hi princeedward,

I made your first tip, then everything worked fine.

Thanks

Heiko
Gru? aus Baden-Wuerttemberg an alle "Fischkoepfe" ( Spass )

Gott sei Dank (Thank God!)

dann bin ich beruhigt! (that's put my mind at rest! )

:p

aouni_tahech 03-04-2010 09:36 AM

Same question has been repeated several times but not answer for it yet.

How can I get this to appear on another page such as a vbAdvanced CMPS index page?

Thanx!

princeedward 03-04-2010 09:49 AM

Quote:

Originally Posted by aouni_tahech (Post 1996764)
Same question has been repeated several times but not answer for it yet.

How can I get this to appear on another page such as a vbAdvanced CMPS index page?

Thanx!

Hi....did you try this TRICK? if you never....and you want to try it...first close your eyes, pray hope before you open your CMPS Portal... :p
and hope it works also for you...

best regards

;)

aouni_tahech 03-04-2010 10:02 AM

Quote:

Originally Posted by princeedward (Post 1996769)
Hi....did you try this TRICK? if you never....and you want to try it...first close your eyes, pray hope before you open your CMPS Portal... :p
and hope it works also for you...

best regards

;)

Thank you man, you're the king -not the prince!
It worked :)

princeedward 03-04-2010 10:25 AM

Quote:

Originally Posted by aouni_tahech (Post 1996775)
Thank you man, you're the king -not the prince!
It worked :)

Glad it helped to solve your problem....King? no dont want to be...it's a lot of work...and one woman...LOL

best regards

:p

baghdad4ever 03-04-2010 10:54 AM

thanks

how to set time between posts inorder to prevent flood??

cory_booth 03-04-2010 11:06 AM

Quote:

Originally Posted by Inflikted (Post 1994272)
just made a two small plugin for New Topic and Reply Notification in your chatbox, im still new to vbulletin scripting so i apologize if there is any mistakes :) But I have been using it for a couple days fine

you must make a couple changes to it though once you install it, in BOTH plugins

alter line 2 or 3

that reads...

PHP Code:

if (!in_array($this->info['forum']['forumid'], array(105,83,121,110,82,112,109,101,102,72))) { 

this will filter out private forums you don't want the public to see when a post is made, so add/remove the forumid's you wish to hide.

one last edit is the SQL insert in BOTH plugins, change the '2' to whatever userid you would like to show the posts as. I would setup a postbot and link it to that userid.

PHP Code:

$vbulletin->db->query_write("INSERT INTO `" TABLE_PREFIX "vsa_chatbox` (`userid`, `userip`, `message`, `dateline`, `textprop`) VALUES ('2', '".$_SERVER['REMOTE_ADDR']."', '" $vbulletin->db->escape_string($message) ."', ".TIMENOW.", '');"); 

Thats all :)


Awesome work - 'cept... It generates an SQL error if the forum post contains a single quote in the title.

elenh 03-04-2010 11:59 AM

what do you thing about to add notification options?

i.e. when new thread posted by x user then auto message in the chat. The same for other actions like new reply by x,welcome to the new member x,The x user just logged in,you got pm etc..

That will be very nice if you add this extras.


All times are GMT. The time now is 01:44 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.03080 seconds
  • Memory Usage 1,762KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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