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 06-23-2011, 07:17 AM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 9,341
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default :Links Bar:

I'm trying to fegure out how to completely edit my Links bar. I know I can add and delete pages from the Admin area, but it wont let me take out Breeding and Shoutbox. It wont even let me change the URL of them so I can make them another page. I have been digging around in the Admin and Functions php But it looks like these are being pulled from my database. REALLY wish I had more control over this like the Sidefeed links.

Also I wish I could have more control over them so I can make an image button to replace the text so it looks nicer. I have been tempted to try and move all the Links to the Sidefeed links. I don't know if this will brake something.
Oh but that gets replace with the Admin Links?

I hope someone can help me. T^T
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #2  
Old 06-23-2011, 07:49 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,793
fadillzzz is an unknown quantity at this point
Default

If you want to edit or remove the default links, you have to do it manually by editing the database.
Reply With Quote
  #3  
Old 06-23-2011, 08:05 AM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 9,341
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default

Thanks and How would I do that?
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #4  
Old 06-23-2011, 08:15 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,793
fadillzzz is an unknown quantity at this point
Default

Just open the prefix_links table and edit the row corresponding to the URL you want to change. Or delete the row if you want to remove the URL
Reply With Quote
  #5  
Old 06-23-2011, 09:15 AM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 9,341
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default

Is this Prefix_links in the database?
I don't think I can get into the database information.

There wouldn't be like a Modification I can do that just links to these pages or something then editing them in the database?
Or even a way to make that table in Admin allow me to delete?

Edit: I guess I'll just have to be adventurous and try some risky stuffs to see if I can get a list like the admin links and sidebar links lists. Thats all I really want it to be like.

Edit: How about this, Is it posible to get "function getlinks" to work like "function getsidebar"

Make this:
Code:
function getlinks() {
	$links = "";

	$query = "SELECT * FROM ".$GLOBALS['prefix']."links ORDER BY id ASC";
	$result = runquery($query);
	$num = mysql_numrows($result);

	//Loop out code
	$i=0;
	while ($i < $num) {
		$linktext=@mysql_result($result, $i,"linktext");
		$linkurl=@mysql_result($result, $i,"linkurl");
		$linktext = stripslashes($linktext);
		$links .= "<li><a href='".$linkurl."'>".$linktext."</a><br /></li>";
		$i++;
	}
	return $links;
}
Work like:

Code:
 <a href='donate.php'>Donate money to friends</a><br />
		<br /><strong>Your links:</strong><br />
		<ul><li><a href='adopt.php'>Adopt New Pets</a><br /></li>
		<li><a href='pound.php'>Acquire Pounded Pets</a><br /></li>
		<li><a href='myadopts.php'>Manage Adoptables</a><br /></li>
		<li><a href='account.php'>Go to My Account</a><br /></li>
		<li>".$msgctr." <br />
		<li><a href='changestyle.php'>Change Theme</a><br /></li>
		<li><a href='logout.php'>Log Out</a></li><br />";
__________________
Call me KC!
http://alkseeyakc.deviantart.com/

Last edited by AlkseeyaKC; 06-23-2011 at 10:07 AM.
Reply With Quote
  #6  
Old 06-23-2011, 11:23 AM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,144
AlexC is an unknown quantity at this point
Default

Just put this link in: yoursite.com/admin.php?set=settings&do=links&more=delete&evenmo re=9

Then change the number to delete them all, and then readd them in the order you want, and with the info you want~
Reply With Quote
  #7  
Old 06-23-2011, 12:00 PM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 9,341
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default

O. M. G. I love you. Thanks!
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #8  
Old 06-23-2011, 12:38 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 67,144
AlexC is an unknown quantity at this point
Default

you're welcome. :D I used MyAdopts before I used Mysidia, and they had a ton of tricks like this.
Reply With Quote
  #9  
Old 06-23-2011, 03:59 PM
AlkseeyaKC's Avatar
AlkseeyaKC AlkseeyaKC is offline
Member
 
Join Date: Jan 2009
Location: Planet Kalzy
Posts: 72
Gender: Female
Credits: 9,341
AlkseeyaKC
Send a message via AIM to AlkseeyaKC
Default

I've done tricks like that on Squiby. But its been a while. XD
__________________
Call me KC!
http://alkseeyakc.deviantart.com/
Reply With Quote
  #10  
Old 06-23-2011, 04:20 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 331,991
Hall of Famer is on a distinguished road
Default

Glad it has been working out nicely for you AlkseeyaKC, and welcome back!
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


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
Changing the links under Member's Links. LucasA33 Questions and Supports 1 12-24-2013 08:04 PM
Links will not work Eagle9615 Questions and Supports 4 07-03-2013 11:30 PM
links zhiichiro Questions and Supports 10 06-15-2009 04:10 PM
Links SJC Questions and Supports 2 04-17-2009 06:46 PM
Broken links RipJawWolfFang Questions and Supports 2 04-11-2009 03:16 AM


All times are GMT -5. The time now is 02:04 AM.

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