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
  #1  
Old 12-15-2012, 11:35 PM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 4,804
Hedgen is on a distinguished road
Default SIDEFEED Location?

Where is the :SIDEFEED: information located? I want to reorganize the Main theme's Side Feed to be above the site name, instead of being in a list.
Something like this:
  Spoiler: Image 


__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.
Reply With Quote
  #2  
Old 12-15-2012, 11:37 PM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 10,909
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Classes, Class_page.php

Look for the function

'private function getsidebar'
Reply With Quote
  #3  
Old 12-15-2012, 11:56 PM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 4,804
Hedgen is on a distinguished road
Default

Thank you for your quick responses! :) And thanks! it would have taken me a whole day to figure out where they are stored.
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.
Reply With Quote
  #4  
Old 12-16-2012, 12:46 AM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 4,804
Hedgen is on a distinguished road
Default

How do I rearrange the sidefeed? I took the list out but it still shows it vertically instead of horizontally.
I have only edited $sidebar so far to not include the <li> and stuff but all it did was remove the Bullets, is there a special css file it uses?
  Spoiler: Code for :SIDEFEED: 

Code:
private function getsidebar(){
  	 //This function determines what shows in the side bar of the template

	 global $mysidia; 
	 if($mysidia->user->isloggedin == TRUE) {
		$msgctr = "<a href='messages.php'>Messages</a>";		
		$data = $mysidia->db->select("messages", array("touser"), "touser='{$mysidia->user->username}' and status='unread'")->fetchAll();

		if(count($data) > 0) $msgctr = "<a href='messages.php'>Messages <b>(".count($data).")</b></a>";
		$sidebar = "You have {$mysidia->user->money} {$mysidia->settings->cost}.<br />
		           <a href='donate.php'>Donate money to friends</a><br />
		           <a href='adopt.php'>Adopt New Pets</a>   <a href='pound.php'>Acquire Pounded Pets</a>   <a href='myadopts.php'>Manage Adoptables</a>   <a href='account.php'>Go to My Account</a>   {$msgctr}<a href='changestyle.php'>Change Theme</a>  <a href='logout.php'>Log Out</a>";

		$row = $mysidia->db->select("users", array("uid", "username"), "username='{$mysidia->user->username}' and usergroup='1'")->fetchObject();		
		if(is_object($row)) $sidebar .= "<li><a href='admincp/'>Admin Center</a></li><br />";
	 }
	 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><br />";
	 }
	
    $omembers = $mysidia->db->select("online", array(), "username != 'Visitor'")->fetchAll();
	$ovisitors = $mysidia->db->select("online", array(), "username = 'Visitor'")->fetchAll();
    $sidebar .= "<a href='online.php'>This site has ".count($omembers)." members and ".count($ovisitors)." guests online.</a></ul>";
	return $sidebar;
  }


  Spoiler: Screenshot of how it looks like: 

__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.

Last edited by Hedgen; 12-16-2012 at 12:52 AM.
Reply With Quote
  #5  
Old 12-16-2012, 12:52 AM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 10,909
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

Last time I checked, it's styled by using the #menu commands in the .css file named 'style-city.'
Reply With Quote
  #6  
Old 12-16-2012, 12:55 AM
Hedgen's Avatar
Hedgen Hedgen is offline
Member
 
Join Date: Oct 2012
Posts: 36
Gender: Male
Credits: 4,804
Hedgen is on a distinguished road
Default

Ahh okay. I saw the id="menu" thing in the template's html while trying to get the dropdown menu to drop to the right instead of down, but I completely forgot about that by the time I started editing the SIDEFEED. Thanks!
__________________
I have some small tutorials Here that show things such as re-arranging the SIDEFEED and LINKSBAR, and redirecting people after login.
Reply With Quote
  #7  
Old 12-16-2012, 12:57 AM
Nieth's Avatar
Nieth Nieth is offline
Aspiring
 
Join Date: Dec 2012
Location: North Carolina
Posts: 154
Gender: Male
Credits: 10,909
Nieth is on a distinguished road
Send a message via MSN to Nieth
Default

No problem at all. Just post if you need help again, but keep all of your questions in the support thread, even if they're about styling.
Reply With Quote
  #8  
Old 12-16-2012, 12:15 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,137
Tequila is on a distinguished road
Default

You'll want to check in the css to add in a float:left; and a width:##px; to the code for the menu. ;3
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
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
A little pointer for tab file location? Infernette Questions and Supports 6 08-22-2014 11:51 AM
SIDEFEED Hedgen Questions and Supports 4 03-05-2013 06:36 PM
Mys v1.3.1 one central location location for seperate addons schepers12 Mys v1.3.x Mods 2 12-05-2012 05:58 AM
HTML location GuardiansWish Templates and Themes 9 06-25-2012 12:08 PM


All times are GMT -5. The time now is 07:19 PM.

Currently Active Users: 450 (0 members and 450 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