vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2 on your vBadvanced CMPS v2! (https://vborg.vbsupport.ru/showthread.php?t=97497)

tubilo 03-05-2006 06:26 PM

Nothing display. Event I can't delete or edit. Who can help me?? I'm use vbb 3.5.1

I think hv some things happend with line below:

<form action="vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">

dartworth 03-05-2006 06:54 PM

Working great...thanks

Ozymandyus 03-15-2006 06:11 PM

Your instructions are far better and more complete than what I found on the VBA forums. Worked quite well, now I just have to figure out how to limit how far it can expand.

Ozymandyus 03-15-2006 06:26 PM

Quote:

Originally Posted by Harley77
Since it didn't seem to get addressed,

To have a scroll bar on a left or right side shoutbox, (so it doesn't stretch for a mile down the page), the insanely simple fix.

In adv_portal_vbshout:

Find:
PHP Code:

<div id="vbshout">
    
Loading...
</
div

Replace with:
PHP Code:

<div id="vbshout" style="overflow:auto;height:350px;width:100%;">
Loading...
</
div

Replace the 350px with whatever size you want it to be. 350px worked well for my site.

Wanted to thank Harley for this one. It's a simple fix and keeps things from overflowing too much.

NemoTech 03-18-2006 10:41 PM

Thanks. Install done. Works nice.

|oR|Greg 03-21-2006 09:59 PM

Center Display, just sits at loading...

Trana 03-26-2006 01:15 AM

Existing install works fine. I copied my site to a new test site and am getting the following error message only in Firefox:

Code:

' setTimeout('requestShouts()', 10000) } } } function sb_CollectHV(sbForm) { rString = '' inputObjs = sbForm.getElementsByTagName('input') for (i = 0; i < inputObjs.length; i++) { if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '') { rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value) } } return rString } function postShout(formObj) { doShout = new vB_AJAX_Handler(true) doShout.onreadystatechange(postedShout) if (postingShout) { alert('Posting in progress..') return false } Shout = formObj.shout.value if (Shout.replace(/ /g, '') == '') { alert('You must enter a shout!') return false } doShout.send('/forum/vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform'])) sb_Clear() postingShout = true return false } function postedShout() { if (doShout.handler.readyState == 4 && doShout.handler.status == 200) { postingShout = false requestShouts() } } function sb_Input_SC(sProperty, setting) { eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"') eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"') } function getSelectionValue(eSelector) { return eSelector.options[eSelector.options.selectedIndex].value == 'Default' ? '' : eSelector.options[eSelector.options.selectedIndex].value } function sb_PropChange(eSelector, sProperty) { sb_Input_SC(sProperty, getSelectionValue(eSelector)) } function sb_PropChange_Button_Value(sProperty) { trueValue = '' switch (sProperty) { case 'fontWeight': falseValue = 'bold' break; case 'textDecoration': falseValue = 'underline' break; case 'fontStyle': falseValue = 'italic' break; } return (eval('document.forms["vbshoutform"].' + sProperty + '.value'))? trueValue : falseValue } function sb_PropChange_Button(cButton, sProperty) { if (cButton.value.match(/\*/)) { cButton.value = cButton.value.replace(/\s+\*/, '') } else { cButton.value = cButton.value + ' *' } sb_Input_SC(sProperty, sb_PropChange_Button_Value(sProperty)) } function sb_Smilie(code) { document.forms["vbshoutform"].shout.value += ' ' + code return false } function sb_Clear() { document.forms["vbshoutform"].shout.value = '' return true; } function sb_Smilies(cButton) { if (cButton.value.match(/\*/)) { cButton.value = cButton.value.replace(/\s+\*/, '') } else { cButton.value = cButton.value + ' *' } document.getElementById('shout_emo').style.display = (document.getElementById('shout_emo').style.display == 'none')? '' : 'none' } requestShouts() -->

drn 03-28-2006 05:46 AM

Hi - neat integration - but our Safari users are seeing a problem when the shoutbox is placed on a page along with the Recent Threads CMPS module. They cannot click on the thread entries in Recent Threads - they don't fire up windows correctly.

If I remove the shoutbox from the page, the Recent Threads start working again - I'm guessing there's a conflict in the javascript somewhere.

Any ideas?

B

Heldenverband 03-28-2006 09:57 AM

Quote:

Originally Posted by |oR|Greg
Center Display, just sits at loading...


In forum display OK,, but on Portal only LOADING.

Snake 03-28-2006 12:05 PM

Thanks dude!


All times are GMT. The time now is 10:09 AM.

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.01935 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete