Notes v3.0.4

Support für Extensions für phpBB 3.1.x von Entwickler OXPUS
puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Notes v3.0.4

Beitrag von puchahawa » Sa 11. Jun 2016, 19:20

HI Oxpus, I've been doing some testing of the notes extension and really like it. I came across an issue that I thought you would want to know about.

While testing notes on my test board running 3.1.9 on wampserver (php 5.5.12 I noticed that the reminder wasn't working correctly. IF I set it for 9/6/16 14:59 it shows up in the post as 9/6/16 5:59. The boards guest time is UTC and my profile time is -7 Tried it on my live board (3.1.9) and had the same issues.
note1.PNG
note1.PNG (4.75 KiB) 2295 mal betrachtet
note2.PNG
note2.PNG (5.6 KiB) 2295 mal betrachtet
The other thing I noticed is I'm using the smilie scroll box extension and notes doesn't acknowledge it. The result is a very long page. That extension requires smilies to be displayed on posting page.
notes3.PNG
notes3.PNG (36.77 KiB) 2295 mal betrachtet
Any thoughts on how to remedy these issues?

Thanks,

Randy

Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2418
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Notes v3.0.4

Beitrag von oxpus » Sa 11. Jun 2016, 22:47

For the Notes:
I've using here GMT + 2 and can't reproduce your display error.
The times are alltimes be saved and used in GMT, even to notify about a note.
Just the time on display the post can be different, based on the board settings, so I'll fix it on the next release.

For the smilie scroll box please post on phpbb.com or ask the author.
I'll support only my own MODs and extensions in this forum.
Karsten Ude

Kein Support zu unaufgeforderten PN's, Email oder via Messenger!

puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Re: Notes v3.0.4

Beitrag von puchahawa » So 12. Jun 2016, 01:33

Ok, Thanks for looking into it. Appreciate your time.

Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2418
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Notes v3.0.4

Beitrag von oxpus » So 12. Jun 2016, 12:12

Good news:
The timezone differences could be fixes "on the fly", so please replace your installations with the new ones and retry.
Karsten Ude

Kein Support zu unaufgeforderten PN's, Email oder via Messenger!

puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Re: Notes v3.0.4

Beitrag von puchahawa » So 12. Jun 2016, 18:06

Were close :lol: The date and time for the reminder are correct but the time of the post is now off. I posted at 09:50 with a reminder at 09:53. As you can see the system thinks the post time was 16:50. The difference being my offset of -7 hours U.S. Pacific coast (DST) from UTC.
Notes6.PNG
Notes6.PNG (22.8 KiB) 2283 mal betrachtet

Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2418
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Notes v3.0.4

Beitrag von oxpus » So 12. Jun 2016, 18:18

Existing notes will be displayed with wrong times, but on new notes all times are correct.
I've tested this with several time zones and different webserver settings...
Karsten Ude

Kein Support zu unaufgeforderten PN's, Email oder via Messenger!

puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Re: Notes v3.0.4

Beitrag von puchahawa » So 12. Jun 2016, 18:32

That was a new note this morning after I updated to v3.0.5 :) As you can see the reminder IS correct. It's the post time that is now off.

puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Re: Notes v3.0.4

Beitrag von puchahawa » So 12. Jun 2016, 18:42

Just rand another test with the same results. :) The reminder is correct but the post time is off by 7 hours.

I'm wondering if the info in this pic is relevant?

When I click the button for a new post, it brings up the page like it should. The time shown (default) for the reminder is the same 7 hours different from my local time. :?:

When I set it for the time I want, it works correctly for the reminder but then like my previous image, the time of the post is off by 7 hours.
Dateianhänge
notes 7.PNG
notes 7.PNG (15.01 KiB) 2270 mal betrachtet

Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2418
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Notes v3.0.4

Beitrag von oxpus » So 12. Jun 2016, 19:35

I've testet again and with GMT-7, too:
TESTNOTE_GMT-7.jpg
TESTNOTE_GMT-7.jpg (35.77 KiB) 2382 mal betrachtet
The testnote was added directly before this post.
All times are correct even on edit the note.

And now?
Karsten Ude

Kein Support zu unaufgeforderten PN's, Email oder via Messenger!

puchahawa
Beiträge: 16
Registriert: Do 9. Jun 2016, 23:08

Re: Notes v3.0.4

Beitrag von puchahawa » So 12. Jun 2016, 20:01

I'm stumped. I've tried it on both my test boards running 3.1.9 and just tried it on my live board (3.1.9) thinking maybe my test boards server setup may be the issue. I had the same problem. Only way the time of the post is correct in my testing is if the board and my time are both the same. If they different in any way I am 7 hours off on the post time.

That 7 hour differences showed up on both test boards and my live board. Only thing I can think at the moment is to share the page source data (from the notes page localhost/phpbb3/app.php/notes/) . Maybe you will see something there that may give us a clue. :)

Code: Alles auswählen

	<!DOCTYPE html>
<html dir="ltr" lang="en-gb">
<head>

<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />

<title>TEST BOARD - Notes</title>



<!--
	phpBB style name: aero
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by: John Olson ( https://www.phpbb.com/community/viewtopic.php?f=476&t=2269886 )
-->

<link href="./../../styles/aero%20black/theme/stylesheet.css?assets_version=322" rel="stylesheet">
<link href="./../../styles/aero%20black/theme/en/stylesheet.css?assets_version=322" rel="stylesheet">
<link href="./../../styles/aero%20black/theme/responsive.css?assets_version=322" rel="stylesheet" media="all and (max-width: 700px)">



<!--[if lte IE 9]>
	<link href="./../../styles/aero%20black/theme/tweaks.css?assets_version=322" rel="stylesheet">
<![endif]-->



<script type="text/javascript">
// <![CDATA[
	function switchProfiles() {
		var pss_cont = $('#page-body');
		var pss_btn = $('#profile-switcher');
		var pss_url = pss_btn.attr('href');
		var pss_left = pss_cont.hasClass('leftsided');

		phpbb.addAjaxCallback('pss', function(res) {
			if (res.success) {
				if(pss_left) {
					pss_cont.removeClass('leftsided');
					pss_btn.parent('li').attr('class', 'small-icon icon-pss-left');
					pss_btn.html('Postprofile on the left');
					pss_url = pss_url.substring(0, pss_url.length - 1) + '1';
				} else {
					pss_cont.addClass('leftsided');
					pss_btn.parent('li').attr('class', 'small-icon icon-pss-right');
					pss_btn.html('Postprofile on the right');
					pss_url = pss_url.substring(0, pss_url.length - 1) + '0';
				}
				pss_btn.attr('href', pss_url);
			}
		});
	}
// ]]>
</script>

	
<link href="./../../ext/dmzx/hangman/styles/all/theme/hangman.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/hifikabin/moonphase/styles/prosilver/theme/moonphase.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/hifikabin/navbarsearch/styles/prosilver/theme/navbarsearch.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/imkingdavid/prefixed/styles/prosilver/theme/prefixed.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/ongray/modernpninfo/styles/prosilver/theme/modernpninfo.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/sniper/smiliesigns/styles/all/theme/smiliesigns.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/sniper/tables/styles/all/theme/tables.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/tatiana5/profileSideSwitcher/styles/prosilver/theme/profile_side_switcher.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/tatiana5/profileSideSwitcher/styles/prosilver/theme/en/profile_side_switcher.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/vse/abbc3/styles/all/theme/abbc3.min.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />
<link href="./../../ext/vse/lightbox/styles/all/template/lightbox/css/lightbox.min.css?assets_version=322" rel="stylesheet" type="text/css" media="screen" />



</head>
<body id="phpbb" class="nojs notouch section-app/notes/ ltr ">


<div id="wrap">
	<a id="top" class="anchor" accesskey="t"></a>
	<div id="page-header">
		<div class="custombg"><div class="customborder">
		<div class="headerbg">
		<div class="headerbar" role="banner">
			<div class="inner">

			<div id="site-description">
				<a id="logo" class="logo" href="./../../index.php" title="home"></a>
				<h1>TEST BOARD</h1>
				<p>Testing for FCN</p>
				<p class="skiplink"><a href="#start_here">Skip to content</a></p>
			</div>
			
<div id="moon" class="search-box rightside responsive-hide">
   <a href="http://www.calendrier-lunaire.net/" target="blank">
      <img src="http://www.calendrier-lunaire.net/module/LYmFzaWMtMTcwLWgyLTE0MzQ4MTMyMzcuOTA1LSMwMDAwMDAtMTAwLSNmZmZmZmYtMTQzNDgxMzIzNy01LTA.png" />
   </a>
</div>

						<div id="search-box" class="search-box search-header" role="search">
				<form action="./../../search.php" method="get" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="search" maxlength="128" title="Search for keywords" class="inputbox search tiny" size="20" value="" placeholder="Search…" />
					<button class="button icon-button search-icon" type="submit" title="Search">Search</button>
					<a href="./../../search.php" class="button icon-button search-adv-icon" title="Advanced search">Advanced search</a>
					
				</fieldset>
				</form>
			</div>
			
			</div>
		</div>
		</div>
		</div></div>

				
		<div class="custombg"><div class="customborder">
<div class="navbar" role="navigation">
	<div class="inner">

	<ul id="nav-main" class="linklist bulletin" role="menubar">

		<li id="quick-links" class="small-icon responsive-menu dropdown-container" data-skip-responsive="true">
			<a href="#" class="responsive-menu-link dropdown-trigger">Quick links</a>
			<div class="dropdown hidden">
				<div class="pointer"><div class="pointer-inner"></div></div>
				<ul class="dropdown-contents" role="menu">
					
											<li class="separator"></li>
													<li class="small-icon icon-search-self"><a href="./../../search.php?search_id=egosearch" role="menuitem">Your posts</a></li>
																			<li class="small-icon icon-search-new"><a href="./../../search.php?search_id=newposts" role="menuitem">New posts</a></li>
																		<li class="small-icon icon-search-unanswered"><a href="./../../search.php?search_id=unanswered" role="menuitem">Unanswered topics</a></li>
						<li class="small-icon icon-search-active"><a href="./../../search.php?search_id=active_topics" role="menuitem">Active topics</a></li>
						<li class="separator"></li>
						<li class="small-icon icon-search"><a href="./../../search.php" role="menuitem">Search</a></li>
					
											<li class="separator"></li>
						<li class="small-icon icon-members"><a href="./../../memberlist.php" role="menuitem">Members</a></li>						<li class="small-icon icon-team"><a href="./../../memberlist.php?mode=team" role="menuitem">The team</a></li>										<li class="separator"></li>

									</ul>
			</div>
		</li>

				<li class="small-icon icon-faq" data-last-responsive="true"><a href="./../../faq.php" rel="help" title="Frequently Asked Questions" role="menuitem">FAQ</a></li>
		<li class="small-icon icon-bump"><a href="/phpbb3/app.php/notes/">Notes</a></li>			<li class="small-icon icon-pages icon-page-embed no-bulletin" style="background-image:url('./../../styles/aero%20black/theme/images/pages_embed.gif');">
			<a href="/phpbb3/app.php/page/embed" title="Embed" role="menuitem">Embed</a>
		</li>
			<li class="small-icon icon-pages icon-page-how no-bulletin" style="background-image:url('./../../styles/aero%20black/theme/images/pages_how.gif');">
			<a href="/phpbb3/app.php/page/how" title="How To" role="menuitem">How To</a>
		</li>
			<li class="small-icon icon-acp" data-last-responsive="true"><a href="./../../adm/index.php?sid=b48694605e536841850fc5e2f5c87449" title="Administration Control Panel" role="menuitem">ACP</a></li>		
					<li id="username_logged_in" class="rightside  no-bulletin" data-skip-responsive="true">
						<div class="header-profile dropdown-container">
				<a href="./../../ucp.php" class="header-avatar dropdown-trigger"><img class="avatar" src="./../../download/file.php?avatar=2_1444502774.jpeg" width="117" height="175" alt="User avatar" /> <span style="color: #AA0000;" class="username-coloured">Randy</span></a>
				<div class="dropdown hidden">
					<div class="pointer"><div class="pointer-inner"></div></div>
					<ul class="dropdown-contents" role="menu">
							
							
						<li class="small-icon icon-ucp"><a href="./../../ucp.php" title="User Control Panel" role="menuitem">User Control Panel</a></li>
						<li class="small-icon icon-profile"><a href="./../../memberlist.php?mode=viewprofile&u=2" title="Profile" role="menuitem">Profile</a></li>
	
							
						<li class="separator"></li>
						<li class="small-icon icon-logout"><a href="./../../ucp.php?mode=logout&sid=b48694605e536841850fc5e2f5c87449" title="Logout" accesskey="x" role="menuitem">Logout</a></li>
					</ul>
				</div>
			</div>
					</li>
					<li class="small-icon icon-pm rightside" data-skip-responsive="true">
				<a href="./../../ucp.php?i=pm&folder=inbox" role="menuitem"><span>Private messages [</span><strong>0</strong><span>]</span></a>
			</li>
							<li class="small-icon icon-notification dropdown-container dropdown-right rightside" data-skip-responsive="true">
				<a href="./../../ucp.php?i=ucp_notifications" id="notification_list_button" class="dropdown-trigger"><span>Notifications [</span><strong>0</strong><span>]</span></a>
				<div id="notification_list" class="dropdown dropdown-extended notification_list">
	<div class="pointer"><div class="pointer-inner"></div></div>
	<div class="dropdown-contents">
		<div class="header">
			Notifications
			<span class="header_settings">
				<a href="./../../ucp.php?i=ucp_notifications&mode=notification_options">Settings</a>
							</span>
		</div>

		<ul>
							<li class="no_notifications">
					You have no notifications
				</li>
								</ul>

		<div class="footer">
			<a href="./../../ucp.php?i=ucp_notifications"><span>See All</span></a>
		</div>
	</div>
</div>
			</li>
					
		</ul>

	<ul id="nav-breadcrumbs" class="linklist navlinks" role="menubar">
						<li class="small-icon icon-home breadcrumbs">
									<span class="crumb" itemtype="http://data-vocabulary.org/Breadcrumb" itemscope=""><a href="./../../index.php" accesskey="h" data-navbar-reference="index" itemprop="url"><span itemprop="title">home</span></a></span>
											<span class="crumb" itemtype="http://data-vocabulary.org/Breadcrumb" itemscope=""><a href="/phpbb3/app.php/notes/" itemprop="url"><span itemprop="title">Notes</span></a></span>
												</li>
		<li id="search-box" class="search-box rightside responsive-hide">
         <form action="./../../search.php" method="get" id="search">
            <fieldset>
               <input name="keywords" id="keywords" type="search" maxlength="128" title="Search for keywords" class="inputbox search tiny" size="20" value="" placeholder="Search…" >
               <button id="button" class="button icon-button search-icon" type="submit" title="Search">Search</button>
            </fieldset>
         </form>
   </li>

					<li class="rightside responsive-search" style="display: none;"><a href="./../../search.php" title="View the advanced search options" role="menuitem">Search</a></li>
			</ul>

	</div>
</div>
</div></div>	</div>

	
	<a id="start_here" class="anchor"></a>
	<div id="page-body" role="main">
		
							<script type="text/javascript">
	// <![CDATA[
		var pss_cont = document.getElementById('page-body');
		pss_cont.className = 'leftsided';
	// ]]>
	</script>

<h2>Notes</h2>

<form action="/phpbb3/app.php/notes/" method="post" id="notes">

<div class="navbar">
	<div class="inner">

	<ul class="linklist">
		<li><select name="search_in" class="selectbox"><option value="note_subject">Subject</option><option value="note_text">Post</option></select>&nbsp;<input type="text" name="search_string" size="30" maxlength="50" class="inputbox autowidth" />&nbsp;<input type="submit" class="button2" value="Search" /></li>
		<li class="rightside"><select name="sort_by" class="selectbox"><option value="note_subject">Subject</option><option value="note_time" selected="selected">Time</option><option value="note_mem">Memory time</option></select>&nbsp;<select name="sort_order" class="selectbox"><option value="ASC" selected="selected">Ascending</option><option value="DESC">Descending</option></select>&nbsp;<input type="submit" class="button2" value="Sort by" /></li>
	</ul>

	</div>
</div>

</form>


<ul class="linklist"><li><label>Notes</label>&bull;&nbsp;6 / 50</li></ul>

 <div class="action-bar bottom">
	<div class="buttons">

		<a href="/phpbb3/app.php/notes/?mode=new_note" class="button icon-button post-icon">New post</a>
	</div>
</div>

		<div class="post bg2">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 class="first">testing v3.0.3</h3>
			<div class="content">Checking out version 3.0.3 of user notes.  Looks interesting at the moment as it has full bbcode capability.<br /><br />checking edit    <img class="smilies" src="./../../images/smilies/icon_lol.gif" alt=":lol:" title="Laughing" /></div>
			
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Mon Apr 25, 2016 6:19 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=1" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=1" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
		<div class="post bg1">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 >test 2 of 3.0.3</h3>
			<div class="content">tested after changing boards guest time date setting to UTC to see if reminder time would work.  still off by 8 hours    shows 5 am for a 2 pm setting</div>
			
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Wed Jun 08, 2016 2:14 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=2" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=2" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
		<div class="post bg2">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 >in June check the stats</h3>
			<div class="content">checking to search function so I made up a dummy subject.</div>
			
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Wed Jun 08, 2016 2:23 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=3" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=3" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
		<div class="post bg1">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 >testing 3.0.4 reminder</h3>
			<div class="content">test version 3.0.4 reminder  guest setting utc   mine pdt -7</div>
			<div class="notice"><strong>Memory time: </strong>Wed Jun 08, 2016 2:40 pm</div>
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Wed Jun 08, 2016 2:36 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=4" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=4" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
		<div class="post bg2">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 >test</h3>
			<div class="content">test</div>
			<div class="notice"><strong>Memory time: </strong>Thu Jun 09, 2016 5:55 am</div>
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Thu Jun 09, 2016 2:51 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=5" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=5" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
		<div class="post bg1">
		<div class="inner">
	
		<div class="postbody">
		
			<h3 >test</h3>
			<div class="content">test time</div>
			<div class="notice"><strong>Memory time: </strong>Thu Jun 09, 2016 5:59 am</div>
		</div>
	
		<dl class="postprofile">
			<dt>
				<p class="author"> <b>Posted:</b><br />Thu Jun 09, 2016 2:57 pm</p>
	
				<br />
	
				<ul class="post-buttons">
					<li><a href="/phpbb3/app.php/notes/?mode=edit_note&note_id=6" class="button icon-button edit-icon" title="Edit post"><span>Change</span></a></li>
					<li><a href="/phpbb3/app.php/notes/?mode=delete&note_id=6" class="button icon-button delete-icon" title="Delete post"><span>Delete</span></a></li>
				</ul>
		
			</dt>
		</dl>
	
		<div class="back2top"><a href="#wrap" class="top" title="Top">Top</a></div>
	
		</div>
	</div>
	
<div class="action-bar bottom">
	<div class="buttons">

		<a href="/phpbb3/app.php/notes/?mode=new_note" class="button icon-button post-icon">New post</a>
	</div>
</div>

<ul class="linklist"><li><label>Notes</label>&bull;&nbsp;6 / 50</li></ul>

<br />

				</div>


<div id="page-footer" role="contentinfo">
	<div class="custombg"><div class="customborder">
<div class="navbar" role="navigation">
	<div class="inner">

	<ul id="nav-footer" class="linklist bulletin" role="menubar">
		<li class="small-icon icon-home breadcrumbs">
									<span class="crumb"><a href="./../../index.php" data-navbar-reference="index">home</a></span>
			<li class="small-icon icon-hangman no-bulletin"><a href="/phpbb3/app.php/hangman" title="Hangman Game" role="menuitem">Hangman</a></li>
		</li>
		
				<li class="rightside">All times are <abbr title="America/Los Angeles">UTC-07:00</abbr></li>
							<li class="small-icon icon-delete-cookies rightside"><a href="./../../ucp.php?mode=delete_cookies" data-ajax="true" data-refresh="true" role="menuitem">Delete all board cookies</a></li>
			<li class="small-icon icon-members rightside" data-last-responsive="true"><a href="./../../memberlist.php" title="View complete list of members" role="menuitem">Members</a></li>						<li class="small-icon icon-team rightside" data-last-responsive="true"><a href="./../../memberlist.php?mode=team" role="menuitem">The team</a></li>					</ul>

	</div>
</div>
</div></div>
	<div class="copyright">
				<a target="_blank" href="https://www.phpbb.com/community/viewtopic.php?f=476&t=2269886">Aero</a> style developed for phpBB<br />
		Powered by <a href="https://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Limited
						<br /><abbr title="SQL time: 0.000s / PHP time: 1.143s">Time: 1.143s</abbr> | <abbr title="Cached: 3">Queries: 9</abbr> | Peak Memory Usage: 10.12 MiB | GZIP: Off | <a href="./../../app.php/notes/?&explain=1">SQL Explain</a>		<br /><strong><a href="./../../adm/index.php?sid=b48694605e536841850fc5e2f5c87449">Administration Control Panel</a></strong>	</div>

	<div id="darkenwrapper" data-ajax-error-title="AJAX error" data-ajax-error-text="Something went wrong when processing your request." data-ajax-error-text-abort="User aborted request." data-ajax-error-text-timeout="Your request timed out; please try again." data-ajax-error-text-parsererror="Something went wrong with the request and the server returned an invalid reply.">
		<div id="darken">&nbsp;</div>
	</div>

	<div id="phpbb_alert" class="phpbb_alert" data-l-err="Error" data-l-timeout-processing-req="Request timed out.">
		<a href="#" class="alert_close"></a>
		<h3 class="alert_title">&nbsp;</h3><p class="alert_text"></p>
	</div>
	<div id="phpbb_confirm" class="phpbb_alert">
		<a href="#" class="alert_close"></a>
		<div class="alert_text"></div>
	</div>
</div>

</div>

<div>
	<a id="bottom" class="anchor" accesskey="z"></a>
	</div>

<script type="text/javascript" src="./../../assets/javascript/jquery.min.js?assets_version=322"></script>
<script type="text/javascript" src="./../../assets/javascript/core.js?assets_version=322"></script>

<script type="text/javascript">
//<![CDATA[
var alpha=new Array();
var alpha_index=0;

var bravo=new Array();
var bravo_index=0;

var running=0;
var failnum=0;
var advising=0;

var words = new Array("Do or Die",
					 "To love and win is the best thing and to love and loose the next best",
					 "There is no I in Teamwork",
					 "Where there is a will there is a way",
					 "He who sows reaps",
					 "Time and tide wait for none",
					 "Rome was not built in a day",
					 "Early bird catches the worm",
					 "Hunger drives wolf out of woods",
					 "A stitch in time saves nine",
					 "Actions speak louder than words",
					 "Idleness is a fools desire",
					 "Well begun is half done",
					 "An eye for eye makes the whole world blind",
					 "A bird in hand is worth two in bush",
					 "Rolling stone gathers no moss",
					 "Prevention is better than cure",
					 "Never complain and never explain",
					 "A ship in harbour is safe but that is not what ships are built for",
					 "Fear not for the future weep not for the past",
					 "Man is a political animal",
					 "Answer only yourself and God",
					 "A picture is worth thousand words",
					 "Art is long life is short",
					 "Nature is the art of God",
					 "To err is human To forgive is divine",
					 "Health is wealth",
					 "Who dares wins",
					 "Loving parents have caring children",
					 "Hope for the best and prepare for the worst",
					 "All that glitters is not gold",
					 "Virtue has its own reward",
					 "Honesty is the best policy",
					 "Speech is silver Silence is gold",
					 "Empty vessels make more noise",
					 "Child is father of the man",
					 "It takes a village to raise a child",
					 "Cowards die often",
					 "Goal of all life is death",
					 "United we stand divided we fall",
					 "Fear breeds fear",
					 "Many hands make light work",
					 "In the middle of difficulty lies the opportunity",
					 "Either find a way or make one",
					 "Forgive your enemies but never forget their names",
					 "All art is immortal",
					 "Facts are many but truth is one",
					 "Birds of the same feather flock together",
					 "Happy family is an earlier heaven",
					 "Pen is mightier than sword",
					 "Marriages are made in heaven",
					 "There is no good war or bad peace",
					 "Penny wise Pound foolish",
					 "Freedom is from within",
					 "Friends are sunshine of life",
					 "Beauty is Gods gift",
					 "Live and let live",
					 "Gratitude is the sign of noble souls",
					 "Busy bee has no time for sorrow",
					 "Journey of a thousand miles begins with a single step",
					 "Think Big",
					 "History belongs to the winner",
					 "Make hay while the sun shines",
					 "Hope is a waking dream",
					 "Try try till you succeed",
					 "Necessity is the mother of invention",
					 "Truth exists lies are invented",
					 "Do not count your chickens before they are hatched",
					 "Great minds have purposes others have wishes",
					 "Love is a burning desire",
					 "Slow and steady wins the race",
					 "Silence is the source of great strength",
					 "Honesty is the best policy",
					 "Army marches on its stomach",
					 "Money is a good servant but a bad master",
					 "Student of all master of none",
					 "Unity is Strength",
					 "Imagination gallops judgment merely walks",
					 "Life is a Mystery",
					 "Variety is the spice of life",
					 "Love is blind",
					 "Wise men think alike",
					 "Failing to plan is planning to fail",
					 "Bed is the poor mans opera",
					 "One in thousand becomes a leader the rest follow women",
					 "The Godfather",
					 "The Shawshank Redemption",
					 "Schindlers List",
					 "Raging Bull",
					 "Casablanca",
					 "One Flew Over the Cuckoos Nest",
					 "Gone with the Wind",
					 "Citizen Kane",
					 "The Wizard of Oz",
					 "Titanic",
					 "Lawrence of arabia",
					 "The Godfather Part II",
					 "Psycho",
					 "Sunset Blvd",
					 "Vertigo",
					 "On the Waterfront",
					 "Forrest Gump",
					 "The Sound of Music",
					 "West Side Story",
					 "Star Wars",
					 "E T The Extra Terrestrial",
					 "A Space Odyssey",
					 "The silence of the Lambs",
					 "Chinatown",
					 "The Bridge on the River Kwai",
					 "Singin in the Rain",
					 "Its a Wonderful Life",
					 "Some Like It Hot",
					 "Twelve Angry Men",
					 "Dr Strangelove",
					 "Amadeus",
					 "Apocalypse Now",
					 "Gandhi",
					 "The Lord of the Rings",
					 "Gladiator",
					 "From Here to Eternity",
					 "Saving Private Ryan",
					 "Unforgiven",
					 "Raiders of the Lost Ark",
					 "Rocky",
					 "A Streetcar Named Desire",
					 "The Philadelphia Story",
					 "To Kill a Mockingbird",
					 "An American in Paris",
					 "The Best Years of Our Lives",
					 "My Fair Lady",
					 "Ben Hur",
					 "Doctor Zhivago",
					 "Patton",
					 "Jaws",
					 "Braveheart",
					 "The Good the Bad and the Ugly",
					 "Butch Cassidy and the Sundance Kid",
					 "The Treasure of the Sierra Madre",
					 "The Apartment",
					 "Platoon",
					 "High noon",
					 "Dances with Wolves",
					 "The Pianist",
					 "Goodfellas",
					 "The Exorcist",
					 "The Deer Hunter",
					 "All Quiet on the Western Front",
					 "The French Connection",
					 "City Lights",
					 "The Kings Speech",
					 "It Happened One Night",
					 "A Place in the Sun",
					 "Midnight Cowboy",
					 "Mr Smith Goes to Washington",
					 "Rain Man",
					 "Annie Hall",
					 "Good Will Hunting",
					 "Terms of Endearment",
					 "Tootsie",
					 "Fargo",
					 "The Grapes of Wrath",
					 "The Green Mile",
					 "Close Encounters of the Third Kind",
					 "The Graduate",
					 "American Graffiti",
					 "Pulp Fiction",
					 "The African Queen",
					 "Bonnie and Clyde",
					 "Mutiny on the Bounty");

function pick()
{
	var choice="";
	var blank=0;

	for(i=0; i<words[index].length; i++)
	{
		t=0;
		for(j=0; j<=alpha_index; j++)
			if(words[index].charAt(i)==alpha[j] || words[index].charAt(i)==alpha[j].toLowerCase()) t=1;

		if(t) choice+=words[index].charAt(i)+" ";
		else
		{
			if(words[index].charAt(i)==' ')
			{
				choice += "	";
			}
			else
			{
				choice+="_ ";
			blank=1;
			}
		}
	}

	document.frm.word.value=choice;

	if(!blank)
	{
		alert('You Win!');
		document.frm.score.value++;
		running=0;
		new_word(document.frm);
	}
}

function new_word(form)
{
	if(!running)
	{
		running=1;
		failnum=0;
		form.lives.value=failnum;
		form.tried.value="";
		form.correct.value="";
		form.word.value="";
		index=Math.round(Math.random()*10000) % 100;
		alpha[0]=words[index].charAt(0);
		alpha[1]=words[index].charAt(words[index].length-1);
		alpha_index=1;
		bravo[0]=words[index].charAt(0);
		bravo[1]=words[index].charAt(words[index].length-1);
		bravo_index=1;
		pick();
	}
	else
		advise("Quote already in play!");

	document.frm.res.disabled=false;
	document.frm.hm.src="../ext/dmzx/hangman/styles/all/theme/images/hmstart3.gif";

	for(var i=65; i<=90; i++)
		document.getElementById(String.fromCharCode(i)).style.backgroundColor='#D3D3D3';
}

function restart(form)
{
	running=1;
	failnum=0;
	form.lives.value=failnum;
	form.tried.value="";
	form.correct.value="";
	form.word.value="";
	index=Math.round(Math.random()*10000) % 100;
	alpha[0]=words[index].charAt(0);
	alpha[1]=words[index].charAt(words[index].length-1);
	alpha_index=1;
	bravo[0]=words[index].charAt(0);
	bravo[1]=words[index].charAt(words[index].length-1);
	bravo_index=1;
	pick();
	document.frm.hm.src="../ext/dmzx/hangman/styles/all/theme/images/hmstart3.gif";

	for(var i=65; i<=90; i++)
		document.getElementById(String.fromCharCode(i)).style.backgroundColor='#D3D3D3';
}

function seek(letter)
{
	if(!running)
		alert("Click New Quote to start !");
	else
	{
		t=0;
		for(i=0; i<=bravo_index; i++)
			if (bravo[i]==letter || bravo[i]==letter.toLowerCase()) t=1;

		if(!t)
		{
			bravo_index++;
			bravo[bravo_index]=letter;

			for(i=0;i<words[index].length;i++)
				if(words[index].charAt(i)==letter || words[index].charAt(i)==letter.toLowerCase()) t=1;

			if(t)
			{
				alpha_index++;
				alpha[alpha_index]=letter;
				document.frm.correct.value+=letter+" ";
						document.getElementById(letter).style.backgroundColor='#FFF8DC';
			}
			else
			{
				failnum++;
				document.frm.tried.value+=letter+" ";
				eval("document.hm.src=\"../ext/dmzx/hangman/styles/all/theme/images/hm" + failnum + ".gif\"");
						document.getElementById(letter).style.backgroundColor='#CCD8FF';
			}

			document.frm.lives.value=failnum;

			if(failnum==10)
			{
				alert('You lose - Try again!');
				document.frm.score.value--;
				running=0;
				new_word(document.frm);
			}
			else pick();
		}
		else
			advise("Letter "+letter+" is already used!");
		}

}

function advise(msg)
{
	if(!advising)
	{
		advising=-1;
		savetext=document.frm.correct.value;
		document.frm.correct.value=msg;
		window.setTimeout("document.frm.correct.value=savetext; advising=0;",500);
	}
}
//]]>
</script>
									<script>
		var vseLightbox = {};
		vseLightbox.resizeWidth = 200;
		vseLightbox.lightboxGal = 0;
		vseLightbox.lightboxSig = 0;
		vseLightbox.imageTitles = 0;
	</script>

<script type="text/javascript" src="./../../ext/ongray/modernpninfo/styles/prosilver/template/modernpninfo.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/tatiana5/profileSideSwitcher/styles/prosilver/template/profile_side_switcher.js?assets_version=322"></script>

<script type="text/javascript" src="./../../styles/aero/template/forum_fn.js?assets_version=322"></script>

<script type="text/javascript" src="./../../styles/aero/template/ajax.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/imkingdavid/prefixed/styles/prosilver/template/jquery.ui.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/imkingdavid/prefixed/styles/prosilver/template/prefixed.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/vse/abbc3/styles/all/template/js/abbc3.min.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/vse/lightbox/styles/all/template/js/resizer.js?assets_version=322"></script>

<script type="text/javascript" src="./../../ext/vse/lightbox/styles/all/template/lightbox/js/lightbox.min.js?assets_version=322"></script>




</body>
</html>

Antworten