Hello all i had an issue with the Update Status part of my site with a custom template i found on the market i kept searching everywhere for a fix but then i thought i find the fix my self so if you are having this issue and you got a custom template (Not the Dolphin duefult template) then follow these steps.
This has been tested on a Linux and Windows server on Dolphin 7.0.9.
- backup your template folder just in case this does mess up anything.
- go into the template folder then go into your custom template folder (Example tmpl_mytemplate)
- Download and/or edit the _header.html
- If you are editing offline try and use Notepad++ (It's good for code editing) if you don't have it use a other editing tool.
- Remove all the code from the file and copy the following in
<head>
<meta http-equiv="Content-Type" content="text/html; charset=__page_charset__" />
<title>__page_header__</title>
<base href="<bx_url_root />" />
__page_description__
__page_keywords__
<meta http-equiv="Content-Style-Type" content="text/css" />
<bx_include_css />
<bx_include_js />
__dol_images__
__dol_lang__
__dol_options__
<script type="text/javascript" language="javascript">
var site_url = '<bx_url_root />';
var aUserInfoTimers = new Array();
$(document).ready( function() {
$( 'div.RSSAggrCont' ).dolRSSFeed();
} );
</script>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="inc/js/pngfix.js"></script>
<![endif]-->
__extra_js__
<bx_injection:injection_head />
<script type="text/javascript">
var oBxUserStatus = new BxUserStatus();
oBxUserStatus.userStatusInit('<bx_url_root />', __is_profile_page__);
</script>
</head>
__flush_header__
<body <bx_injection:injection_body /> >
<bx_injection:injection_header />
<div id="notification_window" class="notifi_window"></div>
<div id="FloatDesc" style="position:absolute;display:none;z-index:100;"></div>
When done save your doc, If your editing offline make sure you upload it. Make sure you delete all your cache from the cache_public and Cache folders. after that reload your site and test it.
For some reason some templates have a few things missing in the header file.
If that does not work then there is one other way, Restore from the template backup you did then follow all steps unto you get to step 4 then find where it says
__extra_js__
<bx_injection:injection_head />
Under where it says
<bx_injection:injection_head />
Put this code in
<script type="text/javascript">
var oBxUserStatus = new BxUserStatus();
oBxUserStatus.userStatusInit('<bx_url_root />', __is_profile_page__);
</script>
If that code is all ready there then sadly i can no longer help you.
Thanks for reading and i hope this guide is easy to understand and i also hope i posted this in the right place :).
Thanks
Liam Usher.