The statuses form is added to a panel page called "startpage" without any associated views. Statuses works correctly and status can be updated, then viewed on another node, in this case user/%.

Two javascript "slideshow" views and another javascript cease to function when the statuses form is added to the panel. All function normally with statuses form is removed from panel page.

Comments

IceCreamYou’s picture

Status: Active » Postponed (maintainer needs more info)

What errors appear in your JavaScript console? What other modules are you using to create the slideshow? Which Statuses submodules do you have enabled?

Anonymous’s picture

Hi IceCreamYou. I ended up removing the Statuses & facebook style micropublisher modules from my site. I was a bit disappointed as I spent months trying to integrate it into user/%. I could never get the status form to work on user/% and had to refer users either directly to the form, or display it on another page such as profile-main.

The following is just for reference should anyone else be interested. I want to stress that the Statuses module is a great contribution to Drupal, and remarkable given the small number of developers.

Here is a brief summary of why I decided to drop Statuses:

1. The javascript error was a complete show stopper with my new theme that uses js for the main menu.
2. Could not get the statuses update entry form to display on user/% no matter what I tried.
3. The facebook style statuses is a great idea, but not user friendly compared to what (spoiled?) facbook users expect these days. In particular, the lack of a YouTube preview image display was disappointing.

The java-script problem caused me to rethink the whole Statuses implementation. In the end I found that it is a bit too much to expect my users to maintain a statuses stream in my site as virtually all of them already maintain the same functionality in their facebook wall. As the module would not work anyway, trying to get additional facebook integration working seemed hopeless.

Javascript on any page with Statuses enabled stopped working, making it impossible to run anything in js, not just slideshow, for example my theme uses js for the menu dropdown, the language switcher uses js for icons, etc. Sorry I don't have any additional info, if I decide to reimplement statuses I will try to track down the specific errors.

I appreciate all your hard work on this module, to single handily keep up with thousands of facebook developers for so long is quite an accomplishment.

Anonymous’s picture

Quick update.

It was not just the Statuses update entry form that was crashing js. The statuses views (all) on any panel page were also causing java-script to crash.

IceCreamYou’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Well, sorry it didn't work out. I think it's likely there is an error elsewhere on your page that caused Statuses to explode.

Anonymous’s picture

Status: Closed (cannot reproduce) » Needs review

I tried re-enabling Statuses views today on the user/%1 account (panels) page. When I enabled either the view "statuses_stream: Block" or the view "fbss_ur_stream: timeline", I ran into the same javascript problem.

I ran Firebug in Firefox and this is the only script error that it reports:

JSON.parse: bad control character in string literal

Line 27

"{"A":[1,true,false,null,"\u0000\b\n\f\r\t"]}"

If I disable both Statuses views, the page loads normally. Note that if I load the page for a user that does not have any statuses or relationship statuses, the page and assorted js all load normally.

Finally, I am not able to load the Statuses update form on user/%1, but if I display the Block using views on any other page/panel, the status update form is presented.

IceCreamYou’s picture

Issue summary: View changes
Status: Needs review » Closed (cannot reproduce)