[ABD] jQuery Quick Topic Title Edit v.0.0.2

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

[ABD] jQuery Quick Topic Title Edit v.0.0.2

Post by 4_seven » Sun Jan 16, 2011 9:14 pm

jQuery Quick Topic Title Edit

MOD-Title: jQuery Quick Topic Title Edit
MOD-Version: 0.0.2
MOD-Author: 4seven

Credits: Mika Tuupola for Jeditable jQuery Plugin

Request by: Eragon
Request Thread: http://www.phpbb.com/community/viewtopi ... &t=2114507

MOD-Description: On the fly edit of Topic Titles/Post Subjects

phpBB-Version: phpBB 3.0.x
phpBB-Languages: en
phpBB-Styles: prosilver, subsilver2

Download: http://www.4seven.de/forum/6test/viewtopic.php?f=3&t=50

Image

Image

Features:
- Quick Edit Topic Titles
- Quick Edit Single Post Subjects
Options:
QEdit Off
QEdit Titles
QEdit Titles + Subjects
QEdit Titles + Re: Subjects
QEdit Subjects
Options Explanation:
- Set Mod off
- Change 'topic title' and 'first post subject' via viewforum
- Change all 'post subjects' automatically to 'topic title' via viewforum
- Change all 'post subjects' automatically to 'Re: topic title'' via viewforum (except 'first post subject')
- Change single 'post subjects' via viewtopic (with option to change 'topic title' trough editing 'first post subject')
Requirements: JQuery latest min

MOD-Demo / Explanation:
Topic Title > http://www.4seven.de/forum/1/viewforum.php?f=2

- Single click on topic title > edit mode
- Edit via cursor-keys, [backspace] or [delete]
- Hit [enter] when title-edit is done

Post Subject > http://www.4seven.de/forum/1/viewtopic.php?f=2&t=74

- Single click on post subject > edit mode
- Edit via cursor-keys, [backspace] or [delete]
- Hit [enter] when subject-edit is done

--------------------------------------------------
if you empty a field, 'Click to edit' appears
--------------------------------------------------

- In edit mode a link-button for admins near topic-title appears.
- For non-admins all topic-title links acts and looks normal.
For all normal users (non-admins) all topic-titles looks/acts as in standard-phpbb3. only the admins can activate the"topic-title edit-mode" and then it's look like in the public-demo, so what u see in demo is the (temporary) admin-mode. when admins de-activate "topic-title edit-mode", topic-titles looks/acts also for admins as in standard-phpbb3.
For testings make shure, that the right option is switched:

Image
Fixes / Updates
Fix#1 for v.0.0.2

- fixing bug reported by Leinad4Mind
http://www.phpbb.com/community/viewtopi ... #p13059987
Fix#2
- on some board/some cases only

http://www.phpbb.com/community/viewtopi ... #p13105525
Last edited by 4_seven on Fri Mar 09, 2012 4:34 pm, edited 27 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
Eragon
Registered User
Posts: 218
Joined: Tue Oct 07, 2008 1:57 pm

Re: [DEV] jQuery Quick Topic Title Edit

Post by Eragon » Sun Jan 16, 2011 9:26 pm

heyoo :) thanks for modification 4_seven
When will this Mod be released ?

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Sun Jan 16, 2011 9:27 pm

hi, see timeline in first post..
Current Mods | Mod Base | php(BB) programming | No help via PM

pebumen
Registered User
Posts: 137
Joined: Tue Apr 20, 2010 3:50 pm
Location: Poland

Re: [DEV] jQuery Quick Topic Title Edit

Post by pebumen » Sun Jan 16, 2011 10:52 pm

Is it still possible to add options: "Quick Edit Single Post Subjects" to "Option-Switch" ??
I admit that I care about most of these options: ;)
- Quick Edit Topic Titles
- Change all post subjects automatically with topic title

I also have thank you for this modification :D

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Mon Jan 17, 2011 1:43 am

thx for laudation.

demo is updated. see first post for further details under MOD-Demo / Explanation:
Current Mods | Mod Base | php(BB) programming | No help via PM

pebumen
Registered User
Posts: 137
Joined: Tue Apr 20, 2010 3:50 pm
Location: Poland

Re: [DEV] jQuery Quick Topic Title Edit

Post by pebumen » Mon Jan 17, 2011 9:25 am

super thank you very much (updates)

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Mon Jan 17, 2011 8:04 pm

dev-news:
- new option added
- finish option switch and all functions for that.
- offers all possibilitys in editing for 'topic title' and 'post subjects'
first post wrote:
Options:
QEdit Off
QEdit Titles
QEdit Titles + Subjects
QEdit Titles + Re: Subjects
QEdit Subjects
Options Explanation:
- Set Mod off
- Change 'topic title' and 'first post subject' via viewforum
- Change all 'post subjects' automatically to 'topic title' via viewforum
- Change all 'post subjects' automatically to 'Re: topic title'' via viewforum (except 'first post subject')
- Change single 'post subjects' via viewtopic (with option to change 'topic title' trough editing 'first post subject')
to do:
- cleaning code
- optimizing and further testing
- write modx

-----------------------------------------------------------------------

all new options are in live test now.
read first post for more details.
feel free to test it out.
first post wrote:
For testings make shure, that the right option is switched:

Image
Last edited by 4_seven on Mon Jan 17, 2011 11:48 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [DEV] jQuery Quick Topic Title Edit

Post by heredia21 » Mon Jan 17, 2011 8:45 pm

But you will only be able to edit the topic title if you are a moderator or the topic starter? Correct?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Mon Jan 17, 2011 8:48 pm

this time admin only or u have 'very trusted' moderators, so u can expand the mod to them..
i would never give 'normal topic starter' the rights for that (my opinion)
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [DEV] jQuery Quick Topic Title Edit

Post by heredia21 » Mon Jan 17, 2011 8:51 pm

Would there be an option to give moderators access? Also will subsilver2 edits be available as well? Any slowing down of the board with this mod?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Mon Jan 17, 2011 8:57 pm

Would there be an option to give moderators access?
i give an instruction to expand that to moderators later after release.
Also will subsilver2 edits be available as well?
may as user-to-user support, not in modx.
the edits are relative simple in template, bcs. it plays only around the titles/subjects,
so it is easy to transform for people, which are closer to subsilver2 template as me.
Any slowing down of the board with this mod?
no, bcs. it updates entrys in database just in the moment, you hit enter.
if u haven't activate the mod or not act or click with mod activ, it dont' fire anything.
Current Mods | Mod Base | php(BB) programming | No help via PM

pebumen
Registered User
Posts: 137
Joined: Tue Apr 20, 2010 3:50 pm
Location: Poland

Re: [DEV] jQuery Quick Topic Title Edit

Post by pebumen » Mon Jan 17, 2011 10:17 pm

when the modification is available, I'll do for myself switcher:

Code: Select all

QEdit Off
QEdit Titles + Subjects
:D

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit

Post by 4_seven » Mon Jan 17, 2011 11:15 pm

the function is generated, u can control it via template. just remove the unneded <option> tag from <select>.
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] jQuery Quick Topic Title Edit v.0.0.1

Post by 4_seven » Wed Jan 19, 2011 2:14 am

v.0.0.1 released

see first post for further details
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm
Contact:

Re: [DEV] jQuery Quick Topic Title Edit v.0.0.1

Post by heredia21 » Wed Jan 19, 2011 2:33 am

About to test out. Will wait for subsilver2 edit if there are some.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com

Locked

Return to “[3.0.x] Abandoned MODs”