[ABD] Please wait script... 0.9.0

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.
stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by stokerpiller »

Prosilver instructions

Open styles/prosilver/template/posting_editor.html
FIND:

Code: Select all

<input type="submit" accesskey="d" tabindex="9" name="load" value="{L_LOAD}" class="button2" onclick="load_draft = true;" />
IN LINE FIND:

Code: Select all

value="{L_LOAD}"
IN LINE ADD AFTER:

Code: Select all

 onClick="this.value='{LOAD_SENDING}'"
FIND:

Code: Select all

<input type="submit" accesskey="k" tabindex="8" name="save" value="{L_SAVE}" class="button2" />
IN LINE FIND:

Code: Select all

value="{L_SAVE}"
IN LINE ADD AFTER:

Code: Select all

 onClick="this.value='{DRAFT_SENDING}'"
FIND:

Code: Select all

<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />
IN LINE FIND:

Code: Select all

value="{L_PREVIEW}"
IN LINE ADD AFTER:

Code: Select all

 onClick="this.value='{PREVIEW_SENDING}'"
FIND:

Code: Select all

<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
IN LINE FIND:

Code: Select all

value="{L_SUBMIT}"
IN LINE ADD AFTER:

Code: Select all

 onClick="this.value='{POST_SENDING}'"
I am done with phpBB

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by stokerpiller »

And a suggestion so that we can see a difference when sending PM's and posting.

In includes/ucp_pm_compose.php use this instead:

Code: Select all

'POST_SENDING'			=> $user->lang['PM_POST_SENDING'],
	    'DRAFT_SENDING'			=> $user->lang['PM_DRAFT_SENDING'],
	    'LOAD_SENDING'			=> $user->lang['PM_LOAD_SENDING'],
	    'PREVIEW_SENDING'		=> $user->lang['PM_PREVIEW_SENDING'],
            'CANCEL_SENDING'		=> $user->lang['PM_CANCEL_SENDING'],
Then add this to language/en/posting.php - should be added right below the inserted code:

Code: Select all

'PM_POST_SENDING'					=> 'Wait PM sending...',
	'PM_DRAFT_SENDING'					=> 'Wait PM saving...',
	'PM_LOAD_SENDING'					=> 'Wait PM loading...',
	'PM_PREVIEW_SENDING'				=> 'Wait preview loading...',
        'PM_CANCEL_SENDING'				=> 'Wait canceled...',
I am done with phpBB

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by BizimPencere »

Nooo prosilver comptatible... My friends has tested on prosilver and works...

I have not tested on prosilver. :)
www.phpbbturkiye.net | Turkish phpBB3 support and development

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by BizimPencere »

stokerpiller wrote:And a suggestion so that we can see a difference when sending PM's and posting.

In includes/ucp_pm_compose.php use this instead:

Code: Select all

'POST_SENDING'			=> $user->lang['PM_POST_SENDING'],
	    'DRAFT_SENDING'			=> $user->lang['PM_DRAFT_SENDING'],
	    'LOAD_SENDING'			=> $user->lang['PM_LOAD_SENDING'],
	    'PREVIEW_SENDING'		=> $user->lang['PM_PREVIEW_SENDING'],
            'CANCEL_SENDING'		=> $user->lang['PM_CANCEL_SENDING'],
Then add this to language/en/posting.php - should be added right below the inserted code:

Code: Select all

'PM_POST_SENDING'					=> 'Wait PM sending...',
	'PM_DRAFT_SENDING'					=> 'Wait PM saving...',
	'PM_LOAD_SENDING'					=> 'Wait PM loading...',
	'PM_PREVIEW_SENDING'				=> 'Wait preview loading...',
        'PM_CANCEL_SENDING'				=> 'Wait canceled...',
This dont work , because style changes... I can not change on style double languade code.

Example onclick..."'PM_DRAFT_SENDING'" and "'DRAFT_SENDING'"
www.phpbbturkiye.net | Turkish phpBB3 support and development

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by stokerpiller »

BizimPencere wrote:
stokerpiller wrote:And a suggestion so that we can see a difference when sending PM's and posting.

In includes/ucp_pm_compose.php use this instead:

Code: Select all

'POST_SENDING'			=> $user->lang['PM_POST_SENDING'],
	    'DRAFT_SENDING'			=> $user->lang['PM_DRAFT_SENDING'],
	    'LOAD_SENDING'			=> $user->lang['PM_LOAD_SENDING'],
	    'PREVIEW_SENDING'		=> $user->lang['PM_PREVIEW_SENDING'],
            'CANCEL_SENDING'		=> $user->lang['PM_CANCEL_SENDING'],
Then add this to language/en/posting.php - should be added right below the inserted code:

Code: Select all

'PM_POST_SENDING'					=> 'Wait PM sending...',
	'PM_DRAFT_SENDING'					=> 'Wait PM saving...',
	'PM_LOAD_SENDING'					=> 'Wait PM loading...',
	'PM_PREVIEW_SENDING'				=> 'Wait preview loading...',
        'PM_CANCEL_SENDING'				=> 'Wait canceled...',
This dont work , because style changes... I can not change on style double languade code.

Example onclick..."'PM_DRAFT_SENDING'" and "'DRAFT_SENDING'"
Trust me, it is working :)
I have it on two sites.
You do not need to change anything in the template file.
It is working because I use different code in posting.php and includes/ucp_pm_compose.php and because they call diffferent lang entries in the lang file.
I am done with phpBB

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Please wait... 0.7.0 (Script)

Post by BizimPencere »

Ok I test it tomorrow

When working , come 0.8.0... This week... :)

Thanks for prosilver template changes and this 'PM_POST_SENDING' nice idea...
www.phpbbturkiye.net | Turkish phpBB3 support and development

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Please wait script... 0.9.0

Post by BizimPencere »

Mod script updated to 0.9.0...

Spezial thanks to ] stokerpiller

Whats new on 0.9.0

Added : Prosilver template changes (Thanks stokerpiller)
Added : Evil quick reply add-on
Fix : languace changes on ucp_pm_compose.php (Thanks stokerpiller)
www.phpbbturkiye.net | Turkish phpBB3 support and development

User avatar
hww
Registered User
Posts: 177
Joined: Tue Sep 30, 2008 2:52 pm
Location: Wollongong, N.S.W., Australia

Re: [RC] Please wait script... 0.9.0

Post by hww »

Hi,

Does this MOD also work for the Login button?
Sorry for my English, but I am Australian. Forgive me please.

User avatar
BizimPencere
Registered User
Posts: 396
Joined: Sat Aug 25, 2007 8:31 pm

Re: [RC] Please wait script... 0.9.0

Post by BizimPencere »

Next release i add this function . Please wait script on LOGIN. ;)
www.phpbbturkiye.net | Turkish phpBB3 support and development

User avatar
hww
Registered User
Posts: 177
Joined: Tue Sep 30, 2008 2:52 pm
Location: Wollongong, N.S.W., Australia

Re: [RC] Please wait script... 0.9.0

Post by hww »

BizimPencere wrote:Next release i add this function . Please wait script on LOGIN. ;)
Thank you. I look forward to it :)
Sorry for my English, but I am Australian. Forgive me please.

User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [RC] Please wait script... 0.9.0

Post by katib »

Thanks for mod
I have a question: deos this mod allow instant page reload without reloading the whole page, like ajax !!?

Jane Doe
Registered User
Posts: 145
Joined: Thu Aug 11, 2005 12:35 pm

Re: [RC] Please wait script... 0.9.0

Post by Jane Doe »

no.

princexxx
Registered User
Posts: 82
Joined: Fri May 09, 2008 2:10 pm

Re: [RC] Please wait script... 0.9.0

Post by princexxx »

This mod is great but i want to Just give a Suggetion that When i click on submit button It shows the Please wait button But That button is still again clickable! Can you do any thing that after clicking submit button it do not become clikable again until Post is susbmited!

cisco007
Translator
Posts: 129
Joined: Mon Jul 14, 2008 1:49 am
Contact:

Re: [RC] Please wait script... 0.9.0

Post by cisco007 »

very nice mod i will try it this weekend. looks great BizimPencere and Stoker for the rest!
Image

User avatar
DoYouSpeakWak
Registered User
Posts: 2310
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: [RC] Please wait script... 0.9.0

Post by DoYouSpeakWak »

Congrats with your first mod. Works great, I would llike to ask if you have tried this with prime quick reply. I have it installed, will try it myself, but any ideas were to start ?
Whatever you share comes back. Support the phpBB Communities
My Validated and Released Modifications
Offering paid services. 10+ years of experience with phpBB3 and as System Administrator.

Locked

Return to “[3.0.x] Abandoned MODs”