Create a working vBa Module for Inferno vBShout 1.1+
by
23 Nov 2007
This has been requested by many users who have downloaded the lite addition of Inferno Techs vBShout Mod found here What does this tutorial enable you to do? As the title suggests, this enables you to create a module in vBadvanced for your Shoutbox opposed to having it on the portal (ie the variable <!--{%SHOUTBOX%}--> within the "adv_portal" template or similar). Demo? See http://www.sog-team.co.uk/index.php (center module half way down) Requirements?
1) Firstly upload the module attached using the feature within the "Admin CP > vBa CMPS > Download / Upload Module" 2) Create a new template in your style called "adv_portal_vbshout", and copy the following into it and click save: Code:
<!--{%SHOUTBOX%}--> Ensure the module uploaded is active and on your desired page and linked to the template above. 4) To get the Shoutbox to link to the Javascript file correctly, edit the template "inferno_shoutbox_box" and find: Code:
infernoshout/browser/infernoshout.js Code:
http://mywebsite.com/forum/infernoshout/browser/infernoshout.js To get the JavaScript file to now link to the correct PHP files you need to open up the following file; "infernoshout.js" located from this path below: Code:
./infernoshout/browser/infernoshout.js Code:
infernoshout.php Code:
http://mywebsite.com/forum/infernoshout.php 6) Re-Edit the template "inferno_shoutbox_box" and find: Code:
"infernoshout.php?{$session['sessionurl']}do=archive" Code:
"http://mywebsite.com/forum/infernoshout.php?{$session['sessionurl']}do=archive" Also take note that "adv_index" needs to be added to the page deployment. Remember to seperate the scripts by commas! eg. "index,adv_index" Code:
Admin CP > Vbulletin Options > Inferno VbShout Settings > Page Deployment Extra Hints: - If your center module or module space is quite compact for the shoutbox editor underneath your SB display, you can make a simple change to remove a few options to conserve width space. Code:
Admin CP > vBulletin Options > Inferno vBShout Settings > Editor Tools - If your text box for the shoutbox is 'crushed' or looks non existant within the module, dont panic as you can make one simple edit to make the shoutbox more 'module friendly' and space saving. Code:
Admin CP > Styles & Templates > Search In Templates Code:
<input type="text" name="vbshout_pro_shoutbox_editor" style="width: 100%" class="bginput" id="vbshout_pro_shoutbox_editor" /> </td> Code:
</tr> <tr> Note if the text box looks odd after this change, be sure to play around with the following percentage found in the "inferno_shoutbox_editor" template: Code:
<input type="text" name="vbshout_pro_shoutbox_editor" style="width: 100%" class="bginput" id="vbshout_pro_shoutbox_editor" /> </td> Also note, that these edits above will change your global layout not just for your module Display Problems? Try this solution which should ensure the shoutbox works correctly in vbA & forums index. - Make the inferno shoutbox plugins run AFTER the vbadvanced ones, in the plugin manager you'll be able to set the execution order of plugins, by default things are 5, try setting inferno shoutbox ones to 6 ------------------------------------------------------------------------------- May I also take this opportunity to encourage users with the "Lite" version to purchase the "Pro" which is better supported and with more features for so little money. Enjoy! Matt |