PDA

View Full Version : [AJAX] vBShout v2.0


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

GrendelKhan{TSU
08-09-2005, 12:56 AM
hope this wasnt' asked aready but there are a lot of pages to scan through so......

when I open the "smilies" only a few of them appear. no where near all of them, or even the ones I have as default.

anyone have any ideas what's up?

Gizmo5h1t3
08-09-2005, 02:19 AM
hope this wasnt' asked aready but there are a lot of pages to scan through so......

when I open the "smilies" only a few of them appear. no where near all of them, or even the ones I have as default.

anyone have any ideas what's up?


its in the middle pic in the original post mate....u can control how many are displayed in the admin cp settings...

MattKeys
08-09-2005, 02:27 AM
I have yet to find a way to prune /me with /pruneshout

BlackRabbit1971
08-09-2005, 12:26 PM
You can use a template conditional o disable it for guests.What do I have to do to set this up??

TIA!

BR ;)


Sorry to bump this.. but everyone ignored my request.. :(

BR :(

tHe Rk
08-09-2005, 03:22 PM
ZT you are the man, even though it doesn't have an archive or a tracker, it's easily the best Shoutbox I've seen on vB, the realtime makes it just freakin' awesome.

PS, how would I go about making the font Size=1?

MattKeys
08-09-2005, 03:49 PM
How about the ability to post links.

[Edit]
Heh, nevermind. vB code.

xxskullxx
08-09-2005, 04:38 PM
Sorry to bump this.. but everyone ignored my request.. :(

BR :(Another way would be to ban guests and set it up so banned cannot see shoutbox...

BlackRabbit1971
08-09-2005, 07:18 PM
Another way would be to ban guests and set it up so banned cannot see shoutbox...


And how would I set it up to not show it to banned?

And why hasn't the author had some input :(

BR :(

DeMiNe0
08-09-2005, 08:01 PM
Sorry to bump this.. but everyone ignored my request.. :(

BR :(
You need to do a search on vbulletin.org for template conditionals.


Now can anyone tell me how i could get this to show on other pages other then index.php? Changing the template won't work.

whitetigergrowl
08-09-2005, 11:07 PM
I get duplicate smilies fairly often. And no, I dont have duplicates in my smiley folder. ;)

Yep Yep. This be an issue when you have 2+ of the same one show up. Yet you don't have any duplicate smilies to do that with.

Rich
08-10-2005, 12:00 AM
Hello,

In firefox, this shoutbox does refresh. It blinks every 3 seconds. Is there a fix for that, or is that just something that people need to live with? Its pretty annoying when it does it. IE doesn't blink though. lol

ThePimp
08-10-2005, 11:27 AM
You know what would ROCK in the ShoutBox?

/puppet USERNAME MESSAGE

Outputs:
USERNAME MESSAGE

as if they said the message, only avail to Admin/Mods.

Scotty2k
08-11-2005, 09:10 AM
Please help me .. i integrated your vbshout in vbadvanced. Now i have a big problem.. the messages are wider than the box (150px). I don´t know where i can define the maximum width of the text before a new line beginns.

Any idea ?

DeMiNe0
08-11-2005, 11:47 AM
Please help me .. i integrated your vbshout in vbadvanced. Now i have a big problem.. the messages are wider than the box (150px). I don?t know where i can define the maximum width of the text before a new line beginns.

Any idea ?
How did you go about integrating it? i Think i might know what the problem is but i need to know how you went about doing that first.

question?
08-11-2005, 12:09 PM
Stop your complaining, your all using it. You have to do somthing for your self, or wait till he releasing the next one.

plateau
08-11-2005, 07:00 PM
basically, it works very well for me.

One question, i got some smiles saved in /images/vbshout/, how to change the default path for the vbshout smiles to the new path? so the users can use the smiles in the /images/vbshout/ folder.

cheers! :P

lierduh
08-12-2005, 02:50 PM
Very neat hack. Simple, coded clean and nicely.:)

Has anyone made the height of the message display adjustable? It will be nice if the height can be adjusted on the fly like the vB Edit/Post boxes. If no ready solution is available, I might try to check out the java stuff. (Poor me, I know zero thing about java.:))

Boofo
08-12-2005, 03:09 PM
Very neat hack. Simple, coded clean and nicely.:)

Has anyone made the height of the message display adjustable? It will be nice if the height can be adjusted on the fly like the vB Edit/Post boxes. If no ready solution is available, I might try to check out the java stuff. (Poor me, I know zero thing about java.:))

It's in there in the settings for it. ;)

uae-style
08-12-2005, 03:18 PM
installed :d

how do i manage (edit,delete..etc) the shouts ???

xxskullxx
08-12-2005, 03:28 PM
installed :d

how do i manage (edit,delete..etc) the shouts ???
Read the first post....

Roxie
08-13-2005, 12:14 AM
This is a great shoutbox. Easy, easy, easy...

/me clicks install.

lierduh
08-13-2005, 12:41 AM
It's in there in the settings for it. ;)

I think you have misunderstood me. What I meant was able to change the height on the fly. That is if the user wants a larger display, then he/she can hit a button to say increase 100 pixels. Just like the vB3.5's Editing text area.

Darth Gill
08-13-2005, 02:54 AM
I think you have misunderstood me. What I meant was able to change the height on the fly. That is if the user wants a larger display, then he/she can hit a button to say increase 100 pixels. Just like the vB3.5's Editing text area.That does sound like a neat idea!

GrendelKhan{TSU
08-13-2005, 08:37 AM
GREAT HACK!! thank you for all your hard work.

I'm on 3.5 RC 1, IE

BUGS (on mine)
the shout position doesn't work for Below Forums and Below What's going on box. the shoutbox just disappears when I try them.

I don't notice any difference between below navbar and above forums....though that could be just cause I haven't move anything around.


from what I can tell (on mine) the Newest At the Bottom doesn't work (whehter the Display format options is above or below messages). New shouts just don't appear and whenever the shoutbox refreshes it it jumps back down to the bottom of the shout list. (I wanted to try out Format Options at the bottom with Newest Shouts appearing from Bottom----but no go.)


And really sorry to bug you as anything you do with this appreciated ....but couple of

REQUESTS/QUESTIONS
Font size option in the format options.

I saw this posted a few times, but I didnt' see an answer... :/ How do you change the font size now? (Independent of the forum CSS settings). That is I am trying to get the shout box fonts to be smaller....but dont' want to change the font sizes I have in the rest of the forum.

thank you again for this great hack.



btw..... I you keep adding commands like the "/me" command and "/prune" (maybe others I missed?)......... wouldn 't this become like a local forum version of IRC? in a superficial way. That would actually be AWESOME as I have yet to see a integrated IRC hack (*ahem*anytakers?*) heh.

NuclioN
08-13-2005, 10:58 AM
This shout add is brilliant! It would be very cool if irc and shout are combined with in it the usual irc commands and even sounds in au format. Maybe this will rise the bandwith usage skyhigh.

zell_11
08-13-2005, 07:21 PM
How can you make this global ?

Roxie
08-14-2005, 05:26 PM
from what I can tell (on mine) the Newest At the Bottom doesn't work (whehter the Display format options is above or below messages). New shouts just don't appear and whenever the shoutbox refreshes it it jumps back down to the bottom of the shout list. (I wanted to try out Format Options at the bottom with Newest Shouts appearing from Bottom----but no go.)


I have the same issue.

DeMiNe0
08-14-2005, 05:31 PM
How can you make this global ?
I've been trying to find this out the last 3 pages. Can anyone tell us?

Jenta
08-15-2005, 04:53 AM
HOTM (https://vborg.vbsupport.ru/showthread.php?t=94322) :)

Zero Tolerance
08-15-2005, 08:11 AM
v1.6 released, just cleaned up some bugs and added auto parsing of URL's.

- Zero Tolerance

cclaerhout
08-15-2005, 08:31 AM
Here's french translation (1.6 version).
Note : i don't see any change in the xml file, except the version number.

Edit : file deleted for update

thc34
08-15-2005, 09:26 AM
Here's french translation (1.6 version).
Note : i don't see any change in the xml file, except the version number.


merci :squareeyed:

Zero Tolerance
08-15-2005, 09:29 AM
Here's french translation (1.6 version).
Note : i don't see any change in the xml file, except the version number.

Correct, there were no changes in the templates/xml, only the php file :)

- Zero Tolerance

lierduh
08-15-2005, 09:34 AM
I think it might be a good idea to stop GET and POST shouldbox sends after a non-active period, as well as when the shoutbox is minimised. Should save some bandwidth.

Zero Tolerance
08-15-2005, 09:39 AM
I think it might be a good idea to stop GET and POST shouldbox sends after a non-active period, as well as when the shoutbox is minimised. Should save some bandwidth.

It would probably save on resources, but bandwidth? Highly unlikely, it's only requesting a minimul amount of text, which on average would sum up to about 1/2kb, evern with a lot of users it would hardly make much of a difference.

But stopping requests during collapsing is a good idea :)

- Zero Tolerance

lierduh
08-15-2005, 09:50 AM
It would probably save on resources, but bandwidth? Highly unlikely, it's only requesting a minimul amount of text, which on average would sum up to about 1/2kb, evern with a lot of users it would hardly make much of a difference.

But stopping requests during collapsing is a good idea :)

- Zero Tolerance

Looks like I worried too much then.:) The web log might be misleading:
"POST /vbshout.php HTTP/1.1" 200 13604

My web stat based on web log has bandwidth gone up a big notch. Web server load is so far so good, around 0.4 only. I changed the shout table type to "HEAP", so DB server will not be a problem.

Boofo
08-15-2005, 09:59 AM
You still can't delete a specific shout with this.

Zero Tolerance
08-15-2005, 10:21 AM
Ensure that when your trying to delete a "/me" shout, just enter what they typed, for example, if it said:
*Zero Tolerance laughs*

You would put: /pruneshout laughs

- Zero Tolerance

Boofo
08-15-2005, 10:55 AM
Ensure that when your trying to delete a "/me" shout, just enter what they typed, for example, if it said:


You would put: /pruneshout laughs

- Zero Tolerance

I'm referring to a regular shout, not a /me shout. ;)

Blam Forumz
08-15-2005, 11:22 AM
You still can't delete a specific shout with this.

/pruneshout shoutmessagehere

:/

Boofo
08-15-2005, 01:03 PM
/pruneshout shoutmessagehere

:/

Duh! ;)

Try it with a smilie at the end of it. ;)

Blam Forumz
08-15-2005, 02:22 PM
It works for me, I just put the smiley's shortcut (or whatever you call it!) and it prunes it, for instance

/pruneshout hello there =)

Boofo
08-15-2005, 02:29 PM
It works for me, I just put the smiley's shortcut (or whatever you call it!) and it prunes it, for instance

/pruneshout hello there =)

Then you must have a magic board because it doesn't work for me. I have already tried it over and over but since it works for you, I guess it must be me.

matt2cacnio
08-15-2005, 03:10 PM
for some reason, the shoutbox doesnt work with Aria skin. Any suggestions of what to do?

Blam Forumz
08-15-2005, 06:00 PM
Is it possible to allow people to use Smilies but Not vB code?

jesus likes pie
08-15-2005, 07:07 PM
hey this kinda owns.

whitetigergrowl
08-15-2005, 07:33 PM
How do I get rid of all of the duplicate smilies in the shoutbox? There are no duplicates in the database. I am running 1.6 of the shoutbox.

Gizmo5h1t3
08-15-2005, 07:39 PM
updated, still working a treat on RC2

Zero Tolerance
08-15-2005, 09:13 PM
Boofo - You sure you uploaded the new vbshout.php?

Blam - Uhm, i'll look into it :p

whitetigergrowl - It just randomly selects emoticons, if you have a decent amount it shouldn't display duplictayes, but if you have only a small handful it is likely it will. I'll force it to bypass this in the future so duplicate ones are not shown :)

- Zero Tolerance

whitetigergrowl
08-15-2005, 09:46 PM
Boofo - You sure you uploaded the new vbshout.php?

Blam - Uhm, i'll look into it :p

whitetigergrowl - It just randomly selects emoticons, if you have a decent amount it shouldn't display duplictayes, but if you have only a small handful it is likely it will. I'll force it to bypass this in the future so duplicate ones are not shown :)

- Zero Tolerance

Thank you. I've got around 60 emoticons. I've done everything from having only about 10-20, to having all of them showing. And no matter what I do, it most always displays duplicates in some capacity. Some times are much worse than others. I appreciate you fixing this. Thanks!

wolfyman
08-16-2005, 02:44 AM
hey, awesome chat! I'll vote this HOTM for sure!

I'm interested in the smilies but no vb, also. OR link parsing, I don't want to promote spammers.

I'm having a problem with it in firefox, it hangs on "loading".

Are sounds a possibility? Like being able to talk into a microphone and let it broadcast?

Also... also... I forgot what else, I'll be back when i remember. :D

Zero Tolerance
08-16-2005, 02:49 AM
hey, awesome chat! I'll vote this HOTM for sure!

I'm interested in the smilies but no vb, also. OR link parsing, I don't want to promote spammers.

I'm having a problem with it in firefox, it hangs on "loading".

Are sounds a possibility? Like being able to talk into a microphone and let it broadcast?

Also... also... I forgot what else, I'll be back when i remember. :D

In firefox, press CTRL+F5, should re-load the files then and skip loading from cache.

Microphone? Hmm, i doubt that will be a feature.

- Zero Tolerance

wolfyman
08-16-2005, 03:10 AM
hmm, ok... now it's working, but it's not reloading for me. I have to f5 or refresh to see the post, and trying to post again tells me "Posting is in progress"

I remembered my other question - how about a way to automatically turn it on and off at certain times?

That's my main wish, I can't believe it slipped my mind earlier!

Blam Forumz
08-16-2005, 07:52 AM
Ok, I have spotted something, when in IE you can scroll in the shoutbox using the scrollwheel, whereas in firefox you cannot, sounds like its a firefox issue to me though

sensimilla
08-16-2005, 11:33 AM
works like a charm :) thanks

loonytune15
08-16-2005, 02:03 PM
seems to be working great on my test board, only problem i had was wondering how to change the options in it. Then it occurred to me that they were in the vbulleting options.

*installed*

Vizionz
08-16-2005, 05:39 PM
how can u disable html in it some shady stuff can happen

Vizionz
08-16-2005, 05:41 PM
In firefox, press CTRL+F5, should re-load the files then and skip loading from cache.

Microphone? Hmm, i doubt that will be a feature.

- Zero Tolerance

hahah microphone i could see the sites that dont have constant moderation

wolfyman
08-16-2005, 06:24 PM
hahah microphone i could see the sites that dont have constant moderation

I think it would be a riot :D

I've never seen it done, but a friend told me he was in a chatroom with sound - how does that work? (not meaning to go off-topic or anything :P)

Vizionz
08-16-2005, 07:42 PM
yahoo chatrooms have that option. i not sure how they script it but a easier way to do it would be flash but as far as the microphone and people in a chat its hard to keep that under control cause you always got someone who wants to be a ass.. and will just keep whoring the mic and either saying stupid stuff or just playing music through it all day which will mean others cant talk. the only way a mic is good is with private rooms usually. and if ya want a chat with a mic check out the plugin section theres a flash chat that is hosted by them and it allows video and mic through flash https://vborg.vbsupport.ru/showthread.php?t=93539

XtremeOffroad
08-17-2005, 04:16 AM
Great addition "Installed" but how would I go about changing the default color to white or something lighter?

Thanks

Vizionz
08-17-2005, 08:54 AM
it should be set to default of your forum

NuclioN
08-17-2005, 09:36 AM
How to alter the permissions for the /prune or /pruneshout so supermods can use this??

thecool
08-17-2005, 10:59 AM
Great Shoutbox.

My question though, is does the censor work within the box? (didn't seem to recognize my sensor settings).

and can we get a better way to delete shouts within the next update.

thanks

be cool.

DeMiNe0
08-17-2005, 11:11 AM
How can you make this hack show on all pages of the forum?

XtremeOffroad
08-17-2005, 04:26 PM
it should be set to default of your forum

Not the case for me, see http://www.xtremeoffroad.net/forums/forum.php

Edit: Strange, Today it's working with white as the board.
Guess it's fine now.
Thanks

lttcoder
08-17-2005, 07:34 PM
Is there a way to let unregistered people post?
And does it erase the shout msgs's after XShouts To Display. Doesn't it save it so you can click page 2 and see the rest?

Zero Tolerance
08-17-2005, 07:40 PM
Is there a way to let unregistered people post?
And does it erase the shout msgs's after XShouts To Display. Doesn't it save it so you can click page 2 and see the rest?

I'm afraid not, no. It doesn't auto prune shouts, you can do so by using the commands shown in the main post.

- Zero Tolerance

lttcoder
08-17-2005, 08:26 PM
Zero Tolerance, I dont want to prune it. I want to keep all the msgs stored in db. But I want also to display all the msgs. How?

Zero Tolerance
08-17-2005, 08:32 PM
You can change the number of messages shown in the vbulletin options.

- Zero Tolerance

Cyricx
08-17-2005, 08:32 PM
Will the newest version censor shouts yet? :)

lttcoder
08-17-2005, 08:39 PM
You can change the number of messages shown in the vbulletin options.

- Zero Tolerance


And if there are 1000 chatbox messages, then the load time will be long?
I am thinking if you could edit the the script to only display 30 latest posts on front page, and if u want to view the rest you can go to seconds page, then 3rd... 4.5.6..7..
:rolleyes: that would be nice

Zero Tolerance
08-17-2005, 08:43 PM
An archive page is in the plan for v2 :)

And Cyricx, yes, i aim to do this too :)

- Zero Tolerance

lttcoder
08-17-2005, 08:46 PM
Zero Tolerance, will you make it so already existing posts will be archieved? :D
And btw how long do u think it is to v2 comes out??
Maybe you can do a 1.7 release with this feature added?? :)

Zero Tolerance
08-17-2005, 09:03 PM
Yes, no idea, and afraid not, i've got other things to do i'm afraid.

- Zero Tolerance

lttcoder
08-17-2005, 09:09 PM
:( okey, won't force you :D

thecool
08-18-2005, 03:59 AM
will it censor? lol.

Zero Tolerance
08-18-2005, 06:51 PM
An archive page is in the plan for v2

And Cyricx, yes, i aim to do this too

- Zero Tolerance

- Zero Tolerance

Wordplay
08-18-2005, 09:11 PM
hi, thanks for the hack i just installed it, works great, question though, i'm trying to make the hack display a minature 20x20pixels version of the avatar instead of the name, and just show the name when the mouse goes over the avatar... if the user has an avatar.

Zero Tolerance
08-18-2005, 09:18 PM
hi, thanks for the hack i just installed it, works great, question though, i'm trying to make the hack display a minature 20x20pixels version of the avatar instead of the name, and just show the name when the mouse goes over the avatar... if the user has an avatar.

Possible but i'd think pointless, most forums allow upto 100 x 100 pixel avatars, or 65 x 65, cut down to 20 x 20 would leave a little square where you couldn't make out anything.

- Zero Tolerance

Wordplay
08-19-2005, 04:24 AM
i checked the shoutbox i'm trying to have mine look a little more like, it's a 30x30 pixel picture. the thing is just, my site requires users to have their own avatar with their actual picture, since it's a community page. so that would be a good thing. could you help me with this? or should i start a new request in the modification forum?

also how do i get the date and time out of the shout-display? and i need to change the font to something smaller then the regular forum text size. do i have to force it in the template then? if so which one?

Craigr
08-19-2005, 05:35 PM
Thanks, got it working. :)

DeMiNe0
08-19-2005, 05:52 PM
how would i go about making the shoutbox show on every page of the forums?

utw-Mephisto
08-19-2005, 07:33 PM
And it ran fine, installed fine, and is working fine on my test board at www.mmogcommunities.com/test/forums

Which hack / plugin etc. is it on the bottom of your forum, templates used ?

JohnA
08-20-2005, 06:09 AM
Which hack / plugin etc. is it on the bottom of your forum, templates used ?

how do you disable both html and vb codes

wityeyet
08-20-2005, 01:04 PM
im new to vBulletin and im trying to install the shoutbox:

Go to your ACP, then:
Plugin System -> Manage Products -> [Add/Import Product]
Select 'vbshout.xml' from your computer and then press 'Import'

where is the "plugin System? Somewhere in Admincp .. but i cant find it. Its not one of the main groups so plz make it easier to find, its noobs like me out there -_-
.. and this is just as annoying as when i tried to upload the first release of a vBulletin shoutbox i found through google, which asked me to install through the "/install" folder, which i had already deleted ofcourse. -_-
When i found this thread i thought the install problems was finally gone =/

edit: omg i just realized i dont have the latest version of vbulletin AND i bought it today.. now i have to either upgrade manually? or pay for vBulletin to do it for me lol .. unbelivabel

Tornado.Tech
08-20-2005, 02:03 PM
same here cant find plugins thing im using 3.0.8

JohnA
08-20-2005, 02:08 PM
You need Vbulletin 3.5 ^^^^^

Also, can anyone answer my questions about disabling both HTML and VB Codes. HTML is disabled when you enable VB Codes, but when you diable VB Codes, HTML is enabled. I need both disabled to disallow members from posting images and large text, etc. it's very important so if anyone could help me out I will be very appriciative.

utw-Mephisto
08-21-2005, 07:48 AM
Good idea, but just to clean upa little (sorry, it's a habbit :p), change the plugin to:
eval('$Shoutbox = "' . fetch_template('forumhome_vbshout') . '";');

And simply place the variable '$Shoutbox' in forumhome we're ever you'd like :)

- Zero Tolerance

Mmm.. I don't get it, it looks like it has been changed in some version already, but whay do I put now in forumhome ? $shout or $shoutbox ? Do I need still to modify something in the most recent version ? Just installed 3,5RC2 today with recent shoutbox ..

Oh, I just want to have it on the buttom of the forum :)

utw-Mephisto
08-21-2005, 07:50 AM
Never mind, did not know there is an option for that now :)

JohnA
08-22-2005, 04:47 AM
You need Vbulletin 3.5 ^^^^^

Also, can anyone answer my questions about disabling both HTML and VB Codes. HTML is disabled when you enable VB Codes, but when you diable VB Codes, HTML is enabled. I need both disabled to disallow members from posting images and large text, etc. it's very important so if anyone could help me out I will be very appriciative.

still looking for answers :) Let me know

zemic
08-22-2005, 03:18 PM
Top tool. Just wondering......

is it possible to get a default set of smileys instead of random ones when the page is refreshed??

and the shoutbox font size, which propertly in the stylesheet controls this?


Other than that fantastic. No problems installing. Thanks a lot :)

zelgadis
08-22-2005, 05:45 PM
Hi, great hack... thanks.

Is it posible to add an option for limiting the number of shouts per day for a single user/usergroup?

monstergamer
08-22-2005, 05:53 PM
hey ZT, members want it where they can go to the to the profile and change the defult font/color so every time they come back they dont have to change it

sajjid
08-22-2005, 05:54 PM
Excellent work Zero Tolerance as always enjoy installing your hacks.

Vizionz
08-22-2005, 05:58 PM
hey ZT, members want it where they can go to the to the profile and change the defult font/color so every time they come back they dont have to change it
yeah that would be great :)

Valter
08-22-2005, 06:45 PM
And what's with ability to edit Shouts?

monstergamer
08-22-2005, 06:57 PM
And what's with ability to edit Shouts?you can delete them by using /pruneshout [what ever the shout was]
but no editing as of yet

utw-Mephisto
08-22-2005, 07:03 PM
you can delete them by using /pruneshout [what ever the shout was]
but no editing as of yet

I know with /prune you clean the hole windows. How do u use /prunshout ? I puit in the complete line after this command or the username ?

monstergamer
08-22-2005, 07:11 PM
lets say
monstergamer: i hate you all

you type /pruneshout i hate you all

and it will delete it

utw-Mephisto
08-22-2005, 07:16 PM
Great Thanks :)

Valter
08-22-2005, 07:19 PM
you can delete them by using /pruneshout [what ever the shout was]
but no editing as of yet
I know it can be deleted but Edit function is more important for me... it was great on old Shoutbox for vB 3.0.x.

monstergamer
08-22-2005, 07:30 PM
it was great on old Shoutbox for vB 3.0.xyeah i know, i had blck vivi's shoutbox...could edit/delete and so on

Scooterpig
08-23-2005, 10:46 AM
Excellent stuff as usual ZT, thank you..:)

Intrepid clicks 'Install'

Lil Salmon
08-24-2005, 03:09 PM
Could someone PLEASE tell me where the heck the Admin is for this in the ACP? I cannot find it? Thanks so much. BTW.. this hack is AWESOME!

-Lil'

utw-Mephisto
08-24-2005, 03:14 PM
There :

http://img112.imageshack.us/img112/1645/untitled0ch.jpg

Lil Salmon
08-24-2005, 04:31 PM
Thanks utw-Mephisto I really appreciate it! Again Awesome hack!

-Lil'

Zero Tolerance
08-25-2005, 07:55 AM
Version 2.0 has been released :)

- Zero Tolerance

Rambo
08-25-2005, 08:02 AM
Cheers mate, the upgrade was smooth as always and as minimal ;).

cclaerhout
08-25-2005, 08:13 AM
Version 2.0 has been released :)

- Zero Tolerance

Great ! The archive is back ! When i show my users the beta of my new website, the told me "whaouu a new shoutbox... but where is the link to the archives ?" They were a little dispointed with this leak. I guess this change will make them happy. Thanks !

cclaerhout
08-25-2005, 08:51 AM
Here is the french translation of the xml file for the version 2.0

Edit : here is a small translation of the php file too ; usefull for the navbits.

FleaBag
08-25-2005, 09:48 AM
Hey ZT, now that you have an excellent archive running do you think there is any possibility you could come up with an importer - so I can get all the data I had in GeekyDesigns' 3.0.X shoutbox hack (https://vborg.vbsupport.ru/showthread.php?t=68861) into this archive?

Oh yeah... Mod version up there still says 1.6 too. ;)

Metro Man
08-25-2005, 10:17 AM
very nice good work

utw-Mephisto
08-25-2005, 10:29 AM
Fantastic work :)
@Zero Tolerance

On the last screenshot, what style is that ?

rinkrat
08-25-2005, 11:43 AM
Love the newest upgrade! Editing the shouts will be way easier :)

Zero Tolerance
08-25-2005, 12:03 PM
Fantastic work :)
@Zero Tolerance

On the last screenshot, what style is that ?

Styles are use are custom made i'm afraid, not for sale/distribution.

- Zero Tolerance

whitetigergrowl
08-25-2005, 12:27 PM
It still pulls way too many of the same smilies. Its so bad I had to shut the smilies off. Looks like that never got fixed.

plateau
08-25-2005, 12:41 PM
i downloaded the file and in the Upgrade Instructions.txt, it says:

| ------------------------------- |
| vBShout |
| Version: 1.5 |
| Created By Zero Tolerance |
| An Inferno Technologies Product |
| ------------------------------- |

not 2.0?

and I upgraded already, nothing changed, and i cannot find the Archive... did i downloaded the old version?

https://vborg.vbsupport.ru/attachment.php?attachmentid=33817

the link above is correct? cheers.

FleaBag
08-25-2005, 12:42 PM
The new version downloaded for me. Try clearing your cache.

Boofo
08-25-2005, 12:46 PM
I got the new version, but I also don't see the archive or stats. How does the new editing/deleting feature work?Maybe an instruction file added to the zip? ;)

cclaerhout
08-25-2005, 12:47 PM
I got the new version, but I also don't see the archive or stats. How does the new editing/deleting feature work?Maybe an instruction file added to the zip? ;)

The easiest, the hardest.

Just click on "Shoutbox" :D

FleaBag
08-25-2005, 12:49 PM
What he said lol - yeah click on the shoutbox title [you'll notice it's now a hyperlink]. You can edit the shouts on that page using AJAX, like you'd edit a thread title on forumdisplay - with the exception of you click the edit box instead of double clicking.

plateau
08-25-2005, 12:51 PM
anyone can provide me a link to the download url of vbshout2.0.

i ve tried to clear the catch but no use. i dont know what's wrong with me browser.

thanks.

FleaBag
08-25-2005, 12:54 PM
I just redownloaded and the readme's say 1.5. Checked the file I used for install last night and it also says 1.5. It's just a case of ZT forgetting to change the readmes. Import the new XML file and upload the new vbshout.php and it'll work. :)

plateau
08-25-2005, 12:58 PM
right, thanks FleaBag...

then I think Ive installed the called version2.0 already. lol

however, i cannot find the archive which is shown on the last screenshot, where is it? thanks.

FleaBag
08-25-2005, 01:00 PM
Where your Shoutbox is on your forumhome click the word 'Shoutbox' - it'll take you to the new page.

DeMiNe0
08-25-2005, 01:12 PM
Ok, so once again for the 8th or so time, How would i go about getting this on every page of the forum and even on the vbadvanced page?

FleaBag
08-25-2005, 01:13 PM
If you check over on the vBAdvanced forums you'll see they've almost cracked it for the CMPS.

DeMiNe0
08-25-2005, 01:17 PM
then that still leaves the problem of how do i make it show on every page of the forums? Right now it only shows on forum home, and moving the $shoutbox var won't do it.

plateau
08-25-2005, 01:18 PM
Where your Shoutbox is on your forumhome click the word 'Shoutbox' - it'll take you to the new page.

ya, cheers mate.

it is strange that there is no hyperlink on the ShoutBox............

dont know where to check and solve it...................

by the way, today is raining again... :devious: :ermm: :nervous:

plateau
08-25-2005, 01:37 PM
solved!

need to recover the template...|||

FleaBag
08-25-2005, 01:38 PM
Ah, it did mine automatically. Strange! But glad you got it working.

Jenta
08-25-2005, 02:28 PM
one of the things that i loved about this shoutbox was its simplicity
i would be mindfull of not having it become bloated

im sticking with 1.6 as i dont see the need for top shouters and stuff like that...its just a shout - something temporary unlike a post

just a thought

Boofo
08-25-2005, 02:36 PM
Where your Shoutbox is on your forumhome click the word 'Shoutbox' - it'll take you to the new page.

Thank you, sir. I love the way it edits now. ;)

Now all we need is a back button. ;)

cclaerhout
08-25-2005, 02:54 PM
one of the things that i loved about this shoutbox was its simplicity
i would be mindfull of not having it become bloated


Don't you find the discret link to the archive page simple ? I do.

When some users can't connect forum during a short time, this archive page is great for them. It allow them to quick read old messages.

XtremeOffroad
08-25-2005, 04:31 PM
Love the archive, Makes things so much better for editing.
Thanx Zero

FleaBag
08-25-2005, 04:44 PM
Personally I think this hack is going from strength to strength, also a prime example of the product system being used to it's potential. Like someone said up there, if you don't like the archive just use conditions for the hyperlink allowing only you to know the link [not an ideal solution - but if your users get in via a URL they figure out why not let them] - makes your life of editing much easier.

aethro
08-25-2005, 05:02 PM
Thanks for the update i love it! :D

KuRi
08-25-2005, 05:09 PM
the link to the archive is the only template change in the update i take it??? because i had modified the template it did not update.

I have added the link to archive just need to know if there was anything else

monstergamer
08-25-2005, 08:05 PM
thanks for the update
working great and looks better then before

monstergamer
08-25-2005, 08:08 PM
because i had modified the template it did not update.
you have to revert those forumhome_vbshout & forumhome_vbshout_shout if you customize it..then you will see the difference

dieselpowered
08-25-2005, 08:44 PM
Another great hack from you...thanks!

I do have a question...everything works great, however, I was just playing with the hack and put in a smilie...The page now continues to refresh over and over??

Any thoughts??

www.atvpros.net/forums

dieselpowered
08-25-2005, 08:48 PM
Hmm and for some reason, I have duplicate smilies showing??

dieselpowered
08-25-2005, 08:57 PM
Ok maybe something is not correct??

I also do not have any way of editing the shouts...nor do I see anything that looks like this screenshot.

https://vborg.vbsupport.ru/attachment.php?attachmentid=33818

**Disregard...I just need to learn to read all the threads**

Still have that page refreshing all the time as well as duplicate smilies though?

monstergamer
08-25-2005, 10:02 PM
Still have that page refreshing all the time as well as duplicate smilies though?it refreshes all the time so you don't have to to see other shouts..
and the smilies are random, so it is possible to have two of the same smilies

dieselpowered
08-25-2005, 10:06 PM
it refreshes all the time so you don't have to to see other shouts..
and the smilies are random, so it is possible to have two of the same smilies

Ok I understand what you are saying about the smilies...

But I am confused at why it is refreshing..."So I don't have to see other shouts?" Don't I want to see other shouts? If I type something and no one can view it, why am I typing it? Does it not work like a chat?

Roxie
08-25-2005, 10:16 PM
Love the update. Nice work.

JohnA
08-25-2005, 11:29 PM
If you don't mind, I want to know what else was changed in this 2.0 update besides the archive. Is there an option to disable BOTH vbcodes and HTML at the same time now in this update?

Javier97Z28
08-26-2005, 11:24 AM
Man this works great. Thanks! Such an easy install compared to the old days :D

leeman
08-26-2005, 11:38 AM
Sorry to be the one who's repeating ....

Is there plans or is it hard to make it a popup one ....???

dieselpowered
08-26-2005, 02:22 PM
I would still like to know why it causes the page to continuously refresh. Thanks!

Glovebox
08-26-2005, 03:06 PM
Hello, the "shoutbox" text to click to edit isnt hyperlinked. Not sure what i've done. Uninstalled and reinstalled but no joy.

Adam

john1744
08-26-2005, 03:39 PM
Yeah I have the issue with smilies, looks like I might have to disable them.

monstergamer
08-26-2005, 03:49 PM
But I am confused at why it is refreshing...it refreshes like that so when some one shouts you can see it in real time....that way you dont have to refresh to see new shouts

Extreme John
08-26-2005, 04:14 PM
tried installing it and i get this mysql error:

Database error in vBulletin 3.5.0 Release Candidate 2:

Invalid SQL:

SELECT plugin.*,
IF(product.productid IS NULL, 0, 1) AS foundproduct,
IF(plugin.product = 'vbulletin', 1, product.active) AS productactive
FROM plugin AS plugin
LEFT JOIN product AS product ON(product.productid = plugin.product)
WHERE plugin.active = 1
AND plugin.htmlcode <> '';

MySQL Error : Unknown column 'plugin.htmlcode' in 'where clause'
Error Number : 1054

pls help :(

thc34
08-26-2005, 06:19 PM
Here is the french translation of the xml file for the version 2.0

Edit : here is a small translation of the php file too ; usefull for the navbits.

merci beaucoup

dieselpowered
08-26-2005, 06:35 PM
Sorry if I missed this, however, is there a place where we can alter permissions on who can use shout and who cannot?

I see there is an option for banned users...but what about others?

Valter
08-27-2005, 01:46 AM
Thanks ZT, nice upgrade ;)

lierduh
08-27-2005, 08:09 AM
Looks like the page navigation disappers after the shouts reaches 1000 stored.

lierduh
08-27-2005, 08:52 AM
Looks like the page navigation disappers after the shouts reaches 1000 stored.

Ok, a quick fix. With vbshout.php, around line 63, find:
$TS = vb_number_format($TS['ts']);

Replace it with:
$TS = $TS['ts'];

lierduh
08-27-2005, 09:02 AM
Ok, while I am at it.

The following two queries do not seem do anything.

$T4 = $DB->query_first("select count(*) as `T4` from " . TABLE_PREFIX . "shout where s_time > " . (TIMENOW - (60 * 60 * 24)));
$T4 = vb_number_format($T4['T4']);

$TY = $DB->query_first("select count(*) as `TY` from " . TABLE_PREFIX . "shout where s_by = '{$vbulletin->userinfo['userid']}'");
$TY = vb_number_format($TY['TY']);

I have removed them.

Also adding an index to `s_by` should improve performance.

KuRi
08-27-2005, 09:52 AM
you have to revert those forumhome_vbshout & forumhome_vbshout_shout if you customize it..then you will see the difference

yes i know that but i dont want to revert, i just want to know what other changes there are in this template, Because i spent ages modifying this template to get it how i want it

lierduh
08-27-2005, 01:52 PM
yes i know that but i dont want to revert, i just want to know what other changes there are in this template, Because i spent ages modifying this template to get it how i want it

I think that archive link was the only thing changed.

Bahawolf2
08-27-2005, 04:07 PM
Would it be possible to have a link to the archive on the shoutbox?

TTG
08-27-2005, 05:23 PM
Would it be possible to have a link to the archive on the shoutbox?

There already is !
Click on "Shoutbox" on the shoutbox :)

Glovebox
08-27-2005, 05:37 PM
The word shoutbox is not clickable on the version I just downloaded.

Bahawolf2
08-27-2005, 06:22 PM
Try reverting the forumhome_vbshout template and forumhome_vbshout_post template if you modified them before the upgrade.

And thank you TTG.. :)

Glovebox
08-27-2005, 07:07 PM
They havent been modified.

Zero Tolerance
08-27-2005, 09:44 PM
Revert the templates anyway, also uploaded a new zip with the pagination bug fixed :)

- Zero Tolerance

evilzedar
08-27-2005, 10:00 PM
This is awesome, thanks alot :D

Glovebox
08-28-2005, 08:06 AM
There is no option to revert the templates as they havent been modified.

Snort_2005
08-29-2005, 12:25 AM
Question.

I would love to have this system as a global thing that shows up on any page on the forum. :) Is there a way to do so?

DeMiNe0
08-29-2005, 01:23 AM
Question.

I would love to have this system as a global thing that shows up on any page on the forum. :) Is there a way to do so?
I've been trying to get this anwsered for the last 3 weeks. Good luck.

lierduh
08-29-2005, 01:45 AM
A even better way is to have different Topics under different parent forums and display all the shouts at the main page.

I also suggest to change the `s_shout` and `s_data` field type from 'text' to 'CHAR 255'. It could become a problem if something has one of the keyboard keys stuck.

Snort_2005
08-29-2005, 09:11 AM
I've been trying to get this anwsered for the last 3 weeks. Good luck.

*hounds ZT via MSN Messenger*

https://vborg.vbsupport.ru/

Cyricx
08-29-2005, 12:10 PM
Is the censor still not working for this?

As far as getting it to show up on every page.

Not sure if there is a way to do it globally, I made some edits to add it to the forumdisplay page. I'll try to post what hook I used later.

DeMiNe0
08-29-2005, 02:25 PM
*hounds ZT via MSN Messenger*

http://www.zcworld.net/forums/GQMRDefault/smilies/icon_whistle.gif

Lol, i was hounding him by his own shoutbox on his site :)

Snort_2005
08-29-2005, 10:41 PM
Lol, i was hounding him by his own shoutbox on his site :)

Dacado on ZT's Site said ZT Said something about global on here... But I just read the entire thread and didn't see anything. I would love to have this show up on every single page of my forum along with on vbadvanced since it is my homepage. :) (I would do this myself, but I suck with php. -_-')

Valter
08-29-2005, 11:29 PM
I banned usergroup 1 (Unregistered) from ShoutBox and here is what is shown for them:

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

How to solve this?

EDIT: I changed options to not show Shoutbox for banned usergroups and it is ok now for me.


EDIT2: Another problem - I think Shoutbox slows down opening forum index :ermm:

lierduh
08-30-2005, 12:20 AM
If you want to have shoutbox on all forumdisplay pages:

1) Change the hook location for 'vBShout [Template Alteration]' to: forumdisplay_complete

2) Edit the plugin code for 'vBShout [Template Alteration]'

Find: '$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);'

Replace it with:

$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);

This is a quick and dirty hack. The shoutbox will only show up under navbar!

3) If you want the shoutbox to show up only in certain forums:

a. add
if ($forumid ==13)
{

In the beginning of the above plugin. 13 is the forum ID you want the shoutbox to show.

b. add
}

in the end of the code.

Valter
08-30-2005, 12:39 AM
I suggest you to change Shoutbox look. I would like to see something like this in the next version:

https://vborg.vbsupport.ru/

What do you think about this guys?

P.S.: This picture was Photoshop-ed.

Snort_2005
08-30-2005, 01:33 AM
I suggest you to change Shoutbox look. I would like to see something like this in the next version:

https://vborg.vbsupport.ru/

What do you think about this guys?

P.S.: This picture was Photoshop-ed.

=o THAT LOOKS AWESOME!!!! I WOULD ABSOLUTELY LOVE THAT LAYOUT!!! <3

monstergamer
08-30-2005, 02:54 PM
I suggest you to change Shoutbox look. I would like to see something like this in the next version:

https://vborg.vbsupport.ru/

What do you think about this guys?

P.S.: This picture was Photoshop-ed.that does look real nice DROOLS

Gizmo5h1t3
08-31-2005, 06:07 AM
yep, looks good, but what happens when u use smilies that are waay bigger than the ones shown in the pic?
it`d start to get real ugly..

ihave hundreds of smilies that are bigger than those shown....

Dream
08-31-2005, 06:56 AM
yep, looks good, but what happens when u use smilies that are waay bigger than the ones shown in the pic?
it`d start to get real ugly..

ihave hundreds of smilies that are bigger than those shown....

make the shoutbox height bigger

Valter
08-31-2005, 09:57 AM
make the shoutbox height bigger
Yep. You need it heighter anyway to show big smilies in shouts list.

Gizmo5h1t3
08-31-2005, 01:04 PM
make the shoutbox height bigger

doh...i KNOW that, but then things start gettin a bit ugly, is all i was saying..

Martin CX
08-31-2005, 05:33 PM
Thanks for your work Zero Tolerance; it seems to be working beautifully.

I was wondering, is there a way to make the script check wether new shouts have been posted, before reloading a new batch? I would like to keep the load on the server down to a minimum.

Cheers,
Martin

twitch
08-31-2005, 11:18 PM
I suggest you to change Shoutbox look. I would like to see something like this in the next version:

https://vborg.vbsupport.ru/

What do you think about this guys?

P.S.: This picture was Photoshop-ed.

yeah that would be nice!

Fj?rgyn
09-01-2005, 12:34 AM
Nice hack :)

It will be possible the Shoutbox show alone on an own page in bigger size, if the user klick a button on the normal Shoutbox?

Gizmo5h1t3
09-01-2005, 06:35 AM
If you want to have shoutbox on all forumdisplay pages:

1) Change the hook location for 'vBShout [Template Alteration]' to: forumdisplay_complete

2) Edit the plugin code for 'vBShout [Template Alteration]'

Find: '$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);'

Replace it with:

$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);

This is a quick and dirty hack. The shoutbox will only show up under navbar!

3) If you want the shoutbox to show up only in certain forums:

a. add
if ($forumid ==13)
{

In the beginning of the above plugin. 13 is the forum ID you want the shoutbox to show.

b. add
}

in the end of the code.

that only worked in the sense it shows up on every forumhome_display page..ie...the thread display page, but took it off the index page.

this would be excellent to get sorted out, as you could browse the board while still keepin tabs on the shoutbox all the time...


anyone come up with a fix for this???

cclaerhout
09-01-2005, 09:59 AM
Strange, 167 users have installed this "5 stars" hack and there are only 102 who have voted for it as the Hack of the month (august)...

monstergamer
09-01-2005, 05:23 PM
Strange, 167 users have installed this "5 stars" hack and there are only 102 who have voted for it as the Hack of the month
maybe some one like the other hack more, but you had got my vote ZT

lierduh
09-01-2005, 09:08 PM
that only worked in the sense it shows up on every forumhome_display page..ie...the thread display page, but took it off the index page.

this would be excellent to get sorted out, as you could browse the board while still keepin tabs on the shoutbox all the time...


anyone come up with a fix for this???

Just add a plugin instead of modify the existing plugin. Original plugin is for the index page, the additional one will be for the forums.

DeMiNe0
09-02-2005, 05:01 AM
Just add a plugin instead of modify the existing plugin. Original plugin is for the index page, the additional one will be for the forums.
Any way to make this global now then?

Forumi Shqiptar
09-03-2005, 02:37 PM
problem with the shoutbox.

i did everything that was requested to install the hack everything went fine and everything worked perfectly until yesterday and i dont know what happened but every time that someone post a message on the shoutbox it doesnt come up anymore it looks like has been posted but does not show up on the shoutbox all the permissions are fine and as far as i know i followed every single step given to install this hack.

Anyone had this problem before or how can i repair this problem! (many thanks to everyone in advanced)

GrendelKhan{TSU
09-03-2005, 07:53 PM
Love the hack. The bug with listing news shouts from the bottom up....seems to working with new version.

Howver, my shoutbox still DISAPPEARS when I choose to put to "below the forums" or "below the What going on?".

any ideas what the problem could be.

any clues as to where to go to manually put it down there? (if it doesn't get fixed).


Thanks again for this hack

<< voted and installed. :)

whitetigergrowl
09-03-2005, 07:57 PM
Once the duplicate smilies issue is fixed, I will be happy. Otherwise right now I have it turned off.

zemic
09-04-2005, 10:16 PM
Excellent hack! Would be nice if people could choose to see the shoutbox or not. Maybe an option with the USER CP. Im thinking about my 56k users. The feedback I've had is they would rather not see the shoutbox than wait a few seconds longer for it to download. Slows down the site for them.

whitetigergrowl
09-04-2005, 10:35 PM
Excellent hack! Would be nice if people could choose to see the shoutbox or not. Maybe an option with the USER CP. Im thinking about my 56k users. The feedback I've had is they would rather not see the shoutbox than wait a few seconds longer for it to download. Slows down the site for them.

They can collapse it.

zemic
09-04-2005, 10:51 PM
Thats a point actually! Stupid question........ if they collapse it, does that mean it doesnt load the shoutbox at all when the page is loaded? or does it load the shoutbox, just not display it?

whitetigergrowl
09-05-2005, 05:06 AM
Thats a point actually! Stupid question........ if they collapse it, does that mean it doesnt load the shoutbox at all when the page is loaded? or does it load the shoutbox, just not display it?

I've never noticed a performance hit on my website with it collapsed. It may still load it, but as long as its collapsed, anytime they visit the site, it will remain collapsed.

But that duplicate smiley issue REALLY needs to be fixed. Otherwise, its a neat little box!

thecool
09-08-2005, 12:34 PM
morning folks, i have vbShout 2.0 installed, but i can't get to the archive, the shoutbox link isn't clickable.

whats the code to make the like clickable and where do i put it?

also, i don't have [edit][delete][add settings] when i go to vbshout options in the general options control panel

y2krazy
09-08-2005, 04:00 PM
I changed the basic layout of the archive page and added a footer to the template, like I do with all the other hacks to make them look more streamlined with the forums. Screenshot is included.

Phrase Manager -> Add New Phrase
Varname: vbshout_footer
Text: Powered by <b>vBShout</b> v2.0 by <a href="http://www.infernotechnologies.net/" target="_blank">Zero Tolerance</a>

Style Manager -> Choose the Style to Edit -> "forumhome_vbshout_archive"
Replace entire template with:

<script type='text/javascript'>
<!--

postingShout = false

function _ShoutControl()
{
this.shoutid = -1
this.active = false
}

_ShoutControl.prototype.Delete = function (shoutid)
{
if (!this.active)
{
if (confirm('Are you sure to want to delete this shout message?'))
{
return this.DoDelete(shoutid)
}
}

return false
}

_ShoutControl.prototype.DoDelete = function (shoutid)
{
this.active = true
this.shoutid = shoutid

doDel = new vB_AJAX_Handler(true)
doDel.onreadystatechange(DeleteDone)
doDel.send('vbshout.php', 'do=deleteshout&id=' + this.shoutid)

return false
}

_ShoutControl.prototype.Edit = function (shoutid)
{
if (shoutid != this.shoutid)
{
if (this.active)
{
this.cancelActive(this.shoutid)
}

this.active = true
this.shoutid = shoutid

// Activate Editor
fetch_object('shout_message_edit_' + this.shoutid).style.display = ''
fetch_object('shout_message_' + this.shoutid).style.display = 'none'
}

return false
}

_ShoutControl.prototype.cancelActive = function (shoutid)
{
// Deactivate Editor
fetch_object('shout_message_edit_' + this.shoutid).style.display = 'none'
fetch_object('shout_message_' + this.shoutid).style.display = ''
return false
}

_ShoutControl.prototype.Save = function ()
{
if (this.active)
{
doShout = new vB_AJAX_Handler(true)
doShout.onreadystatechange(SaveDone)

if (postingShout)
{
alert('Posting in progress..')
return false
}

ShoutMsg = fetch_object('shout_message_editor_' + this.shoutid).value

if (ShoutMsg.replace(/ /g, '') == '')
{
alert('You must enter a shout!')
return false
}

doShout.send('vbshout.php', 'do=editshout&id=' + this.shoutid + '&shout=' + PHP.urlencode(ShoutMsg))
postingShout = true
}

return false
}

Shout = new _ShoutControl

function SaveDone()
{
if (doShout.handler.readyState == 4 && doShout.handler.status == 200)
{
postingShout = false
Shout.active = false
Shout.cancelActive(Shout.shoutid)
fetch_object('shout_message_' + Shout.shoutid).innerHTML = doShout.handler.responseText
Shout.shoutid = -1
}
}

function DeleteDone()
{
if (doDel.handler.readyState == 4 && doDel.handler.status == 200)
{
ShoutID = Shout.shoutid
postingShout = false
Shout.active = false
Shout.shoutid = -1

if (doDel.handler.responseText == 'true')
{
fetch_object('shout_top_' + ShoutID).parentNode.removeChild(fetch_object('shou t_top_' + ShoutID))
}
}
}

-->
</script>

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width='175' valign='top'>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="175" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout_stat')"><img id="collapseimg_forumhome_vbshout_stat" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout_stat].gif" alt="" border="0" /></a>
Statistics
</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_vbshout_stat" style="$vbcollapse[collapseobj_forumhome_vbshout_stat]">
<tr>
<td class="alt1" align="left">
<span class="smallfont"><b>Total Shouts:</b> $TS</span>
</td>
</tr>
<tr>
<td class="alt1" align="left">
<span class="smallfont"><b>Past 24 Hours:</b> $T4</span>
</td>
</tr>
<tr>
<td class="alt1" align="left">
<span class="smallfont"><b>Your Shouts:</b> $TY</span>
</td>
</tr>
</tbody>
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="175" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout_top')"><img id="collapseimg_forumhome_vbshout_top" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout_top].gif" alt="" border="0" /></a>
Top 10 Shouters
</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_vbshout_stat" style="$vbcollapse[collapseobj_forumhome_vbshout_stat]">
$TopTen
</tbody>
</table>
</td>

<!-- Spacer Cell -->
<td width="15"><img alt="" src="$vboptions[bburl]/$vboptions[cleargifurl]" width="15" /></td>
<!-- / Spacer Cell -->

<td width='100%' valign='top'>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="left">
Shouts
</td>
</tr>
$Output
<tr>
<td class="tcat" align="right"><span class="smallfont">$vbphrase[vbshout_footer]</span></td>
</tr>
</table>
</td>
</tr>
</table>

$pagenav

Style Manager -> Choose the Style to Edit -> "forumhome_vbshout_archive_shout"
Replace entire template with:

<tbody id="shout_top_{$Shout['sid']}">
<tr>
<td class="thead" align="left">
<span style='float:right'>{$Shout['time']}</span>
<a href="member.php?{$session['sessionurl_q']}u={$Shout['s_by']}">{$Shout['username']}</a>
</td>
</tr>
<tr>
<td class="alt1" width="1%" align="left" id="shout_{$Shout['sid']}">
<if condition="$bbuserinfo[userid] == $Shout[s_by] OR can_moderate()">
<span class="smallfont" style='float:right'>
[<a href='#' onclick='return Shout.Edit({$Shout['sid']})'>Edit</a> | <a href='#' onclick='return Shout.Delete({$Shout['sid']})'>Delete</a>]
</span>
</if>
<span class="smallfont" id="shout_message_edit_{$Shout['sid']}" style='display:none'><input type='text' id='shout_message_editor_{$Shout['sid']}' value='{$Shout['msg_safe']}' style="width: 50%" class="bginput" /> <input type='button' class='button' onclick='Shout.Save()' value='Save' /></span>
<span class="smallfont" id="shout_message_{$Shout['sid']}">
<if condition="!$Shout[s_me]">
{$Shout['s_shout']}
<else />
<span class='highlight'>
*{$Shout['username']} {$Shout['s_shout']}*
</span>
</if>
</span>
</td>
</tr>
</tbody>

Style Manager -> Choose the Style to Edit -> "forumhome_vbshout_archive_topshouter"
Replace entire template with:

<tr>
<td class="alt1" align="left">
<span class="smallfont"><strong><a href="member.php?{$session['sessionurl_q']}u={$TTS['s_by']}">{$TTS['username']}</a>:</strong> {$TTS['TS']}</span>
</td>
</tr>

You can test the vBShout out yourself at my site if you wish, too(see my sig for a link).

ckmarkhsu
09-08-2005, 05:21 PM
work great ...good hack

Metro Man
09-08-2005, 08:29 PM
Error in RC3

this error on shoutbox an then the user is logout

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

Vizionz
09-09-2005, 05:30 AM
works fine for me i just doing it from scratch though so maybe just remove it and reinstall

Boofo
09-09-2005, 05:34 AM
Is there a way to have smilies show up as inline images (class="inlineimg") like it does in the shout edit/delete area? That would help with shouts where smilies throw the line off.

Schwartz12
09-09-2005, 11:56 AM
not sure if this has been answered, but any chance on replicating this into a chatroom system?

It's really good. My users absolutely love it.

Mainly I would just want it on a seperate page than the homepage and have a "users in the chat" on the homepage.

But I believe the AJAX part is what people like about it.

Is AJAX very server intensive?

Valter
09-09-2005, 06:21 PM
Error in RC3

this error on shoutbox an then the user is logout

15Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
Just go to options and choose to hide completely Shoutbox for users who have no permissions to view shouts.

Willy-K
09-10-2005, 07:27 AM
I have another problem after upgrade to RC3: If i post a shout an error message came "post in progress". The shoutbox leave blank. Uninstall and install the product have the same effect!

What´s the problem?

Boofo
09-10-2005, 09:26 AM
Is anyone even supporting this anymore?

erratic assasin
09-10-2005, 09:26 PM
Hi thanks for a wicked shout box!

scratch my problem I sorted it doh!

Valter
09-11-2005, 09:50 AM
I have problem in Firefox (1.0.6)... here is how shoutbox is shown when you open forum:
https://vborg.vbsupport.ru/
And when you press "refresh" it gets normal.

Is there any way I can fix this? Thanks.

KarateKid
09-11-2005, 10:19 AM
I have problem in Firefox (1.0.6)... here is how shoutbox is shown when you open forum:
http://img397.imageshack.us/img397/753/shoutbox7nt.gif
And when you press "refresh" it gets normal.

Is there any way I can fix this? Thanks.

is zero tolerance still working on this hack? Especially for rc3...

BlackRabbit1971
09-11-2005, 03:21 PM
I've recently had a spate of member asking what all the number were for in the colour selction pull down.. now if you're reading this, then you'll know what they are, but for a normal member they are confusing, so i did a litle mod... It removes all text and replces it with a bar of colour...

SEE NEW VERSION BELOW


BR ;)

Valter
09-11-2005, 05:21 PM
Nice work BlackRabbit1971! Thanks m8

hydrostatic
09-11-2005, 05:43 PM
ZT, there's a bug with the AJAX edit feature.

When I try to edit something that has a an apostrophe, it doesn't show the whole thing in the window.

KuRi
09-11-2005, 10:53 PM
i only have one problem with this.... whenever a long shout is posted rather than wrapping the text over 2 lines it forces a scroll bar to appear.. how can i make it wrap on to 2 lines??

KuRi
09-11-2005, 11:02 PM
I've recently had a spate of member asking what all the number were for in the colour selction pull down.. now if you're reading this, then you'll know what they are, but for a normal member they are confusing, so i did a litle mod... It removes all text and replces it with a bar of colour...




BR ;)

one problem with that... the font faces dont show... so i put back "$Text = $Selection;" and when you hover over a color you get the #code for the color and font faces show:) maybe you have a better solution??

KarateKid
09-12-2005, 04:19 AM
does anyone know, why the smilies in my shout box are not displayed? Yes, I activated them in the vbShout Settings in ACP...? www.kampfkunst-board.info/forum/index.php :hurt:

BlackRabbit1971
09-12-2005, 09:13 AM
one problem with that... the font faces dont show... so i put back "$Text = $Selection;" and when you hover over a color you get the #code for the color and font faces show:) maybe you have a better solution??


How strange.. let me see if I have a fix....brb

Vizionz
09-12-2005, 10:18 AM
Is anyone even supporting this anymore?
i am sure he is supporting it but as in any free hack you have to wait for the hacker to have spair time. if ya dont know zt scott is running inferno and since thats got paid members who want new features and stuff like that i am sure most of his time is going into the new version of that. when he has time i am sure he will get to any bugs hes missed in the meantime.

BlackRabbit1971
09-12-2005, 10:19 AM
Ok... I got it...... From the orginal try this..


Open "Plugin System" > "Plugin Manager" > "vBShout [Template Alteration]"

Find this section >>
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";

Replace it with >>>
if (preg_match("#^\#([a-z0-9]+)$#i", $Selection))
{
$Extra = ' style="color:'.$Selection.';background:'.$Selection.'"';
$Text = '';
}
else
{
$Extra = '';
$Text = $Selection;
}

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

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

That should do it... :)

KuRi
09-12-2005, 04:01 PM
:):) that done it.... thanx

Abe1
09-13-2005, 01:44 AM
For all you guys that want vBShout on all your forums pages, I bring you this: vBShout on all pages!

It's a hack that hacks a hack :)

Brandon Sheley
09-13-2005, 03:48 AM
ty for this vbshout,, installed easily, i think back and remember the day when i had ot edit files. to add mods/hacks.. this is way better :))
ty *installs*

ps.. thank you blackrabbit,, my members wouldn't of had the slightest idea what the numbers where..lol

-LM

Wordplay
09-13-2005, 07:42 AM
is it possible to have this shoutbox displayed the way mine is on http://www.sex-is-zero.com (in the left menu) and only when clicked display a complete shoutbox?

EdQ
09-13-2005, 08:32 AM
For all you guys that want vBShout on all your forums pages, I bring you this: vBShout on all pages!

It's a hack that hacks a hack :)

I just want it on one forum.

Boofo
09-13-2005, 08:37 AM
Exceent work, blackrabbit. Can you get the fonts to show up in thier own style the same way? That would show them what the font would look like before they chose it. ;)

Abe1
09-13-2005, 10:07 AM
I just want it on one forum.

You. But look around at the posts here. It's requested to be placed on all pages a bunch of times.

BlackRabbit1971
09-13-2005, 12:39 PM
Exceent work, blackrabbit. Can you get the fonts to show up in thier own style the same way? That would show them what the font would look like before they chose it. ;)


Hmmmm that would eb quite nice, wouldn't it... let me have a play.. :)

BR ;)

EdQ
09-13-2005, 03:56 PM
You. But look around at the posts here. It's requested to be placed on all pages a bunch of times.

Huh?? I just want it on one page

EdQ
09-13-2005, 03:57 PM
If you want to have shoutbox on all forumdisplay pages:

1) Change the hook location for 'vBShout [Template Alteration]' to: forumdisplay_complete

2) Edit the plugin code for 'vBShout [Template Alteration]'

Find: '$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);'

Replace it with:

$vbulletin->templatecache['FORUMDISPLAY'] = str_replace('$navbar', '$navbar' . ' $Shoutbox', $vbulletin->templatecache['FORUMDISPLAY']);

This is a quick and dirty hack. The shoutbox will only show up under navbar!

3) If you want the shoutbox to show up only in certain forums:

a. add
if ($forumid ==13)
{

In the beginning of the above plugin. 13 is the forum ID you want the shoutbox to show.

b. add
}

in the end of the code.

The conditional doesn't work for me.

Where exactly do I need to put it??

Zelda-King
09-13-2005, 09:53 PM
Thought I'd show you how this looks on my forum. Well anyway my main issue is the table width. Maybe it just shows because I'm testing on 800x600 screen resolution or something?

Valter
09-13-2005, 10:11 PM
Thought I'd show you how this looks on my forum. Well anyway my main issue is the table width. Maybe it just shows because I'm testing on 800x600 screen resolution or something?

Hmm, I'm going to need to move it further down what with my welcome panel and all.
I have the same problem (in Firefox).

eNforce
09-13-2005, 11:06 PM
How would I go about changing the background color and text color in the area where you type?

cuphongle
09-14-2005, 08:11 AM
when installing...

mysql error: unknown table "shout"

BlackRabbit1971
09-14-2005, 01:20 PM
Hmmmm that would eb quite nice, wouldn't it... let me have a play.. :)

BR ;)


Nope its not going to happen.. it would have to be a nonstandard options box and that would mess with different explorers... not good idea..

oh hum...

BR :(

Zelda-King
09-14-2005, 04:01 PM
Another thing: how would I move the shoutbox near the bottom of the page?

EdQ
09-14-2005, 08:41 PM
The conditional doesn't work for me.

Where exactly do I need to put it??

Never mind, got it to work.


Works on 3.5 RC3

zemic
09-14-2005, 10:48 PM
Works fine on RC3 for me 2 :)

TTG
09-14-2005, 11:02 PM
Another thing: how would I move the shoutbox near the bottom of the page?


You should have this option in admincp >> vbulletin options >> vBshout options.

See image (https://vborg.vbsupport.ru/attachment.php?attachmentid=32673)

jac1
09-15-2005, 12:00 AM
Hi

Got this installed, works great. Would like to change the font size, make it a bit smaller. Is there a way of doing this? I have seen this asked before in this tread, but i haven't seen an answer.

Thanks.

Zelda-King
09-15-2005, 04:22 AM
You should have this option in admincp >> vbulletin options >> vBshout options.

See image (https://vborg.vbsupport.ru/attachment.php?attachmentid=32673)Well I'll be darned! Don't think I've ever missed a bunch of admin cp options before. O_O Cheers for that! :)

The tablewidth thing appears to be temperamental. Looks fine at the moment. The feature screwed up my category colours once or twice though that was fine after a reboot so maybe it was a browser thing.

KarateKid
09-15-2005, 06:52 AM
Does anyone has an idea, why the smilies in my shoutbox don't show up? www.kampfkunst-board.info/forum/index.php

Yes, they are activated via the acp settings... :ermm:

cos
09-15-2005, 08:31 AM
Just a quick thankyou to 1 min to install

Cheers

evesve
09-15-2005, 05:07 PM
Originally Posted by Metro Man
Error in RC3

this error on shoutbox an then the user is logout

15Warning: Invalid argument supplied for foreach() in /vbshout.php on line 288
Just go to options and choose to hide completely Shoutbox for users who have no permissions to view shouts.

I have the same error. (RC1)
There is no problem to hide the Shoutbox,

but I want "Can wiew Shoutbox, but not messages" for some usergroups.

Is there no way to do that without error?

HabbosUs
09-16-2005, 11:07 AM
Hello,

I'm wondering if there is any way that i can restrict who uses the shoutbox. For example, only members who have made x amount of posts can use the shoutbox.

Thanks in advance,

southernlady
09-16-2005, 11:28 AM
Restrict it by usergroups in the admincp. I did, that's how I did it so that only those who are registed can see it or post in it. Liz