TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 198
  • Total: 198

Won't Let Me Delete Post - Problem Solved - Lost Profiles

Started by Athanasia, September 25, 2007, 10:09:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Athanasia

*******   I checked the file in question and found that it was corrupted somehow....Half the code was gone???....Anyway all is well....Please disregard this post  *********

I am new to SMF and Tiny Portal...I've always used Integramod and I've become very disappointed with Integramod....So I decided to try this and so far I love it and haven't had any problems installing anything except now....Here's the deal....

I had to perform a manual install.  When the instructions told me to do the following:

In Profile.php
<search for>
Code:

?>

</search for>

<add before>


I couldn't locate the ?> but in all the other files it was at the very bottom, I figured put it at the bottom.  However, that didn't do anything except put a blank page where the profile should be.

I tried to search for the solution before posting but was unable to find anything about it.  All help will be appreciated.

Athanasia

Nokonium

All php files should have a ?> closing tag.

The last lines in Profile.php file modified for TP are

// Tinyportal
function tpsummary($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['tpsummary'];
TP_profile_summary($memID);
}
function tparticles($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['articlesprofile'];
TP_profile_articles($memID);
}
function tpdownload($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['downloadprofile'];
TP_profile_download($memID);
}
function tpshoutbox($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['shoutboxprofile'];
TP_profile_shoutbox($memID);
}
function tpgallery($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['galleryprofile'];
TP_profile_gallery($memID);
}
function tplinks($memID)
{
global $txt, $user_profile, $db_prefix, $context, $db_prefix;

loadtemplate('TPprofile');
$context['page_title'] = $txt['linksprofile'];
TP_profile_links($memID);
}

?>

This website is proudly hosted on Crocweb Cloud Website Hosting.