The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey there! I'm having an issue with my shoutbox where any time an apostrophe is used, it seems to add a backslash as well. This also happens with quotes.
http://i.imgur.com/Pb4TrHL.png Any idea what the cause might be? |
#2
|
||||
|
||||
![]()
I would suggest asking about this in the modification's thread...that way the devloper of the mod will be more likely to see your question.
![]() |
#3
|
|||
|
|||
![]()
I'd be extremely surprised if they were still offering support, haha. Thanks though, I'll give it a shot!
|
#4
|
||||
|
||||
![]() Quote:
In general we ask that questions regarding mods that are available here be posted in the thread pertaining to the mod, not only for the reasons I stated, but it is better for site organization as well. ![]() |
#5
|
|||
|
|||
![]()
Hey, I know this was in the wrong section to begin with, but in case someone searches up the same thing, I thought I'd post the fix I was able to come up with!
Search tags: Inferno Shoutbox V3 AJAX Fix: In the infernoshout.php file look for the method in charge of submitting the shout: Code:
if ($_POST['do'] == 'shout' && ($message = trim($_REQUEST['message'])) != '') { $vbulletin->input->clean_array_gpc('r', array( 'message' => TYPE_STR, )); $message = trim($vbulletin->GPC['message']); if ($vbulletin->userinfo['userid'] > 0) { $infernoshout->load_engine('shout'); $shout = new shout; $shout->process($message); } } Code:
if ($_POST['do'] == 'shout' && ($message = trim($_REQUEST['message'])) != '') { $vbulletin->input->clean_array_gpc('r', array( 'message' => TYPE_STR, )); $message = trim($vbulletin->GPC['message']); if ($vbulletin->userinfo['userid'] > 0) { $infernoshout->load_engine('shout'); $shout = new shout; $shout->process(stripslashes($message)); } } Cheers! |
Благодарность от: | ||
MarkFL |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|