Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] vBShout v2 on your vBadvanced CMPS v2! Details »»
[AJAX] vBShout v2 on your vBadvanced CMPS v2!
Version: 1.1, by FleaBag FleaBag is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-03-2005 Last Update: Never Installs: 253
Uses Plugins Template Edits
 
No support by the author.

This is not essentially my hack, it's a group effort originating in the vBadvanced forums.

The following instructions will allow you to add vBShout v2.0 by Zero Tolerance 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.

This is a group effort from a few guys over at the vBadvanced forums, which includes Scotty2k and vbusers11 - I take no credit for this, I just spotted a problem with how the vBa forums was parsing postbits there. Plus the integration wasn't getting much attention over there and it would be a shame for users of vBShout and vBadvanced to miss out on this.

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 a) TO ADD AS A CENTRE MODULE - IF YOU DO THIS DO NOT FOLLOW STEPS B OR C!
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'.
Code:
<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>
4 b) TO ADD AS A SIDE MODULE - ONLY FOLLOW THIS STEP IF YOU DID NOT PERFORM STEP A.
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'.

Code:
<td class="alt1" align="left">
	<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 border='0' cellpadding='0' cellspacing='0'>
				<tr>
					<td>
						<input type="text" name="shout" style="width: 100%" class="bginput" />
						</td>
						<td style='white-space:nowrap' width='1%'>
							<input type="submit" value="Shout" class="button" />
							</td>
					</tr>
					</table>
					<div style="height: 2px"></div>
					</if>
				</if>
					<div id="vbshout">
						Loading...
					</div>
				<if condition="$vboptions[shout_editor_position]">
					<if condition="$bbuserinfo[userid] > 0">
					<div style="height: 2px"></div>
					<table border='0' cellpadding='0' cellspacing='0'>
					<tr>
						<td>
							<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>
4 c) ONLY PERFORM THIS STEP IF YOU DID NOT PERFORM STEP A!
Edit your 'forumhome_vbshout_shout' template [ACP > Styles & Templates > Style Manager > YOUR DEFAULT STYLE > forumhome_vbshout_shout], and replace it's contents with the following.
Code:
<tr>
				<td align="left" valign="top">
<span class="smallfont">
<if condition="!$Shout[s_me]">
						<if condition="$Shout[s_by]">
							<a href='member.php?{$session['sessionurl_q']}u={$Shout['s_by']}'>
						</if>{$Shout['username']}<if condition="$Shout[s_by]"></a></if>:
					</if>
									<if condition="!$Shout[s_me]">
						{$Shout['s_shout']}
					<else />
						<span class='highlight'>
							*{$Shout['username']} {$Shout['s_shout']}*
						</span>
					</if>
</span>
				</td>
			</tr>
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'.

Removing vBShout from your Forum Home - IF YOU FOLLOWED STEP 4 b) YOU HAVE TO DO STEP 5 - YOUR VBSHOUT WILL NOT RENDER CORRECTLY ON YOUR FORUM HOME! IF YOU HAVE YOUR SHOUTBOX AS A CENTRE MODULE ON THE CMPS, AND WANT TO ALSO HAVE IT RUNNING ON THE FORUM HOME, DO NOT PERFORM THIS STEP!

6) In your ACP go to [ACP > Plugin System > Plugin Manager] - find on that page 'vBShout [Template Alteration]' and uncheck the box which will deactivate it.

That's all there is to it folks, a very simple fix to the problem.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #262  
Old 07-31-2007, 01:45 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I modified the code from PEarl and puted the variable $Smilie_Build instead of list from Hardcoded smilies from Pearl's site. And it works with vb 3.6.5 and CMPS 3.0.

Quote:
Originally Posted by Pearl View Post
This will only work when your cmps and forum are not in the same location.

notes: After refresh format bar always goes back to default.
:The code below is the upper code of the entire code that means U only chnage the code until u hit <script type='text/javascript'>
<!--

Below that use the code orginally posted in this thread.

goodluck.

Code:
<td class="alt1" align="left" width="100%">
	<form action="forums/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="6" cellspacing="1" 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>
	



	<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" />
							<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
							<input type='button' class='button' value='Smilies' onclick='sb_Smilies(this)' />
							<input id='sb_mem_bold' type='button' class='button' style='font-weight:bold' value='B' onclick='sb_PropChange_Button(this, "fontWeight")' />
							<input id='sb_mem_underline' type='button' class='button' style='text-decoration:underline' value='U' onclick='sb_PropChange_Button(this, "textDecoration")' />
							<input id='sb_mem_italic' type='button' class='button' style='font-style:italic' value='I' onclick='sb_PropChange_Button(this, "fontStyle")' />
							<select id='sb_color_mem' name='font_color' onchange='sb_PropChange(this, "color")'>
								<option value="Default">Color [Default]</option>
<option value="#000000" style="color:#000000;">#000000</option>
<option value="#000033" style="color:#000033;">#000033</option>
<option value="#000066" style="color:#000066;">#000066</option>
<option value="#000099" style="color:#000099;">#000099</option>
<option value="#0000CC" style="color:#0000CC;">#0000CC</option>
<option value="#0000FF" style="color:#0000FF;">#0000FF</option>
<option value="#003300" style="color:#003300;">#003300</option>
<option value="#003333" style="color:#003333;">#003333</option>
<option value="#003366" style="color:#003366;">#003366</option>
<option value="#003399" style="color:#003399;">#003399</option>
<option value="#0033CC" style="color:#0033CC;">#0033CC</option>
<option value="#0033FF" style="color:#0033FF;">#0033FF</option>
<option value="#006600" style="color:#006600;">#006600</option>
<option value="#006633" style="color:#006633;">#006633</option>
<option value="#006666" style="color:#006666;">#006666</option>
<option value="#006699" style="color:#006699;">#006699</option>
<option value="#0066CC" style="color:#0066CC;">#0066CC</option>
<option value="#0066FF" style="color:#0066FF;">#0066FF</option>
<option value="#009900" style="color:#009900;">#009900</option>
<option value="#009933" style="color:#009933;">#009933</option>
<option value="#009966" style="color:#009966;">#009966</option>
<option value="#009999" style="color:#009999;">#009999</option>
<option value="#0099CC" style="color:#0099CC;">#0099CC</option>
<option value="#0099FF" style="color:#0099FF;">#0099FF</option>
<option value="#00CC00" style="color:#00CC00;">#00CC00</option>
<option value="#00CC33" style="color:#00CC33;">#00CC33</option>
<option value="#00CC66" style="color:#00CC66;">#00CC66</option>
<option value="#00CC99" style="color:#00CC99;">#00CC99</option>
<option value="#00CCCC" style="color:#00CCCC;">#00CCCC</option>
<option value="#00CCFF" style="color:#00CCFF;">#00CCFF</option>
<option value="#00FF00" style="color:#00FF00;">#00FF00</option>
<option value="#00FF33" style="color:#00FF33;">#00FF33</option>
<option value="#00FF66" style="color:#00FF66;">#00FF66</option>
<option value="#00FF99" style="color:#00FF99;">#00FF99</option>
<option value="#00FFCC" style="color:#00FFCC;">#00FFCC</option>
<option value="#00FFFF" style="color:#00FFFF;">#00FFFF</option>
<option value="#330000" style="color:#330000;">#330000</option>
<option value="#330033" style="color:#330033;">#330033</option>
<option value="#330066" style="color:#330066;">#330066</option>
<option value="#330099" style="color:#330099;">#330099</option>
<option value="#3300CC" style="color:#3300CC;">#3300CC</option>
<option value="#3300FF" style="color:#3300FF;">#3300FF</option>
<option value="#333300" style="color:#333300;">#333300</option>
<option value="#333333" style="color:#333333;">#333333</option>
<option value="#333366" style="color:#333366;">#333366</option>
<option value="#333399" style="color:#333399;">#333399</option>
<option value="#3333CC" style="color:#3333CC;">#3333CC</option>
<option value="#3333FF" style="color:#3333FF;">#3333FF</option>
<option value="#336600" style="color:#336600;">#336600</option>
<option value="#336633" style="color:#336633;">#336633</option>
<option value="#336666" style="color:#336666;">#336666</option>
<option value="#336699" style="color:#336699;">#336699</option>
<option value="#3366CC" style="color:#3366CC;">#3366CC</option>
<option value="#3366FF" style="color:#3366FF;">#3366FF</option>
<option value="#339900" style="color:#339900;">#339900</option>
<option value="#339933" style="color:#339933;">#339933</option>
<option value="#339966" style="color:#339966;">#339966</option>
<option value="#339999" style="color:#339999;">#339999</option>
<option value="#3399CC" style="color:#3399CC;">#3399CC</option>
<option value="#3399FF" style="color:#3399FF;">#3399FF</option>
<option value="#33CC00" style="color:#33CC00;">#33CC00</option>
<option value="#33CC33" style="color:#33CC33;">#33CC33</option>
<option value="#33CC66" style="color:#33CC66;">#33CC66</option>
<option value="#33CC99" style="color:#33CC99;">#33CC99</option>
<option value="#33CCCC" style="color:#33CCCC;">#33CCCC</option>
<option value="#33CCFF" style="color:#33CCFF;">#33CCFF</option>
<option value="#33FF00" style="color:#33FF00;">#33FF00</option>
<option value="#33FF33" style="color:#33FF33;">#33FF33</option>
<option value="#33FF66" style="color:#33FF66;">#33FF66</option>
<option value="#33FF99" style="color:#33FF99;">#33FF99</option>
<option value="#33FFCC" style="color:#33FFCC;">#33FFCC</option>
<option value="#33FFFF" style="color:#33FFFF;">#33FFFF</option>
<option value="#660000" style="color:#660000;">#660000</option>
<option value="#660033" style="color:#660033;">#660033</option>
<option value="#660066" style="color:#660066;">#660066</option>
<option value="#660099" style="color:#660099;">#660099</option>
<option value="#6600CC" style="color:#6600CC;">#6600CC</option>
<option value="#6600FF" style="color:#6600FF;">#6600FF</option>
<option value="#663300" style="color:#663300;">#663300</option>
<option value="#663333" style="color:#663333;">#663333</option>
<option value="#663366" style="color:#663366;">#663366</option>
<option value="#663399" style="color:#663399;">#663399</option>
<option value="#6633CC" style="color:#6633CC;">#6633CC</option>
<option value="#6633FF" style="color:#6633FF;">#6633FF</option>
<option value="#666600" style="color:#666600;">#666600</option>
<option value="#666633" style="color:#666633;">#666633</option>
<option value="#666666" style="color:#666666;">#666666</option>
<option value="#666699" style="color:#666699;">#666699</option>
<option value="#6666CC" style="color:#6666CC;">#6666CC</option>
<option value="#6666FF" style="color:#6666FF;">#6666FF</option>
<option value="#669900" style="color:#669900;">#669900</option>
<option value="#669933" style="color:#669933;">#669933</option>
<option value="#669966" style="color:#669966;">#669966</option>
<option value="#669999" style="color:#669999;">#669999</option>
<option value="#6699CC" style="color:#6699CC;">#6699CC</option>
<option value="#6699FF" style="color:#6699FF;">#6699FF</option>
<option value="#66CC00" style="color:#66CC00;">#66CC00</option>
<option value="#66CC33" style="color:#66CC33;">#66CC33</option>
<option value="#66CC66" style="color:#66CC66;">#66CC66</option>
<option value="#66CC99" style="color:#66CC99;">#66CC99</option>
<option value="#66CCCC" style="color:#66CCCC;">#66CCCC</option>
<option value="#66CCFF" style="color:#66CCFF;">#66CCFF</option>
<option value="#66FF00" style="color:#66FF00;">#66FF00</option>
<option value="#66FF33" style="color:#66FF33;">#66FF33</option>
<option value="#66FF66" style="color:#66FF66;">#66FF66</option>
<option value="#66FF99" style="color:#66FF99;">#66FF99</option>
<option value="#66FFCC" style="color:#66FFCC;">#66FFCC</option>
<option value="#66FFFF" style="color:#66FFFF;">#66FFFF</option>
<option value="#990000" style="color:#990000;">#990000</option>
<option value="#990033" style="color:#990033;">#990033</option>
<option value="#990066" style="color:#990066;">#990066</option>
<option value="#990099" style="color:#990099;">#990099</option>
<option value="#9900CC" style="color:#9900CC;">#9900CC</option>
<option value="#9900FF" style="color:#9900FF;">#9900FF</option>
<option value="#993300" style="color:#993300;">#993300</option>
<option value="#993333" style="color:#993333;">#993333</option>
<option value="#993366" style="color:#993366;">#993366</option>
<option value="#993399" style="color:#993399;">#993399</option>
<option value="#9933CC" style="color:#9933CC;">#9933CC</option>
<option value="#9933FF" style="color:#9933FF;">#9933FF</option>
<option value="#996600" style="color:#996600;">#996600</option>
<option value="#996633" style="color:#996633;">#996633</option>
<option value="#996666" style="color:#996666;">#996666</option>
<option value="#996699" style="color:#996699;">#996699</option>
<option value="#9966CC" style="color:#9966CC;">#9966CC</option>
<option value="#9966FF" style="color:#9966FF;">#9966FF</option>
<option value="#999900" style="color:#999900;">#999900</option>
<option value="#999933" style="color:#999933;">#999933</option>
<option value="#999966" style="color:#999966;">#999966</option>
<option value="#999999" style="color:#999999;">#999999</option>
<option value="#9999CC" style="color:#9999CC;">#9999CC</option>
<option value="#9999FF" style="color:#9999FF;">#9999FF</option>
<option value="#99CC00" style="color:#99CC00;">#99CC00</option>
<option value="#99CC33" style="color:#99CC33;">#99CC33</option>
<option value="#99CC66" style="color:#99CC66;">#99CC66</option>
<option value="#99CC99" style="color:#99CC99;">#99CC99</option>
<option value="#99CCCC" style="color:#99CCCC;">#99CCCC</option>
<option value="#99CCFF" style="color:#99CCFF;">#99CCFF</option>
<option value="#99FF00" style="color:#99FF00;">#99FF00</option>
<option value="#99FF33" style="color:#99FF33;">#99FF33</option>
<option value="#99FF66" style="color:#99FF66;">#99FF66</option>
<option value="#99FF99" style="color:#99FF99;">#99FF99</option>
<option value="#99FFCC" style="color:#99FFCC;">#99FFCC</option>
<option value="#99FFFF" style="color:#99FFFF;">#99FFFF</option>
<option value="#CC0000" style="color:#CC0000;">#CC0000</option>
<option value="#CC0033" style="color:#CC0033;">#CC0033</option>
<option value="#CC0066" style="color:#CC0066;">#CC0066</option>
<option value="#CC0099" style="color:#CC0099;">#CC0099</option>
<option value="#CC00CC" style="color:#CC00CC;">#CC00CC</option>
<option value="#CC00FF" style="color:#CC00FF;">#CC00FF</option>
<option value="#CC3300" style="color:#CC3300;">#CC3300</option>
<option value="#CC3333" style="color:#CC3333;">#CC3333</option>
<option value="#CC3366" style="color:#CC3366;">#CC3366</option>
<option value="#CC3399" style="color:#CC3399;">#CC3399</option>
<option value="#CC33CC" style="color:#CC33CC;">#CC33CC</option>
<option value="#CC33FF" style="color:#CC33FF;">#CC33FF</option>
<option value="#CC6600" style="color:#CC6600;">#CC6600</option>
<option value="#CC6633" style="color:#CC6633;">#CC6633</option>
<option value="#CC6666" style="color:#CC6666;">#CC6666</option>
<option value="#CC6699" style="color:#CC6699;">#CC6699</option>
<option value="#CC66CC" style="color:#CC66CC;">#CC66CC</option>
<option value="#CC66FF" style="color:#CC66FF;">#CC66FF</option>
<option value="#CC9900" style="color:#CC9900;">#CC9900</option>
<option value="#CC9933" style="color:#CC9933;">#CC9933</option>
<option value="#CC9966" style="color:#CC9966;">#CC9966</option>
<option value="#CC9999" style="color:#CC9999;">#CC9999</option>
<option value="#CC99CC" style="color:#CC99CC;">#CC99CC</option>
<option value="#CC99FF" style="color:#CC99FF;">#CC99FF</option>
<option value="#CCCC00" style="color:#CCCC00;">#CCCC00</option>
<option value="#CCCC33" style="color:#CCCC33;">#CCCC33</option>
<option value="#CCCC66" style="color:#CCCC66;">#CCCC66</option>
<option value="#CCCC99" style="color:#CCCC99;">#CCCC99</option>
<option value="#CCCCCC" style="color:#CCCCCC;">#CCCCCC</option>
<option value="#CCCCFF" style="color:#CCCCFF;">#CCCCFF</option>
<option value="#CCFF00" style="color:#CCFF00;">#CCFF00</option>
<option value="#CCFF33" style="color:#CCFF33;">#CCFF33</option>
<option value="#CCFF66" style="color:#CCFF66;">#CCFF66</option>
<option value="#CCFF99" style="color:#CCFF99;">#CCFF99</option>
<option value="#CCFFCC" style="color:#CCFFCC;">#CCFFCC</option>
<option value="#CCFFFF" style="color:#CCFFFF;">#CCFFFF</option>
<option value="#FF0000" style="color:#FF0000;">#FF0000</option>
<option value="#FF0033" style="color:#FF0033;">#FF0033</option>
<option value="#FF0066" style="color:#FF0066;">#FF0066</option>
<option value="#FF0099" style="color:#FF0099;">#FF0099</option>
<option value="#FF00CC" style="color:#FF00CC;">#FF00CC</option>
<option value="#FF00FF" style="color:#FF00FF;">#FF00FF</option>
<option value="#FF3300" style="color:#FF3300;">#FF3300</option>
<option value="#FF3333" style="color:#FF3333;">#FF3333</option>
<option value="#FF3366" style="color:#FF3366;">#FF3366</option>
<option value="#FF3399" style="color:#FF3399;">#FF3399</option>
<option value="#FF33CC" style="color:#FF33CC;">#FF33CC</option>
<option value="#FF33FF" style="color:#FF33FF;">#FF33FF</option>
<option value="#FF6600" style="color:#FF6600;">#FF6600</option>
<option value="#FF6633" style="color:#FF6633;">#FF6633</option>
<option value="#FF6666" style="color:#FF6666;">#FF6666</option>
<option value="#FF6699" style="color:#FF6699;">#FF6699</option>
<option value="#FF66CC" style="color:#FF66CC;">#FF66CC</option>
<option value="#FF66FF" style="color:#FF66FF;">#FF66FF</option>
<option value="#FF9900" style="color:#FF9900;">#FF9900</option>
<option value="#FF9933" style="color:#FF9933;">#FF9933</option>
<option value="#FF9966" style="color:#FF9966;">#FF9966</option>
<option value="#FF9999" style="color:#FF9999;">#FF9999</option>
<option value="#FF99CC" style="color:#FF99CC;">#FF99CC</option>
<option value="#FF99FF" style="color:#FF99FF;">#FF99FF</option>
<option value="#FFCC00" style="color:#FFCC00;">#FFCC00</option>
<option value="#FFCC33" style="color:#FFCC33;">#FFCC33</option>
<option value="#FFCC66" style="color:#FFCC66;">#FFCC66</option>
<option value="#FFCC99" style="color:#FFCC99;">#FFCC99</option>
<option value="#FFCCCC" style="color:#FFCCCC;">#FFCCCC</option>
<option value="#FFCCFF" style="color:#FFCCFF;">#FFCCFF</option>
<option value="#FFFF00" style="color:#FFFF00;">#FFFF00</option>
<option value="#FFFF33" style="color:#FFFF33;">#FFFF33</option>
<option value="#FFFF66" style="color:#FFFF66;">#FFFF66</option>
<option value="#FFFF99" style="color:#FFFF99;">#FFFF99</option>
<option value="#FFFFCC" style="color:#FFFFCC;">#FFFFCC</option>
<option value="#FFFFFF" style="color:#FFFFFF;">#FFFFFF</option>

							</select>
							<select id='sb_font_mem' name='font_selector' onchange='sb_PropChange(this, "fontFamily")'>
								<option value="Default">Font Face [Default]</option>
<option value="Arial">Arial</option>
<option value="Arial Black">Arial Black</option>
<option value="Arial Narrow">Arial Narrow</option>
<option value="Book Antiqua">Book Antiqua</option>
<option value="Century Gothic">Century Gothic</option>
<option value="Comic Sans MS">Comic Sans MS</option>
<option value="Courier New">Courier New</option>
<option value="Fixedsys">Fixedsys</option>
<option value="Franklin Gothic Medium">Franklin Gothic Medium</option>
<option value="Garamond">Garamond</option>
<option value="Georgia">Georgia</option>
<option value="Impact">Impact</option>
<option value="Lucida Console">Lucida Console</option>
<option value="Lucida Sans Unicode">Lucida Sans Unicode</option>
<option value="Microsoft Sans Serif">Microsoft Sans Serif</option>
<option value="Palatino Linotype">Palatino Linotype</option>
<option value="System">System</option>
<option value="Tahoma">Tahoma</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Trebuchet MS">Trebuchet MS</option>
<option value="Verdana">Verdana</option>
</if></if>
							</select>
							
						</td>
					</tr>
					</table>
					
				
				</td>
			</tr>
		</tbody>


</form>
				</td>

<script type='text/javascript'>
<!--
Reply With Quote
  #263  
Old 07-31-2007, 02:02 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sduckie2k5 View Post
Dont speak the language but looks to me like he has the same problem I do, shoutbox works but the members links arent prefixed with the forum. How can I fix this as well? Thankyou in advance


Found my own answer. If anyone else wants to know, add the prefix in the forumhome_vbshout_shout template in front of /member.php at the beginning of the code.
Quote:
Originally Posted by stonner View Post
hi,

ich habe vbshout im /forum und cmps im root-verzeichnis.

habe im template vbshout.php ersetzt durch forum/vbshout.php. das funktioniert. Jedoch, wenn man auf dem Portal auf einen benutzernamen klickt, ist der link noch immer falsch:

http://www.schuelerforum.net/member.php?u=684

statt

http://www.schuelerforum.net/forum/member.php?u=684

wo kann ich das korrigieren?

Vielen dank!
Open the forumhome_vbshout_* templates each one where you find member.php and place before member.php
Code:
{$vbulletin->options['bburl']}/
Gleiche f?r dich sduckie2k5 wenn mann original Variablen nutzt und nicht HART "forum/" schreibt, dann funkzt es wie auf forum als auch auf portal.
Reply With Quote
  #264  
Old 08-01-2007, 12:06 AM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How the heck do I get rid of the timestamp for the side bar?
Reply With Quote
  #265  
Old 08-04-2007, 01:51 AM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Someone tell me how to do this?
Reply With Quote
  #266  
Old 08-05-2007, 05:40 PM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.. seriously you guys.
Reply With Quote
  #267  
Old 08-06-2007, 04:04 PM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bahhhhhh!
Reply With Quote
  #268  
Old 08-11-2007, 04:28 AM
Drew's Avatar
Drew Drew is offline
 
Join Date: Feb 2003
Location: Philly
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea how to remove the godawful time stamp??? =/
Reply With Quote
  #269  
Old 08-17-2007, 03:35 PM
Dorign's Avatar
Dorign Dorign is offline
 
Join Date: Jul 2004
Location: Missouri
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I give up. Worst shoutbox ever.
Reply With Quote
  #270  
Old 08-31-2007, 07:59 PM
Merrillizer Merrillizer is offline
 
Join Date: Oct 2006
Location: Hampton, NH Marshland
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree. Terrible. Tried everything, still get the loading error.

Fart.
Reply With Quote
  #271  
Old 11-18-2007, 09:21 PM
pompaunpo pompaunpo is offline
 
Join Date: Nov 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've installed it in Left Column and it works fine.
but ....how to remove it from forumhome Center Column ???
I want to see it only in the left column and not forumhome Center Column
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05139 seconds
  • Memory Usage 2,398KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete