Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter filias

    (@filias)

    It’s beginning to look like there’s no solution to the BulletProof problem, so I’ve decided to uninstall BulletProof and look for another security plugin. Does anyone know of a good security plugin?

    Thread Starter filias

    (@filias)

    I was able to do this using a plugin called CSS and Javascript Toolbox. I can put a javascript function in this plugin, check which page the function is for, and then go to that page and call the function with something like “onclick=”startfunction()” where startfunction is the name of the function.

    It’s working well.

    Thread Starter filias

    (@filias)

    Thank you. I’ll go with that then, at least until I can learn more about using the wp db method you suggested.

    Thank you for your help. One thing led to another after I started talking to you, and that finally led to a solution.

    Thread Starter filias

    (@filias)

    Much to my surprise, I’ve found that within my wp page I can retrieve the information I need from my non-wp db that I’ve been using all along for my non-wp page (I’m changing my site to wp from my traditional XHTML coded site).

    I’m using the plugin Exec-PHP for the PHP code and the MySQL code, and everything is working perfectly.

    Is there any reason I shouldn’t use my non-wp db? I do have a limit on the number of db’s I can use, but I’m not near that limit.

    Thread Starter filias

    (@filias)

    I’d like to give this a try first.

    Sounds like I need to go into wp-includes/functions.php and put the following in:

    <?php add_option( ‘ticket_count’, ‘1’, ”, ‘yes’ ); ?>

    Although, since I am going to be calling the number with my php code, I may want “no” instead of “yes”.

    Thread Starter filias

    (@filias)

    I took a look at that, and I’ll come back to it.

    When I read your post, it prompted me to search in a different way. I found an article that says:
    “In 99% of the currently available WordPress plugins, there is absolutely no need for them to have a custom table – WordPress utilizes the ‘options’ table to help in most cases. However, what if your plugin requires it’s own “space” in the WordPress database?” (https://wptoy.com/tips-tricks/create-a-plugin-with-its-own-custom-database-table/)

    Do you know how to access the options table? Or, perhaps that wouldn’t fit with what I’m trying to do?

    Thread Starter filias

    (@filias)

    I can do this in a non wordpress site. In fact, I could have wp open my present php page in a new window, but I prefer to have this all within wp.

    Explanation: I have an online ticket for an association fund raiser. The first ticket each year begins with the number 1. When a user goes to my ticket page, she sees the number 1. The next user to go to the page sees the number two. On and on.

    I’m looking for something very basic to get started. How do I create a table in the wp MySQL db? I know how to do this using MySQL (non-wp). I would just go into MySQL and create a new table. Then I would code the php into my php page.

    Do I start by going into the wp MySQL db and making a new table there?

Viewing 7 replies - 1 through 7 (of 7 total)