Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Create a working vBa Module for Inferno vBShout 1.1+
m002.p
Join Date: Jan 2007
Posts: 240

Worcester
by m002.p m002.p is offline 22 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?
  • Inferno Tech vBShout 1.0.1 or above
  • vBadvanced (Any versions)
How is it done?

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3)
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Before the code above, place your whole forum URL. Eg: "http://mywebsite.com/", so the code then becomes:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5)
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Open the file with a txt editor and find the several occurances of:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In every instance, change this to your full site URL, for example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save file and / or re-upload and you are done!

6)
Re-Edit the template "inferno_shoutbox_box" and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with your whole forum URL, example being:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

7)
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"


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

-------------------------------------------------------------------------------

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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Un Check some of the tools that you could do without. Example; "Smilies"

- 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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Search for "Inferno" then browse for the template "inferno_shoutbox_editor" in your style. Now find (located at the top of your template):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Underneath ADD:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the template and ensure you update any other templates in the styles used.

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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Try a range between 90-100% as I wanted to match the length of the text input box to match the editor tools width below it.

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
Attached Files
File Type: zip vbshout module.zip (335 Bytes, 186 views)

Last edited by m002.p; 02 Apr 2008 at 06:41..
Views: 12403
Reply With Quote
Comments
  #2  
Old 27 Nov 2007, 22:57
stud's Avatar
stud stud is offline
 
Join Date: May 2004
Thanks for your efforts Princeston

Unfortunately, this doesn't appear to be working.

vBadvanced CMPS v3.0 RC1
vBulletin Version 3.6.8
vBShout Pro v2.0.0

Followed everyone one of your steps and the shoutbox will not show on my CMPS index.php still
Reply With Quote
  #3  
Old 28 Nov 2007, 21:48
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
Firstly, Princeton just moderated it, and I actually released this fix / how to lol.

Secondly, I have exactly the same versions as you and it works for me and a few other friends of mine, so this would suggest you have made an error somewhere

If you PM me your URL & a working ADMIN CP login with access to settings & styles only, I can take a look for you.
__________________
www.sog-team.co.uk
Reply With Quote
  #4  
Old 29 Nov 2007, 14:26
stud's Avatar
stud stud is offline
 
Join Date: May 2004
woops - sorry about that m002. Allow me to correct the improperly given credit

I'll start from scratch and keep you posted.
Reply With Quote
  #5  
Old 29 Nov 2007, 20:50
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
Originally Posted by stud View Post
woops - sorry about that m002. Allow me to correct the improperly given credit

I'll start from scratch and keep you posted.
Nps mate, easily done.

On topic, when starting again, ensure that you review each step by double checking what you do with that ive posted here.

Let me know how it goes
__________________
www.sog-team.co.uk
Reply With Quote
  #6  
Old 04 Dec 2007, 00:34
stud's Avatar
stud stud is offline
 
Join Date: May 2004
grrr, this still won't work for me
Reply With Quote
  #7  
Old 04 Dec 2007, 08:29
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
if you want me to take a look, I can do. I would require a URL, admin CP login to styles & settings only via PM, and I can review this.

Offer is open to anyone who gets a problem
__________________
www.sog-team.co.uk
Reply With Quote
  #8  
Old 07 Dec 2007, 16:30
stud's Avatar
stud stud is offline
 
Join Date: May 2004
thanks Matt! One step you may want to add to the instructions above is to ensure "adv_index" is added to the the Page Deployment for the shoutbox.

Vbulletin Options > VbShout Settings (Pro) > Page Deployment
Reply With Quote
  #9  
Old 07 Dec 2007, 20:28
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
Done ^^^

Thanks for the feedback
__________________
www.sog-team.co.uk
Reply With Quote
  #10  
Old 07 Dec 2007, 23:19
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Real name: Mike
Module won't show up on integrated vbadvanced pages
Reply With Quote
  #11  
Old 08 Dec 2007, 08:35
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
Are you sure you added "adv_index" to your page deployment area?
__________________
www.sog-team.co.uk
Reply With Quote
  #12  
Old 08 Dec 2007, 17:27
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Real name: Mike
Originally Posted by m002.p View Post
Are you sure you added "adv_index" to your page deployment area?
yes I'm postive even have it set to global deployment, I can get it to show on any page without even adding it to the deployment area, however, if you intergrate a vbadvanced page with say, your memeberlist or your forumhome, then the shoutbox won't show up. I can and did create your module, that worked fine on vbadvanced portal page, but with it intergrated with my forumhome, even though I have the module there, it doesn't show up. So thats two for two, shoutbox refuses to show up. Refuses to display as itself and as a vba module.

I am guessing that a may have something to do with the fact that the shoutbox also checks the script its being deployed on and something happens when you intergrate the two.

I can't solve it.
Reply With Quote
  #13  
Old 08 Dec 2007, 20:39
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Real name: Matt
If you PM me your URL and a temp admin CP login with access to styles & vbulletin options only, I can take a look.

I get my shoutbox showing on the vBa Portal Page and on the forumhome at once together
__________________
www.sog-team.co.uk
Reply With Quote
  #14  
Old 04 Feb 2008, 00:45
SpongeFreak52 SpongeFreak52 is offline
 
Join Date: Dec 2007
Alright, thanks for the tip! Works just fine for me. ^_^
Reply With Quote
  #15  
Old 26 Feb 2008, 01:13
dannefaerd's Avatar
dannefaerd dannefaerd is offline
 
Join Date: Feb 2006
Originally Posted by PennylessZ28 View Post
yes I'm postive even have it set to global deployment, I can get it to show on any page without even adding it to the deployment area, however, if you intergrate a vbadvanced page with say, your memeberlist or your forumhome, then the shoutbox won't show up. I can and did create your module, that worked fine on vbadvanced portal page, but with it intergrated with my forumhome, even though I have the module there, it doesn't show up. So thats two for two, shoutbox refuses to show up. Refuses to display as itself and as a vba module.

I am guessing that a may have something to do with the fact that the shoutbox also checks the script its being deployed on and something happens when you intergrate the two.

I can't solve it.
I've got a similar problem ... the shoutbox runs fine on the index.php page (which is my vBa CMPS), but not on any other intergrated pages.

Did you manage to find a fix for this?

--------------- Added 26 Feb 2008 at 01:25 ---------------

Never mind - found a fix on another forum (phew)
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
This worked for me!

Last edited by dannefaerd; 26 Feb 2008 at 01:25. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:01.

Layout Options | Width: Wide Color: