vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Chat Modifications - MGC Chatbox (with AJAX) (https://vborg.vbsupport.ru/showthread.php?t=148472)

lordtopcat 01-10-2008 07:28 AM

Hi there,

I was wondering, if there was any way I could gain the IP address of a guest? This guest continually spams our shout box with rude comments...and pages of them. For now we have disabled guests posting all together, but we only want this to be temporary as this is a form of contact for our guests, as we don't allow them to post in the forum.

Thanks
LTC

VBDev 01-10-2008 07:45 AM

Quote:

Originally Posted by physiart (Post 1418822)
That's exactly what I was trying to check out. I'm not sure about that, 'cause I can't verify the results (i.e. the hourly cleanup what cleans up?). Anyway, clicking on "Run now" old shouts should be removed immediately, but they don't. I don't know if it's relative that my host server runs in safe mode.
BTW, when checking the Scheduled Task Log Viewer it displays allright the actions (Old messages of MGC Chatbox removed), but old shouts are still there.

Maybe, but it's not really a problem, rather than annoying. I won't give it further thinking, until any of my users notice it. ;)

Have you tested on a local test forum with the same parameters for the scheduled tasks ?

Quote:

Originally Posted by lordtopcat (Post 1418836)
Hi there,

I was wondering, if there was any way I could gain the IP address of a guest? This guest continually spams our shout box with rude comments...and pages of them. For now we have disabled guests posting all together, but we only want this to be temporary as this is a form of contact for our guests, as we don't allow them to post in the forum.

Thanks
LTC

This requires some modification coding, unless you have those skills I can't be of any help for the moment, I'm sorry.

Basically you'd need to add a field in the mgc_chatbox sql table to log ip, and modify the request that insert a shout in the database (in the mgc_chatbox.php file).

yeku 01-10-2008 12:42 PM

Quote:

Originally Posted by VBDev

This is a known bug.

Open the mgc_chatbox.php file and search for :

PHP Code:

$pagenav construct_page_nav($pagenumber$perpage$getnb_chats['nb_chats'],
        
$vbulletin->options['bburl'] . '/mgc_chatbox.php?' $vbulletin->session->vars['sessionurl'] . 'do=view_archive'); 

Replace it by :

PHP Code:

$pagenav construct_page_nav($pagenumber$perpage$getnb_chats['nb_chats'],
        
$vbulletin->options['bburl'] . '/mgc_chatbox.php?' $vbulletin->session->vars['sessionurl'] . 'do=view_archive&what=' $what); 


Once the change was done but do not work, follow the same error:(

Please enter my forum....VBDev

user= User100
Pass= myforum

Axarquiarturismo.com

firstrebel 01-10-2008 05:12 PM

Quote:

Originally Posted by VBDev (Post 1418767)
Originally Posted by firstrebel
I followed the install instructions exactly. I tried displaying at top and bottom, Same problem - 2 chatboxes.

Bob
And in the showthread or forumdisplay pages ?

Reinstalled and OK. Now working OK on live forum. Great job. Thanks.

Maybe a means of limiting image size in shouts for future release?

Bob

yashua 01-11-2008 02:25 AM

When ever I type /ban somones name it says user does not exist and when I do /pm somones name it says I don't have permission

bhanuprasad1981 01-11-2008 02:53 AM

i tried to install ,uploaded files imported language ,but when i try to set user permissions its giving me sql error as follows:-
Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Registered Users',
        `description` = '',
        `usertitle` = '',
        `opentag` = '',
        `closetag` = '',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `mgccustomusergroupperms` = '261',
        `nbmsgshowchatbox` = '5',
        `trgpermissions` = '0',
        `forumpermissions` = '782847',
        `genericpermissions` = '505943751',
        `attachlimit` = '0',
        `pmquota` = '50',
        `pmpermissions` = '3',
        `pmsendmax` = '5',
        `calendarpermissions` = '63',
        `wolpermissions` = '1',
        `adminpermissions` = '0',
        `genericoptions` = '62',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '100',
        `avatarmaxheight` = '100',
        `avatarmaxsize` = '20000',
        `signaturepermissions` = '235519',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '10000',
        `sigmaxrawchars` = '1000',
        `sigmaxchars` = '500',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '4'
WHERE usergroupid=2;

MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Date        : Thursday, January 10th 2008 @ 08:52:10 PM
Script      : http://www.xxxxxxx.org/admincp/usergroup.php?do=update
Referrer    : http://www.xxxxxxx.org/admincp/usergroup.php?do=edit&usergroupid=2
IP Address  : xx.xx.xx.xxx
Username    : xxxxx
Classname    : vB_Database


BigDog56 01-11-2008 04:29 AM

Quote:

Originally Posted by lordtopcat (Post 1418836)
Hi there,

I was wondering, if there was any way I could gain the IP address of a guest? This guest continually spams our shout box with rude comments...and pages of them. For now we have disabled guests posting all together, but we only want this to be temporary as this is a form of contact for our guests, as we don't allow them to post in the forum.

Thanks
LTC

I installed a site meter in the footer of our forum. It logs every IP, time and pages viewed. Match up the times and you should be able to figure out who it is. It's at the bottom of every page, including our cover page. Click on it, and it will give you instructions on how to use it. It's free.

VBDev 01-11-2008 05:18 AM

Quote:

Originally Posted by yeku (Post 1418946)
Once the change was done but do not work, follow the same error:(

Please enter my forum....VBDev

user= User100
Pass= myforum

Axarquiarturismo.com

As a registered user I only have access to the first channel and can't use the chatbox (just can see it).

What's strange is that the link when clicking to see archives redirect to the index again is that the problem ? If yes then its a vbulletin misconfiguration you made.

You shouldn't have left the index.php in the url in your options.

Quote:

Originally Posted by firstrebel (Post 1419055)
Reinstalled and OK. Now working OK on live forum. Great job. Thanks.

Maybe a means of limiting image size in shouts for future release?

Bob

[high]* VBDev is not accepting new features please :D[/high]

I want to finish the version with the things I have planned so for the moment my requests acceptance list is closed and loggin nothing lol but feel free to ask me again once the new one will be release.

Quote:

Originally Posted by yashua (Post 1419351)
When ever I type /ban somones name it says user does not exist and when I do /pm somones name it says I don't have permission

The syntax is not /ban username or /pm username your_message.

It's more complicated than that, please check the help in the chatbox, it describes exactly those commands syntaxes.

Quote:

Originally Posted by bhanuprasad1981 (Post 1419357)
i tried to install ,uploaded files imported language ,but when i try to set user permissions its giving me sql error as follows:-
Code:

Database error in vBulletin 3.6.8:
 
Invalid SQL:
UPDATE usergroup SET
 
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
    `title` = 'Registered Users',
    `description` = '',
    `usertitle` = '',
    `opentag` = '',
    `closetag` = '',
    `passwordexpires` = '0',
    `passwordhistory` = '0',
    `mgccustomusergroupperms` = '261',
    `nbmsgshowchatbox` = '5',
    `trgpermissions` = '0',
    `forumpermissions` = '782847',
    `genericpermissions` = '505943751',
    `attachlimit` = '0',
    `pmquota` = '50',
    `pmpermissions` = '3',
    `pmsendmax` = '5',
    `calendarpermissions` = '63',
    `wolpermissions` = '1',
    `adminpermissions` = '0',
    `genericoptions` = '62',
    `profilepicmaxwidth` = '100',
    `profilepicmaxheight` = '100',
    `profilepicmaxsize` = '65535',
    `avatarmaxwidth` = '100',
    `avatarmaxheight` = '100',
    `avatarmaxsize` = '20000',
    `signaturepermissions` = '235519',
    `sigpicmaxwidth` = '500',
    `sigpicmaxheight` = '100',
    `sigpicmaxsize` = '10000',
    `sigmaxrawchars` = '1000',
    `sigmaxchars` = '500',
    `sigmaxlines` = '0',
    `sigmaxsizebbcode` = '7',
    `sigmaximages` = '4'
WHERE usergroupid=2;
 
MySQL Error  : Unknown column 'mgccustomusergroupperms' in 'field list'
Error Number : 1054
Date        : Thursday, January 10th 2008 @ 08:52:10 PM
Script      : http://www.xxxxxxx.org/admincp/usergroup.php?do=update
Referrer    : http://www.xxxxxxx.org/admincp/usergroup.php?do=edit&usergroupid=2
IP Address  : xx.xx.xx.xxx
Username    : xxxxx
Classname    : vB_Database


You haven't uploaded the two products of the archive :)

abroad 01-11-2008 07:15 AM

I have vb 3.7.0 Beta 3 and when I go to my forum the chat appears but it doesnt stop loading...see attachment

VBDev 01-11-2008 08:25 AM

Have you uploaded the files in the clientscript directory ?


All times are GMT. The time now is 09:33 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.03309 seconds
  • Memory Usage 1,779KB
  • 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
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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