Mysidia Adoptables Support Forum  

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

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 10-24-2011, 12:42 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,214
SilverDragonTears is on a distinguished road
Default

That's nice and clean Chibi!! Love it!
__________________

Check out SilvaTales
Reply With Quote
  #12  
Old 10-24-2011, 01:44 PM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 35,655
ChibiMaestro is on a distinguished road
Default

Lol thanks :3

I might start doing requests since I do have the time and it'll help with my CSS XD
__________________
Regards,
...the CSS lovin' cookie monster...

~C.Maestro
___________________
I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here!
Reply With Quote
  #13  
Old 10-24-2011, 02:20 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 96,113
Tequila is on a distinguished road
Default

Since I've finally gotten time, here's mine as well. :3

Colors are just random, fix as needed. :3
Also comes with a read me of sorts:
Quote:
You'll need to edit a portion of your inc/functions.php file to get the sidebar to display properly. :3

Copy & Paste this part into your functions file:
PHP Code:
// Edit of functions by tequila

function getsidebar() {

    
//This function determines what shows in the side bar of the template

    
$isloggedin $GLOBALS['isloggedin'];

    
$loggedinname $GLOBALS['loggedinname'];

    if(
$isloggedin == "yes") {

        
$msgctr "<a href='messages.php'>Archive</a>";

        
$query "SELECT * FROM ".$GLOBALS['prefix']."messages WHERE touser='".$loggedinname."' and status='unread'";

        
$result runquery($query);

        
$num mysql_num_rows($result);

        if(
$num 0) {

        
$msgctr "<a href='messages.php'>Scrolls <b>(".$num.")</b></a>";

        }

// Feel free to keep this url for coins if you use them
// otherwise reset to whatever you would like.
// For now the money links to the account page.

        
$sidebar "
        <a href='profile.php?user='
{$row['username']}'>{$row['username']}</a>
<a href="
account.php">{$GLOBALS['money']}<img src='http://i42.tinypic.com/1zwp1mf.jpg' border='0'></a>
        <a href='myadopts.php'>My Adopts</a>
        <a href='inventory.php'>Inventory</a>
        "
.$msgctr."
        <a href='logout.php'>Log Out</a>"
;



           
$query "SELECT * FROM ".$GLOBALS['prefix']."users WHERE username='".$loggedinname."' and usergroup='1'";

           
$result runquery($query);

           
$usercancp mysql_num_rows($result);



        if(
$usercancp  != 0) {

            
$sidebar .= "<li><a href='admin.php'>Admin Center</a></li><br />";

        }



        
$query1 runquery("SELECT * FROM ".$GLOBALS['prefix']."online WHERE username != 'Visitor'");

        
$total1 mysql_num_rows($query1);

        
$query2 runquery("SELECT * FROM ".$GLOBALS['prefix']."online WHERE username = 'Visitor'");

        
$total2 mysql_num_rows($query2);

            

        
$sidebar .= "</ul>";

    }

    else {

        
$sidebar "<b><u>Member Login:</u></b><br />

        <form name='form1' method='post' action='login.php'>

          <p>Username: 

            <input name='username' type='text' id='username'>

        </p>

          <p>Password: 

            <input name='password' type='password' id='password'>

        </p>

          <p>

            <input type='submit' name='Submit' value='Log In'>

          </p>

        </form>Don't have an account?<br /><a href='register.php'>Register Free</a><br /><a href='forgotpass.php'>Forgot Password?</a>"
;

        
$query1 runquery("SELECT * FROM ".$GLOBALS['prefix']."online WHERE username != 'Visitor'");

        
$total1 mysql_num_rows($query1);

        
$query2 runquery("SELECT * FROM ".$GLOBALS['prefix']."online WHERE username = 'Visitor'");

        
$total2 mysql_num_rows($query2);

        
$sidebar .= "";



    }

    return 
$sidebar;


// End of sidebar portion. 
Quote:
Don't forget to edit the line in the header to tell where the css file is located. :3

Enjoy after changing colors to suit. :3

tequila ;3
Nicely done chibi. :3 Did you have problems with the drop down html?
Attached Files
File Type: zip iris-spider.zip (2.9 KB, 3 views)
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
  #14  
Old 10-24-2011, 02:33 PM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 35,655
ChibiMaestro is on a distinguished road
Default

Wow :3 Yours look sooo cool 8D Lolol, very different to mine (lol, I just basically copied everything that Iris/Pero said to do and didn't change anything :P)

And I didn't change anything to do with the PHP (too confusing XD).

And yeah, I did actually. But what I did to make it easier for me was to make the menu first, then fit it into the theme, so then I'd know the menu would work XD
__________________
Regards,
...the CSS lovin' cookie monster...

~C.Maestro
___________________
I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here!
Reply With Quote
  #15  
Old 10-24-2011, 02:44 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,676
Abronsyth is on a distinguished road
Default

Afgk, *glomps Chibi*

Erm...why won't it install properly?! Let's see, I added the file under public_html/templates/chibiarchurub

Now, I go to install the theme, and put in template/chibiarchurub....and it always says this:

Warning: file_get_contents(templates/templates/chibiarchurub/template.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/archurub/public_html/inc/functions.php on line 1684

Any ideas?

Ahhhhhhhhh, guys, stop editing your posts D: Iris/Pero can not keep up with you! And, thank you both so, so, so, so very much!
Never mind, you didn't edit your posts, you just posted more XD I feel so slow...but seriously, why's it not working to install? I had this happen before, but I don't remember how I fixed it.
__________________
My Mods Site (1.3.4, 2020 Mods)

Last edited by Abronsyth; 10-24-2011 at 02:53 PM.
Reply With Quote
  #16  
Old 10-24-2011, 02:51 PM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 35,655
ChibiMaestro is on a distinguished road
Default

Okay, when you add a theme fill it like this:

Theme Name: chibiarchurub
Theme URL: chibiarchurub

Try that :P

EDIT: Now I'm editing, because I don't want to double-post. Anyway, if you can't access the ACP because of that error to add the theme, go here: http://archurub.com/changestyle.php?theme=elements
__________________
Regards,
...the CSS lovin' cookie monster...

~C.Maestro
___________________
I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here!

Last edited by ChibiMaestro; 10-24-2011 at 03:00 PM.
Reply With Quote
  #17  
Old 10-24-2011, 03:05 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 111,676
Abronsyth is on a distinguished road
Default

"The theme you are trying to install cannot be found on this server at the specified URL. Please go back and double check that the path to the theme's HTML file is correct. If you uploaded the theme and you are sure the URL is correct please make sure your web host does not have PHP's safe_mode configuration enabled as this can interfere with using or locating themes."

Perhaps the web host has safe_mode configuration enabled? In which case, I'm not sure how to disable that..?
__________________
My Mods Site (1.3.4, 2020 Mods)
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
How to create an image map collierox Tutorials and Tips 3 03-13-2018 04:11 AM
How To Create an Explore System in Mys. 1.3.4 cailynmae Tutorials and Tips 42 07-17-2017 01:25 PM
How do i create my site? crystalwolftear Feedback and Suggestions 3 04-28-2014 10:48 PM
Looking for someone to create me a theme. Infernette Staff Central 16 11-26-2013 08:13 PM
Help create this theme? budz Templates and Themes 0 11-06-2011 11:36 AM


All times are GMT -5. The time now is 11:27 AM.

Currently Active Users: 460 (0 members and 460 guests)
Threads: 4,080, Posts: 32,024, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636