Quote:
Originally Posted by DGrey2011
@daveaite
I have tried installing it again and overwriting the .xml several times, but still the status editor doesn't show up at all. After I overwrote it, I even got an error that the user doesn't exist each time when I tried to go on a profile.
|
Spent a few hours looking into why. Sometimes the template
status_whats_on_box_profile is not registering. Copy the contents from that template into
memberinfo template right below navbar hook:
So do this:
Open memberinfo template, Find {vb:raw navbar}
and paste below the template:
Code:
{vb:cssfile status.css}
<style>
.post {
background-image: url({vb:stylevar imgdir_misc}/status/facebook_back.png);
background-repeat: no-repeat;
background-size: auto;
background-position: -1px -441px;
background-color: #5B74A8;
border-color: #29447E #29447E #1A356E;
color:white;
padding:3px;
}
.cancel {
background-image: url({vb:stylevar imgdir_misc}/status/facebook_back.png);
background-repeat: no-repeat;
background-size: auto;
background-position: -1px -343px;
background-color: #EEE;
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
padding:3px;
}
.post:hover {
background-repeat: no-repeat;
background-size: auto;
background-position: -1px -441px;
background-color: #5B74A8;
border-color: #29447E #29447E #1A356E;
color:white;
padding:3px;
}
</style>
<script>
function statussubmit (status){
if (status == '' || status == "{vb:rawphrase whatsonyourmind}")
{
alert('{vb:rawphrase status_blank}');
return false;
}
}
</script>
<form action="status.php" method="post" onsubmit="return statussubmit(this.whatsonyourmind.value)" enctype="multipart/form-data">
<div>
<div style="float:left;width:97%; position:relative;">
<div class="blockbody whatsonbox" style="width:100%; position:relative;float:left;margin-top:10px;border:10px solid rgba(106, 131, 163, .7);border-radius:8px;-moz-border-radius:8px;-webkit-border-radius: 8px;padding:10px;">
<ul class="share_type" id="share_type" style="position:relative;width:90%;">
<li>
<a href="javascript:type_post('status');" class="strong" id="_status"><i class="status_item"></i>Status</a>
</li>
<!--<li>
<a href="javascript:void(0);"><i class="photo_item"></i>Photo</a>
</li>-->
<li>
<a href="javascript:type_post('place');" id="_place"><i class="place_item"></i>Place</a>
</li>
<li>
<a href="javascript:type_post('event');" id="_event"><i class="life_item"></i>Life Event</a>
</li>
<li>
<a href="javascript:type_post('poll');" id="_poll"><i class="poll_item"></i>Poll</a>
</li>
<li>
<a href="javascript:type_post('link');" id="_link"><i class="link_item"></i>Link</a>
</li>
<li>
<a href="javascript:type_post('note', {vb:raw userid}, '{vb:raw username}');" id="_note"><i class="note_item"></i>Note</a>
</li>
<li>
<a href="javascript:type_post('announcement');" id="_announcement"><i class="announcement_item"></i>Announcement</a>
</li>
</ul>
<div class="setting_popup" style="float:right;margin-top:2px;">
<ul class="floatcontainer">
<li class="popupmenu" style="float:left;margin-left:10px;">
<a href="javascript:void(0);" onclick="write_langmenu(event);" class="popupctrl button">Language for post</a>
<ul class="popupbody popuphover" id="write_lang_menu" onclick="lang_inner_click(event);">
<li><label><input type="radio" name="write_lang_check" value="1" checked="checked" />English (US)</label></li>
<li><label><input type="radio" name="write_lang_check" value="2" />Hispano</label></li>
<li><label><input type="radio" name="write_lang_check" value="3" />Italiano</label></li>
<li><label><input type="radio" name="write_lang_check" value="4" />Deutsch</label></li>
<li><label><input type="radio" name="write_lang_check" value="5" />fran?ais</label></li>
<li><label><input type="radio" name="write_lang_check" value="6" />Rom?n</label></li>
</ul>
</li>
</ul>
</div>
<table id="whatsonbox" width="100%">
<!--<form action="status.php" method="post" onsubmit="return statussubmit(this.whatsonyourmind.value)" enctype="multipart/form-data">-->
<tbody>
<tr><textarea class="textInput" name="whatsonyourmind" style="position:relative;width:100%;border:1px solid #B4B9BD;border-bottom:none;margin-top:10px;" maxlength="{vb:raw vboptions.max_char_per_status}" id="whatsonyourmind" rows="3" placeholder="{vb:rawphrase whatsonyourmind}"></textarea></tr>
<tr id="poll_wrapper">
</tr>
<tr>
<th class="blocksubhead">
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="poststatus" />
<input type="hidden" name="userid" value="{vb:raw userid}" />
<input type="hidden" name="from_profile_page" value="1" />
<input type="hidden" name="type_status" id="type_status" value="status" />
<input type="hidden" name="site_url" id="site_url" value="" />
<!-- buttons -->
<div style="float:right;">
<input type="button" value="{vb:rawphrase add_photo}" class="button" style="padding-right:10px;padding-left:10px;" onclick="javascript: this.style.display = 'none'; document.getElementById('addphoto_profile').style.display = 'inline-block'; document.getElementById('addphoto_profile').click();"/>
<input type="file" name="addphoto" id="addphoto_profile" style="display: none; width:auto;" />
<select name="whocanview" class="button">
<option value="2">{vb:rawphrase status_group}</option>
<option value="1">{vb:rawphrase status_friends}</option>
<option value="0" selected="selected">{vb:rawphrase status_public}</option>
</select>
<input type="submit" class="button post" style="padding-right:10px;padding-left:10px;" value="{vb:rawphrase status_post}">
</div>
</div>
</th>
</tr>
</tbody>
<!--</form>-->
</table>
</div>
</div>
</div>
</form>
<div class="clear"></div>
or you can paste below the template variable:
Code:
{vb:raw status_whats_on_box_profile}
But this does not always work.