tianbo84
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP/MySQL code to create new postThere would be a couple ways, first you could use TDO forms plugin then use something like PHPexe and throw some php in the page with the form for allowing only certain users to see it (TDO also does this in the options).
Also you could create a new page, create a form with your input fields you want, than have that form process a php file you make with the code in it. Start here for the proper codex to use in you php file.
For example:
$title = $_POST['title']; //from your form... $my_post = array(); $my_post['post_title'] = $title; wp_insert_post( $my_post );
Anywayz hopefully this helps.
Forum: Fixing WordPress
In reply to: Where to add code to execute during registrationI got it figured out thanks – had to put it in registration.php
Forum: Fixing WordPress
In reply to: Where to add code to execute during registrationhey thanks for the reply, but isnt this just to customize the login screen. I want to have php execute when a person submits a registration. Sorry if im not understanding it.
Forum: Fixing WordPress
In reply to: All javascript doesn’t work – PLS HELP!!!this is probably pretty obvious but I did something similar a while ago, if your ftp is still open just go through the history screen (if it has one – filezilla has the list of actions you have done). Then go through and change them back – Most should be 755
Forum: Plugins
In reply to: [Plugin: TDO Mini Forms] Is there ANY way I can edit my custom fields values?TDO mini form has widgets to do exactly that.
In your backend go to -> Form Creation
There will be widgets that you can add “custom key field”
Forum: Plugins
In reply to: Which filter hook can I use to sort posts in categories?You can use PHP exe, which allows you to put php in pages and posts.
Forum: Plugins
In reply to: Recent Posts Embeded Into PagesThis plugin will allow you to list new posts using [smartcode]
Also, you could use PHP exe, and just use some codex (like get_post) to do this.
The phpexe plugin allows php in posts (admin only).
Forum: Plugins
In reply to: Display author name with post amount from certain category?Sorry for the late reply, driving for the past couple days. Thanks so much for the code, Ill give it a go.
Forum: Plugins
In reply to: [Plugin: SuperSlider-Menu] Include/Exclude Not Workingdoes anyone know how i could fix this issue…
thanks