mchat ucp blank

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Post Reply
ilovemchat123
New member
New member
Posts: 24
Joined: 12 May 2014, 05:01

mchat ucp blank

Post by ilovemchat123 »

I have phpbb social network + mchat installed. To get both working simultaneously I use the following:

Code: Select all

</script>
<script type="text/javascript" src="./mchat/jquery_cookie_mini.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.metadata.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery_cookie.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.timers.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.hoverIntent.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.watermark.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.elastic.source.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.events.input.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.form.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.titlealert.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.detectmobilebrowser.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.expander.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.editable.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.jgrowl_minimized.js"></script>
<script type="text/javascript" src="./socialnet/js/underscore-min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.mentionsInput.js"></script>
<script type="text/javascript" src="./socialnet/js/m.socialnet.js"></script>
<script type="text/javascript" src="./socialnet/js/m.confirmbox.js"></script>
<script type="text/javascript" src="./socialnet/js/m.im.js"></script>
<script type="text/javascript" src="./socialnet/js/m.notify.js"></script>
<script type="text/javascript" src="./socialnet/js/m.approval.js"></script>
<script type="text/javascript" src="./socialnet/js/m.userstatus.js"></script>
<script type="text/javascript" src="./socialnet/js/m.activitypage.js"></script>
<script type="text/javascript" src="./socialnet/js/m.profile.js"></script>
For some reason the UCP page is white, but everything else related to mChat is perfectly functional. I need to either fix the javascript issue or remove the mChat link from the UCP. Any help would be appreciated.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: mchat ucp blank

Post by RMcGirr83 »

The js shouldn't have any effect on the UCP. You need to double check your edits to the ucp files.
ilovemchat123
New member
New member
Posts: 24
Joined: 12 May 2014, 05:01

Re: mchat ucp blank

Post by ilovemchat123 »

RMcGirr83 wrote:The js shouldn't have any effect on the UCP. You need to double check your edits to the ucp files.
I installed the mod with automod. when i deactivate Social Network phpbb mod the UCP page loads, so I think its the js files. i had to make an edit to get both to load.

Code: Select all

<head>

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />

<title>.com • Index page</title>

<link rel="alternate" type="application/atom+xml" title="Feed - .com" href="http://www..com//feed.php" /><link rel="alternate" type="application/atom+xml" title="Feed - New Topics" href="http://www..com//feed.php?mode=topics" />

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = 'Enter the page number you wish to go to:';
	var on_page = '';
	var per_page = '';
	var base_url = '';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '; path=/; domain=..com';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	

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

	/**
	* 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]);
		}
	};

// ]]>
</script>
<script type="text/javascript" src="./styles/prosilver/template/styleswitcher.js"></script>
<script type="text/javascript" src="./styles/prosilver/template/forum_fn.js"></script>


<link href="./styles/prosilver/theme/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="./styles/prosilver/theme/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="./style.php?id=1&lang=en" rel="stylesheet" type="text/css" media="screen, projection" />

<link href="./styles/prosilver/theme/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="./styles/prosilver/theme/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="./styles/prosilver/theme/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<script type="text/javascript" src="./socialnet/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.metadata.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery_cookie.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.timers.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.hoverIntent.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.watermark.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.elastic.source.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.events.input.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.form.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.titlealert.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.detectmobilebrowser.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.expander.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.editable.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.jgrowl_minimized.js"></script>
<script type="text/javascript" src="./socialnet/js/underscore-min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.mentionsInput.js"></script>
<script type="text/javascript" src="./socialnet/js/m.socialnet.js"></script>
<script type="text/javascript" src="./socialnet/js/m.confirmbox.js"></script>
<script type="text/javascript" src="./socialnet/js/m.im.js"></script>
<script type="text/javascript" src="./socialnet/js/m.notify.js"></script>
<script type="text/javascript" src="./socialnet/js/m.approval.js"></script>
<script type="text/javascript" src="./socialnet/js/m.userstatus.js"></script>
<script type="text/javascript" src="./socialnet/js/m.activitypage.js"></script>
<script type="text/javascript" src="./socialnet/js/m.profile.js"></script>
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(function($){
	socialNetwork.init({
		allow_load: true,
		rtl: 'ltr' == 'rtl' ? true: false,
	    expanderTextMore: 'See More',
	    expanderTextLess: 'Close',
	    browserOutdatedTitle : 'Your browser is outdated',
	    browserOutdated : 'Some of the features will not work on your browser. We highly recommend you to update it.',
	    showBrowserOutdated: '0' == '1' ? true : false,
		user_id: 48,
		cookie : {
			name : 'phpbb3_5mva4',
			path : '/',
			domain : '..com',
			secure : '0'=='1'
		},
		confirmBox: {
		    enable: '1' == '1' ? true : false,
		    resizable : '' == '1' ? true : false,
		    draggable : '0' == '1' ? true : false,
		    modal : '1' == '1' ? true : false,
		    width : '400',
		    button_confirm : 'Confirm',
		    button_cancel : 'Cancel',
		    button_close : 'Close',
		    postMinChar : 1
		},
		enableModules : {
			im : '1' == '1',
			us : '1' == '1',
			ntf : '1' == '1',
			fms : '1' == '1',
			ap : '1' == '1' && '' == 1,
			up : '1' == '1'
		},
		comments : {
			watermark : 'Write a comment...',
			empty : 'You can not submit an empty comment',
			deleteTitle : 'Delete comment',
			deleteText : 'Are you sure you want to delete this comment?'
		},
		menuPosition:{
			my : "right top",
	        at : "left top"
	        }
	});

// ## ACTIVITY PAGE -=- START ##

// ## ACTIVITY PAGE -=- END ##

// ## INSTANT MESSENGER -=- START ##

	socialNetwork.im.init({
		url: './socialnet/im.php',
		rootPath: './socialnet/',
		newMessage: 'New message',
		namesMe: 'TriviaBot',
		youAreOffline: 'You are offline',
		titleNew: 'New message',
		sound: '1' == '1' ? true: false,
		isOnline: '1' == '1' ? true: false,
		timersMin: 2,
		timersMax: 60,
		lastCheckTime: 1403230411,
		linkNewWindow: '1' == '1' ? true: false,
		playSoundOnPageLoad: false,
		sendSequence: {
			alt : false,
			ctrl : false,
			shift : false,
			key : 13
		},
		closeSequence : {
			alt : false,
			ctrl : false,
			shift : false,
			key : 27
		}
	});

// ## INSTANT MESSENGER -=- END ##

// ## NOTIFICATIONS -=- START ##

	socialNetwork.ntf.init({
		url:'./socialnet/notify.php',
		theme: 'default',
		life: 10000,
		checkTime: 10000
	});

// ## NOTIFICATIONS -=- END ##

// ## FRIEND MANAGEMENT SYSTEM -=- START ##

	socialNetwork.fms.init({
		url: './socialnet/approval.php',
		urlFMS: './socialnet/fms_users.php',
		noFriends: 'No friends',
		deleteUserGroup: 'Delete friend user group',
		deleteUserGroupText: 'Are you sure you want to delete this friend user group?'
	});

// ## FRIEND MANAGEMENT SYSTEM -=- END ##

// ## USER STATUS -=- START ##

	socialNetwork.us.init({
		watermark : 'What is on your mind?',
		emptyStatus : 'You can not submit an empty status',
		url : './socialnet/userstatus.php',
		urlFetch : './socialnet/fetch.php',
		deleteStatusTitle : 'Delete status',
		deleteStatusText: 'Are you sure you want to delete this status?',
		deleteActivityTitle : 'Delete activity',
		deleteActivityText: 'Are you sure you want to delete this activity?'
	});

// ## USER STATUS -=- END ##

// ## PROFILE -=- START ##

	socialNetwork.up.init({
		url : '',
		urlAJAX : '',
		urlSelectFriends: '',
		spinner : '<em>Loading…<\/em>',
		nextText : 'Next',
		prevText : 'Previous',
		dateFormat : 'd MM yy',
		dayNames : [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ],
		dayNamesShort : [ 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa' ],
		monthNames : ['January','February','March','April','May','June','July','August','September','October','November','December'],
		monthNamesShort : ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
		menuPosition:{
			my : "right top",
	        at : "right bottom"
	        }
		});

// ## PROFILE -=- END ##

});
// ]]>
</script>
<script type="text/javascript" src="./mchat/jquery_cookie_mini.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.metadata.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery_cookie.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.timers.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.hoverIntent.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.text-overflow.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.watermark.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery-ui-1.9.2.custom.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.elastic.source.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.events.input.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.form.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.titlealert.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.detectmobilebrowser.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.expander.min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.editable.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.jgrowl_minimized.js"></script>
<script type="text/javascript" src="./socialnet/js/underscore-min.js"></script>
<script type="text/javascript" src="./socialnet/js/jquery.mentionsInput.js"></script>
<script type="text/javascript" src="./socialnet/js/m.socialnet.js"></script>
<script type="text/javascript" src="./socialnet/js/m.confirmbox.js"></script>
<script type="text/javascript" src="./socialnet/js/m.im.js"></script>
<script type="text/javascript" src="./socialnet/js/m.notify.js"></script>
<script type="text/javascript" src="./socialnet/js/m.approval.js"></script>
<script type="text/javascript" src="./socialnet/js/m.userstatus.js"></script>
<script type="text/javascript" src="./socialnet/js/m.activitypage.js"></script>
<script type="text/javascript" src="./socialnet/js/m.profile.js"></script>

</head>
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: mchat ucp blank

Post by RMcGirr83 »

You are loading mulitple instances of the same files. Remove the second block of js script stuffs and I don't support mods that aren't validated and you shouldn't be using them on your forum. Social network mod is a non-validated mod last I knew. Also I highly doubt your name is RMcGirr83...I have removed that from your profile.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: mchat ucp blank

Post by RMcGirr83 »

Also you may want to enable debug by uncommenting the last two lines within the config.php file.
ilovemchat123
New member
New member
Posts: 24
Joined: 12 May 2014, 05:01

Re: mchat ucp blank

Post by ilovemchat123 »

RMcGirr83 wrote:You are loading mulitple instances of the same files. Remove the second block of js script stuffs and I don't support mods that aren't validated and you shouldn't be using them on your forum. Social network mod is a non-validated mod last I knew. Also I highly doubt your name is RMcGirr83...I have removed that from your profile.
I tried adding you as a friend it must of got pasted in the incorrect place sorry
Post Reply