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

Reply
 
Thread Tools
vS-Interactive Profiles Details »»
vS-Interactive Profiles
Version: 2.3.8, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 06-17-2007 Last Update: 06-18-2007 Installs: 584
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*===========================================*\
|| Interactive Profiles
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5 / 3.6
|| Released : Jun 18, 2007
||
|| Time required to install: 10 minutes
|| Difficulty: easy
\*===========================================*/

DESCRIPTION

Ever wanted to enchance your members' profiles with a myspace-like public friend list, an ability to post comments about each other and a couple of other special features? With complete vBulletin integration, user ratings and comments, zodiacs, friendster-style profile field highlights, custom xss-proof css, support for avatars and for vBulletin's standard and WYSIWYG editors, this product is everything you need to achive the goal. See inside for screenshots and a detailed list of features.

STATISTICS

File Uploads: 1
File Changes: 1
Template Changes: 18
Products to Install: 1


FEATURES
  • Full-Featured Front End
    • Default avatars for people with no avatar defined (can be turned on or off, as desired)
    • Ability to set profiles as private (with admincp backup switch)
    • Ability to restrict posting of comments to friends only (with admincp backup switch)
    • Myspace-Style "Friend Requests" (see screenshots) with ability to accept / decline
    • Friendster-Style profile field highlights - keywords become clickable links that can be used for search purposes
    • Comment Flood Control
    • Comment Numbers w/ Links to Individual Comments
    • New Comment E-Mail Notification
    • Friend Request E-Mail Notification
    • Friend Request Response E-Mail Notification
    • E-Mail Notifications can be turned On and Off
    • Navbar "New Comments" and "New Friend Requests" Indicators
    • Pagination support in friend space and comments
    • Morphed, more compact memberinfo layout and postbit template, with avatar support
    • Member Profile Ratings, Also Displayed in Posts.
    • Member Profile Ratings can be enabled or disabled for each user individually.
    • Who Rated Member w/ Access Permissions
    • Who Viewed Member w/ Access Permissions
    • Last Profile Update in memberinfo
    • Graphical Zodiac Sign in memberinfo and in postbit
    • Support for custom profile css with preview option and with an admin ability to create pre-defined css templates - and unlike in other systems, malicious javascript cannot be injected.
    • Custom css can be temporarily suppressed when viewing customized profiles.
    • Custom css can be permanently deleted from customized profiles by privileged users.
  • Configuration Options
    • Allow vB Code in Profile Comments (yes/no)
    • Allow Smilies in Profile Comments (yes/no)
    • Allow [IMG] Code in Profile Comments (yes/no)
    • Allow HTML in Profile Comments (yes/no)
    • Last Comments to Show in Profiles
    • Friends : Rows to Show
    • Friends : Friends per Row
    • Friends : Friends per Row (Full Listing)
    • Allow Vote Change (yes/no)
    • Last Update :: when updating avatar (yes/no)
    • Last Update :: when updating profile picture (yes/no)
    • Last Update :: when updating profile (yes/no)
    • Last Update :: when updating signature (yes/no)
    • Graphical Zodiac Sign (yes/no)
    • Friendster Style Links (yes/no)
    • Allow URLs in CSS (yes/no)
    • Minimum Time Between Comments
    • Minimum Time Between Two Profile Views
    • Enable Default Avatar (yes/no)
    • Path to Default Avatar (path to image file)
  • Extensive Usergroup Permissions
    • Can Have Profile Comments
    • Can Post Profile Comments
    • Can Edit Own Profile Comments
    • Can Delete Own Profile Comments
    • Can Edit Others' Profile Comments in Own Profile
    • Can Delete Others' Profile Comments in Own Profile
    • Can Edit Others' Profile Comments in Others' Profiles
    • Can Delete Others' Profile Comments in Others' Profiles
    • Can Always View Private Profiles
    • Can Set Profile as Private
    • Can Use Custom CSS
    • Can Use Predefined CSS
    • Can View Who Rated Own Profile
    • Can View Who Rated Others' Profiles
    • Can View Who Viewed Own Profile
    • Can View Who Viewed Others' Profiles
    • Count Profile Views by This Group
    • Can Erase Css From Others' Profiles
  • BONUS!
    • Importer for Danny.VBT's Profile Comments system is included.
VERSION HISTORY

2.3.8
The development of the software has been discontinued.
The software has been released at vBulletin.org, and may be freely modified and redistributed, as long as copyright notices are preserved.

2.3.7
[+] Corrected a few issues associated with the new vBulletin releases.

2.3.6
[+] The users' emails are not disclosed anymore in e-mail.
[+] Corrected a couple of miscellaneous bugs, including one with member views.

2.3.5
[+] Redesigned comment editing / deleting permissions.
[+] New feature, which allows viewers to suppress and, if permitted, delete css from users' profiles (new permission: "Can Erase Css From Others' Profiles").
[+] Users can now enable or disable ratings on their profiles.
[+] New feature: "Default Avatar". Can be turned on or off, depending on what is desired.
[F] Corrected a couple of minor template-related bugs.
[F] Corrected a bug that sometimes prevented zodiacs from showing up in users' profiles.

2.3.4
[+] New permission: "count this group's profile views".
[+] Self profile views are now not counted.
[+] Product package fixed for compatibility with 3.6.4.
[F] Corrected invalid popup link in profiles.
[F] Corrected invalid viewer url in "who viewed profile" window.
[F] Added missing who's online phrases.

2.3.3
[+] Who Viewed Profile (w/ Permissions and Delay Between Counted Views)
[F] Corrected a bug, which caused a MySQL error on user save in AdminCP.
[F] Corrected a bug, which consisted of invalid XHTML in headinclude.
[F] Corrected a bug, which caused the same commment number to show on every comment.
[F] Corrected a bug, which consisted of an uncached template in memberinfo.

2.3.2
[+] Who Rated Profile w/ Access Permissions
[+] Member Ratings in Posts
[+] 'Go Back' link on the 'Show All Friends' page
[+] Zodiac Signs are now displayed even for those who chose to only show their age rather than full birthdate.
[+] New registrants now have notifications turned on by default.
[+] Comment Numbers w/ Links to Individual Comments
[+] Flood Control
[F] Comments of deleted users now display [Deleted User] (rather than nothing).
[F] Corrected a minor typo in the version tag.
[F] Corrected a problem with unsearchable links being highlighted.
[F] Corrected a problem with uncached templates.
[F] Notifications now originate from system address, not from person's address.

2.3.1 - Compatible w/ Both vBulletin 3.5 and 3.6! All features from 2.3.0 are here.
[+] The system now sends out notifications when a friend request is either accepted or denied.
[F] Corrected a problem with avatars not being displayed properly when stored in the file system.

2.3.0 - Compatible w/ vBulletin 3.6, Incompatible w/ vBulletin 3.5
[+] Added two new usergroup permission: "Can Use Custom CSS" and "Can Use Predefined CSS".
[+] Added ability to turn Friendster Links on/off.
[+] Added separate profile picture box.
[+] Added ability to turn Friend Request / New Comment e-mail notifications on/off.
[+] Added last update information to Friends List.
[+] New, improved friend request management interface, with avatars and radio buttons (accept / decline / leave for later).
[+] Friends in profile are now displayed in random fashion. Complete list continues to be sorted by userid.
[+] When a new comment is posted, the user gets redirected back to profile, rather than to comment listing.
[+] When a person with access to private profiles views a private profile, an alert, similar to "board offline" is displayed.
[+] Added option to permit Image URLs in CSS. Warning - it is not recommended to turn it on.
[F] Corrected an issue where friendster links did not work correctly with multiple-choice custom fields.
[F] Corrected a minor template error.

2.2.1
[F] Corrected an issue where friendster links did not work correctly with multiple-choice custom fields.
[F] Corrected a couple of minor template errors.

2.2.0 - Evolution Continued!
[+] Avatars are now displayed in comments.
[+] Comments now have a preview option.
[+] Added zodiac signs to memberinfo and postbit.
[+] Pm notification of new comments replaced with e-mail notification.
[+] Profile fields are now highlighted in friendster fashion: keywords become clickable links that can be used for search purposes.
[+] Added "profile last changed" bit to memberinfo.
[+] Added support for custom profile css with preview option and with an admin ability to create pre-defined css templates - and unlike in other systems, malicious javascript cannot be injected.
[F] Corrected a problem with permissions.
[F] Added maintenance suite controls for usergroup permissions.
[F] Corrected a couple of template problems.
[F] Corrected a problem which causes user's avatars to not appear under certain circumstances.

2.1.0 - Evolution Continued!
[+] Added pagination for friend listings.
[+] Added myspace-type "friend requests", with e-mail notification (see screenshots)
[+] Ability to accept/decline incoming requests and cancel outgoing requests.
[+] Comments now use an alternative, more compact template.
[+] Templates that are used by the system are now all prefixed "iprof_" and grouped in the template manager.
[+] Created an importer for Danny.VBT's profile comments system.
[+] Added member profile ratings.

2.0.0 - Evolution from Profile Comments into Interactive Profiles
[+] Added list of Mutual Friends in Profiles (with avatar and online status)
[+] Added ability to set profiles as private (with admincp backup switch)
[+] Added ability to restrict posting of comments to friends only (with admincp backup switch)
[+] Added new comment PM notification
[+] Added navbar "New Comments" Indicator
[+] Enchanced, more compact profile layout (see screenshots)
[+] Added vBulletin options to control the new functionality
[+] vBulletin Options have been moved from "User Profile Comments Options" to "User Interactive Profiles Options"

1.0.0
Initial Release of Profile Comments

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Show Your Support

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

Comments
  #292  
Old 07-30-2007, 05:51 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got that to, i had to upload another style the same and replace the member info and did it all again, worked great on 3.6.5 but errors on test board 3.6.4.
Reply With Quote
  #293  
Old 07-30-2007, 04:55 PM
Selene Selene is offline
 
Join Date: Feb 2005
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So jaycob you are trying to say that i shud revert the memberinfo template, and the add the stuff again , or shud i try upgrading my vb to 3.6.8 cuz ritenow its on .4
Reply With Quote
  #294  
Old 07-30-2007, 09:42 PM
djdonx djdonx is offline
 
Join Date: May 2007
Location: Manchester, England
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Aslong as its on 3.6.x it should work fine, I had the same problem as you can see above ^^ I found out that I just hadn't copied the template edits over properly, I advise that you copy it word for word, a common mistake is replacing
Quote:
<tr>
<td class="tcat" width="50%">$vbphrase[forum_info]</td>
<td class="tcat" width="50%">$vbphrase[contact_info]</td>
</tr>
with
Quote:
<tr>
<td class="tcat">$vbphrase[forum_info]</td>
</tr>
As you may or may not have realised the percentage is removed so many people just take off the second line, making it not show up properly.
Reply With Quote
  #295  
Old 08-01-2007, 11:55 AM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could not find the following text in my member.php

Code:
ON VBULLETIN 3.6.6 AND ABOVE:
---------------------------------------

SELECT pf.profilefieldid

---------------------------------------
ON VBULLETIN 3.6.5 AND BELOW:
---------------------------------------

SELECT profilefieldid
I am using 3.6.5 and I can no longer upgrade it.
Reply With Quote
  #296  
Old 08-01-2007, 12:06 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Invalid ID View Post
I could not find the following text in my member.php

Code:
ON VBULLETIN 3.6.6 AND ABOVE:
---------------------------------------

SELECT pf.profilefieldid

---------------------------------------
ON VBULLETIN 3.6.5 AND BELOW:
---------------------------------------

SELECT profilefieldid
I am using 3.6.5 and I can no longer upgrade it.
I don't think that file edit has much effect unless you want user fields to be searchable on click for what the members have entered. Because I never re applied it (with 3.6.8) and nothing seems to have happened or gone wrong.

You could always show someone your member.php file though, so users here can try and help.
Reply With Quote
  #297  
Old 08-02-2007, 03:43 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your reply... I am posting my member.php in three parts, as it's too big to appear in one post:

First Part of member.php

Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.6.5 - Licence Number
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000-2007 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'member');
define('BYPASS_STYLE_OVERRIDE', 1);

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
	'wol',
	'user',
	'messaging',
	'cprofilefield',
	'reputationlevel',
	'infractionlevel',
);

// get special data templates from the datastore
$specialtemplates = array(
	'smiliecache',
	'bbcodecache'
);

// pre-cache templates used by all actions
$globaltemplates = array(
	'MEMBERINFO',
	'memberinfo_customfields',
	'memberinfo_membergroupbit',
	'im_aim',
	'im_icq',
	'im_msn',
	'im_yahoo',
	'im_skype',
	'bbcode_code',
	'bbcode_html',
	'bbcode_php',
	'bbcode_quote',
	'postbit_reputation',
	'postbit_onlinestatus',
	'userfield_checkbox_option',
	'userfield_select_option',
	'userinfraction_infobit'
);

// pre-cache templates used by specific actions
$actiontemplates = array();

if ($_REQUEST['do'] == 'vcard') // don't alter this $_REQUEST
{
	define('NOHEADER', 1);
}

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(DIR . '/includes/class_postbit.php');
require_once(DIR . '/includes/functions_user.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################

if (!($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canviewmembers']))
{
	print_no_permission();
}


$vbulletin->input->clean_array_gpc('r', array(
	'find' => TYPE_STR,
	'moderatorid' => TYPE_UINT,
	'userid' => TYPE_UINT,
	'username' => TYPE_NOHTML
));

($hook = vBulletinHook::fetch_hook('member_start')) ? eval($hook) : false;

if ($vbulletin->GPC['find'] == 'firstposter' AND $threadinfo['threadid'])
{
	if ((!$threadinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts')) OR ($threadinfo['isdeleted'] AND !can_moderate($threadinfo['forumid'])))
	{
		eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
	}
	if (in_coventry($threadinfo['postuserid']) AND !can_moderate($threadinfo['forumid']))
	{
		eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
	}

	$forumperms = fetch_permissions($threadinfo['forumid']);
	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
	{
		print_no_permission();
	}
	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
	{
		print_no_permission();
	}

	$vbulletin->GPC['userid'] = $threadinfo['postuserid'];
}
else if ($vbulletin->GPC['find'] == 'lastposter' AND $threadinfo['threadid'])
{
	if ((!$threadinfo['visible'] AND !can_moderate($threadinfo['forumid'], 'canmoderateposts')) OR ($threadinfo['isdeleted'] AND !can_moderate($threadinfo['forumid'])))
	{
		eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
	}
	if (in_coventry($threadinfo['postuserid']) AND !can_moderate($threadinfo['forumid']))
	{
		eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
	}

	$forumperms = fetch_permissions($threadinfo['forumid']);
	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
	{
		print_no_permission();
	}
	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
	{
		print_no_permission();
	}

	require_once(DIR . '/includes/functions_bigthree.php');
	$coventry = fetch_coventry('string');

	$getuserid = $db->query_first_slave("
		SELECT post.userid
		FROM " . TABLE_PREFIX . "post AS post
		WHERE post.threadid = $threadinfo[threadid]
			AND post.visible = 1
			". ($coventry ? "AND post.userid NOT IN ($coventry)" : '') . "
		ORDER BY dateline DESC
		LIMIT 1
	");
	$vbulletin->GPC['userid'] = $getuserid['userid'];
}
else if ($vbulletin->GPC['find'] == 'lastposter' AND $foruminfo['forumid'])
{
	$_permsgetter_ = 'lastposter fperms';
	$forumperms = fetch_permissions($foruminfo['forumid']);
	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
	{
		print_no_permission();
	}

	if ($vbulletin->userinfo['userid'] AND in_coventry($vbulletin->userinfo['userid'], true))
	{
		$tachyjoin = "LEFT JOIN " . TABLE_PREFIX . "tachythreadpost AS tachythreadpost ON " .
			"(tachythreadpost.threadid = thread.threadid AND tachythreadpost.userid = " . $vbulletin->userinfo['userid'] . ')';
	}
	else
	{
		$tachyjoin = '';
	}

	// check if there is a forum password and if so, ensure the user has it set
	verify_forum_password($foruminfo['forumid'], $foruminfo['password']);

	require_once(DIR . '/includes/functions_misc.php');
	$forumslist = $forumid . ',' . fetch_child_forums($foruminfo['forumid']);

	require_once(DIR . '/includes/functions_bigthree.php');
	// this isn't including moderator checks, because the last post checks don't either
	if ($coventry = fetch_coventry('string')) // takes self into account
	{
		$globalignore_post = "AND post.userid NOT IN ($coventry)";
		$globalignore_thread = "AND thread.postuserid NOT IN ($coventry)";
	}
	else
	{
		$globalignore_post = '';
		$globalignore_thread = '';
	}

	cache_ordered_forums(1);

	$datecutoff = $vbulletin->forumcache["$foruminfo[forumid]"]['lastpost'] - 30;

	$thread = $db->query_first_slave("
		SELECT thread.threadid
			" . ($tachyjoin ? ', IF(tachythreadpost.lastpost > thread.lastpost, tachythreadpost.lastpost, thread.lastpost) AS lastpost' : '') . "
		FROM " . TABLE_PREFIX . "thread AS thread
		$tachyjoin
		WHERE thread.forumid IN ($forumslist)
			AND thread.visible = 1
			AND thread.sticky IN (0,1)
			AND thread.open <> 10
			" . (!$tachyjoin ? "AND lastpost > $datecutoff" : '') . "
			$globalignore_thread
		ORDER BY lastpost DESC
		LIMIT 1
	");

	if (!$thread)
	{
		eval(standard_error(fetch_error('invalidid', $vbphrase['user'], $vbulletin->options['contactuslink'])));
	}

	$getuserid = $db->query_first_slave("
		SELECT post.userid
		FROM " . TABLE_PREFIX . "post AS post
		WHERE threadid = $thread[threadid]
			AND visible = 1
			$globalignore_post
		ORDER BY dateline DESC
		LIMIT 1
	");

	if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($getuserid['userid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
	{
		print_no_permission();
	}

	$vbulletin->GPC['userid'] = $getuserid['userid'];
}
else if ($vbulletin->GPC['find'] == 'moderator' AND $vbulletin->GPC['moderatorid'])
{
	$moderatorinfo = verify_id('moderator', $vbulletin->GPC['moderatorid'], 1, 1);
	$vbulletin->GPC['userid'] = $moderatorinfo['userid'];
}
else if ($vbulletin->GPC['username'] != '' AND !$vbulletin->GPC['userid'])
{
	$user = $db->query_first_slave("SELECT userid FROM " . TABLE_PREFIX . "user WHERE username = '" . $db->escape_string($vbulletin->GPC['username']) . "'");
	$vbulletin->GPC['userid'] = $user['userid'];
}

if (!$vbulletin->GPC['userid'])
{
	eval(standard_error(fetch_error('unregistereduser')));
}

$userinfo = verify_id('user', $vbulletin->GPC['userid'], 1, 1, 47);

if ($userinfo['usergroupid'] == 4 AND !($permissions['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
{
	print_no_permission();
}

if ($_REQUEST['do'] == 'vcard' AND $vbulletin->userinfo['userid'] AND $userinfo['showvcard'])
{
	// source: http://www.ietf.org/rfc/rfc2426.txt
	$text = "BEGIN:VCARD\r\n";
	$text .= "VERSION:2.1\r\n";
	$text .= "N:;$userinfo[username]\r\n";
	$text .= "FN:$userinfo[username]\r\n";
	$text .= "EMAIL;PREF;INTERNET:$userinfo[email]\r\n";
	if (!empty($userinfo['birthday'][7]) AND $userinfo['showbirthday'] == 2)
	{
		$birthday = explode('-', $userinfo['birthday']);
		$text .= "BDAY:$birthday[2]-$birthday[0]-$birthday[1]\r\n";
	}
	if (!empty($userinfo['homepage']))
	{
		$text .= "URL:$userinfo[homepage]\r\n";
	}
	$text .= 'REV:' . date('Y-m-d') . 'T' . date('H:i:s') . "Z\r\n";
	$text .= "END:VCARD\r\n";

	$filename = $userinfo['userid'] . '.vcf';

	header("Content-Disposition: attachment; filename=$filename");
	header('Content-Length: ' . strlen($text));
	header('Connection: close');
	header("Content-Type: text/x-vCard; name=$filename");
	echo $text;
	exit;
}

// display user info

$userperms = cache_permissions($userinfo, false);

if ($userperms['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canbeusernoted'])
{
	# User has permission to view self or others
	if
		(
				($userinfo['userid'] == $vbulletin->userinfo['userid'] AND $permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canviewownusernotes'])
			OR 	($userinfo['userid'] != $vbulletin->userinfo['userid'] AND $permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canviewothersusernotes'])
		)
	{
		$show['usernotes'] = true;
		$usernote = $db->query_first_slave("
			SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
			FROM " . TABLE_PREFIX . "usernote AS usernote
			WHERE userid = $userinfo[userid]
		");
		$show['usernoteview'] = intval($usernote['total']) ? true : false;

		$usernote['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $usernote['lastpost'], true);
		$usernote['lastposttime'] = vbdate($vbulletin->options['timeformat'], $usernote['lastpost'], true);
	}
	# User has permission to post about self or others

	if
		(
				($userinfo['userid'] == $vbulletin->userinfo['userid'] AND $permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canpostownusernotes'])
			OR 	($userinfo['userid'] != $vbulletin->userinfo['userid'] AND $permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canpostothersusernotes'])
		)
	{
		$show['usernotes'] = true;
		$show['usernotepost'] = true;
	}
}
Reply With Quote
  #298  
Old 08-02-2007, 03:48 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, double post
Reply With Quote
  #299  
Old 08-02-2007, 03:52 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Second part of member.php

Code:
// PROFILE PIC
$show['profilepic'] = ($vbulletin->options['profilepicenabled'] AND $userinfo['profilepic'] AND ($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseeprofilepic'] OR $vbulletin->userinfo['userid'] == $userinfo['userid']) AND ($userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canprofilepic'] OR $userinfo['adminprofilepic'])) ? true : false;

if ($vbulletin->options['usefileavatar'])
{
	$userinfo['profilepicurl'] = $vbulletin->options['profilepicurl'] . '/profilepic' . $userinfo['userid'] . '_' . $userinfo['profilepicrevision'] . '.gif';
}
else
{
	$userinfo['profilepicurl'] = 'image.php?' . $vbulletin->session->vars['sessionurl'] . 'u=' . $userinfo['userid'] . "&amp;dateline=$userinfo[profilepicdateline]&amp;type=profile";
}

if ($userinfo['ppwidth'] AND $userinfo['ppheight'])
{
	$userinfo['profilepicsize'] = " width=\"$userinfo[ppwidth]\" height=\"$userinfo[ppheight]\" ";
}

// LAST ACTIVITY AND LAST VISIT
if (!$userinfo['invisible'] OR ($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehidden']) OR $userinfo['userid'] == $vbulletin->userinfo['userid'])
{
	$show['lastactivity'] = true;
	$userinfo['lastactivitydate'] = vbdate($vbulletin->options['dateformat'], $userinfo['lastactivity'], true);
	$userinfo['lastactivitytime'] = vbdate($vbulletin->options['timeformat'], $userinfo['lastactivity'], true);
}
else
{
	$show['lastactivity'] = false;
	$userinfo['lastactivitydate'] = '';
	$userinfo['lastactivitytime'] = '';
}

// Get Rank
$post =& $userinfo;

// JOIN DATE & POSTS PER DAY
$userinfo['datejoined'] = vbdate($vbulletin->options['dateformat'], $userinfo['joindate']);
$jointime = (TIMENOW - $userinfo['joindate']) / 86400; // Days Joined
if ($jointime < 1)
{ // User has been a member for less than one day.
	$userinfo['posts'] = vb_number_format($userinfo['posts']);
	$postsperday = $userinfo['posts'];
}
else
{
	$postsperday = vb_number_format($userinfo['posts'] / $jointime, 2);
	$userinfo['posts'] = vb_number_format($userinfo['posts']);
}

// EMAIL
$show['email'] = ($vbulletin->options['enableemail'] AND $vbulletin->options['displayemails'] AND $vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canemailmember']) ? true : false;

// HOMEPAGE
$show['homepage'] = ($userinfo['homepage'] != 'http://' AND $userinfo['homepage'] != '') ? true : false;

// PRIVATE MESSAGE
$show['pm'] = ($vbulletin->options['enablepms'] AND $vbulletin->userinfo['permissions']['pmquota'] AND ($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']
	 					OR ($userinfo['receivepm'] AND $userperms['pmquota']
	 						AND (!$userinfo['receivepmbuddies'] OR can_moderate() OR strpos(" $userinfo[buddylist] ", ' ' . $vbulletin->userinfo['userid'] . ' ') !== false))
	 				)) ? true : false;

// IM icons
construct_im_icons($userinfo, true);
if (!$vbulletin->options['showimicons'])
{
	$show['textimicons'] = true;
}

// AVATAR
$avatarurl = fetch_avatar_url($userinfo['userid']);

if ($avatarurl == '' OR !$vbulletin->options['avatarenabled'] OR ($avatarurl['hascustom'] AND !($userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canuseavatar']) AND !$userinfo['adminavatar']))
{
	$show['avatar'] = false;
}
else
{
	$show['avatar'] = true;
	$userinfo['avatarsize'] = $avatarurl[1];
	$userinfo['avatarurl'] = $avatarurl[0];
}

$show['lastpost'] = false;
// GET LAST POST
if ($vbulletin->options['profilelastpost'] AND $userinfo['lastpost'])
{
	if (!in_coventry($userinfo['userid']))
	{
		if ($userinfo['lastpostid'] AND $getlastpost = $db->query_first_slave("
			SELECT thread.title, thread.threadid, thread.forumid, post.postid, post.dateline
			FROM " . TABLE_PREFIX . "post AS post
			INNER JOIN " . TABLE_PREFIX . "thread AS thread USING (threadid)
			WHERE post.postid = $userinfo[lastpostid]
				AND post.visible = 1
				AND thread.visible = 1
		"))
		{
			$getperms = fetch_permissions($getlastpost['forumid']);
			if ($getperms & $vbulletin->bf_ugp_forumpermissions['canview'])
			{
				$show['lastpost'] = true;
				$userinfo['lastposttitle'] = $getlastpost['title'];
				$userinfo['lastposturl'] = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$getlastpost[postid]#post$getlastpost[postid]";
				$userinfo['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $getlastpost['dateline'], true);
				$userinfo['lastposttime'] = vbdate($vbulletin->options['timeformat'], $getlastpost['dateline']);
			}
		}

		if (!$show['lastpost'])
		{
			$getlastposts = $db->query_read_slave("
				SELECT thread.title, thread.threadid, thread.forumid, post.postid, post.dateline
				FROM " . TABLE_PREFIX . "post AS post
				INNER JOIN " . TABLE_PREFIX . "thread AS thread USING (threadid)
				WHERE thread.visible = 1
					AND post.userid =  $userinfo[userid]
					AND post.visible = 1
				ORDER BY post.dateline DESC
				LIMIT 20
			");
			while ($getlastpost = $db->fetch_array($getlastposts))
			{
				$getperms = fetch_permissions($getlastpost['forumid']);
				if ($getperms & $vbulletin->bf_ugp_forumpermissions['canview'])
				{
					$show['lastpost'] = true;
					$userinfo['lastposttitle'] = $getlastpost['title'];
					$userinfo['lastposturl'] = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$getlastpost[postid]#post$getlastpost[postid]";
					$userinfo['lastpostdate'] = vbdate($vbulletin->options['dateformat'], $getlastpost['dateline'], true);
					$userinfo['lastposttime'] = vbdate($vbulletin->options['timeformat'], $getlastpost['dateline']);
					break;
				}
			}
		}
	}

	if (!$show['lastpost'])
	{
		$show['lastpost'] = true;
		$userinfo['lastposttitle'] = '';
		$userinfo['lastposturl'] = '#';
		$userinfo['lastpostdate'] = $vbphrase['never'];
		$userinfo['lastposttime'] = '';
	}
}

// reputation
fetch_reputation_image($userinfo, $userperms);

// signature
if ($userinfo['signature'] AND $userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canusesignature'])
{
	require_once(DIR . '/includes/class_bbcode.php');
	$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
	$bbcode_parser->set_parse_userinfo($userinfo, $userperms);
	$userinfo['signature'] = $bbcode_parser->parse($userinfo['signature'], 'signature');

	$show['signature'] = true;
}
else
{
	$show['signature'] = false;
}

// REFERRALS
if ($vbulletin->options['usereferrer'])
{
	$refcount = $db->query_first_slave("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid = $userinfo[userid]");
	$referrals = vb_number_format($refcount['count']);
}

// extra info panel
$show['extrainfo'] = false;

// BIRTHDAY
// Set birthday fields right here!
if ($userinfo['birthday'] AND $userinfo['showbirthday'] > 0)
{
	$bday = explode('-', $userinfo['birthday']);

	$year = vbdate('Y', TIMENOW, false, false);
	$month = vbdate('n', TIMENOW, false, false);
	$day = vbdate('j', TIMENOW, false, false);
	if ($year > $bday[2] AND $bday[2] != '0000')
	{
		$userinfo['age'] = $year - $bday[2];
		if ($month < $bday[0] OR ($month == $bday[0] AND $day < $bday[1]))
		{
			$userinfo['age']--;
		}

		if ($userinfo['age'] > 101)
		{	// why can't we have 102 year old forum users?
			$show['age'] = false;
		}
		else
		{
			$show['age'] = true;
			$show['extrainfo'] = true;
		}
	}

	if ($userinfo['showbirthday'] == 2)
	{
		if ($year > $bday[2] AND $bday[2] > 1901 AND $bday[2] != '0000')
		{
			require_once(DIR . '/includes/functions_misc.php');
			$vbulletin->options['calformat1'] = mktimefix($vbulletin->options['calformat1'], $bday[2]);
			if ($bday[2] >= 1970)
			{
				$yearpass = $bday[2];
			}
			else
			{
				// day of the week patterns repeat every 28 years, so
				// find the first year >= 1970 that has this pattern
				$yearpass = $bday[2] + 28 * ceil((1970 - $bday[2]) / 28);
			}
			$userinfo['birthday'] = vbdate($vbulletin->options['calformat1'], mktime(0, 0, 0, $bday[0], $bday[1], $yearpass), false, true, false);
		}
		else
		{
			// lets send a valid year as some PHP3 don't like year to be 0
			$userinfo['birthday'] = vbdate($vbulletin->options['calformat2'], mktime(0, 0, 0, $bday[0], $bday[1], 1992), false, true, false);
		}
		if ($userinfo['birthday'] == '')
		{
			if ($bday[2] == '0000')
			{
				$userinfo['birthday'] = "$bday[0]-$bday[1]";
			}
			else
			{
				$userinfo['birthday'] = "$bday[0]-$bday[1]-$bday[2]";
			}
		}
		$show['extrainfo'] = true;
		$show['birthday'] = true;
	}
	else
	{
		$show['birthday'] = false;
	}
}
Reply With Quote
  #300  
Old 08-02-2007, 03:53 PM
Invalid ID's Avatar
Invalid ID Invalid ID is offline
 
Join Date: Apr 2006
Location: Karachi. Pakistan
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Third and last part of member.php

Code:
// *********************
// CUSTOM PROFILE FIELDS
$profilefields = $db->query_read_slave("
	SELECT profilefieldid, required, type, data, def, height
	FROM " . TABLE_PREFIX . "profilefield
	WHERE form = 0 " . iif(!($permissions['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canseehiddencustomfields']), "
		AND hidden = 0") . "
	ORDER BY displayorder
");

$search = array(
	'#(\r\n|\n|\r)#',
	'#(<br />){3,}#', // Replace 3 or more <br /> with two <br />
);
$replace = array(
	'<br />',
	'<br /><br />',
);

$customfields = '';
while ($profilefield = $db->fetch_array($profilefields))
{
	exec_switch_bg();
	$profilefieldname = "field$profilefield[profilefieldid]";
	$profilefield['title'] = $vbphrase[$profilefieldname . '_title'];

	if ($profilefield['type'] == 'checkbox' OR $profilefield['type'] == 'select_multiple')
	{
		$data = unserialize($profilefield['data']);
		foreach ($data AS $key => $val)
		{
			if ($userinfo["$profilefieldname"] & pow(2, $key))
			{
				$profilefield['value'] .= iif($profilefield['value'], ', ') . $val;
			}
		}
	}
	else if ($profilefield['type'] == 'textarea')
	{
		$profilefield['value'] = preg_replace($search, $replace, trim($userinfo["$profilefieldname"]));
	}
	else
	{
		$profilefield['value'] = $userinfo["$profilefieldname"];
	}

	($hook = vBulletinHook::fetch_hook('member_customfields')) ? eval($hook) : false;

	if ($profilefield['value'] != '')
	{
		$show['extrainfo'] = true;
		eval('$customfields .= "' . fetch_template('memberinfo_customfields') . '";');
	}

}
// END CUSTOM PROFILE FIELDS
// *************************

// User Infractions
if ($vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canreverseinfraction']
	OR $vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cangiveinfraction']
	OR $userinfo['userid'] == $vbulletin->userinfo['userid'])
{

	($hook = vBulletinHook::fetch_hook('member_infraction_start')) ? eval($hook) : false;

	$perpage = $vbulletin->input->clean_gpc('r', 'perpage', TYPE_UINT);
	$pagenumber = $vbulletin->input->clean_gpc('r', 'pagenumber', TYPE_UINT);

	$totalinfractions = $db->query_first_slave("
		SELECT COUNT(*) AS count
		FROM " . TABLE_PREFIX . "infraction AS infraction
		LEFT JOIN " . TABLE_PREFIX . "post AS post ON (infraction.postid = post.postid)
		LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
		WHERE infraction.userid = $userinfo[userid]
	");

	// set defaults
	sanitize_pageresults($totalinfractions['count'], $pagenumber, $perpage, 100, 5);
	$limitlower = ($pagenumber - 1) * $perpage + 1;
	$limitupper = $pagenumber * $perpage;
	if ($limitupper > $totalinfractions['count'])
	{
		$limitupper = $totalinfractions['count'];
		if ($limitlower > $totalinfractions['count'])
		{
			$limitlower = $totalinfractions['count'] - $perpage;
		}
	}
	if ($limitlower <= 0)
	{
		$limitlower = 1;
	}

	$colspan = 7;
	if ($userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canreverseinfraction'])
	{
		$show['reverse'] = true;
		$colspan++;
	}

	require_once(DIR . '/includes/class_bbcode.php');
	$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

	$infractions = $db->query_read_slave("
		SELECT infraction.*, thread.title, user.username, thread.visible AS thread_visible, post.visible,
			forumid, postuserid, IF(ISNULL(post.postid) AND infraction.postid != 0, 1, 0) AS postdeleted
		FROM " . TABLE_PREFIX . "infraction AS infraction
		LEFT JOIN " . TABLE_PREFIX . "post AS post ON (infraction.postid = post.postid)
		LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
		INNER JOIN " . TABLE_PREFIX . "user AS user ON (infraction.whoadded = user.userid)
		WHERE infraction.userid = $userinfo[userid]
		ORDER BY infraction.dateline DESC
		LIMIT " . ($limitlower - 1) . ", $perpage
	");
	while ($infraction = $db->fetch_array($infractions))
	{
		$show['expired'] = $show['reversed'] = $show['neverexpires'] = false;
		$card = ($infraction['points'] > 0) ? 'redcard' : 'yellowcard';
		$infraction['timeline'] = vbdate($vbulletin->options['timeformat'], $infraction['dateline']);
		$infraction['dateline'] = vbdate($vbulletin->options['dateformat'], $infraction['dateline']);
		switch($infraction['action'])
		{
			case 0:
				if ($infraction['expires'] != 0)
				{
					$infraction['expires_timeline'] = vbdate($vbulletin->options['timeformat'], $infraction['expires']);
					$infraction['expires_dateline'] = vbdate($vbulletin->options['dateformat'], $infraction['expires']);
					$show['neverexpires'] = false;
				}
				else
				{
					$show['neverexpires'] = true;
				}
				break;
			case 1:
				$show['expired'] = true;
				break;
			case 2:
				$show['reversed'] = true;
				break;
		}
		if (vbstrlen($infraction['title']) > 25)
		{
			$infraction['title'] = fetch_trimmed_title($infraction['title'], 24);
		}
		$infraction['reason'] = !empty($vbphrase['infractionlevel' . $infraction['infractionlevelid'] . '_title']) ? $vbphrase['infractionlevel' . $infraction['infractionlevelid'] . '_title'] : ($infraction['customreason'] ? $infraction['customreason'] : $vbphrase['n_a']);

		$show['threadtitle'] = true;
		$show['postdeleted'] = false;
		if ($infraction['postid'] != 0)
		{
			if ($infraction['postdeleted'])
			{
				$show['postdeleted'] = true;
			}
			else if ((!$infraction['visible'] OR !$infraction['thread_visible']) AND !can_moderate($infraction['forumid'], 'canmoderateposts'))
			{
				$show['threadtitle'] = false;
			}
			else if (($infraction['visible'] == 2 OR $infraction['thread_visible'] == 2) AND !can_moderate($infraction['forumid'], 'candeleteposts'))
			{
				$show['threadtitle'] = false;
			}
			else
			{
				$forumperms = fetch_permissions($infraction['forumid']);
				if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']))
				{
					$show['threadtitle'] = false;
				}
				if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($infraction['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
				{
					$show['threadtitle'] = false;
				}
			}
		}

		($hook = vBulletinHook::fetch_hook('member_infractionbit')) ? eval($hook) : false;

		eval('$infractionbits .= "' . fetch_template('userinfraction_infobit') . '";');
		$show['infractions'] = true;
	}
	unset($bbcode_parser);

	$show['giveinfraction'] = (
			// Must have 'cangiveinfraction' permission. Branch dies right here majority of the time
			$vbulletin->userinfo['permissions']['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cangiveinfraction']
			// Can not give yourself an infraction
			AND $userinfo['userid'] != $vbulletin->userinfo['userid']
			// Can not give an infraction to a post that already has one
			// Can not give an admin an infraction
			AND !($userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'])
			// Only Admins can give a supermod an infraction
			AND (
				!($userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['ismoderator'])
				OR $vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']
			)
		);

	$pagenav = construct_page_nav($pagenumber, $perpage, $totalinfractions['count'], 'member.php?' . $vbulletin->session->vars['sessionurl'] . "u=$userinfo[userid]"
	. (!empty($vbulletin->GPC['perpage']) ? "&amp;pp=$perpage" : "")
	);

	($hook = vBulletinHook::fetch_hook('member_infraction_complete')) ? eval($hook) : false;
}

require_once(DIR . '/includes/functions_bigthree.php');
fetch_online_status($userinfo, true);

$buddylist = explode(' ', trim($vbulletin->userinfo['buddylist']));
$ignorelist = explode(' ', trim($vbulletin->userinfo['ignorelist']));
if (!in_array($userinfo['userid'], $ignorelist))
{
	$show['addignorelist'] = true;
}
else
{
	$show['addignorelist'] = false;
}
if (!in_array($userinfo['userid'], $buddylist))
{
	$show['addbuddylist'] = true;
}
else
{
	$show['addbuddylist'] = false;
}

// Used in template conditional
if ($vbulletin->options['WOLenable'] AND $userinfo['action'] AND $permissions['wolpermissions'] & $vbulletin->bf_ugp_wolpermissions['canwhosonline'])
{
	$show['currentlocation'] = true;
}

// get IDs of all member groups
$membergroups = fetch_membergroupids_array($userinfo);

$membergroupbits = '';
foreach ($membergroups AS $usergroupid)
{
	$usergroup =& $vbulletin->usergroupcache["$usergroupid"];
	if ($usergroup['ispublicgroup'])
	{
		exec_switch_bg();
		eval('$membergroupbits .= "' . fetch_template('memberinfo_membergroupbit') . '";');
	}
}

$show['membergroups'] = iif($membergroupbits != '', true, false);
$show['profilelinks'] = iif($show['member'] OR $userinfo['showvcard'] OR $show['giveinfraction'], true, false);
$show['contactlinks'] = iif($show['email'] OR $show['pm'] OR $show['homepage'] OR $show['hasimicons'], true, false);

$navbits = construct_navbits(array(
	'member.php?' . $vbulletin->session->vars['sessionurl'] . "u=$userinfo[userid]" => $vbphrase['view_profile'],
	'' => $userinfo['username']
));
eval('$navbar = "' . fetch_template('navbar') . '";');

$bgclass = 'alt2';
$bgclass1 = 'alt1';

$templatename = iif($quick, 'memberinfo_quick', 'MEMBERINFO');

($hook = vBulletinHook::fetch_hook('member_complete')) ? eval($hook) : false;

eval('print_output("' . fetch_template($templatename) . '");');

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 01:04, Sun Mar 4th 2007
|| # CVS: $RCSfile$ - $Revision: 15529 $
|| ####################################################################
\*======================================================================*/
?>
Reply With Quote
  #301  
Old 08-03-2007, 01:45 AM
Gottcha Gottcha is offline
 
Join Date: Oct 2004
Location: NY
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

usergroup permissions arent saving ... any ideas why this would be happening
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 02:21 PM.


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.06279 seconds
  • Memory Usage 2,409KB
  • Queries Executed 25 (?)
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
  • (2)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