Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2013, 10:35 AM
Starrunner's Avatar
Starrunner Starrunner is offline
Member
 
Join Date: Sep 2013
Posts: 16
Gender: Male
Credits: 3,460
Starrunner is on a distinguished road
Default

Umm i have bad luck xD Here is what i have in main>template.html
Code:
:LINKSBAR:
Mysidia Adoptables v1.3.2
:SIDEFEED:
::
:ARTICLECONTENT:
★ Powered by Mysidia Adoptables v1.3.2 ★
And i was trying to follow this tutorial http://www.mysidiaadoptables.com/for...ead.php?t=2089

But i dont have such codes in my profile.php
Code:
<?php  

$filename = "profile";
require("inc/init.php");
include("inc/tabs.php");
include("inc/bbcode.php");

//***************//
//  START SCRIPT //
//***************//

// This page handles user profiles and shows the site members...

if(!$mysidia->input->get("user")){
  // We have not select a user profile yet, so show memberlist instead
  UserProfile::memberlist();
}  
else{
  $mysidia->page->settitle("{$mysidia->input->get("user")}'s Profile");
  $validator = new UserValidator($mysidia->user, array());
  
  if(!$validator->validate("username", $mysidia->input->get("user"))){
     // The user does not exist, show an error message instead
	 $mysidia->page->addcontent($lang->nonexist);
  }
  else{
     // We have specified an existing user profile, now its getting interesting
	 $user = new Member($mysidia->input->get("user"));
	 $user->getprofile();
	 
	 // Now start the tab script
	 $tabs = array("Visitor Message" => "visitormessage", "About Me" => "aboutme", "Adoptables" => "adopts", 
	               "Friends" => "friends", "Contact Info" => "contactinfo");
     $profiletabs = new Tab(5, $tabs, 2);
	 $profiletabs->createtab();
	 
	 // Format basic user profile info
	 $user->profile->formatusername($user)->getfavpet();
	 
	 // Here we go with the first tab content: Visitor Message
	 $profiletabs->starttab(0);
	 $mysidia->page->addcontent("<strong><u>{$mysidia->input->get("user")}{$lang->VM_member}");
	 $user->profile->display("vmessages");
	 $mysidia->user->getstatus();
	 
	 if(!$mysidia->user->isloggedin) $mysidia->page->addcontent($lang->VM_guest);
	 elseif(!$mysidia->user->status->canvm) $mysidia->page->addcontent($lang->VM_banned);
	 else{
	    $vmessage = new VisitorMessage();		
		$vmessage->setrecipient($user->username);
		$vmessage->post();
		if($mysidia->input->post("vmtext")) $vmessage->execute("post");
	 }
	 $profiletabs->endtab(0);
	 
	 // Now the second tab: About me...
	 $profiletabs->starttab(1);
	 $user->profile->display("aboutme");
	 $profiletabs->endtab(1);
	 
	 // The third tab: Adopts...	
	 $profiletabs->starttab(2);
	 $user->getadopts();

     try{ 
         $user->profile->display("adopts");
     }
     catch(Exception $e){ 
         $mysidia->page->addcontent($lang->noadopts);
     }

	 $profiletabs->endtab(2);
	 
	 // The fourth tab: Friends...
	 $profiletabs->starttab(3);
     $user->profile->display("friends", $user);
     $profiletabs->endtab(3);

	 // The last tab: Contact Info!	
     $profiletabs->starttab(4); 
	 $user->getcontacts();
	 $user->formatcontacts();
	 $user->profile->display("contactinfo", $user->contacts);
	 $profiletabs->endtab(4);
  }
  // It's all over now, cheers
}



//***************//
//  OUTPUT PAGE  //
//***************//

$mysidia->output();

?>
:/
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help With a Few Things parayna Questions and Supports 3 09-28-2015 06:51 AM
A few more little things... Ruinily Questions and Supports 0 07-03-2013 08:16 PM
How can I do these things? AlexC Questions and Supports 27 03-21-2011 03:58 PM
few things help 12345 Questions and Supports 1 05-05-2009 04:23 PM
Few things 12345 Questions and Supports 1 04-21-2009 03:42 PM


All times are GMT -5. The time now is 08:07 AM.

Currently Active Users: 9784 (0 members and 9784 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636