View Full Version : Just 2 more things
Starrunner
09-23-2013, 05:54 PM
1)How to remove Site name from banner? I'm using main theme so in templates i can't fint it to delete it.
2) I found a great tutorial for adding avatars to member list. But i believe it was meant for older versions i believe. I'm currently using 1.3.2 how to add it without upgrading?
thx
Hwona
09-24-2013, 07:45 AM
1. go to themes > main > and edit the style sheet. :3
Tequila
09-24-2013, 09:39 AM
Here's some information I have regarding the development of the theme that's used (:3)
image replacement
Replacing the images for the title box is very simple. All you need to do is find:
[php[#image{border-left:10px solid #fff; border-right:10px solid #fff; border-bottom:5px solid #fff; background:url("standard.png"); height:150px; }[/php]
and put your image url into the provided space for background. You can also change the height as needed.
In the main template you can remove the text by finding where it has <span><a href="index.php">{TITLECODE}</a></span> and removing it. ;3
Starrunner
09-24-2013, 10:35 AM
Umm i have bad luck xD Here is what i have in main>template.html
: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/forum/showthread.php?t=2089
But i dont have such codes in my profile.php
<?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();
?>
:/
Tequila
09-24-2013, 12:16 PM
Try the header.tpl file instead. ;3
Hall of Famer
09-24-2013, 12:22 PM
Actually Mys v1.3.2 does not have smarty template yet, so you don't have a .tpl file. Instead, go to template.html file and get rid of :SITENAME: characters if you find it.
Starrunner
09-24-2013, 12:37 PM
I posted what i have in my template, what exactly do i need to delete cuz i dont see anything like that there.
Tequila
09-24-2013, 12:42 PM
Try replacing the template file with the following:
<!DOCTYPE html>
<!--
Official Mysidia Adoptables 1.3.x Series Template Theme
//-----------------------------------------------------
// HTML/CSS Coded by Nyxi/tequila
// http://www.savedone.tk / http://www.sourserenade.tk
//-----------------------------------------------------
// All Copyright and Credit for Script and theme
// to remain in the footer at all times.
//-----------------------------------------------------
// The script is free! We just ask for credit!
//-----------------------------------------------------
// Failure to comply will result in the following
// steps:
// - Cease and Desist Letter
// - Letter to your host
// - DMCA filing
//-----------------------------------------------------
// Any questions? Pop on over to our forums at
// http://www.mysidiaadoptables.com/forum
//-----------------------------------------------------
Before using this template we encourage you to read the
included Read Me and License.
We thank you for your interest.
- the Mysidia Development Team
-->
<head>
<title>:BROWSERTITLE:</title>
<link rel="stylesheet" href="templates/themes/default/media/style-city.css" type="text/css" />
</head>
<body>
<div id="wrapper">
<table cellspacing="0" cellpadding="0">
<tr><th colspan="2">
<!-- Top Navigation Links -->
<a href="account.php" class="one">My Account</a><a href="adopt.php" class="two">Adopt Creatures</a><a href="explore.php" class="three">Explore World</a><a href="stats.php" class="four">Community</a>
<!-- End -->
</th></tr>
<tr><td colspan="2" id="image"></td></tr>
<tr><td id="menu">
:SIDEFEED:
</td><td id="content">
<h1>:ARTICLETITLE:</h1>
<p>:ARTICLECONTENT:</p>
</td></tr>
<tr><td colspan="2" id="footer">
<p>Your Site ©Copyright Your Name Year - Year<br />Powered by <a href="http://www.mysidiaadoptables.com">Mysidia Adoptables</a> ❣ theme by the <a href="http://celestic.net">starry sky</a> network</p>
</td></tr>
</table>
</div>
</body>
</html>
Starrunner
09-25-2013, 02:08 PM
I edited it and didnt seem to work, it just messed up the site :/
Anyway i accepted it and doesn't seem a problem anyway. However i got another question [I'm really sorry for so much dragging]
When i put BBCode of my adoptable it is not animated and below it there is its info. How to get rid of its info cuz it makes my signature too big.
sorry again and thanks for helping in advance :)
Starrunner
01-11-2014, 06:03 PM
Sorry for resurrecting an old topic, but this really goes on my nerves. I tried to remove the logo on the main banner but it was unsuccessful...
Here is what i got:
:LINKSBAR:
Mysidia Adoptables v1.3.2
:SIDEFEED:
::
:ARTICLECONTENT:
★ Powered by Mysidia Adoptables v1.3.2 ★
please help, im using main theme.
Hall of Famer
01-11-2014, 08:35 PM
umm cant you use a newer version of the script? I believe Mys v1.3.3 and v1.3.4 have been released, the upgrader should work for you.
Starrunner
01-12-2014, 05:06 AM
I tried multiple times to instal those versions, but there is always an error of some sort. It appears that only 1.3.2 works for me.
Hall of Famer
01-12-2014, 11:27 AM
umm what kind of errors are you getting? Your webhost running PHP 5.2?
Starrunner
01-12-2014, 01:23 PM
I'm not sure its x10hosting. I will try upgrading to 1.3.3 and tell you what errors im getting.
IntoRain
01-12-2014, 01:31 PM
x10hosting works fine with 1.3.3, at least it did for me o.o
Starrunner
01-12-2014, 02:11 PM
Oh it appears that i had the same issue as erica65404, thx!
Hall of Famer
01-12-2014, 05:26 PM
x10hosting works fine with 1.3.3, at least it did for me o.o
Actually I believe x10hosting has different servers that run with different specs/environment. There was a time that new hosting accounts on x10hosting do not have PDO enabled, while the old ones are not affected by this issue. I'd assume the PDO problem has been resolved by now.
IntoRain
01-12-2014, 07:31 PM
Actually I believe x10hosting has different servers that run with different specs/environment. There was a time that new hosting accounts on x10hosting do not have PDO enabled, while the old ones are not affected by this issue. I'd assume the PDO problem has been resolved by now.
It indeed has multiple servers, I didn't know they had different configurations however! That's nice to know
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.