Jump to content

Help with user lookup coding


Recommended Posts

Hello

I tried looking for some post that could solve my problem but couldn't find one (newbie here, sorry :worried: )

 

Anyway... I'm modifying a premade user lookup to my likings and I have a few things I don't know how to do. 

 

http://www.neopets.com/userlookup.phtml?user=miiadenina

 

-  I don't really like that 'Colections' section, so I hid it. But the blank space is still there and it looks weird.. If anyone knows if it's possible to remove it (and how), I'd really like to know.

 

- I wanted to add one of those link back buttons at the end of the page but I don't know where in the code to put it (I've been trying in different places and the only one so far it worked was in the 'About Me' section, but its not where I want it) 

 

Thank you, its been years since I tried coding anything, so right now it kinda looks like chinese to me :(  .

<style>
body {
	background: -blocked- url("http://i.imgur.com/2DcXXsf.jpg") repeat-x 0 0;
}
#ban, hr, .sidebar, #nst, .user, .bb, .brand-mamabar, #userneohome, #superfooter, #userneopets #footer, #habitarium, #ncmall, #footer, #header {
	display: none;
}
.content div a img, .content div b {
	visibility: hidden;
}
#userinfo .medText table table img, .contentModule div a img, .contentModule div b, #abouts b, #abouts a img, #you b, #you img, #nav a img {
	visibility: visible !important;
}
#main {
	margin-top: 0px;
}
table, #n, td, #main, img, .contentModule, .contentModuleTable, .contentModuleContent {
	background: transparent;
	border: none;
}
.medText table {
	border: 0px !important;
}
#content {
	background: #fff;
	padding: 18px;
	width: 904px !important;
	border-bottom: 5px solid #bd3766;
}
#usertrophies {
	width: 904px;
	margin-right: -10px;
	display: hidden;

}
#usercollections {
	display: none;
}
.content {
	padding: 0px !important;
}
#nav {
	margin: -51px -18px 0;
	height: 88px;
}
#nav a {
	float: left;
}
.pic {
	border-bottom: 5px solid #bd3766;
	margin: 0 -18px;
}
.contentModuleHeaderAlt, .contentModuleHeader, h1 {
	text-transform: uppercase;
	color: #bd3766;
	font: 2em century gothic;
	background: none;
	padding: 0px;
	font-weight: normal;
}
h1 {
	font-size: 2.3em !important;
}
a, a b, b a, a:visited {
	color: #9e2660 !important;
}
a:hover, a:hover b, b a:hover {
	color: #c52b60;
}
b {
	color: #879eb3;
}
i, em {
	color: #609eff;
	font-family: century gothic;
}
#you {
	margin-top: 10px;
	text-align: left;
	font-size: 8pt;
}
#you td {
	font-size: 8pt;
}
#name {
	background: #bd3766;
	font: 80pt century gothic;
	color: #fff;
	text-align: center;
	padding: 50px 0 25px;
	line-height: 60pt;
	;
	margin-right: -18px;
	text-transform: uppercase;
}
#name span {
	font-size: 18pt;
	color: -blocked-;
}
</style><div id="nav">
<a href="/"><img src="//images.weserv.nl/?url=http://i1365.photobucket.com/albums/r746/Lulu-Moon/cGK8zqQ_zpscppx6fdi.png"></a>
<a href="/myaccount.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/cGK8zqQ.png"></a>
<a href="/customise/"><img src="//images.weserv.nl/?url=http://imgur.com/nDx6Id3.png"></a>
<a href="/gameroom.phtml"><img src="//images.weserv.nl/?url=http://imgur.com/fM5YhBW.png"></a>
<a href="/explore.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/ma92qqT.png"></a>
<a href="/nf.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/AADtelz.png"></a>
<a href="/community/index.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/ABszKDw.png"></a>
<a href="/objects.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/HAMjBVG.png"></a>
<a href="/mall/index.phtml"><img src="//images.weserv.nl/?url=http://i.imgur.com/RhCtLQU.png"></a>
<a href="/"><img src="//images.weserv.nl/?url=http://i1365.photobucket.com/albums/r746/Lulu-Moon/cGK8zqQ_zpsl2ufslhg.png"></a>
</div>
<div id="name">HELLO<br><span>:D</span>
</div>
<img class="pic" src="//images.weserv.nl/?url=http://i1365.photobucket.com/albums/r746/Lulu-Moon/4892cb4e-b589-459d-abd8-d573eab09018_zpsfpu4hjyy.jpg"><div id="you"><table width="100%"><tr><td width="66%" valign="top">
  <h1>About Me</h1>Hey! My name is Mii and I am a Plushie Addict! <br><br>
My lookup was based on one of this premades <a href="/~Jarlaxyl"><img src="//images.weserv.nl/?url=http://i.imgur.com/2nRg2tT.gif"></a></td>

</tr></table></div>
Link to comment
Share on other sites

I do believe as per Neopets rules, you need to have your collections module displayed. It contains useful information like avatars, stamps, site themes, collectible cards etc. Personally I would not hide it as it's important.

 

For the link back button, they're normally in the About Me section, but if you want to move it then you're going to have to create a div for it. It'll be something like this:

The HTML code:

<div id="linkback">
*insert button code here*
</div>

CSS Code:

#linkback {
margin-top: 0px;
margin-left: 0px;
}

That's the basic code you'll need. You'll have to tinker with it to get it positioned properly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...