Activity Stream
48,167 MEMBERS
6837 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Banned
    Website's:
    warezscenez.com Stonerslounge.net

    Default Help

    I was just wondering, how can i add add a search box on inferno's shoutbox.

    For Example:

    http://imgcentre.com/img/uploads/big/7a2deeb7b9.png
    IKILL3RI Reviewed by IKILL3RI on . Help I was just wondering, how can i add add a search box on inferno's shoutbox. For Example: http://imgcentre.com/img/uploads/big/7a2deeb7b9.png Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Searching for shout content or forum content?

  4.     
    #3
    Banned
    Website's:
    warezscenez.com Stonerslounge.net
    Forum content

  5.     
    #4
    Respected Member
    I don't have it installed but I believe you will have to modify this file to add a box for search.
    infernoshout\browser\infernoshout.js

  6.     
    #5
    Banned
    Website's:
    warezscenez.com Stonerslounge.net
    So can someone tell me how to add a forum content search box ? . plz

  7.     
    #6
    Member
    Website's:
    ttrtt.com
    what is the version of ur vbulletin

  8.     
    #7
    Banned
    Website's:
    warezscenez.com Stonerslounge.net
    3.8.4 ....

  9.     
    #8
    Member
    Website's:
    ttrtt.com
    OK this template edits for vBulletin 3.8.4 with Inferno vBShout 2.5.2 (Pro)

    Go to Admin CP==> Styles & Templates ==> Edit Templates of ur used templates

    And find this templates
    inferno_shoutbox_box
    inferno_shoutbox_editor

    and replace th whole contents of the above templates with following codes:

    1. inferno_shoutbox_box:
    Code: 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
    <tr>
        <td class="tcat" align="center">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_infernoshout')"><img id="collapseimg_forumhome_infernoshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_infernoshout].gif" alt="" border="0" /></a>
    
            <if condition="$vboptions[ishout_archive_link]">
            {$vboptions[ishout_sbtitle]} [<a href="infernoshout.php?{$session['sessionurl']}do=archive" title="View Archive">Archive</a>]
            <else />
            <a href="infernoshout.php?{$session['sessionurl']}do=archive" title="View Archive">{$vboptions[ishout_sbtitle]}</a>
            </if>
        </td>
    </tr>
    </thead>
    <tbody id="shoutbox_editshout" style="display: none;">
        <tr>
            <td class="alt1" align="left" width="100%">
                <form onsubmit="return InfernoShoutbox.do_edit_shout();" action="index.php" id="editshoutform">
                    <span style="float: right;">
                        <input type="submit" class="button" value="Update" />
                        <input type="button" class="button" value="Delete" onclick="InfernoShoutbox.do_edit_shout(true);" />
                        <input type="button" class="button" value="Cancel" onclick="InfernoShoutbox.cancel_edit_shout();" />
                    </span>
                    <input type="text" size="60" class="bginput" name="editshout" />
                    <input type="hidden" name="shoutid" value="" />
                </form>
            </td>
        </tr>
    </tbody>
    <tbody id="shoutbox_smilies" style="display: none;">
        <tr>
            <td class="alt1" align="center" width="100%" id="shoutbox_smilies_row">
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_infernoshout" style="$vbcollapse[collapseobj_forumhome_infernoshout]">
        <tr>
            <td class="alt1" align="left" width="100%">
            <if condition="!$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">{$infernoshout->editor}</if>
    
    
            <div class="alt2" style="padding: 0px; margin: 0px; border: 0px !important;">
                    <table width="100%" cellpadding="0" cellspacing="0" id="vbshout_pro_tabs">
                    <tr>
                        <td class="alt1" width="100%" style="padding: 0px; margin: 0px; border: 0px !important;">&nbsp;</td>
                    </tr>
                    </table>
            </div>
    
            <div class="alt2" id="shoutbox_notice" style="border: 0px !important; display: none; padding-left: 3px; padding-top: 3px; padding-bottom: 0px; padding-right: 0px;"><b class="highlight">Shoutbox Notice:</b> <span class="smallfont" id="shoutbox_notice_message"></span></div>
            <div class="alt2" id="shoutbox_window" style="border: 0px !important;"><span id="shoutbox_frame" style="border: 0px !important; display: block; padding: 3px; overflow:auto;height:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span><span id="shoutbox_users_frame" style="display: none; padding: 3px; overflow:auto;height:{$vboptions['ishout_height']}px; width: 99%;">Loading...</span></div>
    
            <if condition="$vboptions[ishout_editor_position] && $bbuserinfo[userid] > 0">
                <form onsubmit="return InfernoShoutbox.shout();" action="index.php">
                <div style="height: 4px"></div>
                {$infernoshout->editor}
                </form>
            </if>
            </td>
        </tr>
    </tbody>
    </table>
    <br />
    
    <script type="text/javascript" src="infernoshout/browser/infernoshout.js?ver={$vboptions['ishout_jversion']}"></script>
    <script type="text/javascript">
    <!--
    
    /**
     * Inferno Shoutbox Javascript Engine
     * Created By Inferno Technologies
     * All Rights Reserved
     * * * * * * * * * * * * * * *
     */
    
    InfernoShoutbox = new _ishout;
    <if condition="$_REQUEST['do'] == 'detach'">InfernoShoutbox.detached = true;</if>
    <if condition="$vboptions[ishout_aop]">InfernoShoutbox.aop = true;</if>
    InfernoShoutbox.initiate(
        '{$infernoshout->script}',
        '{$infernoshout->vbulletin->options['ishout_idletime']}',
        '{$infernoshout->editor_settings['s_bold']}',
        '{$infernoshout->editor_settings['s_italic']}',
        '{$infernoshout->editor_settings['s_underline']}',
        '{$infernoshout->vbulletin->options['ishout_shoutorder']}',
        '{$infernoshout->vbulletin->options['ishout_flood']}',
        '{$vboptions['ishout_height']}',
        parseInt("{$vboptions[ishout_ajaxrefresh]}") * 1000
    );
    <if condition="$vboptions[ishout_autoidle]">InfernoShoutbox.idle = true;</if>
    -->
    </script>


    2. inferno_shoutbox_editor :
    Code: 
    <table width='100%' border='0' cellpadding='0' cellspacing='0'>
        <tr>
    <td width="30%">
    <form action="search.php?do=process" method="post">
    <input type="hidden" name="do" value="process" />
    <input type="hidden" name="quicksearch" value="1" />
    <input type="hidden" name="childforums" value="1" />
    <input type="hidden" name="exactname" value="1" />
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
    <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" value="Search..." onfocus="if (this.value == 'Search...') this.value = '';" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
    </form></td>
        <td width='70%'>
    <form onsubmit="return InfernoShoutbox.shout();" action="index.php">
            <input type="text" name="vbshout_pro_shoutbox_editor" style="width: 93%" class="bginput" id="vbshout_pro_shoutbox_editor" value="Chat..." onfocus="if (this.value == 'Chat...') this.value = '';" />
        </td>
        <td style='white-space:nowrap' width='1%'>
            <input type="button" value="Shout" class="button" onclick='InfernoShoutbox.shout();' />
            <if condition="$vboptions['ishout_editor_tools'] & 32"><input type='button' class='button' value='Clear' onclick='InfernoShoutbox.clear();' /></if>
            <if condition="$vboptions['ishout_editor_tools'] & 64"><input type='button' class='button' value='Smilies' onclick='InfernoShoutbox.smilies();' /></if>
            <if condition="$_REQUEST['do'] != 'detach'"><input type="button" value="Options" class="button" onclick='InfernoShoutbox.goto_options();' /></if>
            <if condition="($vboptions['ishout_editor_tools'] & 128) && $_REQUEST['do'] != 'detach'"><input type='button' class='button' value='Detach' onclick='InfernoShoutbox.detach();' /></if>
            <if condition="$vboptions['ishout_editor_tools'] & 1"><input id='sb_mem_bold' type='button' class='button' style='font-weight:bold' value='B' onclick='InfernoShoutbox.assign_styleprop("fontWeight", this);' /></if>
            <if condition="$vboptions['ishout_editor_tools'] & 2"><input id='sb_mem_underline' type='button' class='button' style='text-decoration:underline' value='U' onclick='InfernoShoutbox.assign_styleprop("textDecoration", this);' /></if>
            <if condition="$vboptions['ishout_editor_tools'] & 4"><input id='sb_mem_italic' type='button' class='button' style='font-style:italic' value='I' onclick='InfernoShoutbox.assign_styleprop("fontStyle", this);' /></if>
            <if condition="$vboptions['ishout_editor_tools'] & 8"><select id='sb_color_mem' name='font_color' onchange='InfernoShoutbox.assign_styleprop("color", this);'>{$infernoshout->editor_selects['colours']}</select></if>
            <if condition="$vboptions['ishout_editor_tools'] & 16"><select id='sb_font_mem' name='font_selector' onchange='InfernoShoutbox.assign_styleprop("fontFamily", this);'>{$infernoshout->editor_selects['fonts']}</select></if>
        </td>
    </tr>
    </table>
    <div style="height: 4px"></div>
    </form>


    Enjoy..
    Dark Blue

  10.     
    #9
    Banned
    Website's:
    warezscenez.com Stonerslounge.net
    Tyvm dark blue. it works

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

BE SOCIAL