Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • Friends System
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
  • 3
  • 4
Friends System; View/Add/Delete Friends
Tweet Topic Started: Nov 26 2009, 06:11 PM (3,373 Views)
slayer766 Nov 26 2009, 06:11 PM Post #1
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Code Name: Friends System
Description: A friend system to where you can add your friends to your own friend list and view anyone else's friend list. From there you can also Delete any friend on your list that you wish. Or add as many as you'd like. :)
Preview: Preview
Register, then you can Add/View/Delete friends to your friend list. :) It works on the topic and profile pages.

Copyright: slayer766
Known Bugs: Internet Explorer 8 only has one flaw, and that's the profile feature - it won't work. Google Chrome, after you add a user to your friend list, and then try to view your friend list again it doesn't show your added friend - all you'll need to do is refresh and it will show. :)
Browser Compatibility: Testing in Google Chrome, Firefox, and Internet Explorer 8.
Installation: 1 Easy step to follow. Add this to your Admin CP > Board Template > Below the Board:

Code:
 
<script type="text/javascript">
/*
Friend System v1.0
Written by slayer766 (resources.zetaboards.com)
*/
var Images = ["http://z3.ifrm.com/2/81/0/p249057/View.png","http://z3.ifrm.com/2/81/0/p249055/Add.png","http://z3.ifrm.com/2/81/0/p249056/Delete.png"];
document.write("<script type='text/javascript' src='http://z3.ifrm.com/171/8/0/p249058/FriendSystemv1.js'><\/script>");
</script>

After that you should now have it on your board. :) You can change the images if you want to.
Edited by slayer766, May 19 2010, 09:44 AM.
Offline Profile Goto Top
 
Agent Moose Nov 26 2009, 07:17 PM Post #2
Member Avatar
SMF for Free Moderator

Posts:
838
Group:
Former Staff
Member
#14
Joined:
Jul 9, 2008
Pretty nice slayer :)

That one is better than the one that is on SMF for Free :P
You could call me Troy :P | The World of Moosey | Newest Blog: SMF for Free Spam Code

Current Project: Zetaboard Javascript Tester (click on the link in the Submenu)

ZetaBoard Javascript Tester Features:
- Code Test box
- Counts how many open brackets/parentheses and closed brackets/parentheses you have in your code to make sure that your code will work.
- New: Inspect Element
Offline Profile Goto Top
 
slayer766 Nov 26 2009, 07:54 PM Post #3
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Thanks Moose. :D And it is? :O haha
Offline Profile Goto Top
 
Vitality Nov 26 2009, 07:56 PM Post #4
Member Avatar
Tabula Rasa

Posts:
784
Group:
Former Staff
Member
#320
Joined:
Jul 26, 2008
:O Haha I remember when I first joined iFusion I wanted to make something like this :P Well it looks like you've done an awesome job slayer, nice one!

You must teach me PHP. :P
Offline Profile Goto Top
 
slayer766 Nov 26 2009, 09:04 PM Post #5
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Thanks Vitality. :) If you want to learn, it would be MSN time. :P
Offline Profile Goto Top
 
Numark Nov 27 2009, 12:54 PM Post #6
Member Avatar


Posts:
101
Group:
Member
Member
#3,539
Joined:
Oct 23, 2009
Wow, neat code! I love the concept, nice job! :D
Posted Image
Offline Profile Goto Top
 
Dave Nov 27 2009, 04:43 PM Post #7
Member Avatar


Posts:
26
Group:
Member
Member
#2,607
Joined:
Mar 18, 2009
Coding language
HTML/CSS
For some reason the Box that appears after you add someone from a thread doesn't disappear :(
Posted Image
あなたが主人公のどちらか死ぬ
___You either die a hero
または
___Or___

長く悪役になるのに十分な生活______
Live long enough to become a villain
Offline Profile Goto Top
 
slayer766 Nov 27 2009, 07:45 PM Post #8
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
You mean the entire box? There is a Close at the top right of the box you can click to close it.
Offline Profile Goto Top
 
Dave Nov 27 2009, 08:36 PM Post #9
Member Avatar


Posts:
26
Group:
Member
Member
#2,607
Joined:
Mar 18, 2009
Coding language
HTML/CSS
slayer766
Nov 27 2009, 07:45 PM
You mean the entire box? There is a Close at the top right of the box you can click to close it.
Yeah, that's the problem, when I try to click on it, it's just text..:(

And to add my opinion, it would be kinda cool if it faded :3

EDIT: Alright it decided to start working o_O

EDIT2: How do I get to my contacts?
Edited by Dave, Nov 27 2009, 08:49 PM.
Posted Image
あなたが主人公のどちらか死ぬ
___You either die a hero
または
___Or___

長く悪役になるのに十分な生活______
Live long enough to become a villain
Offline Profile Goto Top
 
Elusive Soul Nov 27 2009, 10:05 PM Post #10
Member Avatar
So clueless! D;

Posts:
11
Group:
Member
Member
#2,318
Joined:
Feb 13, 2009
Coding language
HTML/CSS
Would this code work if it was placed in the Theme Layout so the buttons could be customized for each skin rather than using the same set of buttons universally for all skins?
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • 3
  • 4

Track Topic · E-mail Topic Time: 7:50 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy