PDA

View Full Version : [AJAX] vBShout v2.0


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14

therocks
04-10-2006, 12:51 PM
This may have been asked a bunch, but there are just too many posts to dig through.

We have a lot of smilies. Is there any way to have a more smilies function rather than rotating through them randomly?

Thanks!
anyone have a fix for this?!!

Alien
04-10-2006, 08:57 PM
I hope someone comes up with a way to limit how many shouts each user can make per day. I could really use that. :)

blacklancer
04-11-2006, 04:06 PM
my shoutbox has been acting up recently. a few users have complained about it jumping around without them clicking on anything. i witnessed it first hand yesterday, and everytime it refreshes, it doesn't align properly so that you can read the current shouts. anyone know why it might be doing this??

Zweeper
04-11-2006, 07:02 PM
How can i make a split by words that are longer than 15 letters?

Can someome help me? plz!

cuphongle
04-12-2006, 05:10 AM
is it possible to change the height of the shoutbox? thanks

Zweeper
04-12-2006, 10:01 AM
when you change the "Shouts To Display" value, you can change the height.

Hemanth
04-12-2006, 03:56 PM
The best vBulletin Hack in my experience. No doubt.

A single question. Is all the shouts'll be stored in databse. If no when'll the be cleared?

hotwheels
04-13-2006, 12:28 AM
hemanth, you should be able to clear the shout's everyday by typing /prune in your shoutbox and hitting shout...........It will clear in about 2 seconds.

WhyDoesItMatter
04-13-2006, 06:19 AM
I just installed a new skin, and the shoutbox isn't showing on it. How can I get it to show?. Awesome hack btw, members really enjoy it.

Mikecp421
04-13-2006, 02:05 PM
you probably have to add the template mods to the new skin/template

Reece^B
04-13-2006, 03:19 PM
After looking at the problem of the index being named shoutbox I have found this:
index.php? says that members are viewing the shotubox,
index.php says that their on the index.

So maybe just a value need changing?

Zweeper
04-13-2006, 03:54 PM
How can i make a split by words that are longer than 15 letters?

Can someome help me? plz!


hm :(

WhyDoesItMatter
04-13-2006, 04:05 PM
What templates would I have to add?. I'd love to use the shoutbox on my new skin, without having to uninstall/reinstall it :(

Hangout
04-13-2006, 04:16 PM
Ok, i installed this yesterday but now there is someone i want to ban from using it, but when i ban with their user id but all that comes up is

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

Do i have to edit a file? Also does it so a message to say you r banned? and if it does can i change the message?

Thanks

MakZF
04-13-2006, 05:24 PM
I discovered one bug, a user can post a completely blank shout if they post this exact shout: ""

syrossyn
04-13-2006, 05:45 PM
Thanks a lot!!!!

saba
04-13-2006, 07:15 PM
mine stays on loading wtf

bashy
04-13-2006, 07:17 PM
mine stays on loading wtf


I take it you have tried typing a message?
Mine says loading to i type a message then it brings my name up :)

saba
04-13-2006, 07:23 PM
nope nothin :s

Dark_Konoko
04-13-2006, 07:50 PM
Does this shoutbox system use an advanced algorithm such as this?:

http://blog.jalenack.com/ajax/#algorithm

I do know that this shoutbox seems to have a direct effect on my serverload.

Zweeper
04-13-2006, 09:57 PM
i need the word split because i installed the shoutbox on the left sidebar.
when a user is posting words or spam with much letters the tables shift.

and my englisch is so badly :D sorry

WhyDoesItMatter
04-14-2006, 02:16 PM
I can't get it to work on my new skin. So I uninstalled vbshout, and reinstalled it.. It's still not showing on my forumhome.. What can I do to get it to show?.. My members miss the shoutbox already lol.

Thanks.

Zweeper
04-14-2006, 02:39 PM
no one got a word wrap function?

danbc
04-14-2006, 03:24 PM
Anyone know why shout date and time dissapears when using the option to put it on the side of vbadvanced?

GoTTi
04-15-2006, 12:31 AM
what does the clear option do? i click it and nothing happens

GoTTi
04-15-2006, 12:32 AM
nevermind i got the prune now...

djjeffa
04-15-2006, 12:51 AM
I notice that the users name is only colored if its there primary group but if its there secondary there name is just white

ex vip's are light green in ther regular post but in the shout ther white....is ther anyway to fix this?

Zweeper
04-15-2006, 10:15 AM
hm, i'm a php noob, can't someone here help me with a word wrap plz?

thalamus
04-16-2006, 04:59 PM
Have installed this, works great! :) one slight problem though... if a user uses quote marks or a less than/greater than sign, all that appears on the chat window is " or < etc... what could be causing this please?

Total666
04-17-2006, 03:45 AM
Where are the stats boxes .. I can't seem to find them .. :banana: When I download the file , it is version 1.5 ??

whitetigergrowl
04-17-2006, 05:03 AM
For the love of all humanity can someone please get permission to re-do this shoutbox and fix some of the problems plaguing it such as server queries and such.

cuphongle
04-17-2006, 06:23 AM
is it possible to set user to shout at post #1, then wont shout again til post 20?

mod2000
04-17-2006, 07:30 AM
Yea, minimum post in forum is a good option for the admincp. btw. Nice extension.

Debbi
04-17-2006, 11:11 PM
This is a truly awesome addition. Can't thank you enough. Made my whole day! :banana:

vBB-vietnam
04-18-2006, 08:09 AM
I want when I press Smiles link, it'll whow all Smiles as when I post thread. How to ?

Schwartz12
04-18-2006, 10:49 AM
I want to increase the shouts allowed to 50 or 100, as my users are using this as more of a chat now.

Would this slow down my site badly?

davelacey
04-18-2006, 12:06 PM
What templates would I have to add?. I'd love to use the shoutbox on my new skin, without having to uninstall/reinstall it :(
I just made my extra skins chidren of the default style. Works a treat for me.
I do have one slight problem though.

http://www.cruisemusic.biz/pix/shouteditss.jpg

Does anyone know how to limit the page history?

MorrisMcD
04-18-2006, 02:06 PM
Great Hack Here! Thanks for sharing with us..

o0Hubba0o
04-20-2006, 02:13 AM
What templates would I have to add?. I'd love to use the shoutbox on my new skin, without having to uninstall/reinstall it :(
My new skin has the templates in it, I think it might have to do with a hook location or something like that. I can see the shout.php archive page if I switch skins while I'm in there or copy/paste the link, but the shoutbox doesn't show up on the forumhome.

To bad Zero hasn't been on since Jan, is there anyone that can help with this?

vBB-vietnam
04-20-2006, 02:31 AM
I want when I press Smiles link, it'll whow all Smiles as when I post thread. How to ?
Help me, Please :)

whitetigergrowl
04-20-2006, 03:06 AM
The problem with this shoutbox, is that through experience, if you get alot of members doing shouting, it seriously bashes the server. Its crashed mine in many cases. (Especially on a shared server.) There are other bugs and such as well that need fixing. While this shoutbox is a nice hack, its totally been unsupported. Its been basically dumped by the person that made it. A one shot deal. So if anyone knows anything about ajax and php..etc...please try and help expand upon this and fix the problems its causing by getting permission to fix this. Thank you.

dai-kun
04-20-2006, 03:59 AM
Yes, this hack is not good for boards with a lot of members/doing shouts at the same time as it crashes the mysql server with the the overloading connections.

It took awhile for me to figure out that the shoutbox was causing the problem. After I removed it, my server load dropped down to 2-3 (while it can be 10-50 average when the shoutbox is on)

sensimilla
04-20-2006, 02:55 PM
Thanks, finally.. I was aware of that bug.

Ohiosweetheart
04-20-2006, 04:10 PM
no no NOOOO... I did the upgrade and now when members post there are all kinds of crazy symbols... they can't use the < or the > or the " at all..
but they're getting stuff like &amp;quot; in place of it..... and I'm getting database errors up the yimyang!!

how can we fix this???

Elrum
04-20-2006, 04:24 PM
Got the same error.

Everytime a HTML special char is converted the phrase "&amp" adds before the char.

It seems that the converted chars are converted twice.

First the user makes an input like "<". After the PHP function it's "&lt;" and then the string is converted again to "&amp;lt;".

The "Insert" into the database is correct. ("&lt;")

Brad
04-20-2006, 05:33 PM
Uploaded a new zip file now. Upload the new vbshout.php file, should fix all the problems.

wideopen
04-20-2006, 05:38 PM
Upgrade installed ..thanks:banana: I'm getting the same coding ..but I can live with it

gameslover
04-20-2006, 05:49 PM
Uploaded a new zip file now. Upload the new vbshout.php file, should fix all the problems.
Thanks for the update but the problem remain with accentuated char common in the french language for example : ? ? ?
Is there a way to fix it ?
Thanks :)

Mobilestan
04-20-2006, 08:24 PM
my vbshout have error
please help me !!!

http://www.mobilestan.net/index.php?

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

this error is for guests only
please help me !!!

Stifmeister2
04-20-2006, 09:49 PM
This is just great!! Thx very much dude!

MrPatience
04-20-2006, 10:04 PM
Thanks for the update but the problem remain with accentuated char common in the french language for example : ? ? ?
Is there a way to fix it ?
Thanks :)
I'm having the same problem, spanish language forum. Downloaded again the file but problem persists.

Ramsesx
04-20-2006, 10:24 PM
There is still an error on special caracters Brad ü,ä,ö etc.

Mikecp421
04-20-2006, 10:32 PM
get this when i try to uninstall

Database error in vBulletin 3.5.3:

Invalid SQL:
drop table `shout`;

MySQL Error : Unknown table 'shout'
Error Number : 1051
Date : Thursday, April 20th 2006 @ 06:32:25 PM
Script : http://www.meogee.com/admincp/plugin.php
Referrer : http://www.meogee.com/admincp/plugin.php?do=productdelete&productid=_vbshout&s=
IP Address :
Username : Mikecp421
Classname : vb_database


tried to overwrite the shout by installing this one over it and now I get an error in the forum

RFViet
04-21-2006, 12:57 AM
How to get like this ??
https://vborg.vbsupport.ru/external/2008/11/40.jpg

Trana
04-21-2006, 01:58 AM
Has anyone been able to fix the Unknown Location problem for the online status listing? I tried a replacement variable but it didn't work.

Dark_Konoko
04-21-2006, 02:31 AM
How to get like this ??
https://vborg.vbsupport.ru/external/2008/11/40.jpg

RFViet if you click the "Shoutbox" title of the shoutbox then you are taken to the vBShout achive page. Both you and your users may edit and delete posts there (with users only being able to edit/delete their own).

You can get to the archive by visiting:

http://urltoyourforums.tld/vbshout.php?do=archive

Eg: "www.cheeseemporium.com/forums/vbshout.php?do=archive"

Ohiosweetheart
04-21-2006, 04:11 AM
Uploaded a new zip file now. Upload the new vbshout.php file, should fix all the problems.

sorry Dan, that did not fix the problem..

when I enter --->>> on the sb I get ----&gt;&gt;&gt;

Snort_2005
04-21-2006, 05:18 AM
sorry Dan, that did not fix the problem..

when I enter --->>> on the sb I get ----&gt;&gt;&gt;
Yea, now I also have the &gt; problem similar to him. o.O

hassi
04-21-2006, 07:52 AM
If you want to have a timestamp in the shoutbox which is different to the rest of the forum i.e. just the time and not the date then open your vbshout.php and delete the following:


$Time = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
$Time .= ' ';

Hope someone might find it useful. You'll find an example how it looks after modification in the attachement. It also works in vbadvanced if you have it installed in there.

Hassi

thisgeek
04-21-2006, 10:12 AM
Why are you using htmlspecialchars() as the 'fix' function? That only causes special chars to get converted... why not use strip_tags() ?

I've replaced the two calls to htmlspecialchars with strip_tags and everything is working as it is supposed to. - html code is stripped out, while leaving special chars alone.

Anyway, thanks for doing it in the first place! :D

Mikecp421
04-21-2006, 01:00 PM
get this when i try to uninstall

Database error in vBulletin 3.5.3:

Invalid SQL:
drop table `shout`;

MySQL Error : Unknown table 'shout'
Error Number : 1051
Date : Thursday, April 20th 2006 @ 06:32:25 PM
Script : http://www.meogee.com/admincp/plugin.php
Referrer : http://www.meogee.com/admincp/plugin.php?do=productdelete&productid=_vbshout&s=
IP Address :
Username : Mikecp421
Classname : vb_database


tried to overwrite the shout by installing this one over it and now I get an error in the forum


anybody??

Mikecp421
04-21-2006, 01:16 PM
also get this in the shoutbox itself

Database error in vBulletin 3.5.3:

Invalid SQL:

select s.*, u.username, u.usergroupid from shout s
left join user u on (u.userid = s.s_by)
order by s.sid desc limit 20;

MySQL Error : Table 'meogeec_forumnew.shout' doesn't exist
Error Number : 1146
Date : Friday, April 21st 2006 @ 09:16:09 AM
Script : http://www.meogee.com/vbshout.php
Referrer :
IP Address :
Username : Mikecp421
Classname : vb_database

Zachery
04-21-2006, 01:18 PM
Why are you using htmlspecialchars() as the 'fix' function? That only causes special chars to get converted... why not use strip_tags() ?

I've replaced the two calls to htmlspecialchars with strip_tags and everything is working as it is supposed to. - html code is stripped out, while leaving special chars alone.

Anyway, thanks for doing it in the first place! :D
Thats what happens in a normal post :p

Mike, you just uploaded the new file and it is causing the problem?

Mikecp421
04-21-2006, 02:11 PM
actually the first error message is the error I got when I tried to uninstall via the Product manager in the ACP the second (which shows in the shoutbox itself) is what I got when I manually replaced both files. I uploaded the xml and then imported it via the product manager allowing an overwrite and I replaced the php file int he ftp.

Zachery
04-21-2006, 02:47 PM
All you needed was to upload the new file, nothing else.

The error was from after you uninstalled the hack.

blacklancer
04-21-2006, 03:14 PM
just installed the new file....is there a way to allow certain characters???

i tried to type 3" k&n filter and it came out 3&quot; k&amp;n filter.....

DJ XtAzY
04-21-2006, 03:16 PM
If you want to have a timestamp in the shoutbox which is different to the rest of the forum i.e. just the time and not the date then open your vbshout.php and delete the following:


$Time = vbdate($vbulletin->options['dateformat'], $time, $vbulletin->options['yestoday']);
$Time .= ' ';

Hope someone might find it useful. You'll find an example how it looks after modification in the attachement. It also works in vbadvanced if you have it installed in there.

Hassi

does anyone know how to remove the brackets when it shows the time. I want to remove the time and the bracket from the shoutbox

Mikecp421
04-21-2006, 03:40 PM
All you needed was to upload the new file, nothing else.

The error was from after you uninstalled the hack.
The original error was from trying to uninstall the hack as the upgrade instructions instructed me to do. So what do I do now?

Mikecp421
04-21-2006, 04:06 PM
this is the upgrade instructions;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Step 1:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Upload 'vbshout.php' to your 'FORUMS ROOT DIRECTORY' (ie: forums/ or forum/)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Step 2:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Go to your ACP, then:
Plugin System -> Manage Products -> vBShout -> Uninstall
Plugin System -> Manage Products -> [Add/Import Product]
Make sure "Allow Overwrite" is set to 'Yes'!
Select 'vbshout.xml' from your computer and then press 'Import'

Upgrade is now complete, enjoy.

note the bolded field, thats where it all went wrong

Gizmo5h1t3
04-21-2006, 04:15 PM
this still isnt working...followed the instructions to the letter, and im getting this :

[1 Minute Ago 18:13] Gizmo: testing quote marks &quot;bollox&quot;

dethfire
04-21-2006, 04:16 PM
not sure if this is known but typing a double quote results in &amp;quot;

Gizmo5h1t3
04-21-2006, 04:19 PM
so its DEFFO not fixed yet then....??

ijob
04-21-2006, 05:04 PM
Can u limit a user to a certain amount of posts? For example, user can post upto 20 messages?

dirtycrow
04-21-2006, 05:42 PM
will an update fix the " &amp;quot;" issue? when you use qoutes it gives you " &amp;quot;"

Ohiosweetheart
04-21-2006, 05:46 PM
No Giz it's not fixed... can't use quotations marks or arrows without getting the weird stuff.

C_P
04-21-2006, 06:08 PM
How do you clear all shouts or a specific number of shouts? Say the last 5 or six? I see this command: /pruneshout [shout] - Deletes a single shout but not sure what to enter to get this command to work in shout box
Never mind... I found the answers in the first 21 pages of this.
Here are the commands:

To Delete a single shout:
/pruneshout and the text of shout

Example:
[1 Minute Ago 12:39 PM] CP: Test

to delete this in shoutbox type:
/pruneshout Test



To Delete all Shouts:
/prune


To note you saying or doing something
* C_P and action

Example:
* C_P This shout box Rocks
displays this:

[1 Minute Ago 12:41 PM] *CP This shout box Rocks*

Zachery
04-21-2006, 06:26 PM
I've made the staff aware that the fix causes a problem,. they are looking into it.

C_P
04-21-2006, 06:53 PM
I updated my post above to help new users. I do have a question. How do I access the stats for the shout box? As shown in the stats image in the top post.

Turbosport
04-21-2006, 09:08 PM
A little issue with the update, if you put a number in the show smilies setting that is greater than the number of smilies you have it doubles them up, simple fix by adding a count to the returned sql queery and and a if > comparison.

o0Hubba0o
04-21-2006, 10:32 PM
I updated my post above to help new users. I do have a question. How do I access the stats for the shout box? As shown in the stats image in the top post.
Click the title of the shoutbox, that will bring you to that page.

I have a question on the prune command, does that just clear the shouts, or will it reset the shout counts too? I don't want people to lose their shout count.


P.S.: Glad I didn't update right away when it came out, I don't have that char problem.

Za4a Tuner
04-21-2006, 11:01 PM
I have a question on the prune command, does that just clear the shouts, or will it reset the shout counts too? I don't want people to lose their shout count...even the shouts AND the counters will be set to zero ;)

o0Hubba0o
04-21-2006, 11:06 PM
even the shouts AND the counters will be set to zero ;)
Ok, thanks alot. Guess I won't be pruning anytime soon.

C_P
04-21-2006, 11:54 PM
Click the title of the shoutbox, that will bring you to that page.

THANKS! It is the obvious we overlook!

DementedMindz
04-22-2006, 01:19 AM
ok i see brad posted a fix but wasnt this a exploit too in it 'shout' => TYPE_STR, as per this post https://vborg.vbsupport.ru/showpost.php?p=882179&postcount=1192 or does brads update fix this?

Ohiosweetheart
04-22-2006, 03:44 AM
I've made the staff aware that the fix causes a problem,. they are looking into it.

thank you Zachery... it's really causing a stir on my site, lol

Ohiosweetheart
04-22-2006, 03:47 AM
ok i see brad posted a fix but wasnt this a exploit too in it 'shout' => TYPE_STR, as per this post https://vborg.vbsupport.ru/showpost.php?p=882179&postcount=1192 or does brads update fix this?
Brad's update didn't fix the current problems

Baudman
04-22-2006, 05:44 AM
can someone please tell me how to purge the shout box of the shouts that have been made in the past?

Thanks. Baudman

Aclikyano
04-22-2006, 05:59 AM
THIS VB SHOUT.... causes my HOST Memory To skyrocket!.

:smh:..... gotta patch that somehow guy.

Ragnarok
04-22-2006, 09:32 AM
can someone please tell me how to purge the shout box of the shouts that have been made in the past?

Thanks. Baudman
As stated here, /prune

elite1
04-22-2006, 11:14 AM
Hi Guys

I would like to know how to set different user groups for the shoutbox. I know one site where the guy has added a /mod command. When using this command only people with moderator status and up can view what theyre saying. I would like to know how to do this, so if anyone has any ideas please let me know as it would be much appreicated.

Many Thanks

Ben
undergroundportal.co.uk

Jon_Simmonds
04-22-2006, 08:54 PM
Does the edit function work after the update? if so i must be pure stupid as i cant figure out how to edit a shout by one of my users - edit found it :D

H@K@N
04-22-2006, 09:39 PM
Hi @ll,

have executed the Security fixed, don't know if its linked to my Issue :

A User is using bbcode in the Shout like

[img ] link to an image with a .htaccess protected folder [/IMG ]

So then all Users getting to Popup to Enter Username and Password. This could be also a security Risk .....

How i can handle this, should i disallow bbcode in the Shoutbox ?

th@nks

Zachery
04-22-2006, 09:52 PM
Thats not a direct security risk anyone can control, anyone could post a picture to an image thats behind htaccess on anywhere you allow the image bbcode.

H@K@N
04-22-2006, 09:56 PM
So then the Smiley Function is not working anymore, because you have to deactivate the vBCode/Smilies Function.

Any possiblity to disallow the external linking in the Shoutbox ?

DementedMindz
04-22-2006, 10:49 PM
Thats not a direct security risk anyone can control, anyone could post a picture to an image thats behind htaccess on anywhere you allow the image bbcode.

ok maybe they will answer this time...

ok i see brad posted a fix but wasnt this a exploit too in it 'shout' => TYPE_STR, as per this post https://vborg.vbsupport.ru/showp...postcount=1192 or does brads update fix this?

thelittleguy
04-22-2006, 11:37 PM
i have it loaded on my site all it says is Loading and never does whats the deal?

RFViet
04-23-2006, 01:39 AM
I got probem after updating the vbshout_fix . I can not type " ... " anymore . The quotation mark doesn't work , please check it out !!!

o0Hubba0o
04-23-2006, 02:18 AM
I got probem after updating the vbshout_fix . I can not type " ... " anymore . The quotation mark doesn't work , please check it out !!!
Lol you can always tell the people that don't read before they post. They're looking into it, it has to do html not being allowed. Just scan some previous posts, it's all there.

RFViet
04-23-2006, 11:37 AM
Lol you can always tell the people that don't read before they post. They're looking into it, it has to do html not being allowed. Just scan some previous posts, it's all there.

It didn't happen with orginal vbshout 2 on my board !!

Brad
04-23-2006, 01:01 PM
Yes my update fixes that issue, although it does not restrict input to NOHTML, it simply cleans it when it's called from the database.

Brad's update didn't fix the current problems

My update fixed only one problem and that was allowing users to inject html. :)

Why are you using htmlspecialchars() as the 'fix' function? That only causes special chars to get converted... why not use strip_tags() ?

Strip_tags will give you results that are just as bad. For example try posting this in the shoutbox "& <-- no &amp;" this will display "&" because everything after < is stripped.

Update

I've uploaded a new version of this hack, dubbed '2.0.2'. This one should fix the issues without breaking special characters. To upgrade, download the new zip file and upload the new vbshout.php file.

Please note that this only fixes the html injection issues. I do not use this hack on my own forum (although I've tested this on a client's board) so I will not be fixing the server load issues. I suggest you do not install this hack if you can't deal with the extra server load, as it's rather intensive.

Gizmo5h1t3
04-23-2006, 02:09 PM
[1 Minute Ago 16:08] Gizmo: &quot;nope&quot;

it aint been fixed....quote marks still give that problem?!?!?

[1 Minute Ago 16:10] Gizmo: &amp; this as well

and the "&" sign is causing that...so its still the same

trackpads
04-23-2006, 02:09 PM
Thanks Brad!

Gizmo5h1t3
04-23-2006, 02:15 PM
uninstalled this, and re installed the original version 2.0...that works fine

Raydar
04-23-2006, 03:37 PM
I was doing the upgrade and got this message when trying to uninstall the first version.

Database error in vBulletin 3.5.2:

Invalid SQL:
drop table `shout`;

MySQL Error : Access denied for user: '***@localhost' to database '****_vbulletin'
Error Number : 1044
Date : Monday, April 24th 2006 @ 02:33:41 AM

I placed stars where my site name was for security.

Should I just try importing the new file without uninstalling the old one (maybe it will just overwrite it)? Not sure if this can mess it up so I'll wait.

Cheers

Reg

H@K@N
04-23-2006, 03:44 PM
Could it be that the settings are not working well ?
Yesterday i disabled the Smiley function, in the new Version i was able to disable IMG-Tag and enable Smileys, but i could not enabnle the smileys back.
Even the setting, disable Smiley Box is not working, its still there if i disable.

Could somebody confirm, or should i reinstall vbshout ?

kr

Brad
04-23-2006, 04:16 PM
I was doing the upgrade and got this message when trying to uninstall the first version.

Database error in vBulletin 3.5.2:

Invalid SQL:
drop table `shout`;

MySQL Error : Access denied for user: '***@localhost' to database '****_vbulletin'
Error Number : 1044
Date : Monday, April 24th 2006 @ 02:33:41 AM

I placed stars where my site name was for security.

Should I just try importing the new file without uninstalling the old one (maybe it will just overwrite it)? Not sure if this can mess it up so I'll wait.

Cheers

Reg
You need to ask your host to give you the proper permissions to drop tables on that mySQL account.

At any rate you do not need to uninstall the product file, just upload the new vbshout.php file and you're patched.

Raydar
04-23-2006, 04:27 PM
Thanx Brad :banana:

Tulsa
04-23-2006, 04:47 PM
I upload the vbshout.php as suggested.

Now when I use the & I get &amp or when I try and use " I get &quot;

???

Brad
04-23-2006, 04:53 PM
Make sure you have the latest vbshout.php file, sounds like you still have the old one.

Tulsa
04-23-2006, 04:55 PM
That was the file I just downloaded labeled as vbshout fixed v3.

Now I'm running the 2.0 version. Would I also need to import the xml file in that zip?

C_P
04-23-2006, 05:13 PM
I upload the vbshout.php as suggested.

Now when I use the & I get &amp or when I try and use " I get &quot;

??? Same here.

GoTTi
04-23-2006, 05:14 PM
is there a way to make this into a popup page instead of on the forum home, i want users to be able to access it from anywhere, which would be cool. it would prevent from using the shout on all pages hack, cuz that just KILLS server load sometimes.

Snort_2005
04-23-2006, 05:38 PM
Same here.
Same here as well.

thalamus
04-23-2006, 06:16 PM
Same here as well.
ditto... I don't see what differences in the new zip file? I can't see a reference to "v2.0.2" anywhere... is this in the new .php file or the install/upgrade txt instructions?

rinkrat
04-23-2006, 06:33 PM
Worked for me, I can now type a ""

dirtycrow
04-23-2006, 07:45 PM
i'm still having issues with the ""'s even after the upgrade :(

lucky64
04-23-2006, 08:34 PM
Works great, but has a nasty habit of loading in the middle of the shoutbox....as opposed to the latest shout....quite annoying.

Seems to latch onto images too.

Sidewindr
04-23-2006, 10:34 PM
Yep same here even after the upgrade the quotes still don't display properly .. same for > and <

I have to edit vbshout.php and set striphtml = false

Also is there a way to turn off the quote and code vbcodes??

Ohiosweetheart
04-24-2006, 02:53 AM
Sorry Brad, but I used the php file in the zip you have up there^.

< is STILL rendering &lt;
> = &gt;
" = &quot

nothing has changed

Ohiosweetheart
04-24-2006, 02:56 AM
Worked for me, I can now type a ""

not me

Spin Doctor
04-24-2006, 12:14 PM
hey guys i need to make it so my moderators cant edit the shoutbox, how do i do this???

Id like it so only my Smods and myself can, however it seems my mods have the same priverlages

Brad
04-24-2006, 01:50 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

dirtycrow
04-24-2006, 01:54 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.
yup, that fixed it, thank you!

C_P
04-24-2006, 02:38 PM
yup, that fixed it, thank you! Able to add "'s now Brad. Thank you

blacklancer
04-24-2006, 03:15 PM
worked. thanks!

tqvn2004
04-24-2006, 03:59 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

It is working now! Thank Brad!

I suggest you do not install this hack if you can't deal with the extra server load, as it's rather intensive.

It is server intensive because it is refreshing too often (in every 10 second!). This rate can be changed to a lower value, let's say in every 2 or 5 minutes.

To change the rate, find in forumhome_vbshout template:

setTimeout('requestShouts()', 10000)

and replace with

setTimeout('requestShouts()', 120000)

Note:

1/ 120000 milisecond = 2 minutes :D

2/ For those who put the shout box in front page with Advanced CMS hack, find and replace the adv_portal_vbshout template (or whichever the name you use).

Brad, if the refresh rate can be controlled in the vBshout options, it would be great!

S@NL - BlackBik
04-24-2006, 07:27 PM
8)

Thanks Brad, you're last option did the trick :)

Mikecp421
04-24-2006, 07:50 PM
How can I uninstall this if I get an error while trying to? I go to Product Manager and uninstall and get this error, can someone tell me how to remove this so I can get it fixed????

Database error in vBulletin 3.5.3:

Invalid SQL:
drop table `shout`;

MySQL Error : Unknown table 'shout'
Error Number : 1051
Date : Monday, April 24th 2006 @ 03:49:02 PM
Script : http://www.meogee.com/admincp/plugin.php
Referrer : http://www.meogee.com/admincp/plugin.php?do=productdelete&productid=_vbshout&s=
IP Address : xx.xx.xx.xx
Username : Mikecp421
Classname : vb_database

plateau
04-25-2006, 12:52 AM
uninstalled just because of the huge server load...................

Queball_Beast
04-25-2006, 01:02 AM
would this work with vb3.5.4? sorry if this question was already asked. I searh but did not find the answer.:alien:

Trana
04-25-2006, 02:03 AM
Has anyone been able to fix the Unknown Location problem for the online status listing? I tried a replacement variable but it didn't work.


Anyone have a suggestion for how to fix this? Its pretty annoying.

rinkrat
04-25-2006, 03:46 AM
It is working now! Thank Brad!



It is server intensive because it is refreshing too often (in every 10 second!). This rate can be changed to a lower value, let's say in every 2 or 5 minutes.

To change the rate, find in forumhome_vbshout template:

setTimeout('requestShouts()', 10000)

and replace with

setTimeout('requestShouts()', 120000)

Note:

1/ 120000 milisecond = 2 minutes :D

2/ For those who put the shout box in front page with Advanced CMS hack, find and replace the adv_portal_vbshout template (or whichever the name you use).

Brad, if the refresh rate can be controlled in the vBshout options, it would be great!



I'm giving this a try at 40 sec.

Billspaintball
04-25-2006, 04:24 AM
would this work with vb3.5.4? sorry if this question was already asked. I searh but did not find the answer.:alien:Yes, Im running it on 3.5.4

Spin Doctor
04-25-2006, 08:13 AM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

was that directed as a solution with my mod permissions?

Billspaintball
04-25-2006, 08:48 AM
Brad, if the refresh rate can be controlled in the vBshout options, it would be great!Its a 5 minute edit to the vbshout.xml file, then reinport it.

I've done it to my install.

If I can get permission from ZT I will post it here.

H@K@N
04-25-2006, 09:39 AM
where i can set, which staff is allowd to delete shouts ?

"AJAX Edit/Delete (staff can edit/delete all shouts)"

Is it for all Staff ?

I had also an old Shoutbox ( don't know, which one)

There i was able to set different settings for the bbcode and IMG things.
Possible to add them also, because for the htaccess Problem, i have to disable the smileys, and my users r using that often.

pls see Image ..

th@nks

Spin Doctor
04-25-2006, 11:26 AM
where i can set, which staff is allowd to delete shouts ?


i have been asking the same question for days......

Davidspl
04-25-2006, 01:36 PM
Thanks for the shoutbox, my members love it.

Wondering if you could help with 1 little thing, how can i make a gap, between the bottom of my forums and the shoutbox... like in this picture...

http://www.splforum.com/vbshout.jpg

You can see the shoutbox on the splforum.com, if you dont know what i mean, between all the forums there is a small white gap, except the shoutbox, it is right on the mark forums read part.

Thanks in advance for any help. :laugh:

twitch
04-25-2006, 07:56 PM
Thanks for the shoutbox!

Ohiosweetheart
04-26-2006, 02:56 AM
where i can set, which staff is allowd to delete shouts ?

"AJAX Edit/Delete (staff can edit/delete all shouts)"

Is it for all Staff ?


I had also an old Shoutbox ( don't know, which one)

There i was able to set different settings for the bbcode and IMG things.
Possible to add them also, because for the htaccess Problem, i have to disable the smileys, and my users r using that often.

pls see Image ..

th@nks

as far as I know there is no setting for which staff member can delete all messages. Any staff member can, with /prune

all of your shoutbox options are set by going to vBulletin options --->>> vbShout Options

Ohiosweetheart
04-26-2006, 03:05 AM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

you're wonderful Brad, thank you so much!

Ohiosweetheart
04-26-2006, 03:11 AM
i have been asking the same question for days......

there is no setting that I know of to control which staff members can edit the sb. Any staff member that can see the edit options by clicking on the word Shoutbox at the top of the sb can edit. As far as editing ALL shouts.. only the ones that you give the /prune command to can delete all sb posts at one time

Is this what you were asking?

B3y0nd
04-26-2006, 03:12 AM
*Clicks install*

A nice upgrade for my forums. Thanx ZT!! Btw RE4 iz teh best game Ev3r!!:rambo:

tqvn2004
04-26-2006, 08:04 AM
Its a 5 minute edit to the vbshout.xml file, then reinport it.

I've done it to my install.

If I can get permission from ZT I will post it here.

Can you share it with us?

And another useful modification for this hack would be "/prune [options]" command. My board have 100 pages of shouts, and I wanted to prune the old shouts. But the only option I can do is to prune all of them. I wish I could prune messages from number x to number y or from date x to date y. :rambo:

Spin Doctor
04-26-2006, 11:13 AM
there is no setting that I know of to control which staff members can edit the sb. Any staff member that can see the edit options by clicking on the word Shoutbox at the top of the sb can edit. As far as editing ALL shouts.. only the ones that you give the /prune command to can delete all sb posts at one time

Is this what you were asking?


the problem is i give mod spots to people who mod they own section for their hip hop groups, however they are not on my staff....i need a function to determine who can edit the shoutbox, possible update on the shoutbox?

Snort_2005
04-26-2006, 03:44 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.
Thanks a lot Brad. Working just fine now. ^_^

Snort_2005
04-26-2006, 03:45 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.
Thanks a lot Brad. Working just fine now. ^_^

EDIT: Oops.. sorry about the triple post.. vbulletin.org was acting up for me. :(

Snort_2005
04-26-2006, 03:45 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.
Thanks a lot Brad. Working just fine now. ^_^

EDIT: Oops.. sorry about the triple post.. vbulletin.org was acting up for me. :(

Snort_2005
04-26-2006, 03:45 PM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.
Thanks a lot Brad. Working just fine now. ^_^

Zweeper
04-26-2006, 05:09 PM
please, someone can code a word wrap function??

Snake
04-26-2006, 05:59 PM
Yay thanks for the update!

shadow smith
04-26-2006, 07:45 PM
Littleman, my installation said "Loading" too. I didn't have the vbshout.php in the forum directory. Copy that file there and it should start working [assuming permissions are correct].

B3y0nd
04-27-2006, 01:21 AM
Maybe this question has been answered before, but I couldn't find it in this thread. I'm runnin' 3.5.4 and special charactors like quotation marks and greater than/less than symbols show up as HTML code in the shout box unless I turn the vBcode and smiley option off in the ACP.

Sooo, now my users can't use smileys because of this glitch. Any fix for this??

theodonnells
04-27-2006, 05:48 AM
I was still having problems with quotations etc, until i removed the who's shouting addon.Problem was fixed right away..

KBV
04-27-2006, 07:40 AM
I don't have that addon, and I'm having the same problem.

louis_chypher
04-27-2006, 11:50 AM
i have been asking the same question for days......

A possible quick solution to limit access to the archive and archive functions by user group :

There is a template called forumhome_vbshout that has as part of its contents a line with the following info: <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>

Perhaps one could possibly change that line so that it reads:

<if condition="can_moderate()">
<a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
<else />
Shoutbox
</if>

While that will not prevent a user from manually typing in the name of the link. It will prevent those without the knowledge of the links parameters from going further.

If one is a bit more interested in digging deeper one could, possibly, open the vbshout.php file and find:

if ($_GET['do'] == 'archive')
{

located around line 356/357

Then one could, possibly, insert below the line with the "{" and above the line "$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=archive" => 'Archive');"

something like:

//use for an individual access
//if ($vbulletin->userinfo['userid'] != X)
//use for usergroup access
if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7))))
{ print_no_permission();
exit();
}

Where 5=super moderators, 6=admin, 7=moderators, and (optional) X1= what ever other usergroup one wants to include (if one was not to use X1 then do remember to remove the "," as well).

Then it should be highly possible that one would, possibly, be able to highly limit the access to the Shoutbox, a most wonderful product!, archive functions.

Of course one would be on their in doing such things.:surprised:

Zweeper
04-27-2006, 12:44 PM
i still need a wordwrap function because i have the shoutbox in the left frame of vbadvanced. long words crashing the tables.

jimbocook
04-27-2006, 08:06 PM
I've just noticed after installing vbShout (although it may have been happening before) that, when I log in from the forum home (where the shout is) I get the Thank You and am redirected back to the forum home but it doesn't recognize that I'm logged in until I go to a second page. Any ideas?

frandy
04-27-2006, 08:50 PM
Maybe this question has been answered before, but I couldn't find it in this thread. I'm runnin' 3.5.4 and special charactors like quotation marks and greater than/less than symbols show up as HTML code in the shout box unless I turn the vBcode and smiley option off in the ACP.

Sooo, now my users can't use smileys because of this glitch. Any fix for this??

Yeh same situation, I aint got any other plugins for it. And the quotes and any other special characters dont work. Is there any fix or work around??

arob42
04-27-2006, 11:51 PM
Whenever I enter a message with a quote in it and go to edit it, the message is truncated after the quote. Are others seeing this problem and is there a solution? Thanks!

Snake
04-28-2006, 12:58 PM
Awesome, I'll upgrade my shoutbox right away. Good job on the update!

Hornstar
04-28-2006, 09:08 PM
If I type "" i get &quot;&quot;

I have just downloaded and installed the latest. or do i need to apply the patch that he put in this thread.

feRos
04-28-2006, 09:10 PM
Is there a way to display the shoutbox collapsed by default?

Queball_Beast
04-29-2006, 12:58 AM
Hello, i`m trying to prevent the guest from seeing the shoutbox, But when I ban the guest id from viewing the shoutbox. I get an error message.
Warning: Invalid argument supplied foreach()/vbshout.php on line 293 can anyone help me with this?

I entered the correct id for the guest which is "1" but it is not working.
thanks:banana:

Zweeper
04-29-2006, 02:14 AM
can you code a word wrap for too long words in the shoutbox when i have it on the left panel of my forum plz? it's a greate update for all peopele that have the shoutbox in a sidepanel from the vbadvanced portal.

Sn!per101
04-29-2006, 05:53 AM
Ok, I am getting frustrated with this "viewing the shoutbox" issue. I have read all the posts about it but it's still not doing what I ask for. CMPS is installed so index.php is the CMPS page and forum.php is my forum index page. I have another plugin that does custom WOL locations and forum.php is set to it.

This problem never happend until I moved to a new host which seems to be on a different version of apache. This is a bug in the program and need to be fixed. I look at the WOL page very often to see where people are on the site and having this bug is very annoying. So instead of telling me to read the previous posts about this issue does anyone know of any other solutions? I shouldn't even have to do anything because it should just work like it did before.

Davidspl
04-29-2006, 09:54 PM
Thanks for the shoutbox, my members love it.

Wondering if you could help with 1 little thing, how can i make a gap, between the bottom of my forums and the shoutbox... like in this picture...

http://www.splforum.com/vbshout.jpg

You can see the shoutbox on the splforum.com, if you dont know what i mean, between all the forums there is a small white gap, except the shoutbox, it is right on the mark forums read part.

Thanks in advance for any help. :laugh:

I know this may not be a direct shoutbox support thing, but does anyone have any idea how to fix this?

I also get that word error after symbols in the shoutbox too, most notably the & symbol, when typed in shows as &amp; in the shoutbox message, no add ons.

Iain M
04-29-2006, 10:11 PM
I know this may not be a direct shoutbox support thing, but does anyone have any idea how to fix this?

I also get that word error after symbols in the shoutbox too, most notably the & symbol, when typed in shows as &amp; in the shoutbox message, no add ons.

to fix the 'no gap' problem edit the forumhome_vbshout template and add <br /> at the top,

to fix the symbols problem, installing the latest version should fix that,


CP1

Sir_Yaro
04-29-2006, 11:01 PM
Regarding the timestamp -
Everything has been reuploaded and no change :(
To get date & time in shoutbox You have to add one line in forumhome_vbshout_shout template.
under
<if condition="!$Shout[s_me]">
<if condition="$Shout[s_by]">
add:
[{$Shout['time']}]

This line some how is missing... :)

Damien2005
04-29-2006, 11:08 PM
How can i set the $pagenav in to the shoutbox ?

Someone here who can help me out..

lierduh
04-30-2006, 07:39 AM
If you are one of the people having issues with the last fix I posted, try using the attached file instead. Let me know if this one works or not.

function bbcodeparser($text = '', $striphtml = true)
{
global $vbulletin;

if ($vbulletin->options['shout_bbcode'])
{
return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
}
else
{
return $text;
}

if ($striphtml)
{
$text = htmlspecialchars_uni($text);
}
}

Have not checked the rest of the script you attached, but what is the purpose of the last bit?

if ($striphtml)
{
$text = htmlspecialchars_uni($text);
}

I thought the latest version is supposed to filter out html tags to avoid java script inject. Your code seems on the surface to bypass the fix?

lierduh
04-30-2006, 10:18 AM
A better way to handle html inject will be:


function bbcodeparser($text = '', $striphtml = true)
{
global $vbulletin;

if ($vbulletin->options['shout_bbcode'])
{
if ($striphtml)
{
$vbulletin->options['allowhtml'] = false;
}

return $vbulletin->vbshout_parse->parse(convert_url_to_bbcode($text), 'nonforum');
}
else
{
if ($striphtml)
{
$text = htmlspecialchars_uni($text);
}
return $text;
}
}




$vbulletin->options['allowhtml']

Defaults to off when bbcode is used. That is why everyone is getting the &gt; etc. using the latest version.

Basically if one uses bbcode in the shouter. That is no need to worry about html inject because bbcode parser will handle special html tags by default.

Zelda-King
04-30-2006, 10:20 AM
There appears to be a bug with speech marks. " is replaced with &quot;

Tested on vB 3.5.4
Using the vBShout fixed v3 zip.

Hemanth
04-30-2006, 11:11 AM
Hi,

How many shouts will be stored in database?

I'm using it over a few months. Is all the shouts so far'll be in the DB or it'll be cleared?

Zelda-King
04-30-2006, 12:56 PM
They're all saved until you prune them.

Zweeper
04-30-2006, 01:50 PM
Can please help me somebody with a function that cut long words??
look @ attachment

furst
04-30-2006, 06:43 PM
Any way to get the ignore list to work with this?

lucky64
04-30-2006, 08:49 PM
Still hoping on figuring out why it doesn't show the last shout when reloading the page :( just jumps to the middle.

I couldn't find this yet here>

I would like to show VBShout only with specific forum.

1. please can u give me conditional and where to place it?
2. this would be good to have in admin area for flexible use.
3. or is there a way to do it otherway already?

Thank you!

Was anone successful in getting it to appear in a specific forum either?

TwTom
04-30-2006, 09:10 PM
I'm just getting 'loading' at the bottom of the board's main page. :-(

http://www.twolvescentral.com

Sn!per101
05-01-2006, 05:13 AM
As an update to my other post about the WOL showing everyone on the forum index as "viewing the shoutbox" I believe it is not because of a newer apache but because of PHP 5 that I now have on my new hosting. My old hosting had PHP 3. So if you could please make this extention PHP 5 comptable to fix that bug I would appreciate it. Thank you.

Sidewindr
05-01-2006, 05:16 AM
As an update to my other post about the WOL showing everyone on the forum index as "viewing the shoutbox" I believe it is not because of a newer apache but because of PHP 5 that I now have on my new hosting. My old hosting had PHP 3. So if you could please make this extention PHP 5 comptable to fix that bug I would appreciate it. Thank you.

I'm running latest vbulletin, php and apache and it all works fine including the WOL. I think you have problems elsewhere.

Zweeper
05-01-2006, 09:44 AM
Can please help me somebody with a function that cut long words??
look @ attachment


hm, i'm getting just problems and i don't know what i can doo.

Davidspl
05-01-2006, 01:13 PM
to fix the 'no gap' problem edit the forumhome_vbshout template and add <br /> at the top,

to fix the symbols problem, installing the latest version should fix that,


CP1

Thanks the <br /> thing worked a treat.

I just downloaded this again, and upgraded/reinstalled, still same problems with the symbols thou, enter & it shows as &amp; , enter " it shows as &quot


:cross-eyed:

Sn!per101
05-01-2006, 02:01 PM
I'm running latest vbulletin, php and apache and it all works fine including the WOL. I think you have problems elsewhere.

Then do you have any idea what is causing my forum index (forum.php) to show as "viewing shoutbox"? 1 thing I haven't tried is uninstalling vbshout and reinstalling it. Then all the shouts would be lost. Anyway to back them up?

Iain M
05-01-2006, 02:10 PM
Thanks the <br /> thing worked a treat.

I just downloaded this again, and upgraded/reinstalled, still same problems with the symbols thou, enter & it shows as &amp; , enter " it shows as &quot


:cross-eyed:

np, installing the latest version should fix the symbols problem :\

i can enter & " e.t.c and they show up fine on my site

Damien2005
05-01-2006, 06:43 PM
How can i set the $pagenav in to the shoutbox ?

Someone here who can help me out..

Come on guys i ask a simple question..
I want to add the $pagenav in to the forumhome_vbshout_shout.. but its not working.. what do i have to change to get it work..

Thanks for your help...

camoman
05-01-2006, 11:47 PM
Thanks the <br /> thing worked a treat.

I just downloaded this again, and upgraded/reinstalled, still same problems with the symbols thou, enter & it shows as &amp; , enter " it shows as &quot


:cross-eyed:


I am having the same problem

utw-Mephisto
05-02-2006, 10:00 AM
Sorry when I ask maybe a question which has been answered already, but 113 pages are not easy to follow :)

1. Is it compatible with 3.5.4
2. Can I use it to show in certain forums only and not forumhome ?

utw-Mephisto
05-02-2006, 10:41 AM
Ok, answered the first question myself :)

Only the 2nd left ..

Impulse
05-02-2006, 02:13 PM
Having big problems with this. but it does look great all around.

utw-Mephisto
05-02-2006, 04:10 PM
I went back quite a few pages and it seems that Zero Tolerance gave up to support this mod or he is simply to busy .. so I guess I would have to uninstall until I get an answer .. Ah well .. great mod anyway ..

Zweeper
05-02-2006, 04:40 PM
need wordcut function

ohgenki
05-02-2006, 06:44 PM
i installed the right column hack by amy, how do i put this shoutbox on that place?

Impulse
05-02-2006, 08:12 PM
Well whatever he did. The Shoutbox On his site still works. o_O

bigfoot
05-02-2006, 08:18 PM
I did'nt read all 114 pages in this thread, so there is a chance this has been posted before.

I use vbShout at my forum. I have a small problem however. Special characters like & are converted to &amp;... how can this be solved ???

I guess it is for disabling HTML-codes in the Shoutbox.

Thanks i advance

thenewuser
05-03-2006, 12:25 AM
If I install this can I put it on the bottom of my screen on the main page of vbadvanced? :)

ohgenki
05-03-2006, 04:26 AM
does anyone here knows how to put this thing on the side?

Zweeper
05-03-2006, 10:47 AM
look here: http://www.vbadvanced.com/forum/showthread.php?t=11628

But i need a wordwrap function because long words destroying the tables :(

Damien2005
05-03-2006, 04:38 PM
Come on guys i ask a simple question..
I want to add the $pagenav in to the forumhome_vbshout_shout.. but its not working.. what do i have to change to get it work..

Thanks for your help...

I just want to thank you all for your help :banana:

vbreal
05-03-2006, 05:37 PM
is there anyway to exclude this from certain styles. this slows down the load time for some users.

desiforums
05-03-2006, 11:32 PM
can you help me...can you tell me how to change the height of the shoutbox...

vbreal
05-03-2006, 11:35 PM
can you help me...can you tell me how to change the height of the shoutbox...

go to vbulletin options and looke for the vbshout option. u can change it in there

desiforums
05-03-2006, 11:37 PM
thanks for the quick reply i found it...

tvsf
05-04-2006, 06:24 PM
I often get these &quot;quest&quot; in the shoutbox. What's wrong and how do I go about fixing it?

Dj megas
05-05-2006, 11:50 AM
Hi!!!
In The shout box is eny way to make it so the only ppl to write there to be the mods but the members to see what we write only?

vbreal
05-06-2006, 01:05 PM
Hi!!!
In The shout box is eny way to make it so the only ppl to write there to be the mods but the members to see what we write only?

you an exclude usergroups. go to vbulletin options the look for vbshout and just put the number of the usergroups u wanted excluded seperated by commas

thalamus
05-06-2006, 06:45 PM
I often get these &quot;quest&quot; in the shoutbox. What's wrong and how do I go about fixing it?
I was having the exact same problem, but it seems that by changing the 'shout' option to TYPE_STR (from TYPE_NOHTML) it's working.

Now, does that cause a security issue and, if so, can anyone tell me please where can I possibly find the antidote in the code base??

DjTaz
05-06-2006, 08:07 PM
Hey Guys i have two things to say here :

First if you have an issue with this hack , it has more than likely been answered already (the quote issue, the server load issue, the height , the commands to clear the shouts,auto pruning shouts .... pretty much everything ) so PLEASE read the thread and look for it. I went through almost all of the posts on this thread - and about 50% of them are people asking the same questions over and over.

Secondly - something that hasnt been answered is this :
How to put the shoutbox on the Arcade main page , and heres how you do it.

In your AdminCP - go to Plugin Manager- Add a plugin

Product : Vbulletin
Product Hook Location : arcade_main_complete
Title : VbShout Arcade
Plugin PHP Code :

$Used = 0;
$UsedArr = array();
$smilies = $db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, smilie.displayorder
");
$Smilie_Build = '';
$Total_Smilies = $db->num_rows($smilies);

if ($Total_Smilies > 0)
{
while ($emo = $db->fetch_array($smilies))
{
if ($vbulletin->options['shout_smilies_show'] > 0)
{
$Smilie_Cache[] = $emo;
}
else
{
$Smilie_Build .= '<a href="#" onclick="return sb_Smilie(\''.$emo['smilietext'].'\')"><img src="'.$emo['smiliepath'].'" alt="'.$emo['title'].'" border="0" /></a> ';
}
}

if ($vbulletin->options['shout_smilies_show'] > $Total_Smilies)
{
$vbulletin->options['shout_smilies_show'] = $Total_Smilies;
}

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> ';
}
}
}
}
else
{
$Smilie_Build = 'No Emoticons Available';
}

$Options_DropDown = array(); // Items included will be parsed to create drop down menus
$DropDowns = array(); // Completed constructed drop down menus

$Options_DropDown['font_selector'] = array('Default', 'Arial', 'Arial Black', 'Arial Narrow', 'Book Antiqua', 'Century Gothic', 'Comic Sans MS', 'Courier New', 'Fixedsys', 'Franklin Gothic Medium', 'Garamond', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Microsoft Sans Serif', 'Palatino Linotype', 'System', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana');
$Options_DropDown['color_selector'] = array();
$Options_DropDown['color_selector'][] = 'Default';

$hex = array();
$hex[] = '0';
$hex[] = '3';
$hex[] = '6';
$hex[] = '9';
$hex[] = 'C';
$hex[] = 'F';

for ($a = 0; $a < 6; $a++)
{
for ($b = 0; $b < 6; $b++)
{
for ($c = 0; $c < 6; $c++)
{
$Options_DropDown['color_selector'][] = '#' . $hex[$a].$hex[$a].$hex[$b].$hex[$b].$hex[$c].$hex[$c];
}
}
}

if (is_array($Options_DropDown))
{
foreach ($Options_DropDown as $Menu => $Options)
{
$DropDowns[$Menu] = '';
if (is_array($Options))
{
foreach ($Options as $Selection)
{
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';"';
}
else
{
$Extra = '';
}

if ($Selection == 'Default')
{
$Text = (($Menu == 'color_selector') ? 'Color' : 'Font Face') . ' [Default]';
}
else
{
$Text = $Selection;
}

$DropDowns[$Menu] .= '<option value="'.$Selection.'"'.$Extra.'>'.$Text.'</option>' . "\n";
}
}
}
}

function isBanned($user)
{
return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));
}

function isBanned_Check($bash, $against)
{
global $vbulletin;
return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

if ($vbulletin->options['shout_banned_perms'] == 2 && isBanned($vbulletin->userinfo))
{
$Shoutox = '';
}
else
{
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');
}

switch ($vbulletin->options['shout_position'])
{
case 1:
$Position = '<!-- what\'s going on box -->';
break;

case 2:
$Position = '<!-- end what\'s going on box -->';
break;

case 4:
$Position = '<!-- main -->';
break;

default:
$Position = '$navbar';
break;
}



$Position = '<--shoutbox-->';
$vbulletin->templatecache['arcade_main'] = str_replace($Position, ' $Shoutbox', $vbulletin->templatecache['arcade_main']);




Save and ACTIVATE the plugin.

The go to the arcade_main template and put the in this code where you want the shoutbox to be placed :


<--shoutbox-->


I put mine just under $navbar for anyone who wants it there (its pretty neat there)

If you want to put this on any other page (like say the WHOSONLINE page) - do another plugin up and change the settings at the very end of the code from :

$vbulletin->templatecache['arcade_main'] = str_replace($Position, ' $Shoutbox', $vbulletin->templatecache['arcade_main']);


to

$vbulletin->templatecache['WHOSONLINE'] = str_replace($Position, ' $Shoutbox', $vbulletin->templatecache['WHOSONLINE']);

and place the


<--shoutbox-->
into the WHOSONLINE template where you want it.


Hope that helps a few people out with this.

vbreal
05-07-2006, 03:25 PM
Secondly - something that hasnt been answered is this :
How to put the shoutbox on the Arcade main page , and heres how you do it.

.

i haven't seen an answer to my question

i asked if there was a way to exculde vbshout from certain styles.

arcadian_girl
05-07-2006, 04:51 PM
oh wow...this is awesome, completely. and even more awesome-no file or template edits! :D just upload a file and import a product and you're done. i'm loving it and so are my members. now, fingers crossed that i don't have problems with my host cos of the AJAX refresh thing...

DjTaz
05-08-2006, 12:18 AM
i haven't seen an answer to my question

i asked if there was a way to exculde vbshout from certain styles.


Yes thats possible .. find the VbShout Plugin in your plugin manager - and go to Edit ....

find the code
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);


at the bottom and replace it with

$Position = '<--shoutbox-->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position , ' $Shoutbox' , $vbulletin->templatecache['FORUMHOME']);


This will make the shoutbox seem to dissappear from all of the styles , but you'll discover that on the styles that you want it to appear on , go to FORUMHOME and put in
<--shoutbox-->
where you want it to display (usually under the navbar)

That should do what you want.

Zweeper
05-08-2006, 03:48 AM
and can someone code a wort wrap function for toooooooooooooooooooooooooooooooooooooooooooo long words?

D.Ilyin
05-08-2006, 05:09 AM
and can someone code a wort wrap function for toooooooooooooooooooooooooooooooooooooooooooo long words?
Edit your template with vBShout
FIND:<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
AND REPLACE:
width="100%"with yours left column widht.

Zweeper
05-08-2006, 03:28 PM
hm, that don't works. :(

coffee
05-08-2006, 07:01 PM
Thank you Zero Tolerance.

Iain M
05-08-2006, 07:46 PM
Edit your template with vBShout
FIND:<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
AND REPLACE:
width="100%"with yours left column widht.

ty D.Ilyin worked for me :)

FLMom
05-08-2006, 09:28 PM
Just installed...thanks!! :banana:

I have to tell you this was very easy to install! Although I am having trouble the the weird quote thing, but I know I saw it here somewhere so off to look :)

FLMom
05-08-2006, 09:43 PM
Ok there is too many pages to look through and now my eyes are hurting lol

I need to figure out how to get rid of this code: &quot;smilies&quot;

Can someone please help? Thanks!

GoTTi
05-08-2006, 09:55 PM
why when i put "WORD" i get &quot;WORD&quot; ?

anytime i use the " " i get those charachters. why is that?

GoTTi
05-08-2006, 09:56 PM
FLMOM thats funny we have the same post...im having the same problem. when we use the " " is the problem.

GoTTi
05-08-2006, 09:58 PM
figured it out.

when "Allow vBCode/Smilies" is set to yes, and we type " inside the shout, we get the &quot;

when disabled it comes up "

FLMom
05-09-2006, 02:12 AM
ah cool! Thanks for letting me know! :D

FLMom
05-09-2006, 02:20 AM
You are right, I just tested it out! I wish there were a way to use this with the smilies, I really like smilies LOL

Davidspl
05-09-2006, 02:25 PM
Admins, supermods and all mods can edit the shouts, is there anyway to make it admins only edit?

Zweeper
05-09-2006, 05:39 PM
Edit your template with vBShout
FIND:<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
AND REPLACE:
width="100%"with yours left column widht.


thx, but don't work. :(

o0Hubba0o
05-09-2006, 08:48 PM
Yes thats possible .. find the VbShout Plugin in your plugin manager - and go to Edit ....

find the code
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);


at the bottom and replace it with

$Position = '<--shoutbox-->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position , ' $Shoutbox' , $vbulletin->templatecache['FORUMHOME']);


This will make the shoutbox seem to dissappear from all of the styles , but you'll discover that on the styles that you want it to appear on , go to FORUMHOME and put in
<--shoutbox-->
where you want it to display (usually under the navbar)

That should do what you want.


Man you're a life saver, vbshout wouldn't work in one of my skins I bought and this did the trick, thank you so much.

And I'm glad I never updated, the " thing really seems to be a problem still.

DjTaz
05-09-2006, 10:28 PM
Man you're a life saver, vbshout wouldn't work in one of my skins I bought and this did the trick, thank you so much.

And I'm glad I never updated, the " thing really seems to be a problem still.


Glad i could be of assistance. Thats what we are here for - im sure some day you'll sort me out when im stuck with a problem.

arcadian_girl
05-10-2006, 01:03 PM
k, i love this mod, i really do, but it's increasing server load a lot...and i run two forums, so that's doubled, cos i've installed it on both forums. i've only had it installed a few days, so no complaints yet from my host, but i'd like to avoid any complaints.

could we possibly have a list of all the things you can do to reduce server load? i've been reading through this thread-don't claim to have read it all, but i've read about 1/3 of it, and this is what i've come up with:

-dont allow smilies in the shouts, or if so, allow only 1 smiley per shout
-prune shouts (how much effect does this have? how often should i be pruning them?)

is there anything else i can do with the shoutbox to reduce server load? is there somewhere i can change how often AJAX refreshes-it's once every 10 seconds, no? is there somewhere i can change that, and if so, what would i change it to?

thanks in advance for any help-i really like this mod and want to keep it, but i've got to find a way to get the server load down.

jerx
05-10-2006, 01:11 PM
You have to increase the refresh time.

It is server intensive because it is refreshing too often (in every 10 second!). This rate can be changed to a lower value, let's say in every 2 or 5 minutes.

To change the rate, find in forumhome_vbshout template:

setTimeout('requestShouts()', 10000)

and replace with

setTimeout('requestShouts()', 120000)

Note:

1/ 120000 milisecond = 2 minutes :D

2/ For those who put the shout box in front page with Advanced CMS hack, find and replace the adv_portal_vbshout template (or whichever the name you use).

arcadian_girl
05-10-2006, 01:21 PM
thank you!!! i will try that. (probably stupid) question: if it's set to two minutes, and someone posts a shout, and i refresh after 30 seconds, will i see the new shout? or will i not see it until it refreshes by itself, after two minutes? (hopes that makes sense)

jerx
05-10-2006, 01:32 PM
I don' t know if I understand correctly. Do you mean a browser refresh after 30 seconds? Then you should see the post immediately.

arcadian_girl
05-10-2006, 02:10 PM
yep thats what i mean. thanks :)

i changed it to a one minute refresh, not two minutes..i'll see how it works, and if it's not enough, i'll change it to two minutes.

louis_chypher
05-10-2006, 02:57 PM
I am looking for a way to have a 'flashy' when a new shout comes in and the user is not on the main forums page. No, I do not want to have the shout show up on every page.

By 'flashy' I mean some indicator that a new shout message has come in like the word "Shout" appearing in the Welcome box.

DjTaz
05-10-2006, 04:26 PM
k, i love this mod, i really do, but it's increasing server load a lot...and i run two forums, so that's doubled, cos i've installed it on both forums. i've only had it installed a few days, so no complaints yet from my host, but i'd like to avoid any complaints.

could we possibly have a list of all the things you can do to reduce server load? i've been reading through this thread-don't claim to have read it all, but i've read about 1/3 of it, and this is what i've come up with:

-dont allow smilies in the shouts, or if so, allow only 1 smiley per shout
-prune shouts (how much effect does this have? how often should i be pruning them?)

is there anything else i can do with the shoutbox to reduce server load? is there somewhere i can change how often AJAX refreshes-it's once every 10 seconds, no? is there somewhere i can change that, and if so, what would i change it to?

thanks in advance for any help-i really like this mod and want to keep it, but i've got to find a way to get the server load down.


you can also auto prune the posts - i have that set into my cron - someone put a link for that on the boards - but youll have to search this thread for cron or something similar.

jerx
05-10-2006, 05:14 PM
Here is the auto prune instruction (cron job):

https://vborg.vbsupport.ru/showthread.php?p=885260&highlight=cron#post885260

ohgenki
05-10-2006, 05:44 PM
has anyone been able to set it to the left side column or right side column?

Suzie
05-10-2006, 11:14 PM
And I'm glad I never updated, the " thing really seems to be a problem still.

I did update and I still have the problem. Is there a fix yet? this thread has became so huge finding the answer seems impossible if it's already posted.

vbreal
05-11-2006, 12:45 AM
Yes thats possible .. find the VbShout Plugin in your plugin manager - and go to Edit ....

find the code
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);


at the bottom and replace it with

$Position = '<--shoutbox-->';
$vbulletin->templatecache['FORUMHOME'] = str_replace($Position , ' $Shoutbox' , $vbulletin->templatecache['FORUMHOME']);


This will make the shoutbox seem to dissappear from all of the styles , but you'll discover that on the styles that you want it to appear on , go to FORUMHOME and put in
<--shoutbox-->
where you want it to display (usually under the navbar)

That should do what you want.

thanks alot. i will give it a try

ohgenki
05-11-2006, 05:06 AM
DjTaz, is it possible to put this on all the pages say the navbar? i tried the addon, but it doesn't work and caused an error instead.

blacklancer
05-11-2006, 09:52 PM
Is there anyway to get the archive to show more posts, and in normal reading order?? maybe have it sent to a specific forum, or a pm??

DjTaz
05-11-2006, 10:35 PM
DjTaz, is it possible to put this on all the pages say the navbar? i tried the addon, but it doesn't work and caused an error instead.

Yup - https://vborg.vbsupport.ru/showthread.php?p=765399&highlight=navbar#post765399



Is there anyway to get the archive to show more posts, and in normal reading order?? maybe have it sent to a specific forum, or a pm??


Try clicking on the bit at the top that says SHOUTBOX or go to www.yoursite.com/forum/vbshout.php?do=archive and check that out

Zweeper
05-11-2006, 11:10 PM
need wordcut :( wrap

da420
05-12-2006, 03:01 AM
This seems not to be working for me at the time. I was making a post bit edit and when I went to check my forums it was missing. What could have caused this?

EDIT: It shows up in the arcade, but not anywhere else.

DjTaz
05-12-2006, 12:29 PM
Da420 - is it a standard install you have done , or have you edited it to add things in ?

If you added in the arcades using one of the changes i suggested , then i think first thing is to re-read what i posted because its very easy to replace something when you were meant to add under it , or things like that... It will seem to disappear from threads if u dont do things exactly because it uses a REPLACE system .... its really hard to tell whats wrong without more info.

TheBlackPoet
05-12-2006, 03:26 PM
it works great for me... thanks.. but then... i hit clear.... and the messages wont clear..... Im sure, its something im NOT doing...

DjTaz
05-12-2006, 06:33 PM
it works great for me... thanks.. but then... i hit clear.... and the messages wont clear..... Im sure, its something im NOT doing...

Lol yeah it is - that Clear button is to clear what you typed into the textbox Before you submit it .... its a mistake most people seem to make , but all your members see that button , so you wouldnt want them clearing all the messages.

Try typing /prune and that should do what you want.

Rican
05-12-2006, 06:46 PM
kewl mod, works like a charm

utw-Mephisto
05-12-2006, 11:25 PM
I searched all pages, I asked several times and I saw on a forum that it is indeed possible.

How can I put the shoutbox in one forum only ?

da420
05-13-2006, 01:57 AM
Thanks, it works now, but;

Whenever a user or anyone types in a quotation mark ( " ) and hit shout, they get this; "&quot;"

What could be the issue??

Thanks in advance.

DjTaz
05-13-2006, 06:49 AM
Thanks, it works now, but;

Whenever a user or anyone types in a quotation mark ( " ) and hit shout, they get this; "&quot;"

What could be the issue??

Thanks in advance.
Check this out of you still have the quote mark issues : https://vborg.vbsupport.ru/showpost.php?p=958674&postcount=1624



utw-Mephisto - yeah that is possible, but i dont have time to code it right now - if someone else doesnt show you soon ill take a look at it for you.