SimplePortal

Support => English Support => Topic started by: virsa punjabi on February 09, 2014, 04:43:05 PM

Title: Shoutbox problem: clicking on shout refreshes whole page
Post by: virsa punjabi on February 09, 2014, 04:43:05 PM
Hi
I am facing problem with shoutbox as when i click on shout button it refreshes the page, i am using latest version of smf and simple portal, all the pervious shouts are no longer in shoutbox and it is saying no shouts yet. In error log i found blow error

http://www.domain.com/index.php?2: Missing argument 3 for sp_shoutbox(), called in /home/user/public_html/domain.com/Sources/Load.php(2561) : eval()'d code on line 239 and definedFile: /home/user/public_html/domain.com/Sources/PortalBlocks.php
Line: 2498

Could anyone please help to resolve this problem?
Title: Re: Shoutbox problem: clicking on shout refreshes whole page
Post by: virsa punjabi on February 12, 2014, 06:45:50 AM
Anyone plz?
Title: Re: Shoutbox problem: clicking on shout refreshes whole page
Post by: andy on February 16, 2014, 10:55:14 PM
I do not know about this very well but it is better you give more information so people can help.

1. A link to your forum site if shoutbox can be accessed. Perhaps someone would need to register to use shoutbox?

2. SMF and Simple Portal version number.

3. A list of mods you have installed.

4. Did you have any warnings when you installed simple portal?

5. Did you do any manual edits to files?

6. Did you include any custom php in the display options for the block?
Perhaps a screenshot of the shoutbox and block settings would help.


Title: Re: Shoutbox problem: clicking on shout refreshes whole page
Post by: [SiNaN] on February 17, 2014, 05:04:34 AM
Have you edited your PortalBlocks.php file? (attach it anyway, so I can check) Are you using the SimplePortal shoutbox block or have you embedded it manually calling sp_shoutbox function?
Title: Re: Shoutbox problem: clicking on shout refreshes whole page
Post by: virsa punjabi on February 20, 2014, 12:16:43 PM
Have you edited your PortalBlocks.php file? (attach it anyway, so I can check) Are you using the SimplePortal shoutbox block or have you embedded it manually calling sp_shoutbox function?
File attached and I am using SimplePortal Block to show the Shoutbox on SimplePortal.


Title: Re: Shoutbox problem: clicking on shout refreshes whole page
Post by: [SiNaN] on February 20, 2014, 12:23:39 PM
What you have in your file:

Code: [Select]
function sp_shoutbox($parameters,$memID, $id, $return_parameters = false)
What it should actually look like:

Code: [Select]
function sp_shoutbox($parameters, $id, $return_parameters = false)
It seems that you have modified the shoutbox functions or installed something that does that.
SimplePortal 2.3.8 © 2008-2024, SimplePortal