Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GCBOS Widget for vb Suite Gold! Details »»
GCBOS Widget for vb Suite Gold!
Version: 1.00, by min0taur min0taur is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Chat Modifications - Version: 4.0.x Rating:
Released: 12-27-2009 Last Update: Never Installs: 31
Template Edits
Re-useable Code Translations  
No support by the author.

I made this Widget Because I Want to Add Shout Box at the Main Page Side Bar of My Site.

THIS Instruction Assumes that You Already Installed the GCBOS Shout Box
Instructions:

Admin CP > Styles & Templates > Style Manager > YOUR TEMPLATE > Add New Template



Code:
<div class="cms_widget"><div class="block"><div class="cms_widget_header"><h3>ShoutBox</h3></div><div class="cms_widget_content"><!-- GCBOS --><div class="forumrowdata"><p class="subforumdescription" id="gcbos_notice"></p></div></div><ol id="c_gcbos" class="childforum"><li id="gcbos3" class="forumbit_post L2"><div class="forumrow table"><div  id="gcbos_console" style="height: 400px; overflow: auto;width:100%">Loading...</div><vb:if condition="$show['member']"><input type="text" id="gcbos_input" style="width: 92%; height: 19px; margin: 1px;float:left;" autocomplete="off" /><button type="button" onclick="gcbos.sendInput();" style="width: 0%; height: 0px; margin: 0px; float: right;"></button><vb:else /><center>You Need to <a href="register.php">Register</a> to be Able Shout</center></vb:if><script type="text/javascript">
gcbos = new gcbos_engine();
YAHOO.util.Event.onDOMReady(gcbos.init, gcbos, gcbos);
</script><!-- /GCBOS --></div></div></div>
then Go to Admin CP > vBulletin CMS > Widgets > Create New Widget






Click Save Add The Widget to Your Layout....

Live Screenshot:


You Can Improve this Tool If you Want

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-29-2009, 11:59 AM
osariase osariase is offline
 
Join Date: Mar 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Newbie here! please give me a complete instruction on how to accomplish this. thank you
Reply With Quote
  #13  
Old 12-29-2009, 03:13 PM
N75 N75 is offline
 
Join Date: Apr 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fahl View Post
This is great,Any way of using it as Forum Sidebar widget??
This would be perfect - I'll mark as installed so I remember to check back - pleeeeease write some code to load this as a forum sidebar block? Thanks
Reply With Quote
  #14  
Old 12-30-2009, 10:38 AM
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed on our test site will put on our live site when ready to go live

Up date

I have put it on a live site as a top center widget and it looks good i did have to edit the template again to put the submit button in

I have attached a screen shot to show that is works ok as a top widget.
Attached Images
File Type: jpg shoutbox center.jpg (46.5 KB, 0 views)
Reply With Quote
  #15  
Old 01-02-2010, 11:03 PM
min0taur min0taur is offline
 
Join Date: Dec 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by N75 View Post
This would be perfect - I'll mark as installed so I remember to check back - pleeeeease write some code to load this as a forum sidebar block? Thanks
Simply add forum block Check this screenshot:
Reply With Quote
  #16  
Old 01-03-2010, 10:26 AM
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Location: Melbourne Australia
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by min0taur View Post
Simply add forum block Check this screenshot:

But it needs to be JS like the widget.. not html or plain text etc
Reply With Quote
  #17  
Old 01-03-2010, 10:28 AM
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Location: Melbourne Australia
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaffaman View Post
I have installed on our test site will put on our live site when ready to go live

Up date

I have put it on a live site as a top center widget and it looks good i did have to edit the template again to put the submit button in

I have attached a screen shot to show that is works ok as a top widget.


Can you please tell us the template edit to add the submit button
Reply With Quote
  #18  
Old 01-03-2010, 10:45 AM
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not a coder and i was just changing the sizes as i noticed a little clickable dot.

Heres the code i am useing and it works for me but as i said i am no coder so it might be wrong.
The just done the edit in the template mobnpc_shout i just changed the width and height a bit and had a play about to see what looked good.

Code:
<div class="cms_widget"><div class="block"><div class="cms_widget_header"><h3>ShoutBox</h3></div><div class="cms_widget_content"><!-- GCBOS --><div class="forumrowdata"><p class="subforumdescription" id="gcbos_notice"></p></div></div><ol id="c_gcbos" class="childforum"><li id="gcbos3" class="forumbit_post L2"><div class="forumrow table"><div  id="gcbos_console" style="height: 130px; overflow: auto;width:100%">Loading...</div><vb:if condition="$show['member']"><input type="text" id="gcbos_input" style="width: 90%; height: 19px; margin: 1px;float:left;" autocomplete="off" /><button type="button" onclick="gcbos.sendInput();" style="width: 9%; height: 22px; margin: 0px; float: right;">Submit!</button><vb:else /><center>You Need to <a href="register.php">Register</a> to be able Shout</center></vb:if><script type="text/javascript">
gcbos = new gcbos_engine();
YAHOO.util.Event.onDOMReady(gcbos.init, gcbos, gcbos);
</script><!-- /GCBOS --></div></div></div>
Reply With Quote
  #19  
Old 01-03-2010, 11:12 AM
SLY LS1's Avatar
SLY LS1 SLY LS1 is offline
 
Join Date: May 2007
Location: Melbourne Australia
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaffaman View Post
I am not a coder and i was just changing the sizes as i noticed a little clickable dot.

Heres the code i am useing and it works for me but as i said i am no coder so it might be wrong.
The just done the edit in the template mobnpc_shout i just changed the width and height a bit and had a play about to see what looked good.

Code:
<div class="cms_widget"><div class="block"><div class="cms_widget_header"><h3>ShoutBox</h3></div><div class="cms_widget_content"><!-- GCBOS --><div class="forumrowdata"><p class="subforumdescription" id="gcbos_notice"></p></div></div><ol id="c_gcbos" class="childforum"><li id="gcbos3" class="forumbit_post L2"><div class="forumrow table"><div  id="gcbos_console" style="height: 130px; overflow: auto;width:100%">Loading...</div><vb:if condition="$show['member']"><input type="text" id="gcbos_input" style="width: 90%; height: 19px; margin: 1px;float:left;" autocomplete="off" /><button type="button" onclick="gcbos.sendInput();" style="width: 9%; height: 22px; margin: 0px; float: right;">Submit!</button><vb:else /><center>You Need to <a href="register.php">Register</a> to be able Shout</center></vb:if><script type="text/javascript">
gcbos = new gcbos_engine();
YAHOO.util.Event.onDOMReady(gcbos.init, gcbos, gcbos);
</script><!-- /GCBOS --></div></div></div>

Perfect

Its also funny, you had made yours the same height i had mad mine 130px.. :up:

Cheers
Wayne
Reply With Quote
  #20  
Old 01-03-2010, 11:22 AM
jaffaman jaffaman is offline
 
Join Date: Nov 2004
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope it worked ok for you m8
Reply With Quote
  #21  
Old 01-04-2010, 04:19 AM
min0taur min0taur is offline
 
Join Date: Dec 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SLY LS1 View Post
But it needs to be JS like the widget.. not html or plain text etc
No It Ignores that and only use the template I tested it and works
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 06:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04571 seconds
  • Memory Usage 2,345KB
  • 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
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete