Forum Replies Created

Viewing 15 replies - 1 through 15 (of 33 total)
  • Thread Starter Lorik84

    (@lorik84)

    Sorry the name of the default post that is currently on my site is actually “Hello world”, not Hello Dolly… just used to seeing the older version of wordpress with that phrase I guess.

    Thread Starter Lorik84

    (@lorik84)

    Any other alternatives? Seems like a simpler solution than having to install another plugin…

    Thread Starter Lorik84

    (@lorik84)

    Adding more (please don’t forget to read what I just posted before this one too). Why does wordpress codecs say that it is required, before we change our domain to our new server, to do a backup file of our posts and pages in the admin panel? That I wish I would have known I had to do before I changed my domain to the new server. Is it because there is no way to pull the posts/pages from the database other than exporting it in this exact way, through the admin panel?? Or is there other alternatives than one ONE way that wordpress says we must do?

    Thread Starter Lorik84

    (@lorik84)

    Hi,

    Sorry if I wasn’t clear, but like I said before, it IS the same as my NEW database name and my NEW prefix. I DID CHANGE my wp-config.php file to my NEW database name AND my new database prefix. If it wasn’t the same, it would still show up as “can’t connect to the databse” when I go to my website. But my website loads, so I know that it’s the same (not to mentioned that I checked it at least 4 or 5 times to be sure).

    I was just simply letting you know, that my old database had a different prefix. I wasn’t saying that my wp-config.php file was the same as it was on my old host. I did change it of course, like I said.

    So now that you know this… anyone can tell me what the problem is please?

    Thread Starter Lorik84

    (@lorik84)

    My new host like I said, does not allow me to import my old database name. It automatically puts a default prefix on it so I can’t make it the same prefix as my old one.

    Thread Starter Lorik84

    (@lorik84)

    I’m sorry I dont understand? What do you mean by match up?

    Does the prefix of all of the tables have to be the same as the prefix of the database?

    I never changed the prefix of the tables, they are exactly the same as they were before.

    So what do I need to do, if I am not able to change the prefix of the new server’s database? Do I need to change the prefix of all of the tables??

    Thanks again

    Thread Starter Lorik84

    (@lorik84)

    One more thing to consider…

    I did double check the prefix of my database in the config.php file and it is the same as the prefix associated with my database. However, on my old host it was on a database with a DIFFERENT name and prefix. Don’t know if that matters?

    Also all of the tables are prefixed “www_”. Which is different than the prefix associated with my databases. I don’t even think I am able to edit the prefix of my databases. Every time I create a new one, it is auto-assigned. So do the tables have to have the same prefix as the database? Don’t know how I could change that either…

    Thread Starter Lorik84

    (@lorik84)

    Hi,

    I apologize for that and I assumed a moderator would delete the additional posts that weren’t in the right category, I just had no idea what category my subject fell under, hence why I posted in three separate categories.

    I did update my wp-config file with the new database information and everything is correct. I know because in the beginning I had the wrong user and password, in which my site showed up as “Can’t connect to the database”, and then once I changed it to the correct user and password, my site showed up. So I know that is not the problem.

    When searching for the solution, I found out that before moving your domain and website, you are supposed to export the posts and pages in the backend admin page, to a separate file that is not the database backup.

    Does wordpress suggest this because of the fact that there is no other way of moving the posts and pages? And thus retreiving them from the database? I have literally looked everywhere, and that is the only solution (backend admin panel) that I have seen given by both wordpress codecs as well as the forums. But like I had mentioned, it is too late for me to do that, thanks to my domain already being propogated to the new server.

    I did look into phpmyadmin and the “posts” table does show my posts and pages there, so I don’t know why it’s not displaying in my admin panel. The only post shown in my admin panel is the “hello dolly”. I think it’s because I originally installed a whole new wordpress installation on this new server before moving my files, and then I just overwrited the “wp-content” folder. I am not using the database used to originally install this new installation, I actually created a new database first, and then imported the mysql file to the newly-created database. Then edited the config.php file to contain the new database, not the one associated with the original installation.

    So maybe I just need to delete the database made when the new wordpress was installed? It shouldn’t be referencing it which is what is so weird.

    I did forget to mention that the only folder that I had moved from the older server to the new one, was the “wp-content”. I did not move any of the other wordpress folders/files. Should I have? I don’t think the other files were affected or would be a cause for my posts not displaying (which I know are in the new database’s posts table as I looked in phpMyAdmin, it shows all the posts one at a time over a very lenghthy

    Thanks for any help!
    Lori

    Hi Cristian,

    I hope this comment shows up in your email as I would like to ask you some questions.

    I tried the code that is on that s2member page you suggested for auto upgrading a user’s role, but it didn’t work. I believe it only works for changing the role of a CERTAIN user (hence why it mentions “user ID=”), but I thought the point was to change ANY user’s role upon entering the page.

    I did some research on codex, it does say that we need to identify the “current” user instead of saying a specific ID, to allow a role change for the user who is currently viewing. But of course even though it does say to use “set_role” action hook with this description next to it in the wp codex page: “This will remove the previous roles of the user and assign the user the new one. You can set the role to an empty string and it will remove all of the roles from the user.”, that is all it says about it. It doesn’t explain HOW to actually use it in a code.

    After reading this page: https://codex.ww.wp.xz.cn/Class_Reference/WP_User#add_role.28_.24role_.29

    I know that it needs to be something like this, but when I use it, it only TAKES AWAY the current user’s current role, instead of replacing it.

    <?php $current_user = wp_get_current_user($role);
    $current_user->set_role(“Gold Client”); ?>

    I also tried the above code without the word “$role”, at the end of the first line so that the paranthesis was empty. Same result no matter what.

    If anyone can help me figure this out I would appreciate it! I have literally looked everywhere.

    Thread Starter Lorik84

    (@lorik84)

    Yes I do see all the brand new things and the “Conditions” on the right… none of the old settings are there that’s why i was confused by the new cookie question and triggers. Thanks for explaining that by the way.

    I did delete the old plugin before installing the new one, but I didn’t delete the old database table.

    So I tried to edit the pre-existing triggers that must have stayed in the database. I clicked on the pencil button and nothing happened. I then clicked on the “Add new trigger” button and nothing happened.

    The only time a popup shows up is if I check “all pages” or “all posts”. When I try to show the popup on a certain post tag or post format, it doesn’t show up on posts associated with that tag or format.

    Thanks again!

    Thread Starter Lorik84

    (@lorik84)

    oops sorry i didn’t see you replied already before I sent my last message.

    As far as cache is concerned, I have had it disabled since yesterday morning (36 hours ago at least). So when you say cache are you talking about wordpress cache or plugins? I don’t know how to reset wordpress cache so if you think that’s the problem can you explain how I can do that?

    Maybe my issues have to do with old database info not interrelating with the new upgrade? How do I delete/rest the old database and make a fresh install? Don’t know what the name of the table would be but I can try to find it in phpmyadmin unless there is an easier option via wordpress admin panel?

    Thread Starter Lorik84

    (@lorik84)

    Update:

    The new beta version actually does not save the targeting option at all, not even for specific posts. The only times my popup shows now is if “all posts” are selected

    Thread Starter Lorik84

    (@lorik84)

    Hi Daniel,

    It looks like the new beta version doesn’t allow you to select the type of post tag/category/format, unless you click the “update” button after selecting one of those selections first. Then after saving, suddenly it shows the different tags/categories/formats to select from. Just thought I should let you know, as other users might just assume it doesn’t work. It does work but you just have to save it first before it gives you the options.

    Also questions:

    One of the most important reasons why I use your plugin is because it allows us to say how many seconds/minutes after page load the popup shows. On this version I don’t see that option at all. Am I just looking in the wrong spot? Would it be a quick fix for you to add this same option the old version had to the new version?

    What does the “Analytics” Opens 0 mean? I clicked the check box for Reset open count and nothing happened after saving. Don’t know if something is supposed to happen?

    I do not want there to be any cookies. I want a new popup to come on every 2 minutes for the free users of my site (they are ads). Where the page would auto refresh after like 8 minutes, and every 2 minutes would be shown one of the ads. (Ad 1 will come on right after page load, ad 2 would come on 2 minutes after page load, ad 3 would come on 4 minutes after page load, and ad 4 will come on 6 minutes after page load). So with the cookies options, it gives me 3 selections: On popup open/close, and manual javascript. I don’t want either and I don’t see an option to disable cookies like with the previous version. I also don’t see any options for how often to show popup (how long in between viewings). So does this mean that cookies won’t affect my popup, and I don’t have to worry about it? Or is it forced to only show one popup per user until they clear their cookies?

    If you think it would be easy to keep the old version but just add the function of allowing showing only on specified post formats then that would be all I need. 🙂 If you could direct me how to do that (as I did like the older version for reasons mentioned above that the new one doesn’t seem to have).

    Thanks again!

    Thread Starter Lorik84

    (@lorik84)

    Thanks so much! I didn’t see the “add new” button below the post list. It works now… going to try the new beta version. Thanks!

    Thread Starter Lorik84

    (@lorik84)

    Actually I forgot to add “s” at the end of the page title “memberships-2″ is the correct name of the page that I am trying to edit but have no way of doing so.

Viewing 15 replies - 1 through 15 (of 33 total)