Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Code Requests
  • Completed Requests
  • [Completed] [ZB] 2 codes
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
[Completed] [ZB] 2 codes
Topic Started: Feb 4 2010, 07:39 PM (212 Views)
screamscream Feb 4 2010, 07:39 PM Post #1


Posts:
72
Group:
Member
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
I was wondering if you could make me the code that you used for the [zb] thing at the top.. Also my main request is a 'leaderboard code' something where someone who knows the basics of CSS and HTML can edit it.. Like I can make it so it shows which members have won which contests and things.. I don't know XD Do you think something like this is possible?
Posted Image
Offline Profile Goto Top
 
Swordslam46 Feb 4 2010, 08:52 PM Post #2
Member Avatar
SwoЯdslam46

Posts:
933
Group:
Dedicated
Member
#2,773
Joined:
Apr 9, 2009
The 1st code is for Dedicated Members.

If you can elaborate I might be able to do the 2nd
Click Me!!!
Offline Profile Goto Top
 
Dorith Feb 4 2010, 08:54 PM Post #3
Member Avatar
Has just entered the Matrix

Posts:
2,068
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
The first code is for Dedicated Members only as Inadequacy stated.

The second should be pure HTML and CSS. If you say that you are able to edit it and such, then do you need just the root of the code itself to work? Would tables suffice?
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
screamscream Feb 4 2010, 10:09 PM Post #4


Posts:
72
Group:
Member
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
Dorith
Feb 4 2010, 08:54 PM
The first code is for Dedicated Members only as Inadequacy stated.

The second should be pure HTML and CSS. If you say that you are able to edit it and such, then do you need just the root of the code itself to work? Would tables suffice?
Indeed, as long as it's good looking..
Posted Image
Offline Profile Goto Top
 
HolySavior Feb 5 2010, 07:10 PM Post #5
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
http://resources.zetaboards.com/topic/5066918/

look there :P
Offline Profile Goto Top
 
screamscream Feb 6 2010, 10:07 PM Post #6


Posts:
72
Group:
Member
Member
#3,674
Joined:
Feb 4, 2010
Coding language
HTML/CSS
Any help with the second one?
Posted Image
Offline Profile Goto Top
 
Swordslam46 Feb 7 2010, 10:13 AM Post #7
Member Avatar
SwoЯdslam46

Posts:
933
Group:
Dedicated
Member
#2,773
Joined:
Apr 9, 2009
First step: Create a new webpage (the ID and Title don't matter)
Second Step: Add the code to the body of the page
Third Step: Edit any information you want


Code
 
<html>
<head>
<script src="http://209.85.62.24/28018/73/0/p285885/hidebuttons.txt.js" type="text/javascript"></script>
<script src="http://209.85.62.24/28018/73/0/p285904/hidebutton2.txt.js" type="text/javascript"></script>
</head>
<body>
<a href="#" id="hide_l">Hide Leader Boards!</a>
<a href="#" id="show_l">Show Leader Boards</a>
<div id="leader">
<center><h1>[Forum Name] Leader boards!</h2></center>
<table>
<tr>
<th>Username</th>
<th>Total Contests Won (Points)</th>
<th>Latest Contest Won</th>

</tr>
<tr>
<td>'Nother Tester</td>
<td>31</td>
<td>The Avatar Competition</td>
</tr>
<tr>
<td>Swordslam46</td>
<td>1</td>
<td>HTML Tables Creation contest</td>
</tr>
<tr>
<td>Test Account</td>
<td>3</td>
<td>Design and Ideas Competition</td>
</table>
</div>
<a href="#" id="hide_a">Hide Contests</a>
<a href="#" id="show_a">Show Contests</a>
<div id="all">
<center><h1>All Contests Won</h1></center>
<table>
<tr>
<th>Contest Winner</th>
<th>Contest Name</th>
</tr>
<tr>
<td>'Nother Tester</td>
<td>The Avatar Competition</td>
</tr>
<tr>
<td>'Nother Tester</td>
<td>Noob Competition</td>
</tr>
</table>
</div>
</body>
</html>


Purple: Your forum name
Orange: What the tops will say
Red: The Username
Green: Number of Contests Won
Blue: The most recent competition won

The second table is a bit easier to manage:

Basically, you add the contest that was one and the user who won it. If you need help setting anything up ask me.

Also, DO NOT EDIT THE ID'S!!! This will screw up the Javascript that allows you to hide and show the tables.
Edited by Swordslam46, Feb 7 2010, 12:30 PM.
Click Me!!!
Offline Profile Goto Top
 
Dorith Feb 7 2010, 03:11 PM Post #8
Member Avatar
Has just entered the Matrix

Posts:
2,068
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
Shouldn't the script be after all of that Inadequacy?
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
Swordslam46 Feb 7 2010, 03:30 PM Post #9
Member Avatar
SwoЯdslam46

Posts:
933
Group:
Dedicated
Member
#2,773
Joined:
Apr 9, 2009
According to what HS told me, yes. But you also said if it had $(document).ready I could put it anywhere, which I did, and it works 100% fine :D
Edited by Swordslam46, Feb 7 2010, 03:30 PM.
Click Me!!!
Offline Profile Goto Top
 
Dorith Feb 7 2010, 03:43 PM Post #10
Member Avatar
Has just entered the Matrix

Posts:
2,068
Group:
Former Staff
Member
#1,854
Joined:
Dec 23, 2008
Coding language
JavaScript
:glare: Yes, but that isn't in that code either :P
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Completed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2

Track Topic · E-mail Topic Time: 4:58 PM Sep 3
Hosted for free by ZetaBoards