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!

Tyegurl 03-28-2006 11:38 PM

okay i have read this entire thread and i don't understand lol....i can't get my vbshout off of my forum page and my vbadvance shout show loading.....so i unchecked the vbadvanced one until i can get someone to childly walk me through this please...........please.......cherries on top.....

oh and yes cmps is in my forum root and vb shout is in my forum root

camoman 04-02-2006 02:59 AM

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.


I have done this , HOWEVER when someone post a word longer then the shout box like a Web link it stretches the wrod wrap to equal the lenght of the one word/weblink untill it leaves the screen?!?! is there a way for it to wrap web links as well?!!

ruizmaniega 04-03-2006 11:33 PM

Quote:

Originally Posted by poprulz
It indeed works great..nice mod and thanx again.
My vba runs in root and forum under forums/. the vbshoutbox is in forums/.
1. when the user types in a smily, it's not visible in the main page. the code checks for the root directory only. so i copied the image folder to root directory


I have the same problem. Any fix for this?


Thanks

Heldenverband 04-04-2006 05:11 AM

Quote:

Originally Posted by Heldenverband
In forum display OK,, but on Portal only LOADING.

No Idea ?

Heldenverband 04-05-2006 07:01 AM

:(

....dumdidum..... waiting :)

Trana 04-05-2006 09:31 PM

I turned off HTML for the input and it seems to have fixed this problem in MOST situations. Users still are able to post a wierdly formatted URL and get around the check, but most people just yell at the person who did this as it screws up the module like you described.

rareclownfish 04-08-2006 12:15 PM

Does this work on VBportals?

Heldenverband 04-10-2006 09:46 AM

Quote:

Originally Posted by Heldenverband
In forum display OK,, but on Portal only LOADING.


Heeelp

Tyegurl 04-11-2006 12:41 PM

i had to disable the vbadvance shout box on some pages because it didn't take vbshout off the page...i had 2 vbshout headers....

GoTTi 04-22-2006 02:03 PM

what goes in: Template to Include

camoman 04-22-2006 03:13 PM

Quote:

Originally Posted by camoman
I have done this , HOWEVER when someone post a word longer then the shout box like a Web link it stretches the wrod wrap to equal the lenght of the one word/weblink untill it leaves the screen?!?! is there a way for it to wrap web links as well?!!


Has anyone fixed this yet?

Tyegurl 04-25-2006 03:09 AM

i would like to see the fix for that myself

Trana 04-25-2006 03:32 AM

I think you can fix this by parsing for URLs in the input. It is generally the URLs that are screwing up the Ajax.

Tyegurl 04-25-2006 03:33 AM

ty i will try that ;)

Trana 04-25-2006 03:32 PM

Also, I think the recent update to vbshout resolves this issue.

Tyegurl 04-25-2006 03:54 PM

i have that update installed too...

danbc 04-26-2006 05:30 AM

Anyone has the same issue with placing the shout in left or right side of portal, that they´re loosing date/timestamp from the shoutbox?

shadow smith 04-27-2006 12:40 PM

Using Firefox 1.5.0.2, I can see the shoutbox on the forum home page (normal version) but using my cmps_index file, I see "Loading" only.

I loaded IE and I see the shouts on the vBa page. Anyone seen anything like this? I checked for updates to the browser and didn't see any.

Hoagie 05-02-2006 09:50 PM

Love it......works great

www.ersquad.com

Is there a way to format the shout window to display like this:

[Time shout posted] UserName
<shout---------(wraps)->

Hoagie 05-03-2006 01:55 AM

is there a way to get this to expand all 3 colums on the VBA page? perhaps under the nav_bar???

NeoToxic 05-04-2006 03:12 PM

Cool Addon its just

http://img380.imageshack.us/img380/6487/shout3bb.gif

How can i fix this shout button is it possible to change it for a image? also what would be a sweet addon is if you intergrated the legends color code hack into this so tht different user groups names show as different colors lol any ways hope u can help

Macindy 05-05-2006 06:43 PM

Hi there!

Is there any workaround for Safari users? My Safari users doesn't get the shoutbox automatically reloaded after shouts.

GoTTi 05-08-2006 01:37 AM

what goes in: Template to Include

coffee 05-08-2006 07:03 PM

Thank you FleaBag.

Sir_Yaro 05-16-2006 09:35 AM

thanks to that, this:
Quote:

dlluuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuugieeeeeeee eeeeeeee zaaaaaaaaaaaaaaaaaaaaapissssssssssssssssyyyyyyyyyy yy http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=libborqt&searchmode=search files&case=insensitive&version=breezy&arch=i386 dffffffffffffffffffffffffffffffff hhhhhhhhhhhhhhhhhhhhhhhhhhh
will look like that:

noreturn 05-19-2006 03:36 PM

I am having this problem.
The shoutbox on the forum page shows more option buttons, (shout, clear, smiles, bold, underscore, italic, color, font face)

Now I also just placed it in the new center module however the only option buttons that appear are Shout and Clear.

I have lost the other buttons while the shotbox is on vbadvanced home page.

http://www.stargazerschat.com/testboard/index.php


Can ya help me out?

Thnx

TheAllusionist 05-20-2006 05:59 PM

Yes, I updated to the latest vbShout and the smilies and text formatting options disappeared from the portal version, they still show up fine on the forum home. Anyone worked this out yet or are there only two of us this is affecting ;)

FleaBag 05-20-2006 06:25 PM

Hello guys, unfortunately I have no idea how to fix the majority of your problems. I will though, try to compile the fixes listed in this thread. This hack is now marked as unsupported. Apologies to those who expetced support. I can confirm that it works as described in post#1 with both the latest vBShout 2.0 (vBShout fixed v3.zip) and vBulletin 3.5.4.

GoTTi 05-20-2006 10:44 PM

what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include
what goes in: Template to Include

FleaBag 05-20-2006 11:53 PM

Very funny. Nothing as far as I recall. If you followed the instructions it will work.


All times are GMT. The time now is 08:49 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.02672 seconds
  • Memory Usage 1,829KB
  • 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
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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