vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > Add-On Modules & Modifications > Module & Modification Discussion & Requests

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2009, 07:17 AM
goycarden goycarden is offline
Junior Member
 
Join Date: Sep 2009
Posts: 22
Default Problem with vbshout for guest (Warning-Message)

I've a problem with the vbShout Module on portal-home.
There is a warning-message for guests :

Quote:
Warnung: Invalid argument supplied for foreach() in [path]/vbshout.php (Line 293)
On line 293 of vbshout.php is the following code:
Quote:
foreach ($Shouts as $Shout)
More:

Quote:
if ($vbulletin->options['shout_messages_order'])
{
$Output = array_reverse($Output);
}

$Shouts = $Output;
$Output = '';

foreach ($Shouts as $Shout)
{
$Output .= $Shout;
}
}

unset($Shouts, $Shout);

echo $Output;
exit;
How can I change this?
Reply With Quote
  #2  
Old 11-23-2009, 12:37 PM
Tolden Tolden is offline
Junior Member
 
Join Date: Sep 2009
Posts: 23
Default

I have the same problem, after a server change. On my old server i did not have the problem, but now on the new one. Can someon help us?
Reply With Quote
  #3  
Old 11-30-2009, 04:51 AM
goycarden goycarden is offline
Junior Member
 
Join Date: Sep 2009
Posts: 22
Default

nobody a solution? It looks very unprofessional with this codemistake man, plz help
Reply With Quote
  #4  
Old 11-30-2009, 07:22 AM
goycarden goycarden is offline
Junior Member
 
Join Date: Sep 2009
Posts: 22
Default

An idea to solve this problem:

Guest are not able to view the content of vbshout. But how we've shown is there a php-code-Problem with this option.

But if Guest can not see the whole vbshout-function there will also be no problem with the codes.

But I have no idea how to change the php-files so that this vbshout-addon will only be shown to registered users.

Can someone help me/us to change the code ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to delete guest welcome message badawidollah Troubleshooting & Problems 4 10-17-2009 09:17 AM
How to get the forum guest welcome message to show on VBA? LCN2007 "How Do I..." Questions 4 09-29-2009 12:16 PM
Put the guest welcome message on vBa? Caiman "How Do I..." Questions 3 07-24-2005 05:11 AM
Warning & Fatal error message after install anarchystar Troubleshooting / "How do I..." Questions 1 12-31-2004 07:54 AM


All times are GMT -4. The time now is 09:46 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.