Text not showing when I type, posts not showing when I submit.

Hey,

I've seen a hand full of others post about this issue in the past and am wondering what I need to do to fix it. I have Van2Shout enabled and it is showing on the discussions page, but there is no function whatsoever. I'm experiencing this problem in the latest version, 1.061. I have permissions setup for all roles and javascript isn't disabled. For me, nothing is showing up. I don't see my text or anything when I hit the send button.

You can access this at: http://forgehaven.com/forums/discussions

Here are two images of what happens before, during and after:

This is what I see before and after I submit something. Note: In this image I have already typed "This is a test".

This is what happens when I click send.

Comments

  • Try this one and report if it works for you. Remember to set permissions

  • This version worked! ...but it's in the sidebar and needs some reformatting, but it works! :)

    I suspect there may be a bug with the latest version then.

  • For the emoji cheat sheet you need to change line 142 to this

    <script type="text/javascript">
    jQuery(document).ready(function($){
        $('#van2shout.Box').append('<a class="Popup" href="plugins/Van2Shout/emoji.html">Emoji Cheatsheet</a>'); 
    });
    </script>
    
  • Ok thanks! Hey quick question, a user of mine asked if this shoutbox was sql injection proof. I know you're not caerostris, but could you provide some insight here?

    I had no clue what it was so I looked it up and found this: https://en.wikipedia.org/wiki/SQL_injection

    So, it's essentially a virus of some sort? Do shoutboxes typically make sites more vulnerable to this kind of attack?

  • @vrijvlinder Line 142 of which file?

  • edited July 2015

    The discussionscontroller.php in the plugin views folder

  • edited July 2015

    You can make the shoutbox appear bellow the content by changing this line in the default.php of the plugin from this

    define('VAN2SHOUT_ASSETTARGET', 'Panel');

    to this

    define('VAN2SHOUT_ASSETTARGET', 'Content');

    or this

    define('VAN2SHOUT_ASSETTARGET', 'Foot');

    To change the size of the cheat sheet edit the emoji.html file and change the width to 90% or whatever works best for your theme.

Sign In or Register to comment.