User status mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: User status mod

Post by platinum_2007 »

You have a SEO MOD installed, all the do is cause problems

You can try removing a href="#" from the link you added to the header.
adildr
Registered User
Posts: 17
Joined: Wed Sep 16, 2009 3:02 pm
Contact:

Re: User status mod

Post by adildr »

Sorry but I don't understand,
I added following codes to overall_header, now how must be new codes :roll:



Code: Select all

<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN -->
<a id="status" href="#"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_UPDATE_STATUS}</a><!-- ENDIF -->
www.tibbiyeli.net
Tıp ve Tus Sitesi
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: User status mod

Post by platinum_2007 »

From that code delete href="#"
adildr wrote:Sorry but I don't understand,
I added following codes to overall_header, now how must be new codes :roll:



Code: Select all

<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN -->
<a id="status" ----> href="#" <----  ><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_UPDATE_STATUS}</a><!-- ENDIF -->
adildr
Registered User
Posts: 17
Joined: Wed Sep 16, 2009 3:02 pm
Contact:

Re: User status mod

Post by adildr »

I done.
Now, opened status box but however go to another link that "www.tibbiyeli.net/undefined" then close the opened status box :(
www.tibbiyeli.net
Tıp ve Tus Sitesi
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: User status mod

Post by Mess »

Thank you for the mod. And especially for all you're support in this thread.
Iwe been trying to install this mod for ages, but couldn't get it working as intended. I got allot of modifications installed so figured that was probably the reason.
Last night I decided it was time, and installed this and all my mods on a fresh phpbb install, and finally got it working. But only by the help of the fix on page 5 (a secondary install file would be very helpfull.).

My problem now is that I can't get it working on subsilver2 for some reason. Prosilver is working as intended. And I got the status showing in Subsilver2 in both viewtopic and memberlist. I got the link and icon showing in overall_header but nothing happens when I click the link?

Iwe included the overall_header.html below.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<script type="text/javascript">
$(document).ready(function(){
    
    $("#status").click(function () {
      $("#hide_status").toggle("slow");
    });  

});

 $(document).ready(function(){

	$("#newstatus").submit(function() {

 	var status_text    = $('#status_text').attr('value'); 
   $("#newstatus").empty().html('<img src="{T_THEME_PATH}/images/loader.gif" alt="loading" />');

		$.ajax({
			type: "POST",
			url: "{SUB_STATUS}",
			data: "status_text="+ status_text,
			success: function(del){
				$('#newstatus').hide();
				$('div.success').fadeIn();

			}
		});
	return false;
	});
});

</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
		</tr>
		</table>
	</div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed">
				<!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp;<a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a>
					<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
			<td class="genmed" align="{S_CONTENT_FLOW_END}">
				<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN -->
<a id="status" href="#"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_UPDATE_STATUS}</a><!-- ENDIF -->
			<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
			</td>
		</tr>
		</table>
	</div>

	<div id="datebar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
		</tr>
		</table>
	</div>

</div>

<div id="wrapcentre">

	<!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->

	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->
	<div id="hide_status" style="display:none; text-align:center;"> 
<br />
<form id="newstatus" method="post" action="">
<fieldset>
<input maxlength="150" id="status_text" name="status_text" type="text" />
<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" /><br />
{L_STATUS_CURRENT} <!-- BEGIN stat_q -->{stat_q.STATUS}<!-- END stat_q --><br />
</fieldset>
</form>

<div class="success" style="display:none;">
 <p style="text-align:center">{L_STATUS_UPDATED}</p>
</div>
</div>

	<br />
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: User status mod

Post by Mess »

Problem solved with this solution:
http://www.itmods.com/viewtopic.php?f=11&t=4&p=430
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: User status mod

Post by Mess »

Hmm I got this working on my test site. But when I install it on my live board it wont work on my modified subsilver2 style, its working fine on Prosilver? Iwe checked the files are identical and I have refreshed/purged etc.

It seems platinum_2007 has gone temporarily awol, I hope someone else can help me?
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: User status mod

Post by platinum_2007 »

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: User status mod

Post by Mess »

Thank you for trying to help platinum_2007, I can appreciate the frustration it must be to keep having to repeat you're self. Unfortunately the fix is not working for me, I have allready tried it. But just tried again to make sure. I did try both with you're edit, the edit by foroomy on you're site and both at the same time. With no luck. :(

I'm probably doing something obvious wrong.

This is my current overall_header.html, with both edits at the same time.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
<!-- INCLUDE ca_config.html -->
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} - <!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/highslide/highslide.css" />
<script type="text/javascript" src="{T_THEME_PATH}/jquery-1.3.2.js"></script> 
<script type="text/javascript">
// <![CDATA[

	var onload_functions = new Array();
	var onunload_functions = new Array();
	var ca_main_width = '{$CA_WIDTH}';

<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	}

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	}


if(navigator.userAgent && navigator.userAgent.indexOf('Mac OS X') > 0)
{
	document.write('<link rel="stylesheet" href="{T_THEME_PATH}/mac.css" type="text/css" />');
}

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/ca_scripts.js"></script>
<script type="text/javascript" src="{T_THEME_PATH}/highslide/highslide-with-gallery.packed.js"></script>
<script type="text/javascript">
	hs.graphicsDir = '{T_THEME_PATH}/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
	//hs.dimmingOpacity = 0.75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});
</script>
<!-- INCLUDE gallery/plugins_header.html -->
    <script type="text/javascript">
    $(document).ready(function(){
       
        $("#status").click(function () {
          $("#hide_status").toggle("slow");
        }); 

    });

    $(document).ready(function(){

       $("#newstatus").submit(function() {

       var status_text    = $('#status_text').attr('value');
       var users         = $('#users').attr('value');
       $("#newstatus").empty().html('<img src="{T_THEME_PATH}/images/loader.gif" alt="loading" />');

          $.ajax({
             type: "POST",
             url: "{SUB_STATUS}",
             data: "status_text="+ status_text + "&users="+ users,
             success: function(del){
                $('#newstatus').hide();
                $('div.success').fadeIn();

             }
          });
       return false;
       });
    });
    </script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<table border="0" cellspacing="0" cellpadding="0" width="{$CA_WIDTH}" id="maintable" align="center">
<tr>
	<td id="logorow" align="center"><div id="logo1"><div id="logo2"><table id="logorow1" border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
	    <td id="logo-left" valign="top"><img src="{T_THEME_PATH}/images/logo_left_top.gif" width="80" height="66" border="0" alt="" /></td>
	    <td id="logo-mid" valign="middle"><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
	    <td id="logo-right" valign="top"><img src="{T_THEME_PATH}/images/logo_right_top.gif" width="80" height="66" border="0" alt="" /></td>
    </tr>		    
	</table></div></div></td>
</tr>
<tr>
	<td class="navrow">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_USER_LOGGED_IN --><a href="{U_PROFILE}">{L_PROFILE}</a> &#8226; <!-- ENDIF -->
			<!-- IF S_USER_LOGGED_IN -->
				<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a> &#8226; <!-- ENDIF -->
			<!-- ELSEIF S_REGISTER_ENABLED --><a href="{U_REGISTER}">{L_REGISTER}</a> &#8226; <!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF U_RESTORE_PERMISSIONS --><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> &#8226; <!-- ENDIF -->
		<a href="{U_FAQ}">{L_FAQ}</a>
		<!-- IF S_DISPLAY_SEARCH --> &#8226; <a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
		<!-- IF not S_IS_BOT -->
		<!-- IF S_DISPLAY_MEMBERLIST --> &#8226; <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
		<!-- IF S_DISPLAY_THANKSLIST --> &#8226; <a href="{U_THANKSLIST}">{L_GRATITUDES}</a><!-- ENDIF -->
		<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN --> &#8226; <a id="status" href="#">{L_UPDATE_STATUS}</a><!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF not S_IS_BOT --> &#8226; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- ENDIF -->
	</td>
</tr>
<tr>
	<td id="contentrow"><div id="content1"><div id="content2"><table border="0" cellspacing="0" cellpadding="0" id="contentrow1">
	<tr>
	    <td id="content-left" valign="top"><img src="{T_THEME_PATH}/images/content_top_left.gif" width="5" height="5" border="0" alt="" /></td>
	    <td id="content-mid" width="100%">

<!-- IF not S_IS_BOT && not $CA_SKIP_PM_NOTIFY && S_USER_LOGGED_IN && S_DISPLAY_PM -->
	<!-- IF S_USER_NEW_PRIVMSG -->
		<div class="pm-notify-new"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
	<!-- ELSEIF S_USER_UNREAD_PRIVMSG -->
		<div class="pm-notify-unread"><div class="pm-notify-header">{L_PRIVATE_MESSAGES}</div><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a></div>
	<!-- ENDIF -->
<!-- ENDIF -->  

<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
	<div class="pm-notify-new"><div class="pm-notify-header">{L_INFORMATION}</div>{L_BOARD_DISABLED}</div>
<!-- ENDIF -->

    <table width="100%" cellspacing="0">
    <tr>
        <td class="gensmall">
            <!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br /><!-- ENDIF -->
            <!-- IF S_DISPLAY_SEARCH --><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a><!-- ENDIF -->
        </td>
        <td class="gensmall" align="{S_CONTENT_FLOW_END}">
            {CURRENT_TIME}<br />
            <!-- IF S_DISPLAY_SEARCH and S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF -->
        </td>
    </tr>
    </table>

	<!-- INCLUDE breadcrumbs.html -->
<div id="hide_status" style="display:none; text-align:center;">
<br />
<form id="newstatus" method="post" action="">
<fieldset>
<input maxlength="150" id="status_text" name="status_text" type="text" />
<input type="hidden" value="{USER_ID}" name="users" id="users" />
<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" /><br />
{L_STATUS_CURRENT} <!-- BEGIN stat_q -->{stat_q.STATUS}<!-- END stat_q --><br />
</fieldset>
</form>

<div class="success" style="display:none;">
<p style="text-align:center">{L_STATUS_UPDATED}</p>
</div>
</div>

	<br />

User avatar
dazzlebug
Registered User
Posts: 10
Joined: Mon Oct 26, 2009 8:41 pm

Re: User status mod

Post by dazzlebug »

This is probably a really idiotic question, but the admin of my board has just been handed over to me by my former webtech, and I'm still getting to grips with everything. How do I run the /status_install.php file? I've done everything else to the letter, it's just this one last thing that I'm struggling with.

Many thanks in advance!
Supernatural Video Station | icon by [url=http://just_delicious.livejournal.com]just_delicious[/url]
User avatar
Jaifaime
Registered User
Posts: 170
Joined: Wed Jun 10, 2009 12:16 am

Re: User status mod

Post by Jaifaime »

@dazzlebug: You will need to point your browser to that file on your site. There should have been mention of uploading some number of files to your site in the install instructions, including the status_install.php file. It should probably have been uploaded into your root directory, in which case you would point your browser to your phpbb forum root and add /status_install.php (http://www.yourdomain.com/status_install.php or http://www.yourdomain.com/forum/status_install.php for example).
This account is inactive. Have a nice day.
User avatar
dazzlebug
Registered User
Posts: 10
Joined: Mon Oct 26, 2009 8:41 pm

Re: User status mod

Post by dazzlebug »

I did that, and I got a bunch of error messages come up. For now, I've restored everything and I'm going to try again at a later date.
Supernatural Video Station | icon by [url=http://just_delicious.livejournal.com]just_delicious[/url]
sleevedbiker
Registered User
Posts: 789
Joined: Mon Oct 12, 2009 4:33 pm

Re: User status mod

Post by sleevedbiker »

everything is up....

The update status JS works, and shows up in everyones profile.

But nothing shows up under their avatar in the viewtopic section....
or the members list. any ideas?
You ride with an outlaw, You die with an outlaw
User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: User status mod

Post by woipi90 »

did you do the instructions in the template recording to the viewtopic?

do you have a portal addon installed on your forum because then you have to edit the portal viewtopic_body.html there too.... ;)

also you have to enable the view in viewtopic.php through acp.... ;)


grz woipi
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";
User avatar
noth
Registered User
Posts: 2487
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: User status mod

Post by noth »

when the mod is enstalled no members have user status

even if you have this wording

Code: Select all

<!-- IF STATUS_ENABLE_VIEWTOPIC and ENABLE_STATUS -->
			<!-- BEGIN stat -->
			<dd><strong>Status:</strong> {postrow.stat.STATUS}</dd> 
			<!-- END stat -->
			<!-- ENDIF -->
all members still have no status

HOWEVER

using the wording above (which I prefer because I think it looks much better) as soon as a member clicks to update their status for the first time they then get on a train they can't get off

if they in a few days update their status by deleting the previous text (and choosing blank text) then instead of losing the "Status" line that I have prefixed with "Status," they then get a line showing "Status" but then nothing

is there any solution to this?

it should say <!-- IF STATUS_ENABLE_VIEWTOPIC and ENABLE_STATUS and STATUS>0 -->

if you know what I mean :oops:
Locked

Return to “[3.0.x] MOD Database Releases”