Welcome Guest [Log In] [Register]
Hey there, guest! Either you forgot to log in or you're new here. If you're new, why don't you stop by and read the Lemon's Laws, maybe even join our fine forum?

Username:   Password:
Add Reply
More Board Ideas
Topic Started: Oct 31 2010, 06:12 PM (171 Views)
Datt
Member Avatar
potato
 *  *  *  *  *  *  *
I recently found these and thought they might be of use here



VISIBLE BLOG LINK
Code:
 

# Open your Admin CP
# Create a new Profile Field (1 line text)

*
* Title = Blog
* On Registration = Yes
* Show field in topics = Yes
* Admin Only Edit = No
* Maximum input length = 100
* On registration and maximum input length can be changed


# Go to your Board Template
# Paste the code below into either the Below the Board or the Above the Copyright textarea
# Click Edit Board Template
# Now users can add there own blog link!

1.
2. Hover over the Preferences Link
3. Click Update Profile
4. Enter the title of their blog
5. Click Save Profile Changes

<script type="text/JavaScript">
//<![CDATA[
// Blogs in mini profile by Viral (xmas 1)
var blog = {name: "Blog",title:"Please insert the title of your blog"};
if(location.href.match(/home\/\?c=6/)){$("td.c_desc").each(function(){if($(this).text().match(blog.name)){var a=$(this).next().children("input");if(a.val().length<=0){a.val(blog.title);}a.focus(function(){if($(this).val()==blog.title){$(this).val("");}});}});}$("dl.user_profile dt").each(function(){if($(this).text().match(blog.name)){var a=$(this).next();var b=a.parent().parent().parent().prev().find("td.c_username a.member").attr("href").split("profile/")[1];a.html('<a href="'+main_url+'blog/main/'+b+'">'+a.html()+'</a>');}});
//]]>
</script>




POST LIKING SYSTEM
Just like Facebook's liking system actually. There's an option for disliking also, but I disabled it due to a few members might misuse it. I thought this might be a good replacement to the Thanks system that stopped working a while ago
Code:
 
<style type="text/css"><!--
/*
Facebook Style Like/Dislike System for ZetaBoards v1.0
Copyright 10-29-10 ~Wonder
May not be reposted anywhere
Place in the Below the Board section of the Board Template
*/
.likebg {background-color: #eaeaea;}
--></style>

<script>
//The Buttons are what you click to like/dislike a post, the Icons are what are shown next to the users who like/dislike a post
likeImageButtonURL="http://img810.imageshack.us/img810/8611/zblike.png";
likeImageIconURL="http://img299.imageshack.us/img299/7645/thumbsupgreenr.gif";
dislikeImageButtonURL="http://img411.imageshack.us/img411/2557/zbdislike.png";
dislikeImageIconURL="http://img299.imageshack.us/img299/9333/thumbsdownrede.gif";

//Set to true if you want to disable Liking
disableLike=false;

//Set to true if you want to disable Disliking
disableDislike=false;

//If you want to change the word 'Like' to something else, edit these strings.
likeText=["Like","Likes","like this","likes this","Unlike"];

//If you want to change the word 'Dislike' to something else, edit these strings.
dislikeText=["Dislike","Dislikes","dislike this","dislikes this","Undislike"];
</script>
<script src="http://ifzblike.appspot.com/static/zblike.js"></script>


If you want to enable disliking though, change "disableDislike=false;" to "disableDislike=true;"


ALSO Preview: http://s1.zetaboards.com/theme_deposit/topic/3866012/1/#new
Edited by Datt, Oct 31 2010, 06:20 PM.
Posted Image
ᕕ( ᐛ )ᕗ
Offline Profile Quote Post Goto Top
 
Masquerade
boy howdy
 *  *  *  *  *  *  *
Interesting! Thanks for finding this, I'll implement it soon.
If you could demonstrate how the liking system works on that example forum you have, that'd be nice, too.
Posted Image
Offline Profile Quote Post Goto Top
 
Datt
Member Avatar
potato
 *  *  *  *  *  *  *
Masquerade
Oct 31 2010, 06:26 PM
Interesting! Thanks for finding this, I'll implement it soon.
If you could demonstrate how the liking system works on that example forum you have, that'd be nice, too.
Hmm, doesn't seem to show to guests..

Try logging into this account and you'll see
Name: test1
Password: test123

also, you can only like posts once, I couldn't find anything to thank or like a member
Edited by Datt, Oct 31 2010, 06:34 PM.
Posted Image
ᕕ( ᐛ )ᕗ
Offline Profile Quote Post Goto Top
 
Demonlemon
Member Avatar
MY CHILDREN COMETH
 *  *  *  *  *  *  *
cool
Happiness is like wetting yourself, everyone can see it, but only you can feel the warmth.
Offline Profile Quote Post Goto Top
 
John
JB
 *  *  *  *  *  *
Very interesting...Ill be interested to see it in action...
Posted Image
Offline Profile Quote Post Goto Top
 
John
JB
 *  *  *  *  *  *
Very well coded btw
Posted Image
Offline Profile Quote Post Goto Top
 
Datt
Member Avatar
potato
 *  *  *  *  *  *  *
hey MK don't forget about this :v
Posted Image
ᕕ( ᐛ )ᕗ
Offline Profile Quote Post Goto Top
 
Masquerade
boy howdy
 *  *  *  *  *  *  *
implemented :]
Posted Image
Offline Profile Quote Post Goto Top
 
Datt
Member Avatar
potato
 *  *  *  *  *  *  *
sweeet
Posted Image
ᕕ( ᐛ )ᕗ
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · General Discussion · Next Topic »
Add Reply

hey there. i'm surprised you're reading this. but you should get back to the forum. have fun :] youmu > meiling Beep beep boop