Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] zEdit v2.0
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
  • …
  • 5
[SC] zEdit v2.0; Quickly edit your posts in-topic
Tweet Topic Started: Jul 3 2009, 03:10 PM (2,632 Views)
Reid Jul 3 2009, 03:10 PM Post #1
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
Okay, so. Everyone knows rEdit got pulled out of all the code databases across the place; it was to make do for this.

This is zEdit version 2 made by Choco and myself collaboratively. Hope you guys enjoy it.

What's it do? zEdit v2.0 allows you to edit your posts in-topic and preview the results right on the page.

How many ad credits does it use? It uses the same amount of ad credits as a regular edit.

How do I use it? Double click on any post that you can edit and the zEdit interface will open up right there. Be aware, you cannot have more than 1 zEdit open at any time.

How do I install it? It's not very hard. Just stick this in the "Below the Board" spot in the Board Template in the Admin CP:
Code:
 
<script type='text/javascript' src='http://z3.ifrm.com/313/104/0/p222004/zedit_v2.0.js'></script>
That's it!

Wait.. it doesn't work.
Spoiler: click to toggle
You need to have an "alt" attribute set for your Edit button, then. To do this, go to Themes and edit the Theme Images (all of them.)

Hit CTRL+F to open up the "Find" interface and type "Edit". Once you have done this, you should be shortly brought to an edit button that will look something like this:
Code:
 
<img src='some url here' />
This needs to be changed to
Code:
 
<img src='some url here' alt='Edit Post' />
Be sure to copy the URL from the first one!
Enjoy. :D
Edited by Reid, Oct 11 2009, 02:24 PM.
The Resource Board
Offline Profile Goto Top
 
Lout Jul 3 2009, 03:30 PM Post #2
Member Avatar


Posts:
402
Group:
Dedicated
Member
#2,400
Joined:
Feb 19, 2009
What's different between this and the "rEdit" code? Do you still get the popup box?
Posted Image
Offline Profile Goto Top
 
Reid Jul 3 2009, 03:33 PM Post #3
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
LagerLout
Jul 3 2009, 03:30 PM
What's different between this and the "rEdit" code? Do you still get the popup box?
It has a feature or two I left out and is better written. And no, you don't get any more popup boxes.
The Resource Board
Offline Profile Goto Top
 
Choco Jul 3 2009, 03:33 PM Post #4
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
LagerLout
Jul 3 2009, 03:30 PM
What's different between this and the "rEdit" code? Do you still get the popup box?
This is cleaner, more efficient and faster to use, and it uses one less AJAX request; the loading image has been changed, the code should be faster to load (maybe) and it has a preview feature. And no, it has no more popup boxes. :)
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Goto Top
 
Lout Jul 3 2009, 04:10 PM Post #5
Member Avatar


Posts:
402
Group:
Dedicated
Member
#2,400
Joined:
Feb 19, 2009
Sold to the man with the Lager :D
Posted Image
Offline Profile Goto Top
 
Choco Jul 3 2009, 09:14 PM Post #6
Member Avatar
¡ʎɹoʇɔɐɟ ʎʇıʌɐɹƃ ɐ uı pǝddɐɹʇ ɯ,ı 'dןǝɥ

Posts:
589
Group:
Admins
Member
#3,272
Joined:
Jun 30, 2009
Coding language
Everything
By the way, known bug:
Posted Image
If you press preview more than once, extra preview boxes will come up, but only one will be updated with the actual preview. This will be fixed soon, but it's not too big a deal, so hopefully it doesn't interfere with your use of zEdit. :)
Posted ImageIt's a magical world, Hobbes, ol'd buddy... ...let's go exploring!
In progress: Something Special ;)
Offline Profile Goto Top
 
slayer766 Jul 3 2009, 09:29 PM Post #7
Member Avatar
Hello all

Posts:
1,653
Group:
Distinguished Coder
Member
#12
Joined:
Jul 9, 2008
Coding language
PHP
Wow, there isn't even a need for the regular edit page anymore. XD Well besides the fact if you don't know the boards BBCode and smilieys and whatnot, but I don't do anything fancy. But awesome job you guys, this is one great code!
Offline Profile Goto Top
 
coolmike454 Jul 11 2009, 07:11 AM Post #8


Posts:
1
Group:
Member
Member
#134
Joined:
Jul 19, 2008
Coding language
PHP
Thank you, this mod will come quite handy. :)
Offline Profile Goto Top
 
Lout Jul 11 2009, 03:57 PM Post #9
Member Avatar


Posts:
402
Group:
Dedicated
Member
#2,400
Joined:
Feb 19, 2009
Indeed, this would definitely come in the top 3 of ZB mods that are available now.

Great work Reid & Choco :D
Edited by Lout, Jul 11 2009, 03:58 PM.
Posted Image
Offline Profile Goto Top
 
RedBldSandman Jul 15 2009, 08:21 PM Post #10
Member Avatar
ZIPPY!

Posts:
482
Group:
Coding Staff
Member
#2,122
Joined:
Jan 25, 2009
I absolutely love this mod. Thanks Reid and Choco :D
Posted Image
"To iterate is human, to recurse divine."

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
  • …
  • 5

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