Support Forum
This FAQ will give you more information on using the console: https://simple-press.com/docum.....r-console/
But in this case, Ike actually posted the error text in post #4 of this thread,
YELLOW
SWORDFISH
|
hi @ike @yellow-swordfish
this was the error message (why the mention auto-complete won't show when the bpchat plugin is active) -->
TypeError: this.indexOf is not a function
Array.prototype.remove()
bpchat-ajax.js:13
m.access()
jquery.js:4
.attr()
jquery.js:5
AutoComplete.prototype.process()
plugin.min.js:1
.proxy/e()
jquery.js:2
tinyMCEPreInit.mceInit.postitem.mentions.source/<.success()
kabarangay-attendance-chatting-section:1662
m.Callbacks/j()
jquery.js:2
m.Callbacks/k.fireWith()
jquery.js:2
x()
jquery.js:5
.send/b()
jquery.js:5
what do you think?
I dont see a link to your site? we could check for simple js conflict... more than likely an older version of jquery or jquery ui is being loaded by the chat plugin...
Visit Cruise Talk Central and Mr Papa's World
It might be worth you taking a look at this FAQ as well: https://simple-press.com/docum.....-conflict/
It is probable - although as Mr Papa said without seeing your site we can't be sure - that this is the problem. We have seen this with other chat plugins and in fact have another support issue at the moment to do with one called 'arrowchat' which is guilty of the force loading described in the FAQ.
If you find that this is the problem - then by all means ask the plugin authors to read it. It is very easy to make things compatible but using the proper WP API and standards.
YELLOW
SWORDFISH
|
hi! the author of the chat plugin was able to fix it, so everything's good now.
small issue is users that have already been deleted are still appearing in the auto-complete list - so when you click the name it comes out as undefined. how can i purge the list so only active/current users appear?
it pulls the users from the database... so doubt they have been deleted... or if you deleted them, they were not deleted via the wp api... which means you might have mismatch between wp users and supplemental sp user info... when wp deletes a user, it notifies plugins so they can also remove any extra info...
how many rows in wp users table in database? how many in sfmembers table in database?
Visit Cruise Talk Central and Mr Papa's World
so how did you delete the wp users? through the wp admin panel or api? then they would be removed from simple press... if you removed otherwise, no way for plugins to know they were deleted...
you will have to compare the tables... in the wp users table, there is an ID column... that will correspond to the user_id column in the sfmembers table... so if the user_id column does not match and ID column, you can remove that particular sfmembers row...
and uses should only be deleted through the wp api...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)