I am having problems getting a chosen image and status rendering in some of the items in the above view.

Some status posts have image + url + status
Others have only the url

CommentFileSizeAuthor
#10 input.jpg38.96 KBsummit
#10 result.jpg89.2 KBsummit

Comments

publicmind’s picture

Status: Active » Postponed (maintainer needs more info)

are you sure you are using the latest dev of FBSS (as recently there was a bug reported with FBSS #743030: sid and uid interchanged in Views status-text field handler) , and not having this problem http://drupal.org/node/735234#comment-2722478

If this doesn't solve your problem, please provide more information.

publicmind

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

Hey publicmind

No it wasn't latest version of FBSS (always weary of dev versions!) so will try that first.

Yes it does look as if it is the same problem as per the comment by Martijn (although the links were never an issue as all were cut and pasted from the browser address bar).

Thanks

Anonymous’s picture

Upgraded to latest version of FBSS and now I can't post any statuses at all! And it is also not picking up the 'right' image either.

Anonymous’s picture

I can post a status without an url link though - just a plain message.

Is there something else I need to check or activate after upgrading to the dev version of FBSS in the FBSL module?

publicmind’s picture

update database??

Anonymous’s picture

Do you mean update.php - yes, did that.

publicmind’s picture

can you provide some screenshots of the step you are taking and what exactly is happening?

summit’s picture

Hi,
May be I have the same problem. Using latest FBSS and FBSL. When I click in the linkbutton and put in a correct url, then the url itself is shown in the status result, but not the title, description and image.

1) It is shown in the linkbutton screen, with clicking ATTACH with url, title, description and image.
2) But when clicking Share the linkbutton screen is gone, and only the url is shown in the FBSS view.

Is it may be a field question in the FBSS views? Does FBSL add fields to the FBSS view? It would be great if the
Url, image, title and description would be added to the FBSS views, so I can also change the order in the view-blocks!

Greetings, Martijn

publicmind’s picture

I am not sure, as I am unable to reproduce it with the latest version of FBSS + FBSL??

FBSL doesn't add any fields to the FBSS view, but it alters what is being rendered to the user.

regards,

summit’s picture

StatusFileSize
new89.2 KB
new38.96 KB

Hi Nitin, I made some screenshots.

First screenshot (input.jpg) gives the values showing by clicking Link-button, and then
typing in www.aanbiedingen-campings.nl and then clicking ATTACH.
Then I see nicely the picture-link, title and description in the Link-box.

But..when I then click SHARE, the picture, title and description information are not shown in the Facebook-style Statuses block. See picture 2 (result.jpg).
Therefore I assume that the nicely gotten linkdata (picture, title, description) is not inserted back in the Statuses fields. as seen in result.jpg.

I would very much appreciated if I could manipulate these fields (picture-link, title and description) in a view so I can reorder stuffs also.
But off course first showing them in the blocks is priority. If I off course am correct in my analyses.

Also I do not see these fields (picture-link, title, description) in: Facebook-style Statuses Latest Status Updates.
I have installed the following module dates: Facebook-style Links 6.x-1.x-dev (2010-Mar-15) and Facebook-style Statuses (Microblog) 6.x-2.x-dev (2010-Mar-19).

Thanks again for going into this.
Greetings, Martijn

publicmind’s picture

I see, this should not have happened after you updated your FBSS to the latest dev. The link, photo, description, etc are stored in the database, I think, but aren't displayed.

As I said, I am still unable to reproduce it, what other modules you are using? If you trust, you can provide me the admin details of your test site and ftp details, I might be able to debug this for you. (use the contact form).

publicmind

Anonymous’s picture

Yes, this is what I am seeing too.

The full view has the link, image, description and status but the block does not.

Facebook-style Links 6.x-1.0
Facebook-style Statuses 6.x-2.x-dev

I can see all the data in the facebook_link table.

summit’s picture

Hi Nitin,

Not at home today, had a Yoga sunday this weekend, so couldn;t reply further.
If you want, I can see what I can do to get you into my ftp, but may be because others also report this, it is still a sort of bug in the system?
Thanks a lot in advance for your reply again!

greetings,
Martijn

publicmind’s picture

I understand, but can not help until I am unable to reproduce it!! I will although give it a try again tonight.

regards,
publicmind

publicmind’s picture

Hi,

I think there is conflict with input filter you might be using for the FBSS status field. Can you replace the line 662:

662 $status_text = str_replace($status->status, $replace, $status_text);

with

662 $status_text = $replace;

and see the output. If it changes, we know what to fix.

regards,

summit’s picture

Thanks! Appreciated. If you do not succeed I can arrange a ftp login on the end of the week for you, I think.
Good luck with finding the thingies..

Greetings, Martijn

Anonymous’s picture

In exactly which file? In which module?

publicmind’s picture

I am sorry, in facebook_link.module file, Facebook-style Links module. Line number is counted on the latest dev version..

thanks

Anonymous’s picture

Found it

facebook_link.module

but mine was 649

Do I need to upgrade this module to dev?

What happens for me, was that the editor on the site loaded with the FBSS/FBSL this time.

Admittedly I have just added CKeditor - it wasn't there when I tested FBSS/ FBSL the other day.

The output in the status block I got was:
Username str_replace 0 sec ago Edit Delete

where str_replace prints out.

The code in the recent statuses block (which I have 5 statuses showing in) did not render the image but the link to it was there printed in text form.

So it had:
Status
Text link to image
Text link to site
Summary

Strangely enough when I then reverted line 649 to the original and then edited the status to remove p tags, it displayed perfectly.

Removing the p tags from a previously entered status did not fix it.

Clearing the cache, removed the image from the status that was working perfectly.

Clicking on the 'more' link on the recent status block, and deleting one status, then returned the image to the status that was working perfectly - in both the status block and the recent status block.

publicmind’s picture

You are advised to upgrade to dev, it is stable for use!! It fixes several issues.

Did it solve your problem or not? I have already found out that FBSL is not compatible with the Input Filters running on FBSS statuses, so I will fix it probably this weekend. Till then, you might want to turn off the filters from FBSS advanced settings.

regards,

summit’s picture

Hi Nitin,
May be possible to also make real view fields then of the image-link, title and description? It would be great to be able to order them on the views page!
Sorry if thats not the way you want this module to evolve.

Greetings, Martijn

summit’s picture

Hi Nitin,
did you succeed this weekend? Very much interested!
Greetings, Martijn

publicmind’s picture

Hi,

I am sorry for not updating this issue, was super busy with GSoC project Facebook-style Micropublisher. I will update the status when its done. This requires a lot of changes in code as well as database tables.

regards,

summit’s picture

Hi Nitin,
Great! Looking forward to test solution for you!
Greetings, Martijn

publicmind’s picture

Title: View Most Recent Status » View Most Recent Status | Conflict with FBSS input filters.
Category: support » bug
Status: Active » Fixed

Hi,

I just committed the fix in dev, it will take some time to build (about 10 - 12 hours). Let me know, if you still face any problems. Do not forget to run update.php as it contains changes to database table.

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.