Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • QuickSig
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:
Add Reply
  • Pages:
  • 1
  • 2
  • 3
QuickSig; Edit your sig with a double click!
Topic Started: Oct 25 2009, 04:39 PM (410 Views)
Choco Oct 25 2009, 04:39 PM Post #1
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
Name: QuickSig
Version: 1.0
Browsers: IE/FF/Chrome/Safari/Opera
Description: Makes it so you can double click your signature and edit it in any topic.
Installation: Put it anywhere in your board template.
Code:
Code:
 

<script type="text/javascript">
//QuickSig v1
//By Choco
//Visit ZBCode.com for more codes!
$(function(){myURL = $("a:eq(0)").attr("href");
cancelh = "";
if(myURL.match(/\/profile\//gi)) {
//We're logged in
$("td.c_username a[href="+myURL+"]").parent().parent().next().next().find(".c_sig").dblclick(function() {
cancelh = $(this).html();
myDiv = this;
if($("body").find("textarea.quicksig").size()<1) {
$(this).html("<br /><textarea disabled='true' rows='8' class='quicksig'>Loading...</textarea><br /><br /><input type='button' value='Submit' /> <input type='button' value='Cancel' onclick='cancel()' /><br />");
$.get(main_url+"home/?c=32",function(response) {
mySig = $("textarea:eq(0)",response).val();
$(".quicksig").val(mySig).removeAttr("disabled").parent().find("input:eq(0)").click(function() {
$.post(main_url+"home/?c=32&send=1",{post:$(".quicksig").val(),xc:$("input[name=xc]",response).val()},function(restwo) {
$(myDiv).html($(".c_sig",restwo).html());
});
}).end().parent().find("input:eq(1)").click(function() {
$(this).parent().html(cancelh);
});
});
} else {
alert("You already have a quick signature box open. Please cancel/submit that one before opening another.");
}
});
}});
</script>

Notes: Enjoy! :)
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Quote Post Goto Top
 
Dorith Oct 25 2009, 04:49 PM Post #2
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 this be called "Quick Sig Edit" or something?

Also, you and your awesome quick edits. They're too awesome! Though the zEdit or w/e is still sorta gitchy :/
Posted Image
Posted Image
(Made emoticon using Codes Rock's Smiley Generator)
Offline Profile Quote Post Goto Top
 
RedBldSandman Oct 25 2009, 05:07 PM Post #3
Member Avatar
ZIPPY!

Posts:
479
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
Coding language
JavaScript
Pretty cool :D Quick edits are always fun!
Posted Image
"To iterate is human, to recurse divine."

Offline Profile Quote Post Goto Top
 
Choco Oct 25 2009, 05:16 PM Post #4
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
Dorith
Oct 25 2009, 04:49 PM
Shouldn't this be called "Quick Sig Edit" or something?

Also, you and your awesome quick edits. They're too awesome! Though the zEdit or w/e is still sorta gitchy :/
Yeah, zEdit is glitchy. That's next on my list. :)

And thanks for the kind words :)
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Quote Post Goto Top
 
Reid Oct 25 2009, 05:27 PM Post #5
Member Avatar
What? The land of the free? Whoever told you that was your enemy.

Posts:
1,790
Group:
Distinguished Coder
Member
#148
Joined:
Jul 20, 2008
Coding language
JavaScript
Choco
Oct 25 2009, 05:16 PM
Dorith
Oct 25 2009, 04:49 PM
Shouldn't this be called "Quick Sig Edit" or something?

Also, you and your awesome quick edits. They're too awesome! Though the zEdit or w/e is still sorta gitchy :/
Yeah, zEdit is glitchy. That's next on my list. :)

And thanks for the kind words :)
*Shakes fist*
Posted Image
Offline Profile Quote Post Goto Top
 
Choco Oct 25 2009, 05:35 PM Post #6
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
Reid
Oct 25 2009, 05:27 PM
Choco
Oct 25 2009, 05:16 PM
Dorith
Oct 25 2009, 04:49 PM
Shouldn't this be called "Quick Sig Edit" or something?

Also, you and your awesome quick edits. They're too awesome! Though the zEdit or w/e is still sorta gitchy :/
Yeah, zEdit is glitchy. That's next on my list. :)

And thanks for the kind words :)
*Shakes fist*
I blame you. :P
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Quote Post Goto Top
 
Gorgor Oct 25 2009, 05:40 PM Post #7
Hello

Posts:
1,182
Group:
Coding Staff
Member
#2,728
Joined:
Apr 2, 2009
Coding language
PHP
Very cool idea for a code Choco. :)
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
This forum is closed. Please visit http://zetascript.co.cc
Offline Profile Quote Post Goto Top
 
Lout Oct 25 2009, 07:09 PM Post #8
Member Avatar


Posts:
401
Group:
Dedicated
Member
#2,400
Joined:
Feb 19, 2009
Does this use any extra ad credits for boards that have ad removal?
Posted Image
Offline Profile Quote Post Goto Top
 
Choco Oct 25 2009, 07:11 PM Post #9
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
LagerLout
Oct 25 2009, 07:09 PM
Does this use any extra ad credits for boards that have ad removal?
It uses exactly the same number of credits that it would take to navigate to the edit signature page and submit changes. :)

And thanks Gorgor! =D
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Quote Post Goto Top
 
Lout Oct 25 2009, 07:13 PM Post #10
Member Avatar


Posts:
401
Group:
Dedicated
Member
#2,400
Joined:
Feb 19, 2009
Cool, nice idea for a code :)
Posted Image
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2
  • 3

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