AJAX Quick Edit

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
EidolonHades
Registered User
Posts: 160
Joined: Tue May 19, 2009 3:38 pm

Re: AJAX Quick Edit

Post by EidolonHades » Mon Jun 08, 2009 2:02 pm

I find myself using the standard editor more and more on my site just now, when I edit topics there it's usually to submit an update to an attachment, this mod doesn't pull in the attachments. Is there any hope of this mod pulling in the attachments in the quick edit?

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5408
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: AJAX Quick Edit

Post by Marc » Mon Jun 08, 2009 4:08 pm

http://www.m-a-styles.de/tracker.php?p=11&t=33

I'll take a look at it for the next version. ;)

User avatar
Ahri89
Registered User
Posts: 516
Joined: Sat Apr 07, 2007 2:53 pm
Location: Spain
Contact:

Re: AJAX Quick Edit

Post by Ahri89 » Mon Jun 08, 2009 4:18 pm

I need a spanish buttons, please help u.u
MODs translated to Spanish: ACP Add User MOD, ACP Announcement Centre, Advertisement Management, Custom Profile Fields, Update Reminder, Flood time setting per forum, MOD Version Check, Posting template, Prune Log, Simple Trash Bin, TinyPic Plugin, User Reminder, View Profile, View your topics, and more...

Sorry for my bad english xD

Xplorer4x4
Registered User
Posts: 81
Joined: Tue May 02, 2006 11:12 pm

Re: AJAX Quick Edit

Post by Xplorer4x4 » Mon Jun 08, 2009 4:54 pm

^find the psd files for your style(s) and edit them to your liking then over write the old image.

I dont really like the idea of attachments in the quick edit. Look at IPB and vB. Neither have attachments in quick edit, and personally i think its for the best. Keeps it nice and lean.

Saint_hh
Registered User
Posts: 362
Joined: Thu Mar 31, 2005 5:16 pm
Location: Hamburg / Germany
Name: Kevin
Contact:

Re: AJAX Quick Edit

Post by Saint_hh » Mon Jun 08, 2009 5:01 pm

Xplorer4x4 wrote:I dont really like the idea of attachments in the quick edit. Look at IPB and vB. Neither have attachments in quick edit, and personally i think its for the best. Keeps it nice and lean.
I think so too.
It should be a quick edit, in the sense of the name. Manipulating more than text should be done with the standard editor.

iamshoaibi
Registered User
Posts: 15
Joined: Sat Jun 06, 2009 10:11 am

Re: AJAX Quick Edit

Post by iamshoaibi » Tue Jun 09, 2009 2:17 am

I have it installed. I have 3 themes prosilver, subsilver2 and revolution (based on prosilver).
Problem is it doesn't show up on revolution, but on others it does. Why?
I had this same problem when i install "JavaScript Log out confirmation", and the only solution i found was to manually copy the .js file and the code from prosilver/templates/overall_header to revolution/template/overall_header.html , seems like template inheritance isn't working.

[No, this is not spam, i just faced the exact same issue so paste the text from earlier post]
Community for Open Source Promotion.
Open Source - Opportunities Unlimited
COSP Site | COSP Forums | Join Us | Support Us | Request Event | Send Feedback | COSP-General Mailing List | COSP Recruitees Group

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: AJAX Quick Edit

Post by alienbabeltech » Tue Jun 09, 2009 4:48 am

not working for me on Aeroblue. I designed my own imageset image using the PSD the theme author provided me.

Here is the image I used Image

And this is what i get

Image

2 edit buttons.

My forum here http://alienbabeltech.com/abt. Refreshed the template in ACP

Clicking the lower edit button does nothing, while the upper takes me to the full edit
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

kida7
Registered User
Posts: 64
Joined: Fri Sep 26, 2008 2:54 pm
Location: Vietnam
Contact:

Re: AJAX Quick Edit

Post by kida7 » Tue Jun 09, 2009 5:33 am

This mod still has a bug. When you enter symbol as '+', this return ' ' (space). Example:
You enter in quick edit textarea box

Code: Select all

for(i=0;i<n;i++)
{
...
}
Alfter submit, you'll receive:

Code: Select all

for(i=0;i<n;i  )
{
...
}
'++' => ' ';

Fix: open quickedit.html
FIND:

Code: Select all

contents = contents.replace(/[&]/g,"%26"); 
ADD AFTER:

Code: Select all

contents = contents.replace(/[+]/g,"%2B"); 

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5408
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: AJAX Quick Edit

Post by Marc » Tue Jun 09, 2009 1:14 pm

Thanks for the bug report. It will be fixed in the next version.

@alienbabeltech: I don't know how the buttons work in the Aero-styles. I think jrolson mixed subsilver2 with prosilver, so it's probably good if you ask him how to do that.

EidolonHades
Registered User
Posts: 160
Joined: Tue May 19, 2009 3:38 pm

Re: AJAX Quick Edit

Post by EidolonHades » Tue Jun 09, 2009 4:35 pm

marc1706 wrote:http://www.m-a-styles.de/tracker.php?p=11&t=33

I'll take a look at it for the next version. ;)
Great stuff, thank you for looking into it.

alienbabeltech
Registered User
Posts: 415
Joined: Mon Sep 17, 2007 12:54 pm

Re: AJAX Quick Edit

Post by alienbabeltech » Wed Jun 10, 2009 4:03 am

marc1706 wrote: @alienbabeltech: I don't know how the buttons work in the Aero-styles. I think jrolson mixed subsilver2 with prosilver, so it's probably good if you ask him how to do that.
He suggested me to do this
jrolson wrote:In viewtopic_body.html
Find,

Code: Select all

<!-- IF postrow.U_EDIT --><div class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></div><!-- ENDIF -->
Replace with,

Code: Select all

<!-- IF postrow.U_EDIT --><div class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></div> <div class="quickedit-icon"><a href="#" id="quick_edit{postrow.POST_ID}" onclick="quick_edit({postrow.POST_ID}); return false;">{QUICKEDIT_IMG}</a></div><!-- ENDIF -->
In stylesheet.css
Find,

Code: Select all

.edit-icon, .edit-icon a			{ background-image: url("{T_IMAGESET_LANG_PATH}/icon_post_edit.png"); }
After add,

Code: Select all

.quickedit-icon, .quickedit-icon a			{ background-image: url("{T_IMAGESET_LANG_PATH}/icon_post_quickedit.png"); }
Find,

Code: Select all

.quote-icon, .quote-icon a, .report-icon, .report-icon a, .warn-icon, .warn-icon a, .edit-icon, .edit-icon a, .delete-icon, .delete-icon a, .info-icon, .info-icon a
In-line after add,

Code: Select all

, .quickedit-icon a
Find,

Code: Select all

.profile-icons div.edit-icon, .review-icons div.edit-icon	{ width: 34px; height: 18px; }
After add,

Code: Select all

.profile-icons div.quickedit-icon, .review-icons div.quickedit-icon	{ width: 74px; height: 18px; }
which I did.

Now, I used a png button as he said
Image

Now the buttons show up correctly
Image

But on clicking the button, it turns to blue but doesn't do anything
Image
This is the best and most helpful community I have been on. You are some of the best people I have met. GOD Bless You ALL !
My Forum - http://alienbabeltech.com/abt/index.php

kida7
Registered User
Posts: 64
Joined: Fri Sep 26, 2008 2:54 pm
Location: Vietnam
Contact:

Re: AJAX Quick Edit

Post by kida7 » Wed Jun 10, 2009 6:20 am

New bug: when you enter number after symbol "%",
fix:in quickedit.html add

Code: Select all

contents = contents.replace(/[%]/g,"%25"); 
before

Code: Select all

contents = contents.replace(/[&]/g,"%26"); 

User avatar
god0fgod
Registered User
Posts: 227
Joined: Wed May 30, 2007 5:25 pm
Contact:

Re: AJAX Quick Edit

Post by god0fgod » Wed Jun 10, 2009 4:03 pm

This is very good and I like the bb-code buttons as well. I didn't expect that. But why does the bold bb-code say cancel?
screenshot.png
screenshot.png (105.64 KiB) Viewed 718 times
Smilies would be nice, as well, on the side.

User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5408
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: AJAX Quick Edit

Post by Marc » Wed Jun 10, 2009 4:13 pm

Good question, I've never seen that. Could you post your quickedit.html?
And no, there won't be smilies. If you want to edit your post and add 500 smilies, you will have to use the normal edit.

User avatar
god0fgod
Registered User
Posts: 227
Joined: Wed May 30, 2007 5:25 pm
Contact:

Re: AJAX Quick Edit

Post by god0fgod » Wed Jun 10, 2009 4:35 pm

Why would that file be any different? And the file on the server is the same as the original.


Edit: It doesn't matter, the problem hasn't re-occurred now I've rechecked. It may have been some odd caching problem? Or maybe a problem with my browser?

Locked

Return to “[3.0.x] MOD Database Releases”