[BETA] jQuery Quick Edit 0.2.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] jQuery Quick Edit 0.2.0

Post by 4_seven » Wed Aug 25, 2010 5:29 pm

marc1706 wrote:Because you will have to rewrite the whole MOD.
or accept the little "issue" ;)

zagor256
Registered User
Posts: 60
Joined: Sun Aug 03, 2008 2:04 pm
Contact:

Re: [BETA] jQuery Quick Edit 0.2.0

Post by zagor256 » Wed Aug 25, 2010 6:58 pm

Is this mod compatible with ultimate points? (correct +- user points for post when edit posts)?

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

Re: [BETA] jQuery Quick Edit 0.2.0

Post by Marc » Wed Aug 25, 2010 7:25 pm

No, currently not but it shouldn't be too hard to add.

ShadowFS
Registered User
Posts: 38
Joined: Mon Aug 10, 2009 10:37 pm
Location: Brasil

Re: [BETA] jQuery Quick Edit 0.2.0

Post by ShadowFS » Thu Aug 26, 2010 7:12 pm

eman80 wrote:Hi marc :)

I just installed this nice mod on my localhost it seems that everything is fine, but is it normal we have to refresh the page after we make quick edit to see the effect.
because I see this:
Modification Description: Edit posts quickly without reloading the page.
I don't know why this happened

and thank you very much for Prime Post Revision Add-On, works great. :D


Edit: solved it .. everything is fine now :D

Thanks Great Mod 8-)
I have this problem too. How do you fixed it?

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

Re: [BETA] jQuery Quick Edit 0.2.0

Post by Marc » Thu Aug 26, 2010 7:53 pm

What style are you using? It is possible that a variable has to be adjusted in order to make the MOD work correctly.

User avatar
eman80
Registered User
Posts: 327
Joined: Tue Aug 19, 2008 1:49 pm

Re: [BETA] jQuery Quick Edit 0.2.0

Post by eman80 » Thu Aug 26, 2010 8:16 pm

ShadowFS wrote:
eman80 wrote:Hi marc :)

I just installed this nice mod on my localhost it seems that everything is fine, but is it normal we have to refresh the page after we make quick edit to see the effect.
because I see this:
Modification Description: Edit posts quickly without reloading the page.
I don't know why this happened

and thank you very much for Prime Post Revision Add-On, works great. :D


Edit: solved it .. everything is fine now :D

Thanks Great Mod 8-)
I have this problem too. How do you fixed it?
I am using prime trash bin mod and it has this code in the viewtopic_body.html

Code: Select all

<div class="postbody">

and this mod contains this instruction:

In viewtopic_body.html:
find:

Code: Select all

<div class="postbody">
so I did a mistake and put the code in the wrong place, then I checked my edit and correct code place. after that the mod worked perfectly.

That is it :)
welcome to my forum:
http://www.elibrary4arab.com

ShadowFS
Registered User
Posts: 38
Joined: Mon Aug 10, 2009 10:37 pm
Location: Brasil

Re: [BETA] jQuery Quick Edit 0.2.0

Post by ShadowFS » Thu Aug 26, 2010 8:42 pm

marc1706 wrote:What style are you using? It is possible that a variable has to be adjusted in order to make the MOD work correctly.
I using X_Silver (prosilver based).
eman80 wrote:
ShadowFS wrote:
eman80 wrote:Hi marc :)

I just installed this nice mod on my localhost it seems that everything is fine, but is it normal we have to refresh the page after we make quick edit to see the effect.
because I see this:
Modification Description: Edit posts quickly without reloading the page.
I don't know why this happened

and thank you very much for Prime Post Revision Add-On, works great. :D


Edit: solved it .. everything is fine now :D

Thanks Great Mod 8-)
I have this problem too. How do you fixed it?
I am using prime trash bin mod and it has this code in the viewtopic_body.html

Code: Select all

<div class="postbody">

and this mod contains this instruction:

In viewtopic_body.html:
find:

Code: Select all

<div class="postbody">
so I did a mistake and put the code in the wrong place, then I checked my edit and correct code place. after that the mod worked perfectly.

That is it :)
I checked and it is on the correct place.
My viewtopic_body:

Code: Select all

<!-- INCLUDE overall_header.html -->
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->

<!-- IF MODERATORS or U_MCP -->
		<!-- IF MODERATORS -->
		<div class="moderator_forum">
			<strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
		<!-- ENDIF -->
	</div>
<!-- ENDIF -->

<!-- IF S_FORUM_RULES -->
	<div class="rules">
		<div class="inner"><span class="corners-top"><span></span></span>
			<!-- IF U_FORUM_RULES -->
				<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
			<!-- ELSE -->
				<strong>{L_FORUM_RULES}</strong><br />
				{FORUM_RULES}
			<!-- ENDIF -->
		<span class="corners-bottom"><span></span></span></div>
	</div>
<!-- ENDIF -->

<div class="topic-actions">
	<div class="buttons">
		<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->">
				<a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
				<span></span></a>
			</div>
		<!-- ENDIF -->
	</div>
	<!-- IF S_DISPLAY_SEARCHBOX -->
		<div class="search-box">
			<form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}">
				<fieldset>
					<input class="inputbox search tiny"  type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
					<input class="button4" type="submit" value="Buscar" />
					<input type="hidden" value="{TOPIC_ID}" name="t" />
					<input type="hidden" value="msgonly" name="sf" />
				</fieldset>
			</form>
		</div>
	<!-- ENDIF -->
	<!-- IF PAGINATION or TOTAL_POSTS -->
		<div class="pagination">
			<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
			<!-- IF PAGE_NUMBER -->
				<!-- IF PAGINATION --> 
					&bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span>
				<!-- ELSE --> 
					&bull; {PAGE_NUMBER}
				<!-- ENDIF -->
			<!-- ENDIF -->
		</div>
	<!-- ENDIF -->
</div>

<div class="clear"></div>

<!-- IF S_HAS_POLL -->
	{$SKIN_CAT_HEADER_OPEN}
	<a class="c-h-link" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>
	{$SKIN_CAT_HEADER_CLOSE}
	<form method="post" action="{S_POLL_ACTION}">
					<div class="sub-left"><div class="sub-right">
												
		<div class="panel">
			<div class="inner">
				<div class="content">
						<h2>{POLL_QUESTION}</h2>
					</div></div></div></div></div>	
					<div class="v-left"><div class="v-right">	
							<div class="panel">
			<div class="inner">
				<div class="content">
						<p class="author">{L_POLL_LENGTH}
							<!-- IF S_CAN_VOTE and L_POLL_LENGTH -->
								<br />
							<!-- ENDIF -->
							<!-- IF S_CAN_VOTE -->
							{L_MAX_VOTES}
							<!-- ENDIF -->
						</p>	
						<fieldset class="polls">
							<!-- BEGIN poll_option -->
								<dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
								<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
								<!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
								<!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
								<dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
								</dl>
							<!-- END poll_option -->

							<!-- IF S_DISPLAY_RESULTS -->
								<dl>
									<dt>&nbsp;</dt>
									<dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd>
								</dl>
							<!-- ENDIF -->

							<!-- IF S_CAN_VOTE -->
								<dl style="border-top: none;">
									<dt>&nbsp;</dt>
									<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
								</dl>
							<!-- ENDIF -->

							<!-- IF not S_DISPLAY_RESULTS -->
								<dl style="border-top: none;">
									<dt>&nbsp;</dt>
									<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
								</dl>
							<!-- ENDIF -->
						</fieldset>

				</div>
			</div>
			{S_FORM_TOKEN}
			{S_HIDDEN_FIELDS}
		</div>
						</div>
			</div>
	</form>
<!-- ENDIF -->

<!-- BEGIN postrow -->
	
	<!-- IF S_HAS_POLL -->
		<!-- IF postrow.S_FIRST_ROW -->
						<div class="sub-left"><div class="sub-right">
									<div class="panel">
				<div class="inner">
					<div class="content">
						<h2>&nbsp;</h2>
						</div></div>
					</div>
				</div>
			</div>
		<!-- ELSE -->
			<div class="mini-c-h-l"><div class="mini-c-h-r"><div class="mini-c-h-c"></div></div></div>
		<!-- ENDIF -->	
	<!-- ELSE -->
		<!-- IF postrow.S_FIRST_ROW -->
			{$SKIN_CAT_HEADER_BORDER_OPEN}
			<a class="c-h-link" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>
			{$SKIN_CAT_HEADER_BORDER_CLOSE}
		<!-- ELSE -->
			<div class="mini-c-h-l"><div class="mini-c-h-r"><div class="mini-c-h-c"></div></div></div>
		<!-- ENDIF -->
	<!-- ENDIF -->
	
	<div class="mini-v-left"><div class="mini-v-right">
		<!-- IF postrow.S_FIRST_UNREAD -->
			<a id="unread"></a>
		<!-- ENDIF -->
		<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF -->">
			<div class="inner">
				<span class="corners-top"><span></span></span>
					<div class="postbody">
						<!-- IF postrow.S_IGNORE_POST -->
							<div class="ignore">{postrow.L_IGNORE_POST}</div>
						<!-- ELSE -->
							<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a><br />
							<!-- IF postrow.S_FIRST_ROW == 2 --><!-- IF TOPIC_DESCRIPTION -->{TOPIC_DESCRIPTION}<!-- ENDIF --><!-- ENDIF --></h3>
							<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; {postrow.POST_DATE} </p>
							<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
								<p class="rules">
									<!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
									<!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
								</p>
							<!-- ENDIF -->
							<div class="content" id="post{postrow.POST_ID}">{postrow.MESSAGE}</div>
										
										<!-- IF postrow.U_QUOTE and postrow.DECODED_MESSAGE -->
				<div id="message_{postrow.POST_ID}" style="display: none;">{postrow.DECODED_MESSAGE}</div>
												<!-- ENDIF -->
							<!-- IF postrow.S_HAS_ATTACHMENTS -->
								<dl class="attachbox" style="width: 97%;">
									<dt>{L_ATTACHMENTS}</dt>
									<!-- BEGIN attachment -->
										<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
									<!-- END attachment -->
								</dl>
							<!-- ENDIF -->
							<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
							<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
								<div class="notice">{postrow.EDITED_MESSAGE}
									<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
								</div>
							<!-- ENDIF -->
							<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
							<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
						<!-- ENDIF -->
					</div>

					<!-- IF not postrow.S_IGNORE_POST -->
						<dl class="postprofile<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online <!-- ELSE --> offline<!-- ENDIF -->" id="profile{postrow.POST_ID}">
							<dt>
								<!-- IF not postrow.U_POST_AUTHOR -->
									<strong class="topic_username">{postrow.POST_AUTHOR_FULL}</strong>
								<!-- ELSE -->
									<strong class="topic_username">{postrow.POST_AUTHOR_FULL}</strong>
								<!-- ENDIF -->
								<br />
								<!-- IF postrow.POSTER_AVATAR -->
									<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a>
									<!-- ELSE -->
									<!-- ENDIF --><br />
								<!-- ENDIF -->
									<!-- BEGIN custom_fields -->
							 {postrow.custom_fields.PROFILE_FIELD_VALUE}
							<!-- END custom_fields -->
							</dt>
							<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->
								<dd><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd>
							<!-- ENDIF -->							
						<div class="postprofilefs">
					    	<!-- IF postrow.RANK_TITLE --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_GROUP}:</b> {postrow.RANK_TITLE}<!-- ENDIF -->
							<!-- IF POSTER_ID_ALLOW -->
							<!-- IF postrow.POSTER_GUEST != 1 -->
							<!-- IF postrow.POSTER_ID_MEM --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">Membro N&#186;:</b> {postrow.POSTER_ID_MEM}<!-- ENDIF -->
							<!-- ELSE -->
							<dd><strong>Member Number:</strong> Guest</dd>
							<!-- ENDIF -->
							<!-- ENDIF -->
							<!-- IF postrow.POSTER_POSTS != '' --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
							<!-- IF postrow.POSTER_TOPICS --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_TOPICS}:</b> {postrow.POSTER_TOPICS}<!-- ENDIF -->
							<!-- IF postrow.POSTER_AGE --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_AGE}:</b> {postrow.POSTER_AGE}<!-- ENDIF -->
							<!-- IF postrow.POSTER_FROM --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
							<!-- IF postrow.POSTER_INVITE_INVITER and S_T_DISPLAY_INVITER --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_DISPLAY_INVITER}:</b> {postrow.POSTER_INVITE_INVITER}<!-- ENDIF -->
							<!-- IF S_T_DISPLAY_INVITE --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_DISPLAY_INVITE}:</b> {postrow.POSTER_INVITE_INVITE}<!-- ENDIF -->
							<!-- IF postrow.POSTER_GENDER --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_GENDER}:</b> {postrow.POSTER_GENDER_IMG}<!-- ENDIF -->
							<br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">Pa&iacute;s:</b> <img src="./images/flags/{postrow.POSTER_COUNTRY}.png" alt="{postrow.POSTER_COUNTRY_FULL}">
							<!-- IF postrow.S_HAS_HIGHSCORES --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_ARCADE_HIGHSCORES}:</b> <a href="{postrow.U_ARCADE_STATS}">{postrow.TOTAL_HIGHSCORES}</a><!-- ENDIF -->
						   	<!-- Begin Ultimate Points -->
							<!-- IF USE_POINTS --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_POINTS_CASH_ON_HAND}:</b> <!-- IF postrow.POSTER_LOCK -->{L_POINTS_LOCKED}<!-- ELSE -->{postrow.POSTER_POINTS} <!-- IF USE_IMAGES_POINTS --><img src="{T_THEME_PATH}/images/money.png" width="11px" height="11px" alt="" /><!-- ELSE -->{P_NAME}<!-- ENDIF --><!-- ENDIF -->
							<!-- IF USE_BANK --><!-- IF postrow.BANK_ACCOUNT --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_BANK_TITLE_MAIN}:</b><!-- IF postrow.POSTER_BANK_LOCK --> {L_POINTS_LOCKED}<!-- ELSE --> {postrow.BANK_GOLD} <!-- IF USE_IMAGES_POINTS --><img src="{T_THEME_PATH}/images/money.png" width="11px" height="11px" alt="" /><!-- ELSE -->{P_NAME}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --><!-- ENDIF --><!-- ENDIF -->
							<!-- End Ultimate Points -->
							<br />
							<!-- IF postrow.S_PROFILE_FIELD1 -->
								<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
								<br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}</dd>
							<!-- ENDIF -->
							<!-- IF S_REPUTATION and postrow.S_USER_REPUTATION -->
							<!-- IF S_REP_DISPLAY neq 'block' --><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_RP_TOTAL_POINTS}:</b> {postrow.REPUTATION_TEXT}<!-- ENDIF -->
							<!-- IF S_REP_DISPLAY neq 'text'  --><!-- IF postrow.S_GIVE_REPUTATION --><!-- IF postrow.S_GIVE_NEGATIVE--><a href="{postrow.U_ADD_NEG}"><img src="{T_IMAGES_PATH}reputation/subtract.png" title="{L_RP_SUBTRACT_POINTS} {postrow.POST_AUTHOR}" alt="{L_RP_SUBTRACT_POINTS} {postrow.POST_AUTHOR}" /></a><!-- ENDIF --><!-- ENDIF --><!-- IF postrow.U_VIEW_REP --><a href="{postrow.U_VIEW_REP}" title="Reputa&ccedil;&atilde;o {postrow.REPUTATION_TEXT}" onclick="popup(this.href, 780, 550); return false;" ><!-- ENDIF -->{postrow.REPUTATION_BLOCK}<!-- IF postrow.U_VIEW_REP --></a><!-- ENDIF --><!-- ENDIF -->
							<!-- IF postrow.S_GIVE_REPUTATION --><a href="{postrow.U_ADD_POS}"><img src="{T_IMAGES_PATH}reputation/add.png" title="{L_RP_ADD_POINTS} {postrow.POST_AUTHOR}" alt="{L_RP_ADD_POINTS} {postrow.POST_AUTHOR}" /></a><!-- ENDIF -->
							<!-- ENDIF -->
							<!-- IF postrow.MEMBERSHIP_STARS -->	
							<br />{postrow.MEMBERSHIP_STARS}
							<!-- ENDIF -->
							<!-- IF not S_IS_BOT -->
							<!-- IF postrow.POSTER_WARNINGS and U_MCP and not S_IS_BOT --><br /><b style="color: {postrow.POST_AUTHOR_COLOUR}">{L_WARNINGS}:</b> {postrow.W_IMG}<!-- ENDIF -->
									<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
							</div>
							<p class="authorp"></p>
								<dd>
									<ul class="profile-icons">
											<!-- IF postrow.U_PM -->
												<li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_EMAIL -->
												<li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_WWW -->
												<li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_MSN -->
												<li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_ICQ -->
												<li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li>
												<!-- ENDIF -->
											<!-- IF postrow.U_YIM -->
												<li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_AIM -->
												<li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li>
											<!-- ENDIF -->
											<!-- IF postrow.U_JABBER -->
												<li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li>
											<!-- ENDIF -->
										</ul>
									</dd>
								<!-- ENDIF -->
							<!-- ENDIF -->

						</dl>
					<!-- ENDIF -->
					<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}"></a>
						<div class="profile_buttons_right">
							<!-- IF not S_IS_BOT -->
								<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
									<ul class="profile-icons">
										<!-- IF postrow.U_EDIT --><li class="qe-icon"><a href="#" onclick="return false;" id="quickedit{postrow.POST_ID}" title="{L_QUICKEDIT_POST}"><span>{L_QUICKEDIT_POST}</span></a></li><!-- ENDIF -->
										<!-- IF not postrow.S_FIRST_POST --><!-- IF S_QUICK_REPLY and postrow.DECODED_MESSAGE --><li class="quote-icon"><a href="#postingbox" onclick="addquote({postrow.POST_ID}, '{postrow.POST_AUTHOR}');" title="{L_QUOTE} {postrow.POST_AUTHOR}"><span>{L_QUOTE} {postrow.POST_AUTHOR}</span></a></li><!-- ELSE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF --><!-- ENDIF -->
										<!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
										<!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
										<!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
										<!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
									</ul>
								<!-- ENDIF -->
							<!-- ENDIF -->
						</div>
					</div>
				<span class="corners-bottom"><span></span></span>
			</div>
		</div>
	</div></div>
	<div class="mini-c-f-l"><div class="mini-c-f-r"><div class="mini-c-f-c"></div></div></div>

	<hr class="divider" />
<!-- END postrow -->

<!-- IF S_QUICK_REPLY -->
	<!-- INCLUDE quickreply_editor.html -->
<!-- ENDIF -->

<!-- IF S_NUM_POSTS > 1 or PREVIOUS_PAGE -->
	<form id="viewtopic" method="post" action="{S_TOPIC_ACTION}">
		<fieldset class="display-options" style="margin-top: 0; ">
			<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
			<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
			<!-- IF not S_IS_BOT -->
				<label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label>
				<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
			<!-- ENDIF -->
		</fieldset>
	</form>
<!-- ENDIF -->

<div class="topic-actions">
	<div class="buttons">
		<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->">
				<a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
				<span></span></a>
			</div>
		<!-- ENDIF -->
	</div>

	<!-- IF PAGINATION or TOTAL_POSTS -->
		<div class="pagination">
			{TOTAL_POSTS}
			<!-- IF PAGE_NUMBER -->
				<!-- IF PAGINATION --> 
					&bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span>
				<!-- ELSE --> 
					&bull; {PAGE_NUMBER}
				<!-- ENDIF -->
			<!-- ENDIF -->
		</div>
	<!-- ENDIF -->
</div>

{$SKIN_CAT_HEADER_OPEN}
{L_FORUM} {L_STATISTICS}
{$SKIN_CAT_HEADER_CLOSE}

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<div class="sub-left"><div class="sub-right">
		<h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
	</div></div>
	<div class="v-left"><div class="v-right">
		<p class="index">{LOGGED_IN_USER_LIST}</p>
	</div></div>
<!-- ENDIF -->
		<!-- IF .similar --><!-- INCLUDE similar_viewtopic.html --><!-- ENDIF -->
<div class="sub-left"><div class="sub-right">
	<h3>{L_OPTIONS}</h3>
</div></div>

<div class="v-left"><div class="v-right">
	<div class="jumpbox_table">
		<!-- INCLUDE jumpbox.html -->
		<!-- IF S_TOPIC_MOD -->
			<form method="post" action="{S_MOD_ACTION}">
				<fieldset class="quickmod">
					<label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" />
					{S_FORM_TOKEN}
				</fieldset>
			</form>
		<!-- ENDIF -->
	</div>
</div></div>

<div class="c-f-l"><div class="c-f-r"><div class="c-f-c"></div></div></div>

<!-- INCLUDE overall_footer.html -->

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

Re: [BETA] jQuery Quick Edit 0.2.0

Post by Marc » Thu Aug 26, 2010 9:02 pm

You added this:

Code: Select all

id="post{postrow.POST_ID}"
to this line:

Code: Select all

<div class="content">
You were supposed to add it to this line:

Code: Select all

<div class="postbody">

ShadowFS
Registered User
Posts: 38
Joined: Mon Aug 10, 2009 10:37 pm
Location: Brasil

Re: [BETA] jQuery Quick Edit 0.2.0

Post by ShadowFS » Fri Aug 27, 2010 12:32 am

Oh you're right.
Thanks.

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4991
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [BETA] jQuery Quick Edit 0.2.0

Post by VSE » Fri Aug 27, 2010 3:37 pm

VERY nice, and better than the ajax version too! Can't wait to see it validated/released.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

jose29
Registered User
Posts: 67
Joined: Fri Jan 08, 2010 1:21 pm
Location: Bretagne France
Contact:

Re: [BETA] jQuery Quick Edit 0.2.0

Post by jose29 » Fri Aug 27, 2010 3:46 pm

Hello,
Excuse me for my English. :oops:
Congratulations on the realization of this mod!
On my forum I use the style Ca Black based on Prosilver, but I do not know if the mod is going to work with this style?
I tested it on my local host, but I do not succeed in making it work.
I think that it comes from the file viewtopic_body.html and from the site of

Code: Select all

id ="post {postrow. POST_ID}"
Because in that of this style there is no line

Code: Select all

<div class ='postbody '>
.
When I replace the file viewtopic_body.hml of my forum, by that of Prosilver, by performing modifications there, it works!
Can this mod work with style Ca_black? :?:
So yes, you can specify me the place where I must insert

Code: Select all

id ="post {postrow. POST_ID}"
'?
Below the file viewtopic_body.html (the ca_black origin file without modifications).

Code: Select all

<!-- INCLUDE overall_header.html -->
<!-- IF U_MCP --><p>[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ENDIF -->
<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
<!-- IF FORUM_DESC --><p class="forum-desc" style="display: none;">{FORUM_DESC}</p><!-- ENDIF -->

<!-- IF MODERATORS or U_MCP -->
	<p>
		<!-- IF MODERATORS -->
			<strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
		<!-- ENDIF -->

	</p>
<!-- ENDIF -->

<!-- IF S_FORUM_RULES -->
	<div class="rules">
		{$CA_BLOCK_START}

		<!-- IF U_FORUM_RULES -->
			<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
		<!-- ELSE -->
			<strong>{L_FORUM_RULES}</strong><br />
			{FORUM_RULES}
		<!-- ENDIF -->

		{$CA_BLOCK_END}
	</div>
<!-- ENDIF -->

<div class="topic-actions">

	<div class="buttons">
	<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
		<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
	<!-- ENDIF -->
	</div>

	<!-- IF S_DISPLAY_SEARCHBOX -->
		<div class="search-box">
			<form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}">
			<fieldset>
				<input class="inputbox search tiny"  type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
				<input class="button2" type="submit" value="{L_SEARCH}" />
				<input type="hidden" value="{TOPIC_ID}" name="t" />
				<input type="hidden" value="msgonly" name="sf" />
			</fieldset>
			</form>
		</div>
	<!-- ENDIF -->

	<!-- IF PAGINATION or TOTAL_POSTS -->
		<div class="pagination">
			<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
			<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
		</div>
	<!-- ENDIF -->

</div>
<div class="clear"></div>

<!-- IF S_HAS_POLL -->
	<form method="post" action="{S_POLL_ACTION}">

	<div class="panel" id="poll">
		{$CA_BLOCK_START}

		<div class="content">
			<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>
			<h2>{POLL_QUESTION}</h2>

			<fieldset class="polls">
			<!-- BEGIN poll_option -->
				<dl class="poll-row<!-- IF poll_option.POLL_OPTION_VOTED --> voted<!-- ENDIF --><!-- IF poll_option.S_FIRST_ROW --> poll-first<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
					<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
					<!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
					<!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="pollbar" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
					<dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
				</dl>
			<!-- END poll_option -->

			<!-- IF S_DISPLAY_RESULTS -->
				<dl class="poll-last">
					<dt>&nbsp;</dt>
					<dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd>
				</dl>
			<!-- ENDIF -->

			<!-- IF S_CAN_VOTE -->
				<dl class="poll-last">
					<dt>&nbsp;</dt>
					<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
				</dl>
			<!-- ENDIF -->

			<!-- IF not S_DISPLAY_RESULTS -->
				<dl class="poll-last">
					<dt>&nbsp;</dt>
					<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
				</dl>
			<!-- ENDIF -->
			</fieldset>
		</div>

		{$CA_BLOCK_END}
		{S_FORM_TOKEN}
		{S_HIDDEN_FIELDS}
	</div>


	</form>
<!-- ENDIF -->

<!-- BEGIN postrow -->
	<!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
	<div id="p{postrow.POST_ID}" class="post<!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
		<!-- IF postrow.S_ROW_COUNT == 0 -->{$CA_POST_FIRST_START}<!-- ELSE -->{$CA_POST_START}<!-- ENDIF -->
		
		<!-- IF not postrow.S_IGNORE_POST -->
		<!-- DEFINE $CA_POPUP = '0' -->
		<!-- IF not S_IS_BOT -->
		    <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
		        <!-- DEFINE $CA_POPUP = '1' -->
            <!-- ENDIF -->
        <!-- ENDIF -->
        <div id="maximize{postrow.S_ROW_COUNT}" class="post-maximize" style="display: none;">
            <a href="javascript:void(0);" onclick="ca_post_maximize_all(); return false;"><span>>></span></a>
        </div>
        <div id="profilediv{postrow.S_ROW_COUNT}">
        {$CA_POST_PROFILE_START}
        <div class="postprofile" id="profile{postrow.S_ROW_COUNT}">
            <div id="minimize{postrow.S_ROW_COUNT}" class="post-minimize">
                <a href="javascript:void(0);" onclick="ca_post_minimize_all(); return false;"><span><<</span></a>
            </div>
            <div class="profile-top">
                <p class="profile-author">
                    <a class="profile-link" id="link{postrow.S_ROW_COUNT}" href="<!-- IF postrow.U_POST_AUTHOR -->{postrow.U_POST_AUTHOR}<!-- ELSE -->javascript:void(0);<!-- ENDIF -->"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR};"<!-- ENDIF -->>{postrow.POST_AUTHOR}</a>
                </p>
                <!-- IF $CA_POPUP -->
                    <div id="popup{postrow.S_ROW_COUNT}" class="profile-buttons">
                        <ul>
                            <li><a href="{postrow.U_POST_AUTHOR}">{L_READ_PROFILE}</a></li>
                            <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
                            <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
                        </ul>
                    </div>
                <!-- ENDIF -->
                <script type="text/javascript">
                // <![CDATA[
                    ca_popup_register('{postrow.S_ROW_COUNT}');
                // ]]>
                </script>
            </div>
            <!-- IF postrow.POSTER_AVATAR -->
            <div class="profile-avatar">
                {postrow.POSTER_AVATAR}
            </div>    
            <!-- ENDIF -->

			<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->
			    <p class="profile-rank">
			        {postrow.RANK_TITLE}
			        <!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->
			        {postrow.RANK_IMG}
			    </p>
            <!-- ENDIF -->

            <div class="profile-details">
                <!-- IF postrow.POSTER_POSTS != '' --><p><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</p><!-- ENDIF -->
                <!-- IF postrow.POSTER_JOINED --><p><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</p><!-- ENDIF -->
                <!-- IF postrow.POSTER_FROM --><p><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</p><!-- ENDIF -->
                <!-- IF postrow.S_PROFILE_FIELD1 -->
                    <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
                    <p><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</p>
                <!-- ENDIF -->
                <!-- BEGIN custom_fields -->
                    <p><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</p>
                <!-- END custom_fields -->
            </div>
		</div>
		{$CA_POST_PROFILE_END}
		</div>
		<!-- ELSE -->
		{$CA_POST_PROFILE_EMPTY}
    	<!-- ENDIF -->

        {$CA_POST_TEXT_START}
		<div class="postbody" id="body{postrow.S_ROW_COUNT}">
		    <div class="post-content">
			<!-- IF postrow.S_IGNORE_POST -->
				<div class="ignore">{postrow.L_IGNORE_POST}</div>
			<!-- ELSE -->

			<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --> {postrow.POST_DATE} <!-- IF postrow.POST_AUTHOR_FULL --><span id="author{postrow.S_ROW_COUNT}" style="display: none;">{L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL}</span><!-- ENDIF --></p>

			<h3<!-- IF postrow.S_FIRST_ROW --> class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>

			<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
				<p class="rules">
					<!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
					<!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
				</p>
			<!-- ENDIF -->

			<div class="content">{postrow.MESSAGE}</div>

			<!-- IF postrow.S_HAS_ATTACHMENTS -->
			    <div class="ca-bbcode"><div class="ca-bbcode2 ca-attachment">
				<dl class="attachbox">
					<dt>{L_ATTACHMENTS}</dt>
					<!-- BEGIN attachment -->
						<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
					<!-- END attachment -->
				</dl>
				</div></div>
			<!-- ENDIF -->

			<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
			<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
				<div class="notice">{postrow.EDITED_MESSAGE}
					<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
				</div>
			<!-- ENDIF -->

			<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
			<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
            <!-- ENDIF -->
            </div>

		<!-- IF not S_IS_BOT -->
            <ul class="profile-icons">
        		<li class="top-icon"><a href="#top" class="top" title="{L_BACK_TO_TOP}"><span>{L_BACK_TO_TOP}</span></a></li>
                <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
            </ul>
		<!-- ENDIF -->

            <div class="clear"></div>
		</div>

        {$CA_POST_TEXT_END}

		{$CA_POST_END}
	</div>

<!-- END postrow -->
<!-- IF S_QUICK_REPLY -->
	<!-- INCLUDE quickreply_editor.html -->
<!-- ENDIF -->

<!-- IF S_NUM_POSTS > 1 or PREVIOUS_PAGE -->
	<form id="viewtopic" method="post" action="{S_TOPIC_ACTION}">

	<fieldset class="display-options" style="margin-top: 0; ">
		<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
		<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
		<!-- IF not S_IS_BOT -->
		<label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label>
		<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
		<!-- ENDIF -->
	</fieldset>

	</form>
	<hr />
<!-- ENDIF -->

<div class="topic-actions">
	<div class="buttons" id="viewtopic-buttons">
	<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
		<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
	<!-- ENDIF -->
	</div>

	<!-- IF PAGINATION or TOTAL_POSTS -->
		<div class="pagination">
			{TOTAL_POSTS}
			<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
		</div>
	<!-- ENDIF -->
</div>

<!-- INCLUDE jumpbox.html -->

<!-- IF S_TOPIC_MOD -->
	<form method="post" action="{S_MOD_ACTION}">
	<fieldset class="quickmod">
		<label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" />
		{S_FORM_TOKEN}
	</fieldset>
	</form>
<!-- ENDIF -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
    {$CA_PANEL_START}
	<h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
	<p>{LOGGED_IN_USER_LIST}</p>
	{$CA_PANEL_END}
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

Thank you

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4991
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [BETA] jQuery Quick Edit 0.2.0

Post by VSE » Fri Aug 27, 2010 9:29 pm

Can I make a request?

Add an optional instruction file so we can make it so the there is no "Quickedit" button, and instead tells us how to make it so the original "Edit" button triggers the quick edit feature.

I figure since the quick edit has an "Advanced option" why would we need both quickedit and edit buttons?

This option could allow us to make it function like the edit button in Titania ;)
Last edited by VSE on Sun Aug 29, 2010 7:54 am, edited 1 time in total.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

jose29
Registered User
Posts: 67
Joined: Fri Jan 08, 2010 1:21 pm
Location: Bretagne France
Contact:

Re: [BETA] jQuery Quick Edit 0.2.0

Post by jose29 » Fri Aug 27, 2010 9:45 pm

Good night,
I succeeded to work the mod. :D
I reconstructed progressively my viewtopic.html file and after several tries, I found.
I also noted that the code

Code: Select all

<!-- INCLUDE overall_footer.html -->
at the bottom of the page was missing: it was perhaps reason ?
I reach a party of the file, below, which consists of added codes: I also added one </DIV>
NB: to show picture icon_post_quickedit.gif, I have of put it in the file / template / imageset and not in / template / imageset / fr (or /en).

Code: Select all

        {$CA_POST_TEXT_START}
		<div class="postbody" id="post{postrow.POST_ID}">
		<div class="postbody" id="body{postrow.S_ROW_COUNT}">
            <div class="post-content">
			<!-- IF postrow.S_IGNORE_POST -->
				<div class="ignore">{postrow.L_IGNORE_POST}</div>
			<!-- ELSE -->

		    <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --> {postrow.POST_DATE} <!-- IF postrow.POST_AUTHOR_FULL --><span id="author{postrow.S_ROW_COUNT}" style="display: none;">{L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL}</span><!-- ENDIF --></p>

			<h3<!-- IF postrow.S_FIRST_ROW --> class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><!-- IF postrow.S_TOPIC_ATTR -->{postrow.TOPIC_ATTRIBUTE} <!-- ENDIF -->
<a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>

			<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
				<p class="rules">
					<!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
					<!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
				</p>
			<!-- ENDIF -->

			<div class="content">{postrow.MESSAGE}</div>

			<!-- IF postrow.S_HAS_ATTACHMENTS -->
                <div class="ca-bbcode"><div class="ca-bbcode2 ca-attachment">
				<dl class="attachbox" style="width: 97%;">
					<dt>{L_ATTACHMENTS}</dt>
					<!-- BEGIN attachment -->
						<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
					<!-- END attachment -->
				</dl>
                </div></div>
			<!-- ENDIF -->

			<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
			<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
				<div class="notice">{postrow.EDITED_MESSAGE}
					<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
				</div>
			<!-- ENDIF -->

			<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
			<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW -->
			<hr />
			<div class="content">
				<dl class="postbody">
					<!-- IF not postrow.S_POST_ANONYMOUS and not S_IS_BOT-->
					<dt>{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}</dt>
					<dd>{postrow.THANKS}</dd>
					<!-- ENDIF -->	
				</dl>
			</div>
		<!-- ENDIF -->
<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
			<div class="content">
				<dl class="postbody">
					<dd><strong>{L_REPUT}:</strong>{postrow.POST_REPUT}
					<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
					<div style="width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK});"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE});">&nbsp;</div></div>
					<!-- ENDIF -->
					</dd>
				</dl>
			</div>			
		<!-- ENDIF -->
             </div>
		<!-- IF not S_IS_BOT -->
		<ul class="profile-icons">
        		<li class="top-icon"><a href="#top" class="top" title="{L_BACK_TO_TOP}"><span>{L_BACK_TO_TOP}</span></a></li>
                <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
    <!-- IF  not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
						<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->					
					<!-- ENDIF -->            
                <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
                <!-- IF postrow.U_EDIT --><li class="qe-icon"><a href="#" onclick="return false;" id="quickedit{postrow.POST_ID}" title="{L_QUICKEDIT_POST}"><span>{L_QUICKEDIT_POST}</span></a></li><!-- ENDIF -->
            </ul>
		<!-- ENDIF -->
		<div class="clear"></div>
		</div>

        {$CA_POST_TEXT_END}

		{$CA_POST_END}
	</div></div>


<!-- END postrow -->
Thanks again for this mod!
Kénavo,

EDIT :
I changed my viewtopic-body.html file as follows (and to abolish </div> concerned) :

Code: Select all

<div class="postbody" id="post{postrow.POST_ID}" id="body{postrow.S_ROW_COUNT}">
instead of (bad):

Code: Select all

<div class="postbody" id="post{postrow.POST_ID}"
<div class="postbody" id="body{postrow.S_ROW_COUNT}">

because there was a margin to the left of posts.
Works !
Last edited by jose29 on Wed Sep 01, 2010 12:00 pm, edited 1 time in total.

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

Re: [BETA] jQuery Quick Edit 0.2.1

Post by Marc » Tue Aug 31, 2010 7:45 pm

Updated to 0.2.1:
  • [New] Added German language
  • [New] Added Prime Post Revisions Add-On
  • [Changed] Renamed the javascript functions
The javascript functions have been renamed in order to prevent issues with other MODs that also use the editor functions of phpBB.

User avatar
eman80
Registered User
Posts: 327
Joined: Tue Aug 19, 2008 1:49 pm

Re: [BETA] jQuery Quick Edit 0.2.1

Post by eman80 » Tue Aug 31, 2010 9:17 pm

Thanks for update :)
welcome to my forum:
http://www.elibrary4arab.com

Locked

Return to “[3.0.x] MODs in Development”