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 - [DBTech] vBShout v6 (vB4) [AJAX] (https://vborg.vbsupport.ru/showthread.php?t=236970)

DragonByte Tech 04-24-2011 02:05 AM

Fix uploaded for that message :)

Btw, with Suhosin, do you see the notice regarding Suhosin on instance management? I don't have it available so I don't know if the notice actually shows up or not.


Fillip

Blueracer66 04-24-2011 02:26 AM

Quote:

Originally Posted by DragonByte Tech (Post 2187975)
Fix uploaded for that message :)

Btw, with Suhosin, do you see the notice regarding Suhosin on instance management? I don't have it available so I don't know if the notice actually shows up or not.


Fillip

Fillip did you mean you fixed that error message?

Oh and yes, I do get the Suhosin warning message:
Quote:

You appear to have Suhosin installed on your server.

Please note that if you have a large number of usergroups, certain parts of this page may not work as intended.

If you encounter this issue, you can work around this by adding the following code to your .htaccess file:

Code:

php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.get.max_vars 2048
php_value suhosin.post.max_vars 2048

These are the values vBulletin Support Staff suggest.

DragonByte Tech 04-24-2011 02:32 AM

Yeah I fixed the "creator" message :)

Great that you see the notice :D That means if I need to tell my Suhosin users something else in the future / amend that message, I can do so easily :)


Fillip

Blueracer66 04-24-2011 03:04 AM

Quote:

Originally Posted by DragonByte Tech (Post 2187980)
Yeah I fixed the "creator" message :)

Great that you see the notice :D That means if I need to tell my Suhosin users something else in the future / amend that message, I can do so easily :)


Fillip

Thanks, I see it's fixed and I am able to create chatrooms. I have a question, I want to move the text input field under the actual shoutbox. What file do I need to edit? Thanks.

andaleks 04-24-2011 04:24 AM

Quote:

Originally Posted by Trek (Post 2187905)
If you're running vBOptimize, flush the cache. I had the same issue and when I did that, it worked fine.

thanks

DragonByte Tech 04-24-2011 01:40 PM

Quote:

Originally Posted by Blueracer66 (Post 2187985)
Thanks, I see it's fixed and I am able to create chatrooms. I have a question, I want to move the text input field under the actual shoutbox. What file do I need to edit? Thanks.

That's a Pro-only feature.


Fillip

newyork20015 04-24-2011 07:01 PM

Thanks

frbmjb 04-24-2011 08:41 PM

hi
tnx a lot
it is the best of the shout box
how to view on all page ?

tnx

DragonByte Tech 04-24-2011 08:52 PM

To put vBShout in a custom location, do the following:


Step 1: AdminCP -> DBTech - vBShout-> Instance Management -> [Edit].

Step 2: Change the Auto-Display Shoutbox setting to Disabled.

Step 3: Write down the the Varname setting. For the default shoutbox, it's instance1. The rest of this guide will assume you replace instance1 with the actual Varname if it is different.

Step 4: Enter the Style Manager and add {vb:raw show.vbshout_instance1} to the navbar template beneath the {vb:raw ad_location.global_below_navbar}


Hope that helps :)



Fillip

d3vilfish666 04-25-2011 10:31 AM

Hi just updated to version 4.2 and it is showing as 4.1 in the archive but 4.2 in the products manager and still unable to place the shoutbox in the cms page using {vb:raw show.vbshout_instance1} but can on any forum page.

DragonByte Tech 04-25-2011 01:38 PM

Quote:

Originally Posted by d3vilfish666 (Post 2188411)
Hi just updated to version 4.2 and it is showing as 4.1 in the archive but 4.2 in the products manager and still unable to place the shoutbox in the cms page using {vb:raw show.vbshout_instance1} but can on any forum page.

This will be fixed in 5.4.3 :)


Fillip

MortysTW 04-25-2011 03:07 PM

GLITCHED. In the AdminCP>Instance Manager> In chat room setting, you used to be able to specify what pages it shows on. It even still says:
Quote:

Auto-Display Shoutbox
This setting controls whether the Shoutbox will automatically be added to the pages you specify above.
Selecting "Disabled" means you need to add a variable to all relevant templates manually.
For more information, see Admin Help.
But there is no box or any options "above" to specify any pages. Or did my install just goof?

I can only get it to appear on my forums.php

DragonByte Tech 04-25-2011 03:10 PM

Will be fixed for 5.4.3.

Fillip

DragonByte Tech 04-25-2011 05:55 PM

Thanks to your diligence in reporting vBShout issues, we've seen it fit to release v5.4.3.

It fixes the following issues:
  • Suhosin users should no longer find the Permissions and BBCode Permissions erased upon saving the Instance Options form.
    Please note that it is still required to submit the 3 forms separately, the top form will simply not erase any previous changes you have made to the bottom ones anymore.
  • The Shoutbox can now once again be placed on the vB CMS on vB4
  • It is now once again possible to determine if you have been flagged Idle if the Shout Order is set to Oldest First
  • If you had more than one instance per page, it was possible for the Shoutbox to be stuck on Loading. This has now been corrected.
  • The Shoutbox will now properly display times for shouts made in a global chatroom
  • Deleting or posting a shout in a chat room will no longer show the contents of the "Shoutbox" tab until the shouts refresh again
  • BBCode parsing for notifications should now once again work as intended
  • The Auto-Idle function should now function correctly

Thanks for your patience and assistance in tracking down these issues :)


Fillip

In Omnibus 04-26-2011 01:07 AM

vBulletin Version 4.1.3

BBCode parsing for notifications still showing taqs and breaking links.
Creating a missing plugin error requesting installation of Apple QuickTime.

Reverted to version 5.4.2

DragonByte Tech 04-26-2011 01:11 AM

Shame, I could have used your help in fixing it :)

Oh well.

As for the missing plugins, that's the shout sounds :)


Fillip

d3vilfish666 04-26-2011 04:57 AM

Thanks for the update, now sorted and on the cms thanks much.

Lestat_ 04-26-2011 08:49 AM

installed on 4.1.2 (install version mod is 5.4.3), works great but I have one problem, when I turn on notifications of new threads, I get this :

Code:

*Ghostface has just posted the thread [thread = 29980]No Strings Attached [2011] 720p *Gereed*[/thread]!*
(i added spaces because thread bbcode is working here)
so bbcode for thread is not working :(

I checked permissions, bbcode & bbcode hyperlinks enabled for all users

Is there a way to fix this ?

demo7up 04-26-2011 09:29 AM

1 Attachment(s)
My admin panel wont work for it any item i click

DBTech - vBShout +
Instance Management Chat Room Management View Banned Users Command Log Download Archive Repair Cache Notifications Settings

i just get a notification on the main screen which says go back.

DemoniK_AK 04-26-2011 09:49 AM

Installed 5.4.3 on 4.1.1 (4.1.3 upgrade planned for this weekend) and have a few issues

1. URL BBCode is not being processed correctly. It just displays with the [URL] bbcode on the shout line, and not converting it into a <a href> as expected.
2. Notifications in ACP is blank like for demo7up above. I'm at a loss on how to enable notifications for the forums for new threads and replies.
3. Posting a shout into a chatroom results in the SB refreshing to the main chatroom and not the chatroom just posted in - however it seems I am still in that chatroom and all shouts are posted there and not the main chatroom. And should someone else post in the chatroom I'm automatically brought back to it.
4. The sounds system constantly issues a sound every refresh - not sure which one of the sounds is issuing yet - am doing some more work on that.
5. On selecting avatars for the detached page (I'm running Pro) the avatars won't display unless I enable the general avatars, and then I only get the size that I have for the normal display - I would like to increase them for the detached display.
6. Is it possible to remove the Active Users Tab when I have the Active Users block enabled? Doesn't make sense to have both...

And a Q - does the auto-delete of posts work across all chatrooms, or just the main one.. Am hoping the latter...

DragonByte Tech 04-26-2011 01:04 PM

Quote:

Originally Posted by Lestat_ (Post 2188811)
installed on 4.1.2 (install version mod is 5.4.3), works great but I have one problem, when I turn on notifications of new threads, I get this :

Code:

*Ghostface has just posted the thread [thread = 29980]No Strings Attached [2011] 720p *Gereed*[/thread]!*
(i added spaces because thread bbcode is working here)
so bbcode for thread is not working :(

I checked permissions, bbcode & bbcode hyperlinks enabled for all users

Is there a way to fix this ?

I need someone's help to fix this, namely FTP info. Would it be possible for you to PM me with such info? If so, I'll be able to solve it soon :)

Quote:

Originally Posted by DemoniK_AK (Post 2188829)
Installed 5.4.3 on 4.1.1 (4.1.3 upgrade planned for this weekend) and have a few issues

If you're running Pro, please post these issues in our Pro support forum :)

Quote:

Originally Posted by demo7up@gmail.c (Post 2188821)
My admin panel wont work for it any item i click

DBTech - vBShout +
Instance Management Chat Room Management View Banned Users Command Log Download Archive Repair Cache Notifications Settings

i just get a notification on the main screen which says go back.

Please ensure you've followed the steps in the 5.4.0 upgrade notes.txt :)


Fillip

DragonByte Tech 04-26-2011 03:12 PM

To try to end the confusion regarding hotfixes, I've decided to adopt adding "Patch Level" (PL) on to the end of my zip files.

Thus, I present vBShout v5.4.3 PL1 (Patch Level 1):
  • The Shoutbox should no longer fail to parse BBCode in shouts on vB4
  • Posting / editing / deleting a shout in a chatroom tab will no longer briefly flash back to the main shoutbox tab. My original fix for this caused some additional problems - namely the shoutbox didn't properly refresh when someone posted a shout.
  • A new "Automated Message" mode has been added, which ensures that automatically posted shouts (e.g. "has just replied to thread") will skip permission checks and use vBulletin's built-in BBCode parsing list when posting the shouts. This ensures that actions like the Pro-only "Shoutbox PM on forum PM" works correctly for users awaiting email confirmation.
  • Permissions issues with editing others' shouts have been resolved. This was a regression issue that got introduced when trying to fix the above problem.
To update, simply re-download the files and re-upload them. The XML file has not been changed in this version.



Fillip

demo7up 04-26-2011 04:19 PM

That update still didnt fix my issues with my admin panel... as stated above

DragonByte Tech 04-26-2011 04:22 PM

It looks like you accidentally uploaded the main vbshout.php to the admincp folder.

Could you please try directly dragging and dropping the contents of the upload folder into your FTP program? That should work :)


Fillip

In Omnibus 04-26-2011 04:38 PM

Quote:

Originally Posted by DragonByte Tech (Post 2188707)
Shame, I could have used your help in fixing it :)

Oh well.

As for the missing plugins, that's the shout sounds :)


Fillip

Appears as though you've resolved the notifications parsing issue. The 64 bit version of QuickTime with iTunes is an issue for Apple. Thank you for the quick fix.

DragonByte Tech 04-26-2011 04:41 PM

Ahh you're using a 64bit browser...

We'd like to move the sounds to HTML5 but the browser usage statistic is too low still, so we really have no options yet :(


Fillip

demo7up 04-26-2011 04:42 PM

I copied the vbshout.php from the upload/admincp in the archive to the admincp folder manually and still nothing. any other suggestions?

demo7up 04-26-2011 04:49 PM

Code:

<?php
/*======================================================================*\
|| #################################################################### ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2007-2009 Fillip Hannisdal AKA Revan/NeoRevan/Belazor # ||
|| # All Rights Reserved.                                                                                          # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------------------------------------------------------- # ||
|| # You are not allowed to use this on your server unless the files  # ||
|| # you downloaded were done so with permission.                                          # ||
|| # ---------------------------------------------------------------- # ||
|| #################################################################### ||
\*======================================================================*/

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ##################### DEFINE IMPORTANT CONSTANTS ######################
define('THIS_SCRIPT', 'vbshout');
define('CVS_REVISION', '$RCSfile: vbshout.php,v $ - $Revision: $WCREV$ $');
define('IN_VBSHOUT', true);
define('VBSHOUT_PRO', (file_exists('../includes/xml/bitfield_dbtech_vbshout_pro.xml') ? true : false));

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array('dbtech_vbshout', 'cphome', 'logging', 'threadmanage', 'banning', 'cpuser', 'cpoption', 'cppermission');

// get special data templates from the datastore
require_once('../dbtech/vbshout/includes/specialtemplates.php');
$specialtemplates = $extracache;

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');

// ######################## CHECK ADMIN PERMISSIONS ######################
if (!can_administer('canadminvbshout') AND $_REQUEST['do'] != 'finalise')
{
        print_cp_no_permission();
}

// ############################# LOG ACTION ##############################
log_admin_action();

// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################

if (!empty($_POST['do']))
{
        // $_POST requests take priority
        $action = $_POST['do'];
}
else if (!empty($_GET['do']))
{
        // We had a GET request instead
        $action = $_GET['do'];
}
else
{
        // No request
        $action = 'main';
}

// Strip non-valid characters
$action = preg_replace("/[^a-zA-Z0-9-_]/", "", $action);

if (!file_exists(DIR . '/dbtech/vbshout/actions/admin/' . $action . '.php'))
{
        if (!file_exists(DIR . '/dbtech/vbshout_pro/actions/admin/' . $action . '.php'))
        {
                // Throw error from invalid action
                print_cp_message($vbphrase['dbtech_vbshout_invalid_action']);
        }
        else
        {
                // Include the selected file
                include_once(DIR . '/dbtech/vbshout_pro/actions/admin/' . $action . '.php');       
        }
}
else
{
        // Include the selected file
        include_once(DIR . '/dbtech/vbshout/actions/admin/' . $action . '.php');       
}

/*=======================================================================*\
|| ##################################################################### ||
|| # Created: 17:29, Sat Dec 27th 2008                                # ||
|| # SVN: $RCSfile: vbshout.php,v $ - $Revision: $WCREV$ $
|| ##################################################################### ||
\*=======================================================================*/
?>

Thats my admincp/vbshout.php does that look about right it was also a fresh install

DragonByte Tech 04-26-2011 04:51 PM

Yeah.

Please right click the link you're trying to click and choose "open in new tab" then paste the URL here.

Fillip

demo7up 04-26-2011 04:52 PM

<a href="http://www.nycjdm.com/vbshout.php?do=instance" target="_blank">http://www.nycjdm.com/vbshout.php?do=instance</a>

demo7up 04-26-2011 04:53 PM

<a href="http://www.nycjdm.com/vbshout.php?do=chatroom" target="_blank">http://www.nycjdm.com/vbshout.php?do=chatroom</a>

DemoniK_AK 04-26-2011 04:57 PM

Quote:

Originally Posted by DragonByte Tech (Post 2188876)
If you're running Pro, please post these issues in our Pro support forum :)

I looked and didn't see it earlier - I literally just purchased it so it took a while to appear.. Will post over there for those items not resolved in latest update (most of which are ;))

[quote]Please ensure you've followed the steps in the 5.4.0 upgrade notes.txt :)
fixed - thanks

DragonByte Tech 04-26-2011 05:03 PM

Quote:

Originally Posted by demo7up@gmail.c (Post 2188938)

That makes no sense... It's trying to access files in the main folder, but that's not how the files are set up, and to my knowledge nobody else has this problem...

I'm completely at a loss here.


Fillip

demo7up 04-26-2011 05:24 PM

can i pm you my admin details to see if you see anything strange?

DragonByte Tech 04-26-2011 05:30 PM

I'd need FTP info as well, but with those two I should be able to solve it :)


Fillip

demo7up 04-26-2011 05:36 PM

i actually may know what the problem is....

i have this addon called vB.Sponsors

in this addon i had an issue with it yesterday because it has a chdir directive..

Code:

<?php
// ___________________________________________________________
//| vB.Sponsors - link.php                                                                            |
//| Written by: Justin Doles - www.DigitalDeviation.com          |
//| Extension Version: 2.0.5                                                                  |
//| vBulletin Version: 3.6.x                                                              |
//| ----------------------------------------------------------|
//| Description: Allows the addition of sponsors to                  |
//| forums and/or categories.  Tracks hits for each sponsor.  |
//| ----------------------------------------------------------|
//| License: This vBulletin extension is provided as-is with  |
//| no warranty implied or stated.  No part of this code may  |
//| be reproduced or distributed, in part or in whole, without|
//| written consent of the author.                            |
//| You may NOT remove the branding (vB.Sponsors) from the    |
//| footer of your site.                                      |
//|___________________________________________________________|

        error_reporting(E_ALL & ~E_NOTICE);
        define('NO_REGISTER_GLOBALS', 1);
        define('THIS_SCRIPT', 'link');

        $phrasegroups = array();
        $globaltemplates = array('GENERIC_SHELL');
        $actiontemplates = array();
        $specialtemplates = array();

        /********************
        * Modify this to reflect the path to you forums*/
        chdir('/home/nycjdm/public_html/');
       
        require_once('./global.php');
       
        $f_clean = $vbulletin->input->clean_gpc('g', 'f', TYPE_INT);
       
        if (empty($f_clean)) {
                eval(standard_error(fetch_error('invalid_forum_specified')));
        }

        if ($vbulletin->options['sponsor_global_enable_sponsorship']) {
                $result = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid = " . $f_clean);
                if ($vbulletin->db->num_rows($result) > 0) {
                        $arr = $vbulletin->db->fetch_array($result);
                        if ($arr['sponsor_enabled'] == 1) {
                                $vbulletin->db->query_write("INSERT INTO `" . TABLE_PREFIX . "vbsponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', '" . $vbulletin->db->escape_string($arr['sponsor_name']) . "', '" . $arr['forumid'] . "', '" . $vbulletin->db->escape_string($arr['title_clean']) . "', '" . $vbulletin->db->escape_string(time()) . "')");
                                if ($vbulletin->db->affected_rows() > 0) {
                                        if (!empty($arr['sponsor_url'])) {
                                                $vbulletin->url = $arr['sponsor_url'];
                                                eval(print_standard_redirect(''));               
                                        }
                                        else {
                                                eval(standard_error(fetch_error('sponsor_url_invalid')));
                                        }
                                }                               
                                else {
                                        eval(standard_error('Update of sponsor stats failed'));
                                }
                        }
                        else {
                                eval(standard_error(fetch_error('sponsor_not_enabled')));
                        }
                }
                else {
                        eval(standard_error(fetch_error('invalid_forum_specified')));
                }
        }
        else {
                eval(standard_error(fetch_error('sponsor_not_enabled')));
        }       
?>

Could this be causing the issue

Lestat_ 04-26-2011 05:39 PM

yes :D :D :D
thank you for the update Fillip , you are great, the parsing of bbcodes is indeed fixed ! thank you so very much ::)

demo7up 04-26-2011 05:39 PM

Login details sent

DragonByte Tech 04-26-2011 05:41 PM

Yeah that is it demo, that's the cause. Unfortunately I don't know if anything can be done about that, you will have to contact the author of that plugin and ask for advice.

Fillip

demo7up 04-26-2011 05:57 PM

eh damn ok thanks


All times are GMT. The time now is 03:15 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.03729 seconds
  • Memory Usage 1,871KB
  • 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
  • (5)bbcode_code_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