Forums / Cotonti / Extensions / Quick Edit

123>>>

Edit posts/comments without leaving the page.

TwistedGA
#1 2009-02-19 08:38
Hey guys, this marks my first post, hopefully a good one and not in the wrong area of the forums. I'd been working on building my forums using sedito 1.2.1 and since everyone kept telling me to, I finally jumped ship and came to Cotonti... :D

I'm still learning to code by the minute and trying to get back into the swing of things. I wanted to upload the first thing I implemented into my cotonti forums upon setting them up, a Quick Edit feature. This is NOT a plugin, but a Core HACK. I wasn't really sure where to put it, so this seemed a nice spot, move it if needed.. :)

As the thread description says it, users and administrators may now edit posts and comments without leaving the page it's on. Being that my forums are just getting setup and have very few SQL columns, I can not test it in full swing. I would really like to get some people to test it out for me in it's current state while I finish the rest of the code. All that's really left is finishing up allowing editing the topic title, description and tag cloud. The code for that is about 75% right now and will be included with the next release. Until then, you can click the [~] symbol to open the original editor for editing these items.

If you download this and try it, please leave feedback with your thoughts, be it good or bad. Thanks for reading, heres a screenshot and the download link. :D

//link removed, new release available.

[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]

Dit bericht is bewerkt door TwistedGA (2009-02-21 04:39, 15 jaren ago)
jslowik
#2 2009-02-19 09:46
I'm going to give this a try later. Looks really interesting.
oc
#3 2009-02-19 14:33
Nice idea, bad application.

First, Cotonti will not support this, because the functions.php and forums.posts.inc.php is outdated. Then, you basically recall the post that has been called before, so actually you should be append a textboxer and fill it with the post, otherwise it is like opening a pop-up.
TwistedGA
#4 2009-02-19 14:53
I forgot to mention that this also adds a feature to mask the actual post number for each thread like the comments system does. So the first post in each thread is always displayed as '#1' instead of random numbers throughout as it normally does. The link it creates remains the same though so no other functions should be disturbed by this.

I'm uploading another BETA to the site, this time for the ColoredUsernames feature. It aswell as this is a corehack and currently replaces only a single file. I have yet to decide if these two features should be implemented together in the same package but I am leaning towards it to reduce time for updating to keep working with future cotoni releases.

Thread for it will be up shortly and contains both Cotonti 0.0.2 and Quick-Edit 0.0.1 compatible files so it can run with either.

# oc : Nice idea, bad application.

First, Cotonti will not support this, because the functions.php and forums.posts.inc.php is outdated. Then, you basically recall the post that has been called before, so actually you should be append a textboxer and fill it with the post, otherwise it is like opening a pop-up.

It's currently working using Cotonti build 0.0.2. :\

I assume what you mean by recalling the data is that I shouldn't run a query to call the data for the textboxer, but use the query already in the file to get the post text? This would be an easy fix if it's the problem. I'm just not really clear on what your saying the problem with it is. I'll gladly reshape it if you care to elaborate for me.
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]

Dit bericht is bewerkt door TwistedGA (2009-02-19 15:11, 15 jaren ago)
Ratibor
#5 2009-02-19 15:32
TwistedGA
Please upload QuickEdit-0.0.1.zip in PFS.
Не задавай глупых вопросов, не услышишь вранья.
motor2hg
#6 2009-02-19 15:37
Ratibor
#7 2009-02-19 15:44
motor2hg
Thanks
Не задавай глупых вопросов, не услышишь вранья.
TwistedGA
#8 2009-02-19 15:45
Oh snap, I didn't even notice I had a My Files link, figured I would need X amount of posts before I got that.. Thanks for uploading it motor. :)
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]
Lombi
#9 2009-02-19 18:51
Looks awesome. But please try to make this into a plugin rather than doing corehacks. I'm sure there's a hook available for both improvements.
<a href="http://www.domenlo.com">Surreal Art</a>
m_ogz
#10 2009-02-19 19:05
I'm sure this function deserves to be in core ;-)
Ne hasta bekler sabahı, ne taze ölüyü mezar, ne de şeytan bir günahı, seni beklediğim kadar;<br /><br />
Geçti istemem gelmeni, yoklugunda buldum seni, bırak vehmimde gölgeni, gelme artık neye yarar...
oc
#11 2009-02-19 20:01
"deserve"? :)

I tell again, make this plugin, nobody will be able to use it this way.
biro
#12 2009-02-19 21:13
Hey developers can this be a built feature in any next cotonti release.
Be sure to check out<br /><br /><br />
My site-<a href="http://www.iso-center.co.cc">http://www.iso-center.co.cc</a><br />
My plugins;TPL Editior 1.2 &amp; Mobile site
m_ogz
#13 2009-02-19 21:41
# oc : "deserve"? :)

I tell again, make this plugin, nobody will be able to use it this way.

Well, both posting a message and editing a message must have this feature out of box. Core, plugin or something I don't care ;-)
Ne hasta bekler sabahı, ne taze ölüyü mezar, ne de şeytan bir günahı, seni beklediğim kadar;<br /><br />
Geçti istemem gelmeni, yoklugunda buldum seni, bırak vehmimde gölgeni, gelme artık neye yarar...
oc
#14 2009-02-19 22:36
# biro : Hey developers can this be a built feature in any next cotonti release.

No.

Actually all basic release pack should be basic HTML, not AJAX.
m_ogz
#15 2009-02-19 23:59
We'll see...
Ne hasta bekler sabahı, ne taze ölüyü mezar, ne de şeytan bir günahı, seni beklediğim kadar;<br /><br />
Geçti istemem gelmeni, yoklugunda buldum seni, bırak vehmimde gölgeni, gelme artık neye yarar...

123>>>