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)

Drewish 02-23-2006 01:56 AM

Some kids were playing with the shoutbox on my forum. One of them gave one of those message boxes that never go away no matter how many times you press "ok." Another one redirected the whole site to lemonparty.org via. javascript. A final person was able to modify the entire main page to the contents of lemonparty.org. This is very insulting, and although I've pruned those users, and banned them from the forum/shoutbox, It would be nice to prevent something like that from happening again....

DWard 02-23-2006 11:14 AM

I am not sure if it is just me, but unless I disable the shoutbox, I get the error below appear at the top of users profile pages etc...

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1067) : eval()'d code on line 5

DWard 02-23-2006 11:25 AM

Quote:

Originally Posted by DWard
I am not sure if it is just me, but unless I disable the shoutbox, I get the error below appear at the top of users profile pages etc...

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1067) : eval()'d code on line 5

Appears to be related to the 'vbshout on all pages' mod.

GCA-Shawn 02-23-2006 02:34 PM

Quote:

Originally Posted by Drewish
Some kids were playing with the shoutbox on my forum. One of them gave one of those message boxes that never go away no matter how many times you press "ok." Another one redirected the whole site to lemonparty.org via. javascript. A final person was able to modify the entire main page to the contents of lemonparty.org. This is very insulting, and although I've pruned those users, and banned them from the forum/shoutbox, It would be nice to prevent something like that from happening again....


You need to find your vbshout.php file that you uploaded during installation. Once you do, find this line:

Code:

if ($_POST['do'] == 'shout')
{
        $vbulletin->input->clean_array_gpc('p', array(

The next line should be changed to:

Code:

        'shout'                => TYPE_NOHTML,
Currently, 'shout' is set to something other than TYPE_NOHTML. I don't remember what, exactly, cuz its been awhile since I changed it :ermm:

futuregizmo 02-24-2006 06:49 AM

can't view the smilies in the posts. i can see the smilie box, and if i click the smilie, the text format appears in the text box but after clicking, "Shout" the text itself is posted and not the actual smiley. anyone knows how to solve this?

Taylor123 02-24-2006 06:59 AM

i like it

mrcrx 02-24-2006 04:20 PM

my shout box has been freezing alot. are there any updates for this?

bashy 02-24-2006 04:26 PM

Quote:

Originally Posted by mrcrx
my shout box has been freezing alot. are there any updates for this?

I thought it was just me...mine also freezes, with IE and FF
Although not as bad with FF

Justin761985 02-24-2006 07:41 PM

Hello,

Is there anyway I can enable censorship for the vBShout mod?

Thanks,
Justin.

majorj0nny 02-24-2006 09:16 PM

Quote:

Originally Posted by RaZor Edge
Sorry to "bother" you with my "small insignificant host".

I was sharing this information for those who are concern about this script performance. And also to heard from those who already use it to see if they have problems.

It's great if it's work for you.

well - thanks for the info RaZor ... while Ive had VBshout working on our site for some time, and our host has never complained - we have had problems of our bandwidth usage shooting through the roof !

Ive tried things like pruning the shoutbox offen (ie - not letting it get over a certain number), limiting viewing to a few usergroups, disableing it in my forum views and only showing it on my homepage, turning off any fancy smilies, fonts, etc... and even trying to reduce the size of the vbshout.php file... Ive taken to looking for a 'simpler' shoutbox thats not so server killing.

Im not saying I dont love this shoutbox - Its perfect for my needs!

Im not trying to figure out just what is causing the heavy bandwidth usage - if it JUST the sites constant re-loading /clients reloading of vbshout.php ? or does disabling smilies really make a difference ?

futuregizmo 02-26-2006 09:02 PM

I'm getting this DB error. How to solve this?

Quote:

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Sunday, February 26th 2006 @ 10:52:44 PM
Script : http://www.xxxxx.com/forum/vbshout.php

ragintajin 02-26-2006 11:57 PM

A couple requests:

1) Allow the admin to choose the order of the shouts in Archive View (ascending or descending). It'd be much easier to read from a visitor's perspective.

2) Have the user's own shouts be highlighted in a different color, like a soft yellow, to allow easy scanning of the conversation since their last shout.

ThePimp 02-27-2006 08:46 PM

Quote:

Originally Posted by ThePimp
Has anyone found a fix for this?

It's really annoying. Images / smilies work in Firefox, but in IE, they show for a second, then disappear. This didn't used to happen in the old version of the vbShout, and as much as I want to uninstall this and put the old one back up, the old version didn't have an archive.

GRRR! :mad:

Anyone??? This happens on both of my forums, on 2 seperate servers.

AWS 02-28-2006 03:10 AM

Quote:

Originally Posted by ThePimp
Anyone??? This happens on both of my forums, on 2 seperate servers.

This has to be a browser issue. Smilies and images work fine with IE on my forum.

ThePimp 02-28-2006 06:19 AM

Quote:

Originally Posted by AWS
This has to be a browser issue. Smilies and images work fine with IE on my forum.

The old version of this script worked fine for me also. But vbShout 2.0 doesn't for some reason. Works in Firefox, but not IE.

Nitewalker 02-28-2006 09:36 AM

Can someone help me to delete Shout Archive.

i want to prune all the shouts till date

pleasee help me out

thanx

bashy 02-28-2006 05:29 PM

type /prune
All will be deleted!!!!!

bashy 02-28-2006 05:32 PM

Hi peeps

Does anyone have any ideas what i need to edit to be able to paste multiple lines into
the text box...atm if ya copy and paste multiple lines into it, it only pastes the 1st line
Any help would be appreciated :)

bashy 02-28-2006 06:10 PM

Hi peeps

How do i stop Moderators from deleteing shouts please.
I only want admin and Supermods to be able to do that?

futuregizmo 03-01-2006 01:43 PM

Help with my 2 problems?

Quote:

can't view smilies in the posts. i can see the smilie box, and if i click the smilie, the text format appears in the text box but after clicking, "Shout" the text itself is posted and not the actual smiley. anyone knows how to solve this?
Quote:

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
/home/httpd/vhosts/xxxxx.com/httpdocs/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Sunday, February 26th 2006 @ 10:52:44 PM
Script : http://www.xxxxx.com/forum/vbshout.php

CoreIssue 03-01-2006 05:43 PM

Quote:

Originally Posted by bashy
Hi peeps

How do i stop Moderators from deleteing shouts please.
I only want admin and Supermods to be able to do that?

I think that would require some script rewriting. Seems a hardcoded permission now.

bashy 03-01-2006 05:57 PM

Damn...that is a mighty big shame :(

Ok m8 no worries :)

Quote:

Originally Posted by CoreIssue
I think that would require some script rewriting. Seems a hardcoded permission now.


mrcrx 03-02-2006 12:34 PM

I went threw all 90+ pages the other day and found a code change so people couldnt post pictures in the shoutbox, but I lost it, anyone know where I can find it? it took hours to go threw all those pages. thanks.

mrcrx 03-02-2006 01:09 PM

Quote:

Originally Posted by GCA-Shawn
You need to find your vbshout.php file that you uploaded during installation. Once you do, find this line:

Code:

if ($_POST['do'] == 'shout')
{
        $vbulletin->input->clean_array_gpc('p', array(

The next line should be changed to:

Code:

        'shout'                => TYPE_NOHTML,
Currently, 'shout' is set to something other than TYPE_NOHTML. I don't remember what, exactly, cuz its been awhile since I changed it :ermm:


Found it! incase anyone needs it. and what I replaced was Type_STR

Exposed_Bone 03-02-2006 07:00 PM

When a user tries to edit a message, the message is not edited. Only the user can see the change he made. Any ideas?

yinyang 03-02-2006 07:20 PM

how do you mass prune shouts?

S@NL - BlackBik 03-02-2006 07:52 PM

Quote:

Originally Posted by yinyang
how do you mass prune shouts?

Read the first post of this thread for the prune commands available in the shoutbox.

If you want to "autoprune" than read this post

S@NL - BlackBik 03-02-2006 07:55 PM

Quote:

Originally Posted by Exposed_Bone
When a user tries to edit a message, the message is not edited. Only the user can see the change he made. Any ideas?

Known error. Check this post for an answer.

TIP, try the "search this thread" function ;)

Exposed_Bone 03-02-2006 09:25 PM

Quote:

Originally Posted by S@NL - BlackBik
Known error. Check this post for an answer.

TIP, try the "search this thread" function ;)

Thanks for the link :)

Kokus 03-05-2006 05:07 PM

Hi ...

First excuse my english please ;-)

On this screen (official screenshot from the hack on side 1) you can see the edit functions : https://vborg.vbsupport.ru/attachmen...chmentid=32673

On the other screen (from my forum) you can see, that the edit options are not shown. Why not ? Can somebody help me ?

Greetings ... Kokus

Rickie3 03-05-2006 08:36 PM

Quote:

Originally Posted by S@NL - BlackBik
I made a autoprune function for vBshout.
Just download the attached file and put in the /includes/cron directory.
Then make a new scheduled task (see attached jpg).
I run it every night at 3 o clock but offcourse your free to run it more often than that.

What is does: It will delete all shouts that are older than 24 hours.
This way you will allways have an archive that's holds no shouts that are older than two days.
You can alter the deletion time in the php by altering the "(TIMENOW - (60 * 60 * 24)" statement.

Enjoy :)

[edit]Replaced the php with the right one [/edit]

i'm about to upload this just a question,i have a small forum,can i set prune to say every 2 hours???? so in here set like this "(TIMENOW - (60 * 60 * 2)" is this the correct way please

S@NL - BlackBik 03-06-2006 09:00 AM

No, that will only delete all shouts that are older than 2 hours.

If you want to let the prunecron run every two hours, you'll have to edit the properties of the cron.

catocom2 03-06-2006 01:38 PM

I've had this installed for quite some time now. My host has had some load
problems, but I'm not sure if it's related to this.
I've read though all 93 pages again, and see some (security/and other) fixes
which I'm going to code in today.

I have noticed some weird files. They look like cache files or something.
I think they are related to the vbshout, but not sure.
Is anybody else getting this?: (see attached)

tswaibel 03-07-2006 07:57 PM

Two questions for everyone :).

Does anyone know how to:

A: Edit the title above the shoutbox window that says "Shoutbox" to something else

B: Make the timestamp on the left smaller in size

jesus likes pie 03-08-2006 12:15 AM

<a href="http://www.vbulletin.com/forum/showthread.php?t=178024" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=178024</a>

LEAD_WEIGHT 03-08-2006 12:22 AM

Try clearing out shout comments and see if that works.

Kokus 03-08-2006 09:01 AM

Quote:

Originally Posted by Kokus
Hi ...

First excuse my english please ;-)

On this screen (official screenshot from the hack on side 1) you can see the edit functions : https://vborg.vbsupport.ru/attachmen...chmentid=32673

On the other screen (from my forum) you can see, that the edit options are not shown. Why not ? Can somebody help me ?

Greetings ... Kokus



Can someone help me with my problem ?

Kokus

djrm 03-09-2006 09:02 AM

Quote:

Originally Posted by catocom2
I've had this installed for quite some time now. My host has had some load
problems

Same here. I had to move providers to run this script and now they are saying i have to remove it!!!! Im on a shared server and its breaking their t's and c's by going over 10% of resources.

Top Process %CPU 12.6 httpd [www.********.co.uk] [/forum/vbshout.php]

Am i going to have to move onto a server or is this script going to be modified?

Has anyone had any success editing or modifing vbshout after warnings from thier host?

Replicators 03-09-2006 11:35 PM

There should be a option to lower the refresh rate, All hacks which use AJAX should have the option to turn down refresh rate. VBpager has the option and this should too.

DWard 03-10-2006 07:55 AM

Is there a way of converting this mod so that it refreshes every 10 seconds instead of a stupid server load refresh at the moment?


All times are GMT. The time now is 09:31 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.03232 seconds
  • Memory Usage 1,840KB
  • 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
  • (4)bbcode_code_printable
  • (19)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