cotonti.com : Quick Edit https://www.cotonti.com Son konu mesajları Cotonti en Sun, 13 Sep 2026 08:28:40 -0000 TwistedGA
Has anyone checked out 0.1.0? Aside from not being AJAX yet, am I to assume the new method is fine with everyone?]]>
Pzt, 23 Şub 2009 04:20:21 -0000
esclkm Paz, 22 Şub 2009 06:09:06 -0000 TwistedGA Cmt, 21 Şub 2009 07:50:21 -0000 esclkm
forumplus_27.rar - begin make complex plugin for forums]]>
Cmt, 21 Şub 2009 05:28:24 -0000
TwistedGA
This release is a pretty substantial update, from corehack to plugin, operates more effective and does not increase page size by any amount when not in use. In use, it add's a single forms size.

The only needed change is removing a few options from a div tag. For whatever reason being present, they don't allow the form to operate(even if set to false instead of true).. Info on that in the ReadME. Other than that its Plug and Play. No extra hooks in the skin files needed.

Here it is, still not AJAX, but it's a Plug-In now... :D
http://rapidshare.com/files/205407814/QuickEdit-0.1.1.zip

Feedback appreciated.. :)]]>
Cmt, 21 Şub 2009 04:35:11 -0000
jslowik ]]> Cmt, 21 Şub 2009 03:40:34 -0000 TwistedGA
I'm working on building another variant, this time plugin style so noone has to be worried about compatibility. I'll do my best to get it into AJAX style code.. I have it working now using the following method:

Text converts to Textboxer on click, added a div tag around the {FORUMS_POSTS_ROW} hook to do this on only the selected post and not all of them(same reason I hid them originally).

I definately should have put more thought into how I made it operate, but I wanted to get it out there so everyone knew it was being done and could be marked off any lists of things to do.. :)

So I guess now I just need to convert it to AJAX.

esclkm,
Don't gotta remake it bro :P help me remake it using AJAX in the chat later... LOL]]>
Cmt, 21 Şub 2009 00:13:03 -0000
esclkm Cum, 20 Şub 2009 23:58:43 -0000 Trustmaster
So you need to take a look on how the plugins are made and as for AJAX, there is nice documentation for it. You can always look at existing plugins like indexpolls and markitup to see how things are done.]]>
Cum, 20 Şub 2009 23:18:24 -0000
NovoKain Cum, 20 Şub 2009 20:39:32 -0000 esclkm Lets begin remake your hack into powerful plugin! and I will help you! You begin remake it to plugin and write to me your questions. And We, both, make Your first powerful plugin.
Again, No offense, If your topic have so many posts - your idea really great]]>
Cum, 20 Şub 2009 14:01:50 -0000
TwistedGA
I had already thought about this and decided it wouldn't be a big enough issue to be concerned with.

It really seems to me, that rather than making useful suggestions and postive comments towards helping me use better implementation, you guys want to ride your high horses around like you started out your coding career/hobby knowing the best way to do everything.

Give me some slack here and help me improve it, not bash me for the methods I used accompolished my goal. A week ago, I couldnt have written a single function in PHP, and here I am today, trying to understand the far more ocmplex methods being suggested(and not very clearly at that).

Thanks I guess... We'll just forget I made this thread. :(]]>
Cum, 20 Şub 2009 13:16:54 -0000
esclkm # TwistedGA : The form is hidden using <div> tags and jscript.
So bad variation - in this method size of forum page will grow in 1.5 - 2.
Only ajax - click - it load form and hide primary message - next click it save message.
If you don't know ajax - see plugins which use this technology]]>
Cum, 20 Şub 2009 12:50:24 -0000
biro # oc : No.

Actually all basic release pack should be basic HTML, not AJAX.
y?]]>
Cum, 20 Şub 2009 04:28:55 -0000
Trustmaster Cum, 20 Şub 2009 04:25:10 -0000 TwistedGA
Until Then the code for the header.tpl is:

<head>
	<script language="javascript">
		$(document).ready(function(){
		    
		    $(".edit").click(function () {
		    var divname= this.name;
		      $("#"+divname).show();
		    });
		$(".cancel").click(function () {
		    var divname= this.name;
		      $("#"+divname).hide();
		    });
		  });
	</script> 
</head>

What plugins are already converted, and using the editpost hook? I'll kindly update them for support as mentioned in the readme.

I'm thinking about other ways to make this happen and be less invasive to the core, I just really don't think it should be a plugin.]]>
Cum, 20 Şub 2009 04:16:58 -0000
Trustmaster Cum, 20 Şub 2009 03:58:44 -0000 TwistedGA
I agree that this shouldn't require corehacking, it should have been implemented into the core already and removed the need for the standard editing method of switching to a new page. I can revert it back to a plugin and make it keep working as it does I'm sure, but I really thought it better to be in the core(so that it could be released in future cotonti releases, and work towards removing the typical editing method since its 1990 status.]]>
Cum, 20 Şub 2009 03:34:57 -0000
oc Trustmaster said, otherwise, the idea is nice.

@Dayver: If you want to use AJAX, you can write plugins, or even modules for later. But core should never ever be written AJAX.

It is like we solved everything in our list and this is the last thing to do, well it is not at all. And talking about it, if you just check admin/banlist you can see how bad is ajax operations are performed, but even if it was an excellent use, I would say no. We have bugs to fix and tasks to be completed, if anyone wants to do something, admin panel hardcoded to tpl files is a very busying task.

And about publics common opinion, I can't change what I think because of what everyone thinks, which happens to be wrong. I will never code core or basic module ajax. If anyone wants to catch up with new web tech, web 2.0 does not only mean ajax.

You want to add ajax everywhere, Trustmaster says 50/50. I believe it should be strict html. We have a lot of oppurtunities with PHP/MySQL, of course plugins like markItUp! must have JQuery, but other than that, core should be ajax-free.

And I was the one that pressed Trustmaster and everybody else to use Ajax at first. But now I see it was a big mistake, I just wonder how much time should pass that you realize that fact too, hopefully soon, because every new move is another mistake (index polls-i started that mistake, i accept i was wrong/administration enhancements/rating system...)]]>
Cum, 20 Şub 2009 03:05:01 -0000
m_ogz Cum, 20 Şub 2009 02:04:28 -0000 Trustmaster [list=1]
  • It must be a plugin. Easy to do and no need to bloat the core.
  • It would be better if it operated with AJAX: you click Edit then post text turns into a form, then you click submit and it turns back into updated text. Just see some popular bulletin boards like IPB.
  • ]]>
    Cum, 20 Şub 2009 01:12:03 -0000
    Dayver # oc : No.
    Actually all basic release pack should be basic HTML, not AJAX.
    Why you do not want to see Ajax? I fear that your personal opinion may not coincide with ideas of everyone else .... so enough negatively speak about the Ajax.

    There is a forum ideas for the possibility to create polls .... create a poll to see the opinion of all the other people]]>
    Cum, 20 Şub 2009 00:24:57 -0000
    esclkm Cum, 20 Şub 2009 00:06:12 -0000 m_ogz Per, 19 Şub 2009 23:59:49 -0000 oc # 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.]]>
    Per, 19 Şub 2009 22:36:03 -0000
    m_ogz # 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 ;-)]]>
    Per, 19 Şub 2009 21:41:49 -0000
    biro Per, 19 Şub 2009 21:13:10 -0000 oc
    I tell again, make this plugin, nobody will be able to use it this way.]]>
    Per, 19 Şub 2009 20:01:58 -0000
    m_ogz ]]> Per, 19 Şub 2009 19:05:27 -0000 Lombi Per, 19 Şub 2009 18:51:41 -0000 TwistedGA Per, 19 Şub 2009 15:45:31 -0000 Ratibor motor2hg
    Thanks]]>
    Per, 19 Şub 2009 15:44:43 -0000
    motor2hg quickedit-0.0.1_40.zip]]> Per, 19 Şub 2009 15:37:05 -0000 Ratibor TwistedGA
    Please upload QuickEdit-0.0.1.zip in PFS.]]>
    Per, 19 Şub 2009 15:32:17 -0000
    TwistedGA
    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.]]>
    Per, 19 Şub 2009 14:53:20 -0000
    oc
    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.]]>
    Per, 19 Şub 2009 14:33:17 -0000
    jslowik Per, 19 Şub 2009 09:46:41 -0000 TwistedGA
    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.

    ]]>
    Per, 19 Şub 2009 08:38:40 -0000