Support Forum

User not able to insert links

SU Superfast
Superfast
Member

Whenever a moderator or member tries to insert a link (bbCode editor) into a post they get the “Unable to save – You are not allowed to put links in post content”. They were allowed to before the upgrade to 5.0 upgrade. In the Forum control panel under the Options > Content Settings in the spam posts section, if I tick ‘Allow links in posts’ and click update, it goes right back to being unticked.

Have I overlooked something?

30 Answers

New Answer

SU Superfast
Superfast
Member

Another thing I just noticed is that my admins cannot get into the admin options.

MP Mr Papa
Mr Papa
Member

by admins, do you mean sp or wp?  the former is allowed to do so always… 

but if you option is off, that would explain it…  what message at top do you get when you save???

can you save any other options?

Just tested on couple test sites and the option saves fine for me, so not a general problem…

SU Superfast
Superfast
Member

SP admins. They don’t get a message up top, they just get the red warning at the bottom that they are not allowed to put links in post content.

They can save a post with text or an image just fine, just not links.

I figured this was not a general problem, but what would not allow the ‘allow links in posts’ option to save?

MP Mr Papa
Mr Papa
Member

No, admins are not susceptible to any of those kind of options or permissions… they have God like power…

saving any form in the admin should bring up a yellow box at the top with the status of the saving…  if you are not getting that, should look for some js conflicts…

SU Superfast
Superfast
Member

The admins are able to post links they just cannot use the admin options, it’s the regular members and moderators that cannot insert links.

I thought you were asking about the message on top of the screen for saving the post in the forum. I do get a settings updated message up top after I tick allow links in posts, but then it just goes right back to being unticked.

YS Yellow Swordfish
Yellow Swordfish
Member

OK let’s see.

  1. Does this happen on any other Admin panel or is it restricted to this one?
  2. Can you check for scripting errors? Firebug for Firefox or any of the development tools now built in to most browsers(although I can not speak for IE) all have script consoles which will display any script errors if they happen.
  3. If unique to this panel – if you change it and update then navigate to another place – like the WP dashboard and then come back to the forum admin is it still not saved correctly?

Start with those…

SU Superfast
Superfast
Member

1. Restricted to this admin panel

2. First thing I checked for was conflicts and/or errors (even warnings); none that I can see in FF, Chrome, or Safari on both PC and Mac

3. Yes, that is correct. If I change it, then update it and navigate away and come back it still has not saved.

Post links filtering options will not save either.

YS Yellow Swordfish
Yellow Swordfish
Member

Curious. No known or reported issues until now on this.
Can you go to the forum admin > toolbox > error log and clear it (button at the bottom).
Back to the problem admin panel. Change it and update. Back to error log to see if anything is reported there?

SU Superfast
Superfast
Member

This is what I get after emptying the SP error log, and them attempting to save ‘allow links in posts options’.

Date Type Description
March 1, 2012 2:54 PM php file: /simple-press/sp-api/sp-api-filters.php
line: 168
function: sp_filter_text_save
Notice | Uninitialized string offset: 0
March 1, 2012 2:54 PM php file: /simple-press/sp-api/sp-api-filters.php
line: 165
function: sp_filter_text_save
Notice | Uninitialized string offset: 0
March 1, 2012 2:54 PM php file: /simple-press/sp-api/sp-api-filters.php
line: 162
function: sp_filter_text_save
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 80
function: Unavailable
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 88
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 87
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 86
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 85
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 84
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 83
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 82
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 81
function: spa_get_content_data
Notice | Uninitialized string offset: 0
March 1, 2012 2:53 PM php file: /simple-press/admin/panel-options/support/spa-options-prepare.php
line: 80
function: spa_get_content_data
Notice | Uninitialized string offset: 0
YS Yellow Swordfish
Yellow Swordfish
Member

This is most peculiar. It looks like you have an options record missing from the sfoptions table – but – if that is the case then it should be created after changes and an update.And the odd thing here is that there are no real error messages about failing to save it.

Do you have access to and know your way around your database?

YS Yellow Swordfish
Yellow Swordfish
Member

Great – could you take a look in the ‘sfoptions’ table and see if you have a row with an option_name of ‘sffilters’ and if so copy and paste the option_value column here for me to look at?

SU Superfast
Superfast
Member

One of the first places I looked….and that particular table row (sffilters) has an empty option_value column.

YS Yellow Swordfish
Yellow Swordfish
Member

Curiouser and curiouser.
I wonder if you are trying to put something in there it doesn’t like which is causing a null value although – that really should produce an error message.
Any chance of a screen dump of that panel?
And if it is any help I can copy our data for that row and you could paste it in…?