The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Ibproarcade - Shout Out Box Details »» | |||||||||||||||||||||||||
Ok, this is a simple template mod to add the shout out box to your ibproarcade system.
Full credit for this mod goes to Retell, as I just asked for permission to release this for Ibpro. https://vborg.vbsupport.ru/showthread.php?t=102468 Things Needed: vBulletin 3.5.X vbShout 2.0 Ibproarcade v2.5.3+ Templates To Edit: 1 Install Time: 30 sec Open up your ARCADE template: Find: Code:
$navbar Code:
<!-- ArcadeShout --> $thread[title] <form action="vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)"> <input type='hidden' name='do' value='shout' /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_gamepanel].gif" alt="" border="0" /></a> <center><a href='vbshout.php?{$session['sessionurl_q']}do=archive'>ArcadeShout</a></center> </td> </tr> </thead> <tbody id="collapseobj_forumhome_vbshout" style="$vbcollapse[collapseobj_forumhome_vbshout]"> <tr> <td class="alt1" align="left" width="100%"> <if condition="!$vboptions[shout_editor_position]"> <if condition="$bbuserinfo[userid] > 0"> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='100%'> <input type="text" name="shout" style="width: 90%"id="input_box" class="bginput" /> </td> <td style='white-space:nowrap' width='1%'> <input type="submit" value="Shout" class="button" /> <if condition="$vboptions[shout_extra_options]"> <input type='button' class='button' value='Clear' onclick='sb_Clear()' /> </if> </td> </tr> </table> </if> </if> <div id="vbshout" style="overflow:auto;height:46px;width:100%;"> Don't Wait For Me To Load... Get Playing! </div> <if condition="$vboptions[shout_editor_position]"> <if condition="$bbuserinfo[userid] > 0"> <div style="height: 2px"></div> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='100%'> <input type="text" name="shout" style="width: 90%" class="bginput" /> </td> <td style='white-space:nowrap' width='1%'> <input type="submit" value="Shout" class="button" /> <if condition="$vboptions[shout_extra_options]"> <input type='button' class='button' value='Clear' onclick='sb_Clear()' /> </if> </td> </tr> </table> </if> </if> </td> </tr> </tbody> </table> </form> <br /> <script type='text/javascript'> <!-- postingShout = false function requestShouts() { if (!postingShout) { ShoutRequest = new vB_AJAX_Handler(true) ShoutRequest.onreadystatechange(showShouts) ShoutRequest.send('vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) ) } } function showShouts() { if (ShoutRequest) { if (ShoutRequest.handler.readyState == 4 && ShoutRequest.handler.status == 200 && ShoutRequest.handler.responseText) { Shouts = fetch_object('vbshout') Shouts.innerHTML = '<table cellpadding="1" cellspacing="3" border="0" width="95%" align="left">' + ShoutRequest.handler.responseText + '</table>' setTimeout('requestShouts()', 10000) <if condition="$vboptions[shout_messages_order]"> document.getElementById('vbshout').scrollTop = 99999; </if> } } } function sb_CollectHV(sbForm) { rString = '' inputObjs = sbForm.getElementsByTagName('input') for (i = 0; i < inputObjs.length; i++) { if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '') { rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value) } } return rString } function postShout(formObj) { doShout = new vB_AJAX_Handler(true) doShout.onreadystatechange(postedShout) if (postingShout) { alert('Posting in progress..') return false } Shout = formObj.shout.value if (Shout.replace(/ /g, '') == '') { alert('You must enter a shout!') return false } doShout.send('vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform'])) sb_Clear() postingShout = true return false } function postedShout() { if (doShout.handler.readyState == 4 && doShout.handler.status == 200) { postingShout = false requestShouts() } } function sb_Input_SC(sProperty, setting) { eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"') eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"') } function sb_Clear() { document.forms["vbshoutform"].shout.value = '' return true; } requestShouts() --> </script> <!-- /ArcadeShout --> Thank again, Retell Show Your Support
|
Comments |
#32
|
||||
|
||||
yep, got it running in SHOWTHREAD, FORUMDISPLAY as well now...quality.
|
#33
|
|||
|
|||
You happen to know how to show it on the main arcade page - 'arcade.php' only?
|
#34
|
|||
|
|||
Ok I got this runnin on 3.6.2 and ipbpro 2.5.9 using vbshout 2.1... the only thing I want to do is make it so people can select there font, color, and other options like the normal vbshout does, bold, italic etc.
How do I do this? |
#35
|
||||
|
||||
I`ve got the bold,,italic and underline working....
The colors and smilies still needs work... |
#36
|
|||
|
|||
can you tell me how you got those working?
|
#37
|
|||
|
|||
I would like those options also please
|
#38
|
||||
|
||||
Works for me, vb 3.6.5 - ibpro 2.6.1+ and vbshout 2.1 from www.vbnova.com
|
#39
|
||||
|
||||
How do you get the options for font color and smilies back? Everything else works great thank you
|
#40
|
|||
|
|||
Just as a heads up, this doesn't work with Inferno's new shoutbox mod. At least it doesn't work with the PRO version.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|