private void Rooney(bridgeForum forum) {/* * init the forum and ferguson is the super manager * create a forum Manchester United * create a admin called giggsy and confirm him and connect * create a member called vida and confirm him and connect * create sub forum called Champ19ns * make vida a moderator * create a member called wazza and confirm him and connect */ forum.init("Ferguson", "scottishAccent", "*****@*****.**", "alex ferguson", "england.manchster"); forum.SPlogin("Ferguson", "scottishAccent"); forum.createForum("Ferguson", "scottishAccent", "Manchester United", 5); Int64 i = forum.register("Manchester United", "giggsy", "11", "ryan giggs", "*****@*****.**"); forum.mailConfirm("giggsy", "11", "Manchester United", i); i = forum.register("Manchester United", "vida", "15", "Nemanja Vidić", "*****@*****.**"); forum.mailConfirm("vida", "15", "Manchester United", i); forum.memberConnect("Manchester United", "Ferguson", "scottishAccent"); forum.promoteMemberToAdmin("Ferguson", "scottishAccent", "Manchester United", "giggsy"); forum.memberConnect("Manchester United", "giggsy", "11"); forum.memberConnect("Manchester United", "vida", "15"); forum.createSubForum("Manchester United", "Champ19ns", "new record: 19 primer league titles", "vida", "giggsy", "11"); i = forum.register("Manchester United", "wazza", "10", "wayne rooney", "*****@*****.**"); forum.mailConfirm("wazza", "10", "Manchester United", i); forum.memberConnect("Manchester United", "wazza", "10"); }
private void ManU(bridgeForum forum) {/* * init the forum and ferguson is the super manager * create a forum Manchester United * create a admin called giggsy and confirm him and connect * create a member called vida and confirm him and connect */ ferguson(forum); forum.createForum("Ferguson", "scottishAccent", "Manchester United", 5); Int64 i = forum.register("Manchester United", "giggsy", "11", "ryan giggs", "*****@*****.**"); forum.mailConfirm("giggsy", "11", "Manchester United", i); i = forum.register("Manchester United", "vida", "15", "Nemanja Vidić", "*****@*****.**"); forum.mailConfirm("vida", "15", "Manchester United", i); forum.memberConnect("Manchester United", "Ferguson", "scottishAccent"); forum.promoteMemberToAdmin("Ferguson", "scottishAccent", "Manchester United", "giggsy"); forum.memberConnect("Manchester United", "giggsy", "11"); }
private void Rooney(bridgeForum forum) {/* * init the forum and ferguson is the super manager * create a forum Manchester United * create a admin called giggsy and confirm him and connect * create a member called vida and confirm him and connect * create sub forum called Champ19ns * make vida a moderator * create a member called wazza and confirm him and connect */ vidicSubForum(forum); Int64 i = forum.register("Manchester United", "wazza", "10", "wayne rooney", "*****@*****.**"); forum.mailConfirm("wazza", "10", "Manchester United", i); forum.memberConnect("Manchester United", "wazza", "10"); }