Han
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: ?page_id=111 vs. ?p=111 in URLI’m using the “day and name” permalink (e.g. https://www.mysite.com/2013/03/04/sample-post). This is used for posts. I’ve always had this since v3.0.
OK, I’ve found a very easy fix. I noticed that the uninstalling/installing of the NGG plugin changed some configurations in the database, more specifically the ‘ngg_db_version’.
You don’t have to do any of the above. Simply change the database entry ‘ngg_db_version’ within wp_options from ‘1.5.0’ to ‘1.8.1’ (in my case). This is with WP 3.5.1 and NGG 1.9.10.
It appears the version conflict was not updating when you updated your NGG plugin. By changing the version manually via database, it works. Weird but it works for me, and I don’t have to lose my galleries or any other configurations.
I managed to somehow trick the NGG plugin and WordPress and retain my galleries, the way it used to be. Of course, I backed up my database in case I want to revert back. After attempting the above, I removed the three NGG tables, then imported the backup tables in place. Now I am able to keep my original galleries and upload to them.
This may tell us something–there is a configuration outside of the NGG tables that was modified in order to make this work (after uninstalling the plugin and deactivating/activating it). I have a couple of dev sites to test this on, so I’m going to try to repeat and rinse this.
I have the same problem and fixed mine–now mine uploads fine. I have WP 3.5.1 and NextGen Gallery 1.9.10.
WARNING DO THIS AT YOUR OWN RISK!
You have to uninstall the plugin, deactivate it, and then reactivate it. The problem is that you will lose all your galleries. What I did was go to GALLERY > RESET/UNINSTALL > UNINSTALL PLUGIN. Then go to PLUGINS and deactivate and reactivate it. I would have to create a new gallery, then upload to that gallery, and it works fine.
I think there is something wrong with the NextGen Gallery here. The developers are probably not keeping up yet. With WP 3.5.1 out, NGG is having problem syncing the database tables (wp_ngg_album, wp_ngg_gallery, wp_ngg_pictures). Thus, when you upload something to a gallery, no database is written. The process above basically resets your gallery structure in the database.
Forum: Plugins
In reply to: [Shadowbox JS] [Plugin: Shadowbox JS] Does it work on WP 3.3.1?Actually, just use the new version 3.0.3.9 from the author’s website.
Forum: Plugins
In reply to: [Shadowbox JS] [Plugin: Shadowbox JS] Does it work on WP 3.3.1?Yes it does. You have to make a small change to make it work with WP 3.3.1 though. I have Shadowbox JS v3.0.3.2. For my instance, with the help of my friend, I have to modify the frontend.php file from \wp-content\plugins\shadowbox-js\inc. On line 38, change:
add_action ( 'wp_footer' , array ( &$this , 'configure' ) , 11 );
to
add_action ( 'wp_footer' , array ( &$this , 'configure' ) , 99 );
WP 3.3.1 calls the ShadowBox plugin in a wrong order. This will change the priority of the ShadowBox calls so that it will be called in the right order. Do a view source on your page to explore this further.