EVE-SECURE / joomla-in-eve

Automatically exported from code.google.com/p/joomla-in-eve
0 stars 0 forks source link

Character sheet will only display the default character from the basic parameters. #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using "character sheet" as a menu item to pull up a character sheet.
2. Parameters (basic) requires a selection of a specific character, 
forcing the displayed character to be the one entered.  This causes that 
character to be displayed for EVERYONE, not the person that is currently 
logged in.

3.

What is the expected output? What do you see instead?
Expect to see the character sheet of the person logged in.  What you see 
is the default chosen character in the menu settings.

What version of the product are you using? On what operating system?
joomla 1.5, JIE R86

Please provide any additional information below.

Loving how this is pulling together.  Also would be nice that you can make 
the "my eve characters" that display to be clickable/linkable.

Original issue reported on code.google.com by omgfy...@gmail.com on 15 Feb 2010 at 4:30

GoogleCodeExporter commented 9 years ago
This is "working as intended". Keep in mind person can have multiple characters 
on
multiple accounts, so which sheet should I display?

But: I'll definitely  make new view in com_eve to list all user's characters 
and link
sheets from there.

Original comment by koval...@gmail.com on 15 Feb 2010 at 7:58

GoogleCodeExporter commented 9 years ago
Well, here's what I ran into; when first installed, it requires a default 
character. Let's say we use the first once it 
grabs.  When someone else logs in, they can see that character's attributes, 
regardless if the character is theirs 
or not, and their character isn't displayed.  So basically since I installed 
it, my character is the first one that was 
available, so everyone that logs in and selects character sheet sees my 
characters in all it's glory :P

What perhaps should happen is that no basic parameters is required, and what is 
displayed is a message that  
you need to be registered (if not logged in) or the logged in member's info.

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 3:14

GoogleCodeExporter commented 9 years ago
I'm linking two images to help with my comments:

http://alotofuseless.info/stuff/JIE-01.jpg
http://alotofuseless.info/stuff/JIE-02.jpg

In the first, there is no option to have a character, and if used, results in a 
blank sheet with no way to  select 
one.

In the second, you can see the default HAS to be a character, problem is, 
everyone will see that, and not their 
own character that they logged in with.

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 4:15

GoogleCodeExporter commented 9 years ago
I think I get it. Do you have /administrator/com_eve/elements directory in your
installation. If you have reinstalled com_eve, I guess you don't have it. 
Because I
forgot to add that directory manifest (eve.xml). 

Original comment by koval...@gmail.com on 15 Feb 2010 at 4:29

GoogleCodeExporter commented 9 years ago
Quick fix: get the directory from SVN and copy it manually to its intended 
location 

Original comment by koval...@gmail.com on 15 Feb 2010 at 4:31

GoogleCodeExporter commented 9 years ago
roger that.  I've been installing by pulling the svn and manually zipping up 
the installs.  thanks!

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 5:24

GoogleCodeExporter commented 9 years ago
Ok, pushed elements, and I now see the characterID field.

Here's what I get, based on the correction.  When I use the character view as a 
menu item (noting that I leave the 
CharacterID blank - I am wanting whomever clicks the menu link to have their 
character show up) I get this as 
the screen result....

http://alotofuseless.info/stuff/JIE-03.jpg

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 5:34

GoogleCodeExporter commented 9 years ago
Are you sure you entered character ID in menu link? this is how it's supposed 
to look
at backend:

http://images.code-box.sk/admin-char.png

Start typing name or ID and select char from list.

Original comment by koval...@gmail.com on 15 Feb 2010 at 5:57

GoogleCodeExporter commented 9 years ago
I can do that, but here's the problem again - once I do that, that character is 
displayed to everyone logged in, 
therefore removing any character privacy for that default selected member.  
What I would expect to have 
happen is the person that's logged in, once they select that menu item, sees 
*their* character, not the one 
that's been entered in the admin panel.  This would in essence replicate the 
"out of Eve" app that's floating 
out there, though I really like how your work has come together to implement it 
via joomla.

Just so you know how things have been set up, the front portal is Joomla, using 
Rokbridge to integrate the 
user base with phpBB3.  I was looking to use JIE to enforce API checking on new 
members and also give the 
members the features that are coming together in JIE, namely the character 
sheet.  btw, member tracking 
shows EVERYTHING to anyone that accesses it, namely their wallet info.  Any way 
to set in the admin panel 
what fields are visible as a admin control?

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 6:12

GoogleCodeExporter commented 9 years ago
Yeah. Here's the problem: Joomla's ACL sucks. I could a "quick" hack to set 
minimal
required group (registered, author, etc...) for each component. If that suffice 
I'll
get into it. 

For more granular access control we'll have wait for Joomla 1.6. It's currently 
in
Alpha stage, so we should get it soon™.

Original comment by koval...@gmail.com on 15 Feb 2010 at 6:23

GoogleCodeExporter commented 9 years ago
Heh, I hear you about Joomla's ACL  Real pain for a LONG time.  How about this 
- each person can set what they 
want to have visible as part of a personal preference.  I also notice that from 
the alliance view, anyone and 
everyone can see each person's character sheet, so it's not filtering out 
access based on who's currently logged 
in.  Is that feasible?

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 6:46

GoogleCodeExporter commented 9 years ago
1. User has always access to his characters.
2. Admin sets up global minimal access level.
3. User can explicitly "publish" his characters from frontend.
4. Admin can explicitly "publish" all characters from backend.

That should suffice, for now. More in 1.6.

Original comment by koval...@gmail.com on 15 Feb 2010 at 7:11

GoogleCodeExporter commented 9 years ago
that's perfect., though I think many are skittish about their wallets and the 
amounts being shown.  Probably not 
important to have on the sheet beyond that person's own viewing, tbh.  Also, 
balance is spelled "ballance" on the 
sheet, and the tax rate is showing 1500% instead of 15%.

If there's anything I can find and fix, I am happy to help if possible.

Original comment by omgfy...@gmail.com on 15 Feb 2010 at 7:21

GoogleCodeExporter commented 9 years ago
Get on google talk and let's have a word.

Original comment by koval...@gmail.com on 15 Feb 2010 at 7:35

GoogleCodeExporter commented 9 years ago
1. and 2. are working.
See Components -> EVE -> Access Control.

I would recommend to set: 
character, corporation, alliance: public (these serves just as navigation 
structure)
charsheet: registered or special (depends, if you want your members see each 
others
characters)
chartracking: special

Original comment by koval...@gmail.com on 20 Feb 2010 at 6:52

GoogleCodeExporter commented 9 years ago
I'm having similar issue where there is nothing showing up on the char sheet 
page, but when i try typing in the 
admin or ID in the field i don't have anything coming up. 

Original comment by maliqua@gmail.com on 13 Apr 2010 at 3:04

GoogleCodeExporter commented 9 years ago
I'm having this same issue.  Has anything been worked on with this?  I can't 
get the page to work without entering in my id.  If the menu link is clicked 
with any other user, it goes to my page, not their character page.

Original comment by andrewsp...@gmail.com on 16 Jul 2010 at 12:13

GoogleCodeExporter commented 9 years ago
Please see my comment at 
http://code-box.sk/forum/view-postlist/forum-4-jie-discussion/topic-26-some-issu
es-with-dynamic-char-viewssheets-for-members.html#ccbp110

This cannot be fixed. I cannot display user's character (singular), when he can 
have multiple characters (plural). You'll have to use the user view of the 
component.

Original comment by koval...@gmail.com on 16 Jul 2010 at 12:31