PDA


View Full Version : [Module] [AJAX] vBShout v2.0


Pages : [1] 2 3

pennylessz28
10-08-2005, 04:02 PM
Not my hack. I take no credit for this. But it isn't listed on this site, and it might as well be.

The following instructions will allow you to add vBShout v2.0 (http://www.vbulletin.org/forum/showthread.php?t=93097) by Zero Tolerance (http://www.vbulletin.org/forum/member.php?u=48782) as a fully collapsible module to your vBadvanced CMPS homepage v2.0.0, and remove it from your Forum Home [if you want]. Note, you must have both the vBShout product and CMPS installed with vBulletin 3.5.0 - it may work with Betas, but I really don't know.


Adding vBShout to CMPS:
1) Create a new template based module called 'Shoutbox' in CMPS [ACP > vBa CMPS > Add Module > Template].

2) In 'Column', choose 'Center Column'.

3) Set 'Active' and 'Update All Pages' to Yes [assuming you want it to be active, and update all pages].

4) In 'Template Content', paste the following code [this relies on you running your CMPS & vB in the same folder]. This will add a template to the selected Style called 'adv_portal_vbshout'.

<td class="alt1" align="left" width="100%">
<form action="vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">
<input type='hidden' name='do' value='shout' />
<input type='hidden' name='color' />
<input type='hidden' name='fontFamily' />
<input type='hidden' name='fontWeight' />
<input type='hidden' name='textDecoration' />
<input type='hidden' name='fontStyle' />

<if condition="!$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
</if>
</td>
</tr>
</table>
<div style="height: 2px"></div>
</if>
</if>
<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;">
Loading...
</div>
<if condition="$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<div style="height: 2px"></div>
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
</if>
</td>
</tr>
</table>
</if>
</if>
</form>
</td>

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

postingShout = false

function requestShouts()
{
if (!postingShout)
{
ShoutRequest = new vB_AJAX_Handler(true)
ShoutRequest.onreadystatechange(showShouts)
ShoutRequest.send('vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) )
}
}

function showShouts()
{
if (ShoutRequest)
{
if (ShoutRequest.handler.readyState == 4 && ShoutRequest.handler.status == 200 && ShoutRequest.handler.responseText)
{
Shouts = fetch_object('vbshout')
Shouts.innerHTML = '<table cellpadding="1" cellspacing="3" border="0" width="95%" align="left">' + ShoutRequest.handler.responseText + '</table>'
setTimeout('requestShouts()', 10000)
<if condition="$vboptions[shout_messages_order]">
document.getElementById('vbshout').scrollTop = 99999;
</if>
}
}
}

function sb_CollectHV(sbForm)
{
rString = ''
inputObjs = sbForm.getElementsByTagName('input')
for (i = 0; i < inputObjs.length; i++)
{
if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '')
{
rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value)
}
}

return rString
}

function postShout(formObj)
{
doShout = new vB_AJAX_Handler(true)
doShout.onreadystatechange(postedShout)

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

Shout = formObj.shout.value

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

doShout.send('vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform']))
sb_Clear()
postingShout = true

return false
}

function postedShout()
{
if (doShout.handler.readyState == 4 && doShout.handler.status == 200)
{
postingShout = false
requestShouts()
}
}

function sb_Input_SC(sProperty, setting)
{
eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"')
eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"')
}

function getSelectionValue(eSelector)
{
return eSelector.options[eSelector.options.selectedIndex].value == 'Default' ? '' : eSelector.options[eSelector.options.selectedIndex].value
}

function sb_PropChange(eSelector, sProperty)
{
sb_Input_SC(sProperty, getSelectionValue(eSelector))
}

function sb_PropChange_Button_Value(sProperty)
{
trueValue = ''
switch (sProperty)
{
case 'fontWeight':
falseValue = 'bold'
break;

case 'textDecoration':
falseValue = 'underline'
break;

case 'fontStyle':
falseValue = 'italic'
break;
}

return (eval('document.forms["vbshoutform"].' + sProperty + '.value'))? trueValue : falseValue
}

function sb_PropChange_Button(cButton, sProperty)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}

sb_Input_SC(sProperty, sb_PropChange_Button_Value(sProperty))
}

function sb_Smilie(code)
{
document.forms["vbshoutform"].shout.value += ' ' + code
return false
}

function sb_Clear()
{
document.forms["vbshoutform"].shout.value = ''
return true;
}

function sb_Smilies(cButton)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}

document.getElementById('shout_emo').style.display = (document.getElementById('shout_emo').style.display == 'none')? '' : 'none'
}

requestShouts()

-->
</script>



5) In the 'Module Shell Template Options' section when adding a template, add the following URL in 'Module Link'.

http://www.mysite.com/vbshout.php?do=archive

The above, again assumes you have CMPS & vBa running in the same folder. Replace www.mysite.com with the address of your website.

If your CMPS & vB are not installed in the same folder, you will need to replace all instances of 'vbshout.php' in the template and in 'Module Link' with the path to where you have vBShout installed in relation to your CMPS. For example if you have CMPS installed in the root folder, and vBshout within a folder called 'forum' you would need to replace all instances of 'vbshout.php' with '/forum/vbshout.php'.

If you want to be lazy you can upload the .module file.

gothic1213
10-09-2005, 01:09 PM
Hi,
2) In 'Column', choose 'Center Column'.
This is where it all falls down. From what I have seen here and at vB.org the vast majority of servermeisters want the shoutbox in the SIDE panel.
If the vBShout can't be re-worked (text formatting etc.) to work in the side panel than it's no good.

Robru
10-09-2005, 02:40 PM
I will show the shoutblock for admins and mods only, is this possible?

pennylessz28
10-09-2005, 09:24 PM
Hi,

This is where it all falls down. From what I have seen here and at vB.org the vast majority of servermeisters want the shoutbox in the SIDE panel.
If the vBShout can't be re-worked (text formatting etc.) to work in the side panel than it's no good.

You could put it in the side simple by re-working the template.

pennylessz28
10-09-2005, 09:24 PM
I will show the shoutblock for admins and mods only, is this possible?

If you have installed the shoutbox yes, you can set the user options.

Robru
10-09-2005, 10:21 PM
Thanks for your answer, yes I have installed the shoutbox vBShout v2.0 (http://www.vbulletin.org/forum/showthread.php?t=93097) and adding 'your' hack for the vBShout block in CMPS. Both works fine to me. I know I can give portal rights in vBa CMPS for this shoutblock. But can I also give forum rights to users, I can't find it in the usergroup manager. I won't show the shoutbox in the forum for registered users.

majorj0nny1
10-10-2005, 05:04 PM
You could put it in the side simple by re-working the template.

Hi Pennylessz28 .... thats for the hack ... very good fom what Ive seen and just what I needed - however - when I put the shoutbox onto my vba (vb3.5) it displays but just shows ....loading ? I dont get whats up with it ?

majorj0nny1
10-10-2005, 05:46 PM
sorry - my bad - missing a forum/vbshout.php from the template.. doh.. working ok now...

is there anyway of adding the font colour/fonts options back ?

:)

pennylessz28
10-11-2005, 11:12 PM
I don't honestly know.

Kaelon
10-15-2005, 04:10 PM
I have read that the vBShout hack adds a lot of bandwidth consumption, to almost unhealthy levels, due to the excessive refreshes. Anyone have some performance data, both on bandwidth and queries, caused by the hack?

pennylessz28
10-16-2005, 09:54 PM
I don't have any issues.

Flow Fusion
10-17-2005, 10:45 AM
WOrks great thanks!

FleaBag
10-18-2005, 06:29 PM
Updated on vB.org to include a side module. ;)

majorj0nny1
10-19-2005, 05:50 AM
I have read that the vBShout hack adds a lot of bandwidth consumption, to almost unhealthy levels, due to the excessive refreshes. Anyone have some performance data, both on bandwidth and queries, caused by the hack?


Ive loved the past week or 2 of running this hack - its been brilliant ! such a versatille and handy hack - however - Ive had to disable this at the moment as my hosting company have contacted me regarding us maxing out our bandwidth :( I too would love to see a mod for this that was aimed at minimising bandwidth usage.

Im confused at just why this is so bandwidth intensive - I heard many talk of this hack being very heavy bandwidth wise, but others disclaim that in saying stuff like "its only text" ? Would making changes like turning off code/smilies improve this greatly ? colours...fonts...font styles ? could the refresh times be slowed or changed to only refresh when a new shout is posted?

Im no expert (the understatement of the year :)) but it would be a shame for the excellent add-on to be lost due to these issues.

JollyJack
10-21-2005, 04:51 PM
i have a small issue with this, installed it and changed vbshout.php to /forums/vbshout.php, on the portal page the shout box says loading, tryposting and it goes to white screen, but the shout is there on the forum, but still nothing on the portal page just says loading

Ramses
10-29-2005, 09:22 PM
If I write anything and click on shout, its coming a white page. Anybody can help?

popac
11-06-2005, 04:43 PM
I have problem too, Shoutbox exist on vBadvanced page, files edited, links is ok but something wrong with options and messages because no exist ??? Only "Loading.." displayed
Any help please? Tnx

popac
11-06-2005, 05:28 PM
Working....
In Default style I too place pennylessz28 code (top page) and all ok now !
;)

Diver
11-11-2005, 06:29 AM
does anybody know, where the refresh time can be found in the code?

pennylessz28
11-18-2005, 01:42 AM
Again, I dunno.

LatinPrince
11-28-2005, 08:35 AM
If you alter the refresh time you could break the code and make it stop working I tried lowering it and it didnt go well at all this shoutbox is NOT recomended until the author fixes the refresh rate issues / bandwidth consumption, espeically on a fairly active site this will kill your load times and absolutely murder your bandwidth if your on a metered bandwidth server plan.

Skavenger
12-10-2005, 01:01 AM
hi! i have a problem, the shoutbox shows "loading" and when i clic the "shout" button, i see a blank page but not the messages :(
any idea?
PD: sorry for my bad english :P

Justine Perrino
12-17-2005, 04:16 PM
I have this same problem as Skavenger..My problem is that there is 'loading' all the time . I attach a screan. I would like the shoutbox display only on vbadvanced, and not on forum. How can I do it?

popac
12-17-2005, 05:47 PM
you must place shoutbox in main sector, then working fine...not left or right...i try too and not working...

Justine Perrino
12-18-2005, 08:56 AM
it doesn't help , I've got the shoutbox in main sector, in the middle and it still shows 'loading' . and when I click on 'shout' there is 'page not found' . I think there is something wrong, if anybody can help me I'd be grateful

Ramses
12-18-2005, 09:03 AM
If I remember you need to disable the shoutbox in the forum home to get it work on the cmps page?
Try to disable on your plugins acp settings the entry:vBShout [Template Alteration]

djnth
12-20-2005, 11:38 PM
I used the vbulletin.org instructions for adding the vbshout and it worked fine except there were no buttons for smilies or font attributes so I thought I would try this one and I just get the loading error. I'll have to go back to the other version now.

shafiq
12-28-2005, 03:20 AM
Hi

Evything works fine but there is one problem and thats when you type a message and you press enter, your message appears but with a space/tab before your text for example you can see the attached image and notice the difference between the first 2 lines and the last 2 lines.
Can someone please tell me why its putting a big space before the text?

Skavenger
12-28-2005, 02:51 PM
If I remember you need to disable the shoutbox in the forum home to get it work on the cmps page?
Try to disable on your plugins acp settings the entry:vBShout [Template Alteration]
i tried that too, but still doesn`t work =(

Mightymouse
12-29-2005, 07:46 PM
try $vboptions[bburl]/ instead of /forum/ worked for me

megas
12-30-2005, 12:17 PM
I have problem, Shoutbox exist on vBadvanced page, files edited, links is ok but something wrong with options and messages because no exist ??? Only "Loading.." displayed
Any help please? Tnx
I see a lot of ppl have the same problem but there is nothing here to give eny insractions how to corect the problem!!
Please do somthing!!
Thank you
Regards.:)

cdembek
01-02-2006, 11:59 PM
Ok..
This might be a no brainer for most.. but wasn't for me..
there is 2 files..
vbshout.php
vbshout.xml

you have to install vbshout.xml

admin page

towards the bottom you will see "plug in system"

the first selection is "manage products"

click that .. then upload the vbxhout.xml file

I now have it running but it stalls on a white screen

cdembek
01-03-2006, 12:20 AM
was working .. kind of.. if you made a shout.. it would go to a blank white screen..

now it is back to sq 1

cdembek
01-03-2006, 12:22 AM
ok.. on my home page it just says loading...

I also have it installed on my forum page which it is a different box.. more options.. but I can't clear the log

cdembek
01-03-2006, 12:44 AM
so the whole time .. what I thought was a cmps module was the vbshout.xml file that I installed.. guess I still have the loading issue...

Skavenger
01-17-2006, 07:40 AM
try $vboptions[bburl]/ instead of /forum/ worked for me
still doesn't work u_U
got blank page -_-'

vuespro
01-23-2006, 03:14 PM
I have same issue, maybe is version issue

poprulz
02-01-2006, 06:11 PM
Did anyone find a fix for these...

if the forum is in dmain.com/forums/

and cmps in domain.com/

the vb shout for cmps loads images and userinfo pointing to

domain.com/images/
domain.com/members/

instead it should have been

domain.com/forums/images/
domain.com/forums/members/

Any fix?

For images i made a copy of image folder in the root and it worked... but i know there is a better fix....

Tyson8earzz
02-09-2006, 06:10 PM
The shoutbox works great in the forum (http://www.wickedsphere.com/forum/) but I cannot seem to get it to display correctly on the portal (http://www.wickedsphere.com) page.

It will show the shoutbox, but it has a full exact copy of the entire Portal page inside the shoutbox as well! What code is incorrect that it shows the portal page inside the shoutbox?

I have the vbshout.php inside root/forum. Is the file being read incorrectly that it copies another portal page inside the box?

djnth
02-16-2006, 04:15 AM
mine works fine I just don't have the buttons for smilies or fonts or colors. Anyone have any suggestions?

Ramses
02-25-2006, 02:29 AM
I replaced the content of the template adv_portal_vbshout with this one (see attached screenshot):

<tr>
<td class="$bgclass">
<form action="/forum/vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">

<input type='hidden' name='do' value='shout' />
<input type='hidden' name='color' />
<input type='hidden' name='fontFamily' />
<input type='hidden' name='fontWeight' />
<input type='hidden' name='textDecoration' />
<input type='hidden' name='fontStyle' />
<div id='shout_emo' style='display:none'>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" align="center">
Emoticons
</td>
</tr>
<tr>
<td class='alt2' width='100%' height='100%' align='center' valign='top'>
$Smilie_Build
</td>
</tr>
</table>
<br />
</div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>
<a href='/forum/vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
</td>
</tr>
</thead>
<tbody id="collapseobj_forumhome_vbshout" style="$vbcollapse[collapseobj_forumhome_vbshout]">
<tr>
<td class="alt1" align="left" width="100%">
<if condition="!$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
<input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' />
<input type='button' class='button' style='font-weight:bold' value='B' onclick='sb_PropChange_Button(this, "fontWeight")' />
<input type='button' class='button' style='text-decoration:underline' value='U' onclick='sb_PropChange_Button(this, "textDecoration")' />
<input type='button' class='button' style='font-style:italic' value='I' onclick='sb_PropChange_Button(this, "fontStyle")' />
<select name='font_color' onchange='sb_PropChange(this, "color")'>
{$DropDowns['color_selector']}
</select>
<select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'>
{$DropDowns['font_selector']}
</select>
</if>
</td>
</tr>
</table>
<div style="height: 2px"></div>
</if>
</if>
<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;">
Loading...
</div>
<if condition="$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<div style="height: 2px"></div>
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
<input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' />
<input type='button' class='button' style='font-weight:bold' value='B' onclick='sb_PropChange_Button(this, "fontWeight")' />
<input type='button' class='button' style='text-decoration:underline' value='U' onclick='sb_PropChange_Button(this, "textDecoration")' />
<input type='button' class='button' style='font-style:italic' value='I' onclick='sb_PropChange_Button(this, "fontStyle")' />
<select name='font_color' onchange='sb_PropChange(this, "color")'>
{$DropDowns['color_selector']}
</select>
<select name='font_selector' onchange='sb_PropChange(this, "fontFamily")'>
{$DropDowns['font_selector']}
</select>
</if>
</td>
</tr>
</table>
</if>
</if>
</td>
</tr>
</tbody>
</table>


</form>
<br />

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

postingShout = false

function requestShouts()
{
if (!postingShout)
{
ShoutRequest = new vB_AJAX_Handler(true)
ShoutRequest.onreadystatechange(showShouts)
ShoutRequest.send('/forum/vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) )
}
}

function showShouts()
{
if (ShoutRequest)
{
if (ShoutRequest.handler.readyState == 4 && ShoutRequest.handler.status == 200 && ShoutRequest.handler.responseText)
{
Shouts = fetch_object('vbshout')
Shouts.innerHTML = '<table cellpadding="1" cellspacing="3" border="0" width="95%" align="left">' + ShoutRequest.handler.responseText + '</table>'
setTimeout('requestShouts()', 10000)
<if condition="$vboptions[shout_messages_order]">
document.getElementById('vbshout').scrollTop = 99999;
</if>
}
}
}

function sb_CollectHV(sbForm)
{
rString = ''
inputObjs = sbForm.getElementsByTagName('input')
for (i = 0; i < inputObjs.length; i++)
{
if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '')
{
rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value)
}
}

return rString
}

function postShout(formObj)
{
doShout = new vB_AJAX_Handler(true)
doShout.onreadystatechange(postedShout)

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

Shout = formObj.shout.value

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

doShout.send('/forum/vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform']))
sb_Clear()
postingShout = true

return false
}

function postedShout()
{
if (doShout.handler.readyState == 4 && doShout.handler.status == 200)
{
postingShout = false
requestShouts()
}
}

function sb_Input_SC(sProperty, setting)
{
eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"')
eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"')
}

function getSelectionValue(eSelector)
{
return eSelector.options[eSelector.options.selectedIndex].value == 'Default' ? '' : eSelector.options[eSelector.options.selectedIndex].value
}

function sb_PropChange(eSelector, sProperty)
{
sb_Input_SC(sProperty, getSelectionValue(eSelector))
}

function sb_PropChange_Button_Value(sProperty)
{
trueValue = ''
switch (sProperty)
{
case 'fontWeight':
falseValue = 'bold'
break;

case 'textDecoration':
falseValue = 'underline'
break;

case 'fontStyle':
falseValue = 'italic'
break;
}

return (eval('document.forms["vbshoutform"].' + sProperty + '.value'))? trueValue : falseValue
}

function sb_PropChange_Button(cButton, sProperty)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}

sb_Input_SC(sProperty, sb_PropChange_Button_Value(sProperty))
}

function sb_Smilie(code)
{
document.forms["vbshoutform"].shout.value += ' ' + code
return false
}

function sb_Clear()
{
document.forms["vbshoutform"].shout.value = ''
return true;
}

function sb_Smilies(cButton)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}

document.getElementById('shout_emo').style.display = (document.getElementById('shout_emo').style.display == 'none')? '' : 'none'
}

requestShouts()

-->
</script>
</td>
</tr>


But the smilies are not shown and the colour and font dropdown field is empty :( Maybe there's a coder out who can take a look for it please.
Thanks

djrm
03-07-2006, 07:38 PM
Is there any way to stop it from scrolling from left to right?

tubilo
03-10-2006, 02:04 PM
The shoutbox works great in the forum (http://www.wickedsphere.com/forum/) but I cannot seem to get it to display correctly on the portal (http://www.wickedsphere.com) page.

It will show the shoutbox, but it has a full exact copy of the entire Portal page inside the shoutbox as well! What code is incorrect that it shows the portal page inside the shoutbox?

I have the vbshout.php inside root/forum. Is the file being read incorrectly that it copies another portal page inside the box?

Why dont you answer to Tyson8earzz huh Brai??
No anser!
I also have the same problem :(

Ozymandyus
03-15-2006, 04:13 AM
I also have the issue of it being stuck at 'loading...' on my portal. If you try to shout from there, it goes to a blank page. Does not seem to be an issue with the file paths, as I have triple-checked them...all are correct. Is there a solution to this problem? I'm forced to rate this poorly until such time as I see an answer.

Sonic1954
03-20-2006, 12:34 PM
I also have the issue of it being stuck at 'loading...' on my portal. If you try to shout from there, it goes to a blank page. Does not seem to be an issue with the file paths, as I have triple-checked them...all are correct. Is there a solution to this problem? I'm forced to rate this poorly until such time as I see an answer.



BUMP

Jaxel
03-21-2006, 06:53 PM
I think the ability to edit how often AJAX queries the server is a MUST.

|oR|ElGuapo
03-22-2006, 10:26 AM
I had the loading... problem as well. I had also used the hack for vbshout on every page. Maybe we all did? In the end I disabled it because it wasn't used and took up a lot of screen space.

Jaxel
03-22-2006, 08:46 PM
anyone know how to disable the IMG tag in this script?

Angeltaker
03-23-2006, 01:53 PM
setTimeout('requestShouts()', 10000)
Wouldn't changing this line of code allow you to change the refresh rate to cure the bandwidth issue? I don't know php but I looked through the code. This looks like the right place to me.

Jaxel
03-24-2006, 05:33 PM
Unfortunately, thats not it. Thats the timeout setting for server responses.