Status
Not open for further replies.

Mick

Customer
While looking at other items in the php-error log I found this line?

I am not sure if it is a bug or not but thought it might be a good idea to report it :)

Code:
Class 'VBSHOUT' not found in /**********/dbtech/vbshout_pro/hooks/pmdata_postsave_recipient.php on line 5

PHP:
<?php
global $vbphrase;

$pmid = $this->dbobject->insert_id();
foreach ((array)VBSHOUT::$cache['instance'] as $instanceid => $instance)
{
	if (!$instance['options']['enablepms'] OR !$instance['options']['enablepmnotifs'])
	{
		// Not having notices here
		continue;
	}
	
	// Insert the shout
	$shout = VBSHOUT::initDataManager('Shout', $this->registry, ERRTYPE_ARRAY);
		$shout->set_info('automated', true);	
		$shout->set('message', construct_phrase(
			$vbphrase['dbtech_vbshout_i_sent_you_a_forum_pm_x'],
			$this->registry->options['bburl'],
			$this->registry->session->vars['sessionurl'],
			$pmid,
			$this->pmtext['title']							
		))
		->set('type', VBSHOUT::$shouttypes['pm'])
		->set('userid', $fromuserid)
		->set('instanceid', $instanceid)
		->set('id', $userid);
	$shout->save();
	unset($shout);
}

?>

LINE 5:
foreach ((array)VBSHOUT::$cache['instance'] as $instanceid => $instance)


Thank you
Mick
 
That's not something that happens normally. Are all vBShout plugins enabled?
 
Sorry it is not a modification that I know allot about I just installed it and turned it on...

Where would I enable these plugins???

Thanks very much.
 
Status
Not open for further replies.

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,174
Customer rating
5.00 star(s) 1 ratings
Back
Top