:Links Bar:

Forum
Last Post
Threads / Messages

AlkseeyaKC

Member
Member
Joined
Jan 12, 2009
Messages
73
Points
6
Age
40
Location
Planet Kalzy
Mysidian Dollar
6,083
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
 
If you want to edit or remove the default links, you have to do it manually by editing the database.
 
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
 
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 />";
 
Last edited:
Just put this link in: yoursite.com/admin.php?set=settings&do=links&more=delete&evenmore=9

Then change the number to delete them all, and then readd them in the order you want, and with the info you want~
 
you're welcome. :D I used MyAdopts before I used Mysidia, and they had a ton of tricks like this.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,278
Messages
33,127
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top