SpielByWeb Forum Index SpielByWeb
http://www.spielbyweb.com/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   Find a UserFind a User   UsergroupsUsergroups   RegisterRegister 
 Your GamesYour Games   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Moves waiting
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    SpielByWeb Forum Index -> Comments and Feature Requests
View previous topic :: View next topic  
Author Message
tphon



Joined: 02 Nov 07
Posts: 219

Location: Wirral, England

PostPosted: Sun Dec 02, 2007 5:46 pm    Post subject: Moves waiting Reply with quote

With discussions ongoing about what would be a useful enhancement, I would like to suggest that a really helpful extra would be to show the number of moves awaiting action in the header next to the "Your Games" link. This would be similar to the new posts link.

In addition to being easier for players it may also help reduce the burden on the site as players would not need to refresh the your games page so often as they would know if there was anything to do from any page of the site.

I appreciate all that has been said about time constraints and would not want to detract from new game development but it seems like this would be an easy change to make with some performance payback.
Back to top
View user's profile BoardGameGeek Send private message
Rebelslayer



Joined: 17 Jan 06
Posts: 298

Location: Adelaide, Australia

PostPosted: Sun Dec 02, 2007 6:20 pm    Post subject: Reply with quote

Considering I clicked from your post to "Your Games" to see if I had any moves waiting (yes, I'm addicted) then I see what you are getting at - went through 2 screens to get there.

I guess it all comes down to to the ease of the change and admin time ... just like all of the other changes.

But as you say, this does have a performance advantage (if that is important or not I don't know).
Back to top
View user's profile Send private message Send e-mail
mdfreeman7



Joined: 09 Jan 07
Posts: 45

Location: Fallbrook, California, USA

PostPosted: Sun Dec 02, 2007 6:28 pm    Post subject: Reply with quote

I like the idea, but if you've been reading the the threads, unless your feature request is for developing more games, don't bother to even ask.

I'm curious as why there even is a feature request feature?
Back to top
View user's profile BoardGameGeek Send private message Send e-mail
shizzane



Joined: 02 Aug 06
Posts: 61

Location: TS

PostPosted: Sun Dec 02, 2007 6:54 pm    Post subject: Reply with quote

The "Comments and Feature Requests" is certainly a place to request site upgrades and hopefully better an already exceptional site. BUT, we are still at the discretion and time of our excellent hosts. Very Happy

I requested a feature a few months ago to add the "New Message" indicator whenever someone PMs you. I had PMs sitting there for a few days without any notice when I would play my games. One of the admins said this was a very simple upgrade and added it immediately. Wink

It all boils down to the great people who write the code for the site and what they are able to do. I would not have pressed the issue if this were a time consuming feature ... just thought it was a cool addition.
Back to top
View user's profile BoardGameGeek Send private message
ahauwi1



Joined: 22 Dec 06
Posts: 112

Location: Minneapolis, MN

PostPosted: Sun Dec 02, 2007 8:00 pm    Post subject: Reply with quote

I've got a greasemonkey/javascript script I use for something similar to this requested feature. So far I've only gotten it to do anything from the yourgames.php page (and to keep server load down, I should probably keep it that way). It figures out your id, counts your turns, and displays it on top.

For those unfamiliar, greasemonkey is a firefox add-on that allows you to write your own modifications to pages you visit.

Here's the script... (sorry about the inclusion of magic numbers; I didn't really plan to share this so I wasn't as rigorous in my coding practices as I usually would be.)

// 1) Determine user id
idEl = window.document.getElementsByTagName('b')[0];
id = idEl.innerHTML;

// 2) determine # of turns
turns = 0;
tds = window.document.getElementsByTagName('td');
for (i = 0; i < tds.length; i++)
{
td = tds[i];
if (td.innerHTML.indexOf(id) == 19)
{
turns++;
}
}

// 3) get handle to the location where # of turns is to be listed
el = window.document.links[6];
el = el.parentNode;

// 4) display # of turns
addString = '<a href="javascript:void()"><b>Turns: ' + turns + '</b></a> | ';
el.innerHTML = addString + el.innerHTML;
Back to top
View user's profile BoardGameGeek Send private message
Rebelslayer



Joined: 17 Jan 06
Posts: 298

Location: Adelaide, Australia

PostPosted: Sun Dec 02, 2007 8:04 pm    Post subject: Reply with quote

Great work! ... its there!

Hows that for fast response time!

Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing Laughing
Back to top
View user's profile Send private message Send e-mail
tphon



Joined: 02 Nov 07
Posts: 219

Location: Wirral, England

PostPosted: Sun Dec 02, 2007 8:12 pm    Post subject: Reply with quote

WOW, Super fast, that really helps
Thanks a load
Back to top
View user's profile BoardGameGeek Send private message
tlc



Joined: 12 Nov 06
Posts: 95

Location: Austin, TX, but my heart will always be in Boston

PostPosted: Sun Dec 02, 2007 8:12 pm    Post subject: Reply with quote

By the time I got to read this, I had already seen the change!!!

Thank you, it is SO useful.

Thia
Back to top
View user's profile BoardGameGeek Send private message Visit poster's website
t_o_m9



Joined: 14 Apr 06
Posts: 318

Location: Lakeville, MN

PostPosted: Sun Dec 02, 2007 8:12 pm    Post subject: Reply with quote

wow, that was fast. Great job
Back to top
View user's profile BoardGameGeek Send private message Send e-mail
milksheikh
Site Admin


Joined: 24 Sep 03
Posts: 399

Location: Brooklyn, New York, USA

PostPosted: Sun Dec 02, 2007 8:17 pm    Post subject: Reply with quote

It was a good suggestion, and at 10 new and 1 modified lines of code was something I could do in under 5 minutes. So I went ahead and did it, instead of spending 2 minutes logging it in the features to add list where it might languish forever.

I did think I should consider whether the performance savings from not having the Your Games page loaded as often would outweigh the performance gain from the extra query performed to handle this, but decided to just try it out and see if there is a negative impact. In theory I could eliminate the extra query by adding a counter to each user's record, but that would make this a 30+ minute endeavor (and I need to get to sleep).
Back to top
View user's profile BoardGameGeek Send private message Send e-mail Visit poster's website
milksheikh
Site Admin


Joined: 24 Sep 03
Posts: 399

Location: Brooklyn, New York, USA

PostPosted: Sun Dec 02, 2007 8:19 pm    Post subject: Reply with quote

The change has reminded me of another item in the to-do list -- integrating the header of the "main site" into the forum, so that you can see your "Your Games" status while reading/writing posts. Sadly, that's a multiple hour task, so I'm not sure when it will happen.
Back to top
View user's profile BoardGameGeek Send private message Send e-mail Visit poster's website
lindalait



Joined: 01 Aug 06
Posts: 229

Location: Newfoundland

PostPosted: Sun Dec 02, 2007 9:16 pm    Post subject: Reply with quote

thanks for your great work!
Back to top
View user's profile BoardGameGeek Send private message
spearjr



Joined: 11 Nov 05
Posts: 206

Location: Southwestern Michigan

PostPosted: Sun Dec 02, 2007 9:20 pm    Post subject: Reply with quote

Awesome, thanks!
Back to top
View user's profile BoardGameGeek Send private message Visit poster's website AIM Address Yahoo Messenger
LuvHightide



Joined: 15 Aug 06
Posts: 46

Location: New Hampshire, USA

PostPosted: Sun Dec 02, 2007 9:22 pm    Post subject: Reply with quote

Such a Great Addition Very Happy

And to Publicly Thank You for All of your Attention and Love of Your Child to offer it for All of us for Free....

I Love this site !!!
Back to top
View user's profile Send private message
stargate



Joined: 09 Dec 04
Posts: 603

Location: North Attleboro, Ma USA

PostPosted: Sun Dec 02, 2007 10:07 pm    Post subject: Reply with quote

good fix --- Thank You
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SpielByWeb Forum Index -> Comments and Feature Requests All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group