Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
v3 Arcade Add To Favourites In Game Play Area Details »
v3 Arcade Add To Favourites In Game Play Area
Mod Version: 1.00, by Gemma (Coder/Designer) Gemma is offline
Developer Last Online: Jul 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (5 votes - 5.00 average) Installs: 26
Released: 29 Apr 2011 Last Update: Never Downloads: 29
Not Supported Template Edits Code Changes Re-usable Code  

I've noticed that there is no way of adding a game to your favourites whilst playing the game, at present you can only add via the category list or when submitting a score. Personally I think adding when playing makes more sense.

To do this, open your arcade.php file and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the file and re-upload

In your v3ARCADE_PLAY template search for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If anyone wants to further develop any of my addons, you are free to do so.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	favs.jpg
Views:	265
Size:	84.0 KB
ID:	128646  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 30 Apr 2011, 11:09
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Tagged
Reply With Quote
  #3  
Old 02 May 2011, 19:22
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Nice!
__________________
Reply With Quote
  #4  
Old 03 May 2011, 09:38
TEMPESTADE TEMPESTADE is offline
 
Join Date: Dec 2010
very nice!!
Reply With Quote
  #5  
Old 30 May 2011, 18:08
CK CK is offline
 
Join Date: Dec 2007
Real name: http://xenforo.com/
Added great, thanks.

I wonder if anyone will be picking any of this up in Gemmas absence?
Reply With Quote
  #6  
Old 31 May 2011, 04:21
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Could you do it for ibProArcade?
It's awesome modification thanks
Reply With Quote
  #7  
Old 31 May 2011, 19:42
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by nacaruncr View Post
Could you do it for ibProArcade?
No but I'm sure someone who uses IbProArcade could do something similar
__________________
Reply With Quote
  #8  
Old 31 May 2011, 21:39
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
ok thank you
I going to try it... I only stand don't destroy it XD jajajajaa

thank you
Reply With Quote
  #9  
Old 17 Aug 2011, 21:06
steve1966 steve1966 is offline
 
Join Date: Dec 2007
working perfect thank you
Reply With Quote
  #10  
Old 23 May 2012, 21:55
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Add to favorites. (or else!)

I added this, and you're right, this is exactly where it should be!

I'm having one issue with this in that the phrase never changes from "Add to Favorites" This is whether I click the icons or the words. The icons switch back and forth as they should, and so does the alt text. But the phrase stays the same.

I just upgraded to 4.2.0 so I don't know if this is just a coincidence or not, but worth mentioning.


---just noticed that the words actually staying the same no matter what the phrase is, depending on where it starts after a page load. When page refreshes, the icon, words, and alt text all match and correct. However, from then on, clicking doesn't change the words.

Last edited by doubleclick; 23 May 2012 at 22:00.
Reply With Quote
  #11  
Old 23 May 2012, 23:09
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by doubleclick View Post
I added this, and you're right, this is exactly where it should be!

I'm having one issue with this in that the phrase never changes from "Add to Favorites" This is whether I click the icons or the words. The icons switch back and forth as they should, and so does the alt text. But the phrase stays the same.

I just upgraded to 4.2.0 so I don't know if this is just a coincidence or not, but worth mentioning.


---just noticed that the words actually staying the same no matter what the phrase is, depending on where it starts after a page load. When page refreshes, the icon, words, and alt text all match and correct. However, from then on, clicking doesn't change the words.
It works as it was designed to work. That's how it is throughout the arcade, the link doesn't change dynamically, it will only change between the two phrases once you revisit the page or another page where favourites can be added or removed.

I guess when the arcade was designed they weren't expecting someone being indecisive about whether a game was a favourite or not and rapidly clicking between adding and removing a game.
__________________
Reply With Quote
  #12  
Old 24 May 2012, 00:32
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Thanks for the explanation. I don't think people are indecisive as to whether they want a game to be a favorite. Having a link that says one thing yet means the opposite can be confusing to the users. Creating a workaround is easy enough, which is to simply create a button image that says add or remove favorite, then get rid of the text. I just thought it was a mistake that you weren't aware of and would want to correct. Your "it's a feature not a bug" explanation is good enough for me.

Please understand that I wasn't criticizing you free contribution, your coding skills, or the v3arcade design overall. Just bringing information to the discussion.

(That and the fact that after fooling around with the if statements for almost an hour today with no luck, I was very curious as to how it was possible to make it work that way just from a sheer intellectual level. I was feeling defeated by a few lines of code.)

Last edited by doubleclick; 24 May 2012 at 00:42.
Reply With Quote
  #13  
Old 24 May 2012, 12:16
doubleclick doubleclick is offline
 
Join Date: Jul 2004
On the off chance that someone else wants this change, I've attached a couple of replacement images I whipped up for my install. Just remove the portion of code below from Gemma's, then upload the two gifs.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: gif subfav.gif (1.6 KB, 7 views)
File Type: gif addfav.gif (1.5 KB, 140 views)

Last edited by doubleclick; 24 May 2012 at 13:42.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:38.

Layout Options | Width: Wide Color: