MyBB Community Forums
Inline moderation/pastebin mycode, not working anymore. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Inline moderation/pastebin mycode, not working anymore. (/thread-236338.html)



Inline moderation/pastebin mycode, not working anymore. - C0D3D - 2022-08-19

For starters, my inline moderation while using a custom theme says .
Error!

Sorry, but you did not select any posts to perform inline moderation on, or your previous moderation session has expired (Automatically after 1 hour of inactivity). Please select some posts and try again.
& also, my pastebin mycode modification, does not work anymore.

I did a ton of modifications so I cant really remember what it was I did.
Is there a different method I can use to get pastebin [pastebin]dkjskdjds[/pastebin] to work? like a special line of code I must add to some template or?
Any help would be appreciated.

Also, is there a location of the theme.xml? on the server? I prefer doing mods directly from the xml. But i cant find where it uploads to.


RE: Inline moderation/pastebin mycode, not working anymore. - Matt - 2022-08-19

What's your URL?

Also can you expand on how the MyCode "does not work anymore" as that's not a lot to go on. Is it not displaying anything? Is it staying as bbcode? Is it showing an error?


RE: Inline moderation/pastebin mycode, not working anymore. - C0D3D - 2022-08-19

(2022-08-19, 01:45 PM)Matt Wrote: What's your URL?

Also can you expand on how the MyCode "does not work anymore" as that's not a lot to go on. Is it not displaying anything? Is it staying as bbcode? Is it showing an error?

https://codedskills.net/forumBeta/

and when i type [pastebin]LxY03F9y[/pastebin] it just show up as blank, nothing appears. where as it worked once upon a time.
https://ibb.co/JHv6qtR

everything else seems to work fine, images, the [code] thing, everything.

One thing I do remember doing is adding custom html code to the top of some of my php files, index.php and other misc files https://i.ibb.co/ngZZTLC/234234234.png could this be maybe the problem?


RE: Inline moderation/pastebin mycode, not working anymore. - Devilshakerz - 2022-08-19

Regarding the MyCode issue, this may be relevant: https://docs.mybb.com/1.8/faq/errors/#parser-output-validation-failed


RE: Inline moderation/pastebin mycode, not working anymore. - C0D3D - 2022-08-19

(2022-08-19, 02:01 PM)Devilshakerz Wrote: Regarding the MyCode issue, this may be relevant: https://docs.mybb.com/1.8/faq/errors/#parser-output-validation-failed

So I disabled all plugins, nothing worked, and I also tried to remove my custom html for my banner from all the php files, and it still didnt work.

Nvm, ill just use the regular [code] bbcode..


RE: Inline moderation/pastebin mycode, not working anymore. - Matt - 2022-08-19

Did you look in the error log to see why the mycode is failing? Post the pattern and replacement settings for it here.


RE: Inline moderation/pastebin mycode, not working anymore. - C0D3D - 2022-08-19

(2022-08-19, 03:22 PM)Matt Wrote: Did you look in the error log to see why the mycode is failing? Post the pattern and replacement settings for it here.

Sorry, where do i find the error log?
EDIT:

Ok so i think i found it in configuration, now when i load my page, it shows a ton of errors./ now what?

The only error im getting is reguarding prostats plugin, and when i disable it, i still get the same problem, no [pastebin] showing up.


RE: Inline moderation/pastebin mycode, not working anymore. - Matt - 2022-08-19

We'd need to know what the errors were, or if you can post the settings for the pastebin mycode, we may be able to see the issue.


RE: Inline moderation/pastebin mycode, not working anymore. - C0D3D - 2022-08-22

(2022-08-19, 05:48 PM)Matt Wrote: We'd need to know what the errors were, or if you can post the settings for the pastebin mycode, we may be able to see the issue.

I was able to get it to work, im not really sure what the issue was, or how exactly I fixed it, But I started with deleting any old theme templates etc i had not yet removed, and I uninstalled/reinstalled all my plugins..

Its even possible it was just an error with pastebin itself, but i doubt it was.

Thank you for all your suggestions man!