Okay so this should work. Open shoutinsert.js and change
Code:
var url = 'shoutbox/shoutinsert.php';
to
Code:
var url = 'forums/shoutbox/shoutinsert.php';
Save it as something like
shoutinsertcmps.js and upload it with the rest of the shoutbox files.
Now go and create a new template under your style manager. Name it: adv_portal_shoutbox , paste this in:
Code:
<!-- Dion Dev Shoutbox v2.1 -->
<if condition="!$show[guest] || $vboptions[ddsb_guest_show]">
<script type="text/javascript" src="http://www.yoursite.com/forums/shoutbox/shoutinsertcmps.js"></script>
<tr>
<td style="padding: 0px;">
<form method="post" onsubmit="insertshout(); return false;">
<div class="panel" style="padding: 0px; margin-bottom: $stylevar[cellspacing]px;">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%" style="padding-right: 0px;">
<input type="text" id="body" class="bginput" size="$vboptions[ddsb_size]" maxlength="$vboptions[ddsb_length]"
<if condition="$show[guest]"> value="$vboptions[ddsb_no]" disabled="true"</if>>
<input type="submit" class="button" value="$vboptions[ddsb_button]"
<if condition="$show[guest]"> disabled="true"</if>>
<input type="button" class="button" value=" B " style="font-weight: bold;" onclick="shoutstyle('bodyb', 0);"
<if condition="$show[guest]"> disabled="true"</if>>
<input type="button" class="button" value=" I " style="font-style: italic;" onclick="shoutstyle('bodyi', 0);"
<if condition="$show[guest]"> disabled="true"</if>>
<input type="button" class="button" value=" U " style="text-decoration: underline;" onclick="shoutstyle('bodyu', 0);"
<if condition="$show[guest]"> disabled="true"</if>>
<select id="bodycolorsel" <if condition="$show[guest]"> disabled="true"</if> onchange="shoutstyle('bodycolor', this.value);">
<option value="0" style="background: #ffffff; color: #000000;">$vboptions[ddsb_txtcolor]</option>
<option value="#000000" style="background: #000000;"> </option>
<option value="#8b0000" style="background: #8b0000;"> </option>
<option value="#ff0000" style="background: #ff0000;"> </option>
<option value="#ff00ff" style="background: #ff00ff;"> </option>
<option value="#ffc0cb" style="background: #ffc0cb;"> </option>
<option value="#a0522d" style="background: #a0522d;"> </option>
<option value="#ff8c00" style="background: #ff8c00;"> </option>
<option value="#f4a460" style="background: #f4a460;"> </option>
<option value="#ffa500" style="background: #ffa500;"> </option>
<option value="#f5deb3" style="background: #f5deb3;"> </option>
<option value="#556b2f" style="background: #556b2f;"> </option>
<option value="#808000" style="background: #808000;"> </option>
<option value="#9acd32" style="background: #9acd32;"> </option>
<option value="#fffacd" style="background: #fffacd;"> </option>
<option value="#006400" style="background: #006400;"> </option>
<option value="#008000" style="background: #008000;"> </option>
<option value="#2e8b57" style="background: #2e8b57;"> </option>
<option value="#00ff00" style="background: #00ff00;"> </option>
<option value="#98fb98" style="background: #98fb98;"> </option>
<option value="#483d8b" style="background: #483d8b;"> </option>
<option value="#008080" style="background: #008080;"> </option>
<option value="#48d1cc" style="background: #48d1cc;"> </option>
<option value="#00ffff" style="background: #00ffff;"> </option>
<option value="#afeeee" style="background: #afeeee;"> </option>
<option value="#000080" style="background: #000080;"> </option>
<option value="#0000ff" style="background: #0000ff;"> </option>
<option value="#4169e1" style="background: #4169e1;"> </option>
<option value="#00bfff" style="background: #00bfff;"> </option>
<option value="#add8e6" style="background: #add8e6;"> </option>
<option value="#4b0082" style="background: #4b0082;"> </option>
<option value="#708090" style="background: #708090;"> </option>
<option value="#800080" style="background: #800080;"> </option>
<option value="#9932cc" style="background: #9932cc;"> </option>
<option value="#dda0dd" style="background: #dda0dd;"> </option>
<option value="#2f4f4f" style="background: #2f4f4f;"> </option>
<option value="#696969" style="background: #696969;"> </option>
<option value="#808080" style="background: #808080;"> </option>
<option value="#c0c0c0" style="background: #c0c0c0;"> </option>
<option value="#ffffff" style="background: #ffffff;"> </option>
</select>
</td>
<td nowrap="nowrap" class="smallfont">
<a href="forums/shoutbox/shoutarchive.php" target="_blank">$vboptions[ddsb_archive]</a>
</td>
</tr>
</table>
</div>
<input type="hidden" id="bodyb" value="0">
<input type="hidden" id="bodyi" value="0">
<input type="hidden" id="bodyu" value="0">
<input type="hidden" id="bodycolor" value="0">
<input type="hidden" id="bodystyle" value="0">
</form>
<iframe src="forums/shoutbox/shoutdiv.php" width="$vboptions[ddsb_iwidth]" height="$vboptions[ddsb_iheight]" scrolling="auto" frameborder="0">
Browser does not support iframes
</iframe>
</td>
</tr>
<br />
</if>
<!-- end Dion Dev Shoutbox v2.1 -->
save that and upload the module in your cmps and you
should be good to go.