outervisuals / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Activity Stream - display of pics not fixed by 'remapping' option in config #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*** YOU MUST ANSWER ALL QUESTIONS. IF A QUESTION IS NOT RELEVANT YOU MUST
WRITE "NOT APPLICABLE" IN THE QUESTION FIELD. ***

[What steps will reproduce the problem? (We need detailed, specific steps.
If we cannot reproduce the defect on a dev machine, we cannot fix it.)]

Re: the following:

If the hosting is shared/virtual in a way the requires the 'remapping' fix in 
the config:

1. Install latest version of WP.
2. Install latest version of BP.
3. Install latest version of BP Media.
4. In the BP Media settings, enable the 'remapping' option.
5. Go upload a photo.
6. Notice the photo will show in the upload and album area, but not in the 
activity stream.

[What is the expected output? What do you see instead?]
See #6 above.

[What version of BP Media are you using?]
0.1.8

[What version of WordPress are you using?]
3.1

[What version of BuddyPress are you using?]
1.2.5.2

[What version of PHP are you using?]
PHP 5

[If the problem is layout related (broken page layout, etc) or browser
related (page just freezes, cannot connect to server) ...what happens when
you load the page in AT LEAST TWO of the following browsers:]
1.FireFox - (Report version number) 3.6.10
4.Google Chrome - (Report version number) 6.0.472.63

[What is the URL of your web host?]
Bluehost.com

[If you are running a public site, what is the URL to a page that shows the
problem?]
I have now set up the .htaccess fix, so the problem is no longer visible on our 
site. Site address is caclive[dot]net

[Do you know how to use phpMyAdmin?]
Yes,

[Do you know how to edit PHP code?]
Yes.

[Please provide any additional information below]
That's about it. :-)

Original issue reported on code.google.com by douggjos...@gmail.com on 28 Sep 2010 at 10:01

GoogleCodeExporter commented 9 years ago
BP Album versions 0.1.7 and 0.1.8 have a very primitive activity stream posting 
system. To get the picture to appear, you must go into the picture's 'edit' 
stream, ensure "post to activity stream" is set to 'yes', and click 'save. At 
this point, the picture should appear.

Version 0.1.9 has a far more sophisticated activity stream posting system with 
image grouping and privacy controls. So we're probably not going to fix this 
defect before the 0.1.9 release unless we have to go in and do an emergency fix 
for something else.

Original comment by CarlRoett@gmail.com on 28 Sep 2010 at 10:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
@CarlRoett

Thanks for such a kind and thoughtful reply! Much appreciated.

However, please note that this issue was a path problem, seemingly because of 
the 'remapping' feature not having been applied to the activity stream. Even 
when the picture's 'edit' stream was already set to "post to activity stream" 
and the code to show the pic was being used, the picture did not show because 
of a bad path.

Speaking of which, the plugin should /accept/ differences between physical path 
and virtual path, and use the latter. If that was done, then the remapping 
feature would not be needed.

Sure, the plugin has to grab the physical path to place the file. But then (it 
would seem) when the plugin asks WP for the virtual path, the choice is not to 
use it. Instead either a web root indicator (/) or the full domain name -- is 
placed at the beginning of the physical path, and that is attempted. On most 
servers that is a bad path.

Placing either a web root indicator (/) or the full domain name 
(http://blah.com/) at the front indicates the path that follows /should/ work 
in a browser for public service. Yet the elements of the physical path that are 
being stuck in are usually unacceptable in the browser path.

I really appreciate that the activity stream options are being worked on, but 
this is a path issue, and enhancing the activity stream options alone won't 
truly resolve the path issue (although enabling the remapping fix could serve 
as a good band-aid). I hope a better approach to the path issue will be 
considered in the newer versions.

All in all, this plugin is the only one I could get to work with the latest 
versions of WP and BP -- out of trying out all that I could find. So I am 
thrilled with it, even if slightly imperfect. I am currently using .htaccess to 
restore the path back to what it needs to be. Thanks again for replying. Much 
appreciated!! 

Original comment by douggjos...@gmail.com on 28 Sep 2010 at 6:39

GoogleCodeExporter commented 9 years ago
@CarlRoett

A thousand pardons. Earlier when I read your reply, I mistook it to mean you 
thought the defect was a user-interface issue instead of a path issue. I see 
now that you recognize the defect (path issue) as distinct from the 
user-interface concerns, and you're simply saying a fix will likely be delayed 
until a new version. Sorry about that.

Original comment by douggjos...@gmail.com on 28 Sep 2010 at 7:40