Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Embedded Video

UserPost

1:46 pm
February 1, 2010


stacef

Member

posts 18

1

Hi there,

Discovered today that authors who can otherwise post, edit and delete post content can not embed video in those same posts.  I can embed the video as admin but if they open and resave, the embed code disappears.

Pretty sure it's an RS issue; other users on other blogs without RS installed do not experience this issue.

Any thoughts or suggestions appreciated!

And thanks for a great plugin,

Stace

2:00 pm
February 1, 2010


Kevin

Admin

posts 2381

2

You need to add the "Unfiltered Html" capability to the RS Post Contributor role. Go to Roles > Options > RS Role Defs, select the corresponding checkbox, and click the Update button.

2:34 pm
February 1, 2010


stacef

Member

posts 18

3

Thanks for the fast reply but now I really need HELP!

I did not have the unfiltered html option in my version of RS so I upgraded and now find the option available.

But for some reason, my authors now can not access any posts!  I can access them as admin but when they login, post count shows 0 and obviously they can't edit anything.

I'm hoping/guessing there's an easy solution but I hope you can tell what it might be.

Thanks!

2:39 pm
February 1, 2010


Kevin

Admin

posts 2381

4

What version were you running before?

2:43 pm
February 1, 2010


stacef

Member

posts 18

5

1.0.4.1

In Wordpress, it looks like all my groups and so on are missing but I just confirmed that the RS tables are still in the database.

Also, I'd saved a copy of my 1.0.4.1 RS and tried reinstalling with no luck.

2:43 pm
February 1, 2010


Kevin

Admin

posts 2381

6

Why don't you roll back to the previous version until I'm able to look into this tomorrow? Click the other versions link on the wordpress.org plugin page.

2:50 pm
February 1, 2010


Kevin

Admin

posts 2381

7

stacef said:

1.0.4.1

In Wordpress, it looks like all my groups and so on are missing but I just confirmed that the RS tables are still in the database.

Also, I'd saved a copy of my 1.0.4.1 RS and tried reinstalling with no luck.


What do you mean "groups and so on"? Are your Restrictions and Roles missing too?

2:51 pm
February 1, 2010


stacef

Member

posts 18

8

I've reverted to my original version (the same that is running on five other nearly identical sites) but for some reason, it's not seeing the options saved in the database.  All groups, categories and capabilities appear to be missing in WP but all the RS tables and info appear to be there.

Is there some way to re-establish the RS connection to the options in the db?

Thanks,

Stace

2:52 pm
February 1, 2010


Kevin

Admin

posts 2381

9

One thing to keep in mind is that the new RS version has a different admin menu link structure, so you can't just reload the page or open a link from the 1.0.4-generated menu links. In other words, you need to reload /wp-admin/ after dropping in the new RS version.

3:04 pm
February 1, 2010


stacef

Member

posts 18

10

OK, but I'm back on 1.0.4.1 and I've logged out and back in as admin and still no groups, etc.

Also just went through the RS data tables, comparing them to the RS data tables from another installation (same 1.0.4.1 version) that functions.  Everything appears to be about the same.  One thing that seems new is in the wp_groups_rs table and entries for group_name [Anonymous] , [Pending Review] & [Scheduled Revision Monitors].  Might that be something?

I mean the RS plugin is/was functioning fine and nothing in that code changed.  Any changed had to be in the options stored in the db.  But I'm not sure RS is even seeing the db.

3:35 pm
February 5, 2010


Kevin

Admin

posts 2381

11

An update received from Stace via email on 2 Feb:

I recreated my steps from yesterday and discovered that RS updated just fine, no issues, no loss of options or settings.

Way back when, this was about enabling unfiltered HTML to allow post authors to embed videos. I'm going to Roles -> RS Role Definitions -> Post Roles, clicking the 'Unfiltered Html' box and then 'update,' nothing else. That's when things seem to go awry for me, including the 'Role Groups' item disappearing from the Users menu. Obviously I'm missing a setting somewhere. Any thoughts?

Also, unchecking that box and reupdating did not reverse things. This time around I had made a backup of the four RS tables and the wp_options table; I used them to restore.

3:37 pm
February 5, 2010


Kevin

Admin

posts 2381

12

Sorry, I got redirected into some paid consulting over the last few days. I plan to look into unexpected "Unfiltered HTML" symptoms soon.

3:57 pm
February 5, 2010


stacef

Member

posts 18

13

No problem - I got diverted, too.  Thanks for looking in to this further!


8:39 am
February 8, 2010


Kevin

Admin

posts 2381

14

I haven't had any success recreating the missing Users > Role Groups menu item and I'm not sure what type of posts your authors were suddenly missing - their own posts or others' posts which they have Category/Post Roles for.

My only recommendation at this point is to go back to Roles > RS Role Defs. If there is a warning message about the corresponding WordPress role lacking some capabilities, click the "sync" checkbox and then the Update button.

10:30 am
February 9, 2010


stacef

Member

posts 18

15

I think I've solved the missing menu item and the visible posts issue (just played around with different RS settings a bit).  And the sync solution also seems to have worked.

But now I get this error when I try to upload anything, as admin or otherwise:

Fatal error: Call to undefined function scoper_admin_init() in /usr/local/www/data/grade6/wp-content/plugins/role-scoper/role-scoper_init.php on line 199

Not sure what to make of it; wondering if you've seen it.

11:10 am
February 9, 2010


Kevin

Admin

posts 2381

16

I can't see why this would be necessary since the necessary file inclusion is already executed at the top of role-scoper_init.php, but you can further ensure the definition of that function by editing role-scoper_init.php as follows:

change:

if ( is_admin() )
   scoper_admin_init();

to:

if ( is_admin() ) {
  require_once( 'admin/admin-init_rs.php' );
  scoper_admin_init();
}

11:33 am
February 9, 2010


stacef

Member

posts 18

17

Not sure why it's needed, either, but it seems to have done the trick.  Not sure what it is about my particular installation and configuration that requires the extra inclusion but I appreciate the help.

Thanks for everything!

Stace

12:08 am
February 16, 2010


debrah.h48

Member

posts 3

18

Thanks for this embedded information.


About the Agapetry forum

Currently Online:

19 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1181

Posts: 5363

Members:

There are 1173 members

There are 1 guests


Kevin has made 2381 posts

Top Posters:

metal450 - 148

Ragnar - 102

YikYak - 68

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin