subramanya1 / buddypress-media

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

HTML in wp_bp_activity table, 'content' column, is messed up after upload #75

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.)]
1. Upload a picture
2. Go to activity stream and see the messed up HTML instead of the thumb
3. Look into wp_bp_activty, content column

[What is the expected output? What do you see instead?]

I am expecting the thumb and title. Instead the HTML looks like this

<a href="<a href="http://dev.oneliving.org/members/admin/album/picture/1/" 
target="_blank">OneLiving</a>" class="picture-activity-thumb" 
title="DSC_0642.jpg"><img src="<a href="http://dev.oneliving.org/wp" 
target="_blank"/>OneLiving-content/uploads/album/1/DSC_0642-398x600-150x150.jpg"
 />dasdasd

[What version of BP Media are you using?]

BP Album+ Version 0.1.8.9 

[What version of WordPress are you using?]

WordPress 3.0.4. 

[What version of BuddyPress are you using?]

Not sure but readme.txt says "Stable tag 1.2.7"

[What version of PHP are you using?]

[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)
2.Internet Explorer - (Report version number)
3.Safari - (Report version number)
4.Google Chrome - (Report version number)

[What is the URL of your web host?]

Right now it's local on my machine

[If you are running a public site, what is the URL to a page that shows the
problem?]

[Do you know how to use phpMyAdmin?]

Yes

[Do you know how to edit PHP code?]

Yes
[Please provide any additional information below]

Original issue reported on code.google.com by koji...@gmail.com on 1 Apr 2011 at 4:06

GoogleCodeExporter commented 9 years ago
you may close this one. I had a hook that was creating this

Original comment by oliviert...@gmail.com on 1 Apr 2011 at 5:05

GoogleCodeExporter commented 9 years ago

Original comment by fanquake on 30 Jul 2012 at 8:25