Status
Not open for further replies.

Inflikted

Customer
my users are use to having just the detached shoutbox, with no header/footer included. i was wondering if this was possible to implement

also is it possible to implement a sound when someone puts up a message.
 
my users are use to having just the detached shoutbox, with no header/footer included. i was wondering if this was possible to implement
That should be quite doable. Would you say there is a point to having the current display (incl. header / footer) as an option, or get rid of it altogether?
Since it's opened in a new tab, it might not be needed at all...

also is it possible to implement a sound when someone puts up a message.
That could get spammy and annoying real fast, it'd need to be default to off if it was to be implemented :p
I'll add it to the list regardless, we'll see when it appears :)
 
i dont think its really much of a point to have anything else in the popup except the shoutbox. and possible make the popup, popup in the correct dimensions automatically for the user. not sure how its scripted but a bit of javascript would make it quite easy to wrap the proper size around it.

ya for the sound thing, some people like it, with the popup shoutbox, to have the ability to enable a sound.
 
I won't make it physically pop up because Firefox has a popup killer, and so does most other browsers.
But I'll def look into making it "cleaner" :)
 
I won't make it physically pop up because Firefox has a popup killer, and so does most other browsers.
But I'll def look into making it "cleaner" :)

Yeah, I think that would work the best. I'd like to see what was mentioned already as well.

One of the reasons to not have the header/footer that I've run into is pretty simple. I forget I'm in a "chat" window, see the normal website stuff and thing "Ohh, I'll read that new message!" and then I lose it and have to go back.

Which brings me to something else, no idea if it'd be possible or how but... if I'm in the main website, say a NON-shoutbox page. I have the shoutbox displayed in another window. Would it be possible to put up an alert in the main website window saying "Hey, there's new shouts to read, check your other window!"? I dunno. heh
 
I'm pretty sure that is possible, i think that could be implemented, maybe it could be turned off and on as an admin option as i'm sure people may get annoyed with that should the shoutbox be really active. Good suggestions!
 
sound isnt really important atm but was wondering if any progress was made on the detachable shoutbox? :) its one of the last features I am waiting for before I start using this shoutbox publicly :D
thanks
 
We have other projects to work on before re-visiting the Shoutbox, so to remove navigation stuff from the Detached shoutbox atm, what you'll want to do is
Edit the GENERIC_SHELL template, and wrap everything you want to hide in an <vb:if condition="THIS_SCRIPT != 'vbshout' OR (THIS_SCRIPT == 'vbshout' AND $_REQUEST['do'] != 'detach')"> </vb:if>

That should sort it for now.
 
ya my detached box is going off the size of my normal forum chatbox. if i increase the size of my normal one, the size of my detached box increases.
 
thats the next thing i checked lol. no :( i even reinstalled everything 4.1.1 lite and 4.1.0 of pro. and even with no changes my detached box goes off the size of my forum shoutbox :| i would go and manually change the setting in the code but i dont no where :(
 
Can you check the HTML source of the vbshout.php?do=detach to check if the "vBShout.detached = true;" appears in there?
I suspect it doesn't, but let's be sure.
 
i looked in the code for the detached frame.. this is what i found

vBShout.detached = true;

also as a side note i was curious if i could find info on the height stuff..

<div class="dbtech_vbshout_frame" id="dbtech_shoutbox_frame" style="height:110px; font-size:11px;">

my actual height for the detached is set to 500, not sure if thats related.

*edit*
just to add, my normal shoutbox height is 110px. when i change my normal shoutbox height the detached one changes too.
 
Last edited:
Okay, we're getting closer.
The fact that the height style is the same just means there's a problem with the override code. You see, when you are in the Detached shout area, it's supposed to just override the normal "height" variable with what you set as your detached height.

Open up dbtech/vbshout_pro/includes/actions/detach.php and on line 32 and 33, the following 2 lines should appear
Code:
$vbulletin->options['dbtech_vbshout_height']     = $vbulletin->options['dbtech_vbshout_height_detached'];
$vbulletin->options['dbtech_vbshout_maxshouts'] = $vbulletin->options['dbtech_vbshout_maxshouts_detached'];

Yay or nay?
 
ya i dont understand whats wrong.. i put in a temp fix for myself whenever you guys maybe figure out what happen :P and incase this happens to others
i created a new template called dbtech_vbshout_shoutbox_css2

everything is the same as dbtech_vbshout_shoutbox_css but the top line.. which forwards to a second css file
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}dbtech_vbshout2.css" />

everything in that css file is the same except i added this on the bottom
.dbtech_vbshout_window {
height: 400px;
}

then i went back to dbtech/vbshout_pro/includes/actions/detach.php
and modified the template it uses from dbtech_vbshout_shoutbox_css to dbtech_vbshout_shoutbox_css2

esentially since the option seems to be broken that modifies the template or w/e. i created two seperate templates one for the shoutbox and one for the detached shoutbox



its a ghetto fix but it works for me for now lol.
 
ok maybe not :P that increased the shoutbox size, but the message area is still stuck and using the shoutbox's message area.
 
Just a note from my experiences, the detach is working ok for me. It's a larger window. But I haven't done any modifications to the templates, etc... so I'm not sure. Just wanted to say I can verify that it is working as designed, at least for me.
 
yea i see its working for this site aswell as for others posssibly. maybe its some wierd mod i installed thats messing with it or overriding its values. not sure what else to do :\ i even tried the default vb template and that error still occurs :(
 
Status
Not open for further replies.

Similar threads

Legacy vBShout

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
3,177
Customer rating
5.00 star(s) 1 ratings
Back
Top