[ABD] Change Post Time

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.
Shredder
Registered User
Posts: 116
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

Re: [RC] Change Post Time

Post by Shredder »

Dr.Kappas wrote:Very nice mod, but i need changes for a Subsilver2 based style
Thanks...
mcp_post.html

Find

Code: Select all

<!-- IF S_CAN_CHGPOSTER -->
Add before

Code: Select all

		<!-- IF S_CAN_CHGPOSTTIME -->
			<tr>
				<td class="row1" valign="top"><b class="gen">{L_CHANGE_POST_TIME}</b></td>
				<td class="row2">
					<form method="post" id="mcp_chgposttime" action="{U_POST_ACTION}">
						<input type="text" size="2" maxlength="2" name="month" value="" /> -
						<input type="text" size="2" maxlength="2" name="day" value="" /> -
						<input type="text" size="4" maxlength="4" name="year" value="" /><span><strong>{L_CHANGE_POST_TIME_DATE}</strong></span><br />
						<input type="text" size="2" maxlength="2" name="hour" value="" /> :
						<input type="text" size="2" maxlength="2" name="minute" value="" /><span><strong>{L_CHANGE_POST_TIME_TIME}</strong></span><br />
						<input type="submit" class="btnmain" name="action[chgposttime]" value="{L_SUBMIT}" />
					<br />
					</form>
				</td>
			</tr>
		<!-- ENDIF -->
Dr.Kappas
Registered User
Posts: 2
Joined: Sun Jan 02, 2011 6:36 pm

Re: [RC] Change Post Time

Post by Dr.Kappas »

Shredder wrote:
Dr.Kappas wrote:Very nice mod, but i need changes for a Subsilver2 based style
Thanks...
mcp_post.html

Find

Code: Select all

<!-- IF S_CAN_CHGPOSTER -->
Add before

Code: Select all

		<!-- IF S_CAN_CHGPOSTTIME -->
			<tr>
				<td class="row1" valign="top"><b class="gen">{L_CHANGE_POST_TIME}</b></td>
				<td class="row2">
					<form method="post" id="mcp_chgposttime" action="{U_POST_ACTION}">
						<input type="text" size="2" maxlength="2" name="month" value="" /> -
						<input type="text" size="2" maxlength="2" name="day" value="" /> -
						<input type="text" size="4" maxlength="4" name="year" value="" /><span><strong>{L_CHANGE_POST_TIME_DATE}</strong></span><br />
						<input type="text" size="2" maxlength="2" name="hour" value="" /> :
						<input type="text" size="2" maxlength="2" name="minute" value="" /><span><strong>{L_CHANGE_POST_TIME_TIME}</strong></span><br />
						<input type="submit" class="btnmain" name="action[chgposttime]" value="{L_SUBMIT}" />
					<br />
					</form>
				</td>
			</tr>
		<!-- ENDIF -->

Thank you very match Shredder.....
Sorry for my bad English...
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] Change Post Time

Post by Mess »

Just got a need for a mod like this, thanks a lot. :)
Jeroen B
Registered User
Posts: 1222
Joined: Wed Jul 02, 2008 6:23 pm
Location: The Netherlands
Name: Jeroen

Re: [RC] Change Post Time

Post by Jeroen B »

Thanks for your subsilver edits, Shredder.
Mess wrote:Just got a need for a mod like this, thanks a lot. :)
No problem :) Have fun with it.
Jeroen • My modifications
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [RC] Change Post Time

Post by Mess »

Hmm if I want to change the date/time to 01-02-2011 it changes the post date to Aug 05, 2010?
Also there is no am/pm switch?
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: [RC] Change Post Time

Post by Richazey »

Installed and works like a charm, fantastic mod. Will report any issues but not found any of yet.
Jeroen B
Registered User
Posts: 1222
Joined: Wed Jul 02, 2008 6:23 pm
Location: The Netherlands
Name: Jeroen

Re: [RC] Change Post Time

Post by Jeroen B »

Still wondering what the problem is with this MOD. Some users experience problems with it, some not. It must have something to do with the timezones.
BigDaddyHazey wrote:Installed and works like a charm, fantastic mod. Will report any issues but not found any of yet.
In which timezone are you? :)
Jeroen • My modifications
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: [RC] Change Post Time

Post by Richazey »

Jeroen B wrote: In which timezone are you? :)
GMT :D
Jeroen B
Registered User
Posts: 1222
Joined: Wed Jul 02, 2008 6:23 pm
Location: The Netherlands
Name: Jeroen

Re: [RC] Change Post Time

Post by Jeroen B »

Which number? :)
Jeroen • My modifications
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: [RC] Change Post Time

Post by Richazey »

What you mean what number I am GMT (London) :?
Jeroen B
Registered User
Posts: 1222
Joined: Wed Jul 02, 2008 6:23 pm
Location: The Netherlands
Name: Jeroen

Re: [RC] Change Post Time

Post by Jeroen B »

BigDaddyHazey wrote:What you mean what number I am GMT (London) :?
Ah OK, thought you forgot the + or - number ;)
Jeroen • My modifications
panhead
Registered User
Posts: 692
Joined: Sat Dec 20, 2003 8:17 pm

Re: [RC] Change Post Time

Post by panhead »

Just a question: I changed the time to 11-01-2009 / 11-01 and got a January date:

Image

??
maryanne.shults
Registered User
Posts: 1
Joined: Sun Feb 20, 2011 9:42 pm

Re: [RC] Change Post Time

Post by maryanne.shults »

I have successfully installed the MOD using AutoMOD. However, I based on your screen capture images of ACP functions, I cannot figure out how to actually change the date and/or time within a particular post. Is there something I need to modify within the Admin. Control Panel first? Thank you in advance for your assistance.
User avatar
FladeX
Registered User
Posts: 244
Joined: Tue Jul 08, 2008 10:38 am
Location: Russia, Saransk
Name: Max Istlyaev
Contact:

Re: [RC] Change Post Time

Post by FladeX »

I commented this line in mcp_post.php:

Code: Select all

			//$hour = $hour - ($user->timezone + $user->dst);
Then everything was working fine for me.
and sorry for my bad english [ phpBB Adept ]
My mods: Sitemap FX, Referrals FX, Topiclist FX, Alphabet FX, Polls Results FX.
K73SK
Registered User
Posts: 28
Joined: Sat Aug 14, 2010 5:39 am

Re: [RC] Change Post Time

Post by K73SK »

Using 3.0.8 for this and it seems to not be working or something.

I used Automod to install it, and it did. Then I had to manually upload "install.php" to the site and then I ran the install.php file. Afterwards, it said "SUCCESS" but when I go to edit a post, there's no "date" option or anything. Not to mention, the permissions section does not have anything regarding "can edit post date" or whatever. What am I doing wrong? o.O
Locked

Return to “[3.0.x] Abandoned MODs”