Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > uCash & uShop
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
User Profile error Details »»
User Profile error
Version: , by CaitSith4343 CaitSith4343 is offline
Developer Last Online: Dec 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-09-2005 Last Update: Never Installs: 0
 
No support by the author.

I dont really know where this belongs but I will post it here because the file in question was altered when I installed this mod. Anyways, whenever I try and click on one of my members profile, I just get a page with a ton of text and code on it. Whats that problem?

Thanks,
CaitSith4343

Show Your Support

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

Comments
  #2  
Old 06-10-2005, 06:59 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would really need to provide more information if you want someone to be able to help you.

Please post a copy of the text and code you are getting.
Reply With Quote
  #3  
Old 06-10-2005, 05:18 PM
CaitSith4343 CaitSith4343 is offline
 
Join Date: Jun 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a bunch of code from the site after I click on someone's username. I edited my license # out because I wasnt sure if that was a securtiy risk of not.



/*================================================= =====================*\ || ################################################## ################## || || # vBulletin 3.0.7 - Licence Number EDITED|| # ---------------------------------------------------------------- # || || # Copyright ?2000?2005 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('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'member'); define('BYPASS_STYLE_OVERRIDE', 1); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array('wol', 'user'); // get special data templates from the datastore $specialtemplates = array( 'smiliecache', 'bbcodecache', 'rankphp' ); // pre-cache templates used by all actions $globaltemplates = array( 'MEMBERINFO', 'memberinfo_customfields', 'memberinfo_membergroupbit', 'im_aim', 'im_icq', 'im_msn', 'im_yahoo', 'bbcode_code', 'bbcode_html', 'bbcode_php', 'bbcode_quote', 'postbit_reputation', 'userfield_checkbox_option', 'userfield_select_option' ); // pre-cache templates used by specific actions $actiontemplates = array(); if ($_REQUEST['do'] == 'vcard') { $noheader = 1; } // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); require_once('./includes/functions_showthread.php'); require_once('./includes/functions_user.php'); // ################################################## ##################### // ######################## START MAIN SCRIPT ############################ // ################################################## ##################### if (!($permissions['forumpermissions'] & CANVIEW) OR !($permissions['genericpermissions'] & CANVIEWMEMBERS)) { print_no_permission(); } /* if ($_REQUEST['do'] == 'quickinfo') { $quick = true; } else { $quick = false; } */ globalize($_REQUEST, array( 'find' => STR, 'threadid' => INT, 'forumid' => INT, 'moderatorid' => INT, 'userid' => INT, 'username' => STR )); if ($find == 'firstposter' AND $threadid) { $threadinfo = verify_id('thread', $threadid, 1, 1); if (!$threadinfo['visible'] OR $threadinfo['isdeleted']) { $idname = $vbphrase['thread']; eval(print_standard_error('error_invalidid')); } $userid = $threadinfo['postuserid']; } else if ($find == 'lastposter' AND $threadid) { $threadinfo = verify_id('thread', $threadid, 1, 1); if (!$threadinfo['visible'] OR $threadinfo['isdeleted']) { $idname = $vbphrase['thread']; eval(print_standard_error('error_invalidid')); } $getuserid = $DB_site->query_first(" SELECT post.userid FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND deletionlog.type = 'post') WHERE threadid = $threadinfo[threadid] AND visible = 1 AND deletionlog.primaryid IS NULL ORDER BY dateline DESC LIMIT 1 "); $userid = $getuserid['userid']; } else if ($find == 'lastposter' AND $forumid) { $foruminfo = verify_id('forum', $forumid, 1, 1); $forumid = $foruminfo['forumid']; // prevent a small backdoor where anyone could see who the last poster in ANY forum was $_permsgetter_ = 'lastposter fperms'; $forumperms = fetch_permissions($forumid); if (!($forumperms & CANVIEW)) { print_no_permission(); } // 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('./includes/functions_misc.php'); $forumslist = $forumid . ',' . fetch_child_forums($forumid); $thread = $DB_site->query_first(" SELECT threadid FROM " . TABLE_PREFIX . "thread AS thread LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = thread.threadid AND type = 'thread') WHERE forumid IN ($forumslist) AND visible = 1 AND (sticky = 1 OR sticky = 0) AND lastpost >= " . ($foruminfo['lastpost'] - 30) . " AND open <> 10 AND deletionlog.primaryid IS NULL ORDER BY lastpost DESC LIMIT 1 "); if (!$thread) { $idname = $vbphrase['user']; eval(print_standard_error('error_invalidid')); } $getuserid = $DB_site->query_first(" SELECT post.userid FROM " . TABLE_PREFIX . "post AS post LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND deletionlog.type = 'post') WHERE threadid = $thread[threadid] AND visible = 1 AND deletionlog.primaryid IS NULL ORDER BY dateline DESC LIMIT 1 "); $userid = $getuserid['userid']; } else if ($find == 'moderator' AND $moderatorid) { $moderatorinfo = verify_id('moderator', $moderatorid, 1, 1); $userid = $moderatorinfo['userid']; } else if ($username != '' AND $userid == 0) { $user = $DB_site->query_first("SELECT userid FROM " . TABLE_PREFIX . "user WHERE username = '" . addslashes(htmlspecialchars_uni($username)) . "'"); $userid = $user['userid']; } if (!$userid) { eval(print_standard_error('error_unregistereduser' )); } $userinfo = verify_id('user', $userid, 1, 1, 15); if ($userinfo['usergroupid'] == 4 && !($permissions['adminpermissions'] & CANCONTROLPANEL)) { print_no_permission(); } if ($_REQUEST['do'] == 'vcard' AND $bbuserinfo['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])) { $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 ((($userid == $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOWNUSERNOTES) OR ($userid != $bbuserinfo['userid'] AND $permissions['genericpermissions'] & CANVIEWOTHERSUSERNOTES)) AND $userperms['genericpermissions'] & CANBEUSERNOTED) { $show['usernotes'] = true; $usernote = $DB_site->query_first(" SELECT MAX(dateline) AS lastpost, COUNT(*) AS total FROM " . TABLE_PREFIX . "usernote AS usernote WHERE userid = $userinfo[userid] "); $show['usernotetotal'] = iif($usernote['total'], true, false); $usernote['lastpostdate'] = vbdate($vboptions['dateformat'], $usernote['lastpost'], true); $usernote['lastposttime'] = vbdate($vboptions['timeformat'], $usernote['lastpost'], true); } else { $show['usernotes'] = false; } // PROFILE PIC $show['profilepic'] = iif($userinfo['profilepic'] AND ($permissions['genericpermissions'] & CANSEEPROFILEPIC OR $bbuserinfo['userid'] == $userinfo['userid']), true, false); // CUSTOM TITLE if ($userinfo['customtitle'] == 2) { $userinfo['usertitle'] = htmlspecialchars_uni($userinfo['usertitle']); } // LAST ACTIVITY AND LAST VISIT if (!$userinfo['invisible'] OR ($permissions['genericpermissions'] & CANSEEHIDDEN) OR $userinfo['userid'] == $bbuserinfo['userid']) { $show['lastactivity'
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:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04805 seconds
  • Memory Usage 2,218KB
  • Queries Executed 16 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete