billybob71a
Forum Replies Created
-
Yes, I think that would a good idea. I am not sure if I am getting bots registering on my site. My site is almost unknown and I got 3 registrations today already.
Creating a reCaptcha on the login page should not be hard to do since you have it on your “upload” form already.
Ok, the link works on my other VM. I just sent you a donation through Monzilla Media
Thanks.Hi Jeff,
Oh by the way, I tried to make a donation, but the link in “wp-admin” page, which has “settings” > “User Submitted Posts” shows the link as :
Just FYI.
Thanks.Peter
I placed some “error_log” statements as markers in “function us_gallery”, but it is almost like the function is not getting called.
Hello Jeff,
Thanks for your replies.
I finally found it. It was nested high up in the records. The records were displaying only 100 something until I bumped it up to show 300 records.
It is in the wp_postmeta table.
Thanks.
Peter
Whoa! That sounds complicated. I installed phpMyAdmin, but I cannot seem to find a table that has a record containing the author name.
Really?
I am having a difficult time looking for the table that stores the author data. May I ask which table is it?
Hello Jeff,
Thanks for your quick reply.
So out of curiousity, do you log %%post_author%% into the database anywhere?
Ok, thanks for the reply.
By the way, what’s the best way to clear the tables to start at the beginning again for post submissions?
hmmm… I am going to change the code around a bit. For some reason when I log $append, it shows up as null (nothing).
I have modified the code like this under the function usp_attach_images:
/*$append = ($file_count > 1) ? ‘-‘. $i : ”;*/
$append = ‘-‘.$post_id;Oh that means that your plugin would only append a number if there were multiple files posted on a single post. Am I correct?
If you do not do a check on what whether or not there is already file with a duplicate name, how do you know what number to append to the file?
I noticed that in user-submitted-posts.php, in
function usp_attach_images
you have:
do_action(‘usp_files_before’, $files).
in your README.txt, you also refer to this ‘usp_files_before’ as a hook.
Is ‘usp_files_before’ doing a check on whether or not there was previous file with the same name?
Under “Dashboard” > “Plugins” , it says that I am using “User Submitted Posts” version 20180511.
Actually, it does not seem to be doing that by default in my case. Is there a way to turn up more logging so that I may what is happening?