Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Create a working vBa Module for Inferno vBShout 1.1+
m002.p's Avatar
m002.p
Join Date: Jan 2007
Posts: 240

 

Worcester
Show Printable Version Email this Page Subscription
m002.p m002.p is offline 11-21-2007, 10:00 PM

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:

Code:
<!--{%SHOUTBOX%}-->
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:
Code:
infernoshout/browser/infernoshout.js
Before the code above, place your whole forum URL. Eg: "http://mywebsite.com/", so the code then becomes:

Code:
http://mywebsite.com/forum/infernoshout/browser/infernoshout.js
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:
Code:
./infernoshout/browser/infernoshout.js
Open the file with a txt editor and find the several occurances of:

Code:
infernoshout.php
In every instance, change this to your full site URL, for example:

Code:
http://mywebsite.com/forum/infernoshout.php
Save file and / or re-upload and you are done!

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

Code:
"infernoshout.php?{$session['sessionurl']}do=archive"
Replace with your whole forum URL, example being:

Code:
"http://mywebsite.com/forum/infernoshout.php?{$session['sessionurl']}do=archive"
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"

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

Code:
Admin CP > Styles & Templates > Search In Templates
Search for "Inferno" then browse for the template "inferno_shoutbox_editor" in your style. Now find (located at the top of your template):

Code:
		<input type="text" name="vbshout_pro_shoutbox_editor" style="width: 100%" class="bginput" id="vbshout_pro_shoutbox_editor" />
	</td>
Underneath ADD:
Code:
</tr>
<tr>
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:

Code:
<input type="text" name="vbshout_pro_shoutbox_editor" style="width: 100%" class="bginput" id="vbshout_pro_shoutbox_editor" />
	</td>
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, 190 views)
Reply With Quote
  #22  
Old 03-31-2008, 01:47 AM
shavedaccord shavedaccord is offline
 
Join Date: Apr 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m002.p View Post
indeed ^^^^
Well I got it to work on the cmps_index but it will not work on the main forum for the life of me. Check out the link below and you'll see what I mean. Ignore the older vBshout it's temp. until I get this pro version working correctly. Any help is greatly appreciated.

http://www.6thgenaccord.com/forums/index.php
Reply With Quote
  #23  
Old 03-31-2008, 12:33 PM
Waiter Waiter is offline
 
Join Date: Mar 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have problem with OTHER MODULES!! Look here: http://tuttopes.net/cmps_index.php

I create the module and it works fine... But Ithe other modules under that, have a modification...
Reply With Quote
  #24  
Old 03-31-2008, 06:24 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shavedaccord View Post
Well I got it to work on the cmps_index but it will not work on the main forum for the life of me. Check out the link below and you'll see what I mean. Ignore the older vBshout it's temp. until I get this pro version working correctly. Any help is greatly appreciated.

http://www.6thgenaccord.com/forums/index.php
Hmm... have you set both page deployment areas in the Admin CP > Inferno Shout Pro ?

It should read:

index,
adv_index

@Waiter... Sorry I dont see what you mean? The Shoutbox is working correctly, and so are the modules underneath :s could you be more precise?
Reply With Quote
  #25  
Old 04-01-2008, 10:24 PM
shavedaccord shavedaccord is offline
 
Join Date: Apr 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by m002.p View Post
Hmm... have you set both page deployment areas in the Admin CP > Inferno Shout Pro ?

It should read:

index,
adv_index

@Waiter... Sorry I dont see what you mean? The Shoutbox is working correctly, and so are the modules underneath :s could you be more precise?
Yes sir, both are listed in page deployment.

--------------- Added [DATE]1207093311[/DATE] at [TIME]1207093311[/TIME] ---------------

Quote:
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
Never mind I got it to work using the above method.
Reply With Quote
  #26  
Old 04-26-2008, 03:01 PM
Matais Matais is offline
 
Join Date: Jan 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just installed and my shoutbox just reads: Loading...
Reply With Quote
  #27  
Old 04-30-2008, 09:13 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You havent read the instructions ^^^^ Read again please
Reply With Quote
  #28  
Old 05-15-2008, 03:21 PM
StregSpiller StregSpiller is offline
 
Join Date: Mar 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working just fine for me, only one problem, smilies aren't showing up, it just displays the names when you click the "smilies" button.
When you type the name eg. :smilie1: it dosen't show up in shoutbox...

It's working fine in forum, it's only on CMPS they dosen't show...
Anybody???
Reply With Quote
  #29  
Old 05-16-2008, 05:10 PM
m002.p's Avatar
m002.p m002.p is offline
 
Join Date: Jan 2007
Location: Worcester
Posts: 240
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Have you a link or screenprint to show me such example?

Its likely that a path needs specifying / updating for them to display due to your smilies being in another folder on your server from the norm (maybe due to a custom forum theme or style).

Of course, I could well be wrong, but I will have a better understanding seeing it for myself.

Thanks

Matt
Reply With Quote
  #30  
Old 05-16-2008, 05:24 PM
StregSpiller StregSpiller is offline
 
Join Date: Mar 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's okay, I've figured it out...

I placed the smilies in the root, and the problem was solved...:up:
Reply With Quote
  #31  
Old 05-28-2008, 08:52 PM
Axe_Grinder Axe_Grinder is offline
 
Join Date: Apr 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi folks,

Sorry to visit this again... I just implemented the shoutbox to my vb_adv portal page and the module sits there saying "loading".

I followed the instructions exactly and double checked as well. The shoutbox is there. just not usable. As I said. Just says "Loading"

Any help would be greatly appreciated.

Thanks,

-R-
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:49 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04984 seconds
  • Memory Usage 2,334KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete