6 Topics

Member Avatar for
Member Avatar for Kewne

I have made a simple code that will only save to a simple database. I have this code: register_activation_hook(samplePath, 'sample_install'); add_action('admin_menu', 'main'); add_action('user_admin_menu', 'main'); and a function like this : function main(){ <?php if (current_user_can('smessage')) { echo("admin");} else{ if(current_user_can('rmessage')){ echo("other user"); } } } and this the sample_install function from …

Member Avatar for asimegusta
0
186
Member Avatar for Kewne

I have a code: <body> <?php global $wpdb; $sql = ""; $sql = "SELECT * FROM emgAdmin"; $sql = "$sql INNER JOIN wp_posts ON wp_posts.ID = emgAdmin.ID_OfPost "; $ArrResult = $wpdb->get_results($sql); while ($emgAdminResult = mysql_fetch_object($ArrResult)) { echo($emgAdminResult->post_date); } ?> </body> and I'm getting an error that says,"Call to a member …

Member Avatar for Kewne
0
2K
Member Avatar for castajiz_2

I believe everyone heard the news from November the 11th-"Opening up Visual Studio and .NET to Every Developer, Any Application: .NET Server Core open source and cross platform, Visual Studio Community 2013 and preview of Visual Studio 2015 and .NET 2015". Maybe some people will disagree but I think that …

Member Avatar for ryantroop
0
281
Member Avatar for Robert Rusu

First things first, the story about this article. Recently I've created an Wordpress Plugin [WordPress - WP - Keywords To Tooltip | CodeCanyon](http://codecanyon.net/item/wp-keywords-to-tooltip/6513598) After a few days, somebody asked me if it's working with Wordpress Multi Site, initially scared, I didn't expect it to be so easy, I've achieved the …

Member Avatar for Robert Rusu
2
400
Member Avatar for everton.retweets

Hi Everyone, I am needing some help with a wordpress insert query. I have this update query $qry ="UPDATE `".$wpdb->prefix."comments_real` SET `comment_country` = '$country',`comment_number` = '$phone',`comment_smvcode` = '$ref' WHERE `wp_comments`.`comment_ID` =$comment_id"; how do I change this to insert a new record in a db table called "comments_real" Thanks in advance

Member Avatar for everton.retweets
0
185
Member Avatar for pawan768

Hi, I'm new with WordPress plugin development, I try to login and install a plugin with the WP user credentials without using login panel just like managewp.com people do.., they ask me for my site name,username,pwd then they automatically install their own plugin to my WordPress and one more thing …

Member Avatar for pawan768
0
316

The End.