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.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

RFViet 05-19-2006 05:40 PM

Is there any way to build shoutbox with Flash other than Java script ??

bigM 05-20-2006 02:23 PM

hi,
one of our users has got a problem with the shoutbox. The field where you fill in your text is very small:

http://img502.imageshack.us/img502/8840/shoutbox2er.jpg

He is using Firefox 1.5.0.3 @ 800x600 pixel (WinXP)

Can someone help me?

Thanks
bigM

GoNz00 05-21-2006 10:17 AM

small problem, when i try to use the "&" sign i get "& " instead ???

any reason for this ?

DjTaz 05-21-2006 10:44 AM

Quote:

Originally Posted by RFViet
Is there any way to build shoutbox with Flash other than Java script ??

google is your friend : http://www.greycobra.com/tutorial/Flash_Shout_Box/

salata 05-21-2006 03:30 PM

Quote:

Originally Posted by GoNz00
small problem, when i try to use the "&" sign i get "& " instead ???

any reason for this ?

BUMP. having the same issue

hurleybird 05-22-2006 01:19 AM

How do I have the vbshout shoutbox closed by default? I tried editing the .xml file, but to no avail...

Reece^B 05-22-2006 05:30 PM

Has anyone got the problem of:
A user is viewing your index but it's named differently,
http://img178.imageshack.us/my.php?image=screen9kx.jpg

Reece

cclaerhout 05-22-2006 11:20 PM

With new changes made by Brad, here is a new version of my french translation.

P.S : i'm quite surprised than an other translation have been created where as mine was available.

Information : the special caracters problem is still NOT solved when you edit a message ; for exemple when you edit "J'aime le beurre" it gives : "J".

GoNz00 05-23-2006 12:23 PM

Quote:

Originally Posted by GoNz00
small problem, when i try to use the "&" sign i get "& " instead ???

any reason for this ?


bumpity bump.. :banana:

Rican 05-23-2006 07:39 PM

Quote:

Originally Posted by Sir_Yaro
in vbshout.php find:
Code:

// ---------------------------------------------------
// Grab Latest X Shouts
// ---------------------------------------------------

if ($_GET['do'] == 'latest')
{
        $Output = array();
        $Shouts = $DB->query('
                        select s.*, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s
                        left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by)
                        order by s.sid desc limit ' . $vbulletin->options['shout_display']);

        while ($Shout = $DB->fetch_array($Shouts))
        {

AFTER that add:
Code:

$Shout['s_shout'] = str_replace('"',"''", $Shout['s_shout']);


Thanks man! this is exactly what i came here looking for! big ups!

lexx27 05-23-2006 09:01 PM

Quote:

Originally Posted by GoNz00
bumpity bump.. :banana:

same here

hurleybird 05-23-2006 10:37 PM

Quote:

Originally Posted by hurleybird
How do I have the vbshout shoutbox closed by default? I tried editing the .xml file, but to no avail...

No one knows this? Any help would be greatly appreciated.

Raptor 05-24-2006 12:38 AM

Warning: Invalid argument supplied for foreach() in /vbshout.php on line 293

this is what banned usergroups see - works fine for none banned usergroups

any clue how to fix ? using latest version as of today

kaala 05-24-2006 03:45 AM

Cool stuff...How do I access the archive section to show stats and delete shouts?

D.Ilyin 05-24-2006 01:12 PM

Quote:

Originally Posted by apokphp
61 pages, I tried to search but didn't find anything helpful...

My members cannnot edit their own shouts despite them having the button to do so and the ability to open their shout to edit it. When they try to save their edit, it simply does NOT save.

I'd like this enabled for my members, but don't see a way to do so. Can someone help?

Same problem.....
Members see "Edit" "Delete" buttons. The last works fine.
But "Edit" does not. Yes? they can push save button after edit but after refreshing message revert at the first appearence.

4 peoples report in this thread about that but solution not found :(.

Can someone help me?

Snake 05-24-2006 05:13 PM

I have uninstalled this hack and have installed vBChat rather than using this sucker of my site. :)

vBFreak 05-24-2006 11:48 PM

Is there anything around to prevent users from spamming the shoutbox?

imported_magjr 05-25-2006 02:55 AM

Using 3.5.4 is there a way to archive the shouts? I'm using chatbox lite now and people prefer this one.

Posof 05-26-2006 07:59 AM

Helloo everyone where can i find the BUTTON to delete all the shouts in one..


I need that...
I have now 30.000 shouts and can delete it only 1 by 1..

Is there no way to make a BUTTON to select all and delete this SHOUTS at ones..


Regards..

jerx 05-26-2006 08:37 AM

There is no button, but a command. You have to type "/prune".

Please use the search in the future. This has been asked several times. vB has a great search function. In your case "delete shouts" would have returned 50 posts and the 17th has the same question and even the answer.

Posof 05-26-2006 10:30 AM

thx for the feedback

Stoebi 05-26-2006 02:04 PM

Hi,

I've a problem if I change the number of random smilies to show on the shoutbox.

With the default settings (0) I've no problems, but if i change the value i get smilies twice if I hit the smiley button. In my example I've changed 0 to 8 and it will show 2 or 3 same smilies from 8.


PHP Code:

    if ($vbulletin->options['shout_smilies_show'] > 0)
    {
        while (
$Used $vbulletin->options['shout_smilies_show'])
        {
            
$GetEmo $Total_Smilies;
            
$GetEmo rand(0$GetEmo);

            if (!
in_array($GetEmo$UsedArr) && $Smilie_Cache[$GetEmo])
            {
                
$Used++;
                
$GetEmo $Smilie_Cache[$GetEmo];
                
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$GetEmo['smilietext'].'\')"><img src="'.$GetEmo['smiliepath'].'" alt="'.$GetEmo['title'].'" border="0" /></a> ';
            }
        }
    } 

I think the problem is the random line -> $GetEmo = rand(0, $GetEmo);


Is there somebody which can help to improve this, please?


Regards, Stoebi


Edit:
Solved. Many thx to Boothby from vbhacks-germany.com

Sir_Yaro 05-28-2006 10:19 AM

Quote:

Originally Posted by GoNz00
small problem, when i try to use the "&" sign i get "&amp; " instead ???

any reason for this ?

try to use str_replace function as described in this post:
https://vborg.vbsupport.ru/showpost....postcount=1801
just change " (quotation) to &
and '' (2 apostrophes) to whatever you want

D.Ilyin 05-29-2006 03:19 PM

Sir_Yaro you are the "king" of this thread.... :)
May be you could say something about my post?

Sir_Yaro 05-29-2006 03:32 PM

Quote:

Originally Posted by D.Ilyin
Sir_Yaro you are the "king" of this thread.... :)
May be you could say something about my post?

sorry, no chances... I've the same problem....

I know that something is wrong with permisions but I don't have a clue what and where...

putergirl 05-30-2006 12:20 AM

Hello, this shoutbox looks really nice, and it installed like a breeze, but when I try to shout, it never loads the shout and I get the message: "Posting in progress"

What does that mean, and how can I fix it. I don't know a lot about code, so will need some detail. Thank you! :)

CrossBones 05-30-2006 12:44 AM

Quote:

Originally Posted by GCA-Shawn
I'm working on a Safari fix. Currently, I have it fixed but need to work out some bugs with the fix. I'll update tomorrow with the fix, probably.

/fixxy fixxy fixxy


EDIT:

Okay, I had some extra time on my hands and I have my board up and running with it fine (http://forums.advancedmn.com/index.php)


Here's how to fix it.

In your Admin panel
Styles & Templates -> Style Manager ->Click the drop down menu next to your style -> Select 'Main CSS" and click Go

At the very bottom, you'll see a box for "Additional CSS Definitions." Paste the following code in there:
Code:

/* *****Safari Fix****/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

/****** End Safari Fix ****/

Now, go to your Style Manager and find the forumhome_vbshout template. Open it up, and find the line...

Code:

<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;">

</div>

Just before that segment, place this...

Code:

<div class="clearfix">
and just after that segment, put...

Code:

</div>
Should work fine for Safari users now.

Can somebody tell me what this fix is suppose to fix when using Safari?

I have been trying to use the Shout Box at another form and it won't work properly in Safari...i.e., once you click "shout" nothing shows up until you either refresh or leave the forum page and come back. Then the shout shows up.

Is this what this is suppose to fix?

imported_predatorkill 05-30-2006 12:52 AM

i think that this fix will fix the bad shoutbox window size.For example,if you ve setted the shoutbox window to be 100px,in Safari it shows 300px or more.In all other browsers works perfect.

Is this fix confirmed that it works?

CrossBones 05-30-2006 12:55 AM

Quote:

Originally Posted by imported_predatorkill
i think that this fix will fix the bad shoutbox window size.For example,if you ve setted the shoutbox window to be 100px,in Safari it shows 300px or more.In all other browsers works perfect.

Is this fix confirmed that it works?

So the Shout Box basically doesn't work in Safari? I mean it doesn't register your message unless you refresh the browser. In that case it wouldn't be usable.

imported_predatorkill 05-30-2006 12:59 AM

I really dont know if it needs to be refreshed to show the shouts.

I wasnt talking about manual refresh to see the shout,i was talking about the bad window behavior in Safari.:D

CrossBones 05-30-2006 01:21 AM

Quote:

Originally Posted by imported_predatorkill
I really dont know if it needs to be refreshed to show the shouts.

I wasnt talking about manual refresh to see the shout,i was talking about the bad window behavior in Safari.:D

I know. I was just asking whoever if they know if there is anything that makes this work correctly when viewed in Safari! Right now I think it is unusable.

Thank you.

aky 05-30-2006 01:37 AM

how does one turn off the shout box?

putergirl 05-30-2006 01:43 AM

Quote:

Originally Posted by putergirl
Hello, this shoutbox looks really nice, and it installed like a breeze, but when I try to shout, it never loads the shout and I get the message: "Posting in progress"

What does that mean, and how can I fix it. I don't know a lot about code, so will need some detail. Thank you! :)

oops, turns out the php hadn't been uploaded.. I could swear I did that.. Love it!! Thanks. :D :banana:

CrossBones 05-30-2006 02:18 AM

Quote:

Originally Posted by putergirl
oops, turns out the php hadn't been uploaded.. I could swear I did that.. Love it!! Thanks. :D :banana:

I'm gettng that "posting in progress" too. Clould thqat be my "safari" problem? So that means that the host php hasn't been updated? What should the current php version be?

Kiros72 05-30-2006 01:19 PM

No, posting in progress means simply that. I've gotten this message before while using Avant Browser and the only thing was that I couldn't make another shout until that message went away. Of course, that's understandable though :)


However, I'm having a problem with permissions. How would I go about setting permissions for the shout box so normal registered members will not be able to access the archive and edit/delete shouts? I was not aware that a registered member could do this until one reported it to me :?

Zachariah 05-30-2006 03:44 PM

I had someone yell @ me to make this work on vBgallery.
This might be something ZT should add to the main Build ?

Adding:
$vboptions[bburl]/vbshout.php vs. vbshout.php in references.

Reason:
All links would show up in the gallery sub-folder as: /gallery/vbshout.php vs. /forums/vbshout.php



- In the XML installer of vbshout

Search: vbshout.php
Replace: $vboptions[bburl]/vbshout.php

Result:
Code:

5/30/2006 9:03:41 AM
Search String: $vboptions[bburl]/vbshout.php
File Mask: vbshout.xml

Line  23 -  <template name="forumhome_vbshout" templatetype="template" date="1124952989" username="Zero Tolerance" version="3.5.0 Release Candidate 2"><![CDATA[<form action="$vboptions[bburl]/vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">
Line  51 -    <a href='$vboptions[bburl]/vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
Line 137 -  ShoutRequest.send('$vboptions[bburl]/vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) )
Line 191 -  doShout.send('$vboptions[bburl]/vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform']))
Line 319 -  doDel.send('$vboptions[bburl]/vbshout.php', 'do=deleteshout&id=' + this.shoutid)
Line 373 -  doShout.send('$vboptions[bburl]/vbshout.php', 'do=editshout&id=' + this.shoutid + '&shout=' + PHP.urlencode(ShoutMsg))

Found 6 occurrences.


aky 05-30-2006 08:38 PM

anyone know how to turn this off please????

Total666 05-31-2006 02:54 AM

Quote:

Originally Posted by aky
anyone know how to turn this off please????

In your admin panel . plug in's - manage products . - disable it in there .. Total

mano1.com 05-31-2006 03:34 AM

how would I edit the interface a bit? remove the rich formatting options, etc..?

mano1.com 05-31-2006 03:36 AM

nevermind.. got it! :)


All times are GMT. The time now is 10: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.04306 seconds
  • Memory Usage 1,849KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)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
  • (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