fl3x7
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Admin right columnYes it worked perfectly! Again thank you.
Just another question mate, my custom field box is a select box were users choose from a drop down menu.
Is it possible to have it so that once a selection is made the meta information is saved straight away, as opposed to just on the publish hook?
Even if it could be something as crude as as soon as the user selects an option it just saves it as a draft that would be fine, just trying to get that meta value into the db before the user hits publish because i want to run a query on the publish, but if the value hasnt been stored then the query will always return a Null value.
Any ideas. i know this is sort of not topic related so il create a seprate post after but just thought you might be able to help ??
Again thank you ??
fl3x7
Forum: Plugins
In reply to: add_post_meta adding extra record in post_meta.im actually getting the same problem. Not quite sure whats causing it as i used some example wordpress code to do all my structuring etc..
https://codex.www.ads-software.com/Function_Reference/add_meta_boxEverything works fine apart from the fact that each meta item is added twice ??
ive searched and noticed it was a bug which was fixed sometime ago, has it reappeared? ??
hope someone can help, cheers ??
Forum: Fixing WordPress
In reply to: Admin right columnawesome think the add_meta_box is what im looking for. looks like il have to create my own box from scratch (rather than use the custom filed template plugin) as it seems that function has a $context parameter which will allow me to set it to the right or left.. woohoo
thanks for your help t31os_ !!!!
??
Forum: Fixing WordPress
In reply to: Admin right columnhmm really, thats ashame, ive seen it done on a few of plugins so would have thought it possible.
Is there no hook etc that allows you to do this as i am part way through building a plugin. The reason i mentioned the custom field template plugin before was because my plugin will rely on this.
p.s yes the box is draggable but i need it to be in the right hand column by default for all users.
thanks you for your time
Forum: Fixing WordPress
In reply to: get_post_meta problem when using an operatorokay thats strange, as soon as i take the code out of the function and run it in one of my plugin php files it works perfectly.
Yet as soon as i have it run with the publish_post hook it doesnt do anything, no error though. The function is run on the publish_post, just it doesnt do the database chnages.
Any ideas?
cheers
fl3x7
Forum: Plugins
In reply to: nextgen-gallery thumbnailsOkay fixed. It was because of the “search unleashed” plugin. When googled the WP shortcodes were not running, hence why things were not showing from a google search but were when accessed directly.
I just disabled the plugin.
Hope this helps anyone else with the same issue ??
Just to make clear, it was NOT an issue with the nextgen gallery. Other things like my flv player were also breaking.
The creator of the Flash Video Player plugin was amazingly helpful. You can read more here:
https://www.mac-dev.net/blog/forum/flv-player-forum/topic-282/page-1/#post-1045
Forum: Plugins
In reply to: nextgen-gallery thumbnailshmm i just noticed that the flash player does not work as well. it just comes up with a “Get the Flash Player to see this content.” message… weird. Again this only happens through a search engine. When viewing from the actual site it works fine.
i really have no idea how to fix. Any help/ guidance would really be appreciated ??