_OMEGA_
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dropdown list & MySQL QueryCool thank you, I’ll try!
Forum: Fixing WordPress
In reply to: Dropdown list & MySQL QuerySo if I was wrong how can I create the PHP form and the SQL query?
I’m stuck there from 1 week and I’m going crazy 🙁Forum: Fixing WordPress
In reply to: Dropdown list & MySQL Queryup
Forum: Fixing WordPress
In reply to: Create a placeholder page for a pluginOk but in this way I have to put the ‘my-page-template.php’ into the template directory, am I right?
There’s a way to have all in the plugin Directory?Forum: Plugins
In reply to: Create a placeholder page for a pluginup
Forum: Plugins
In reply to: Custom Page for a plugin visualization!I’m still trying to develop my own plugin for WP, but now I have a problem (another one, hope in one hand this time).
I want to display the results of my plugin that interact with another WP database in an own page.
I saw that some plugins like SimplePress:Forum, TDO Mini Form do this: basically they say to create a Page from the admin WP backend and put, in the text field, something like: [forum] or [tdomf_form1].I’d like to do something like that but I don’t know how!!
Anyone could help me with this??
Please I really need an hand!Forum: Plugins
In reply to: Custom Page for a plugin visualization!Any suggestion, hint or something!?
Forum: Plugins
In reply to: Custom Page for a plugin visualization!No one?
Forum: Plugins
In reply to: Custom Page for a plugin visualization!Sorry to up this thread, but I really need help.
Can’t figure out this problem!
Any suggestion, hint or something!?Please
Forum: Plugins
In reply to: Write to database from form in a pluginHave you solved your problem? I have the same one and still no solution!
Forum: Fixing WordPress
In reply to: Read data from a PHP form and store them in a databaseI’m writing some code in the “page_add_new.php”, that’s cause I want to keep the things separate.
I don’t think to create a function in it, so I’ve done so:<? if (isset($_POST['submit']) and $_POST['submit']==TRUE) { $id_field1 = ($_POST['id_field1']); $id_field2 = ($_POST['id_field2']); #################################################################### # THIS CODE IS USED TO CONNECT TO THE MYSQL DATABASE $wpdbtest_otherdb = mysql_connect($hostname, $db_user, $db_password); mysql_select_db($database,$wpdbtest_otherdb); $sqlQuery = "INSERT INTO " . $wpdbtest_otherdb->prefix."gpedia(id_field1, id_field2) VALUES ('$id_field1', '$id_field2')"; $wpdbtest_otherdb->query($sqlQuery); } else { ?> <?php if ( !empty($_POST ) ) : ?> <div id="message" class="updated fade"> <strong>Your setting has been saved message goes here....</strong> </div> <?php endif; ?> <div class="wrap"> <h2>Admin - Add New</h2> <!-------------begin form------------> <form method="post" action=""> Field_1: <br /> <input type="text" name="id_field1"> <br /> Field_2: <br /> <input type="text" name="id_field2"> <br /><br /> <input type="submit" name="submit" id="submit" value="send"> </form> <!-------------end form------------> </div> <? } ?><br />Please help me, dunno what to do! 🙁
Forum: Fixing WordPress
In reply to: Read data from a PHP form and store them in a databaseAny hint pls?
This thing is driving me crazy!Forum: Fixing WordPress
In reply to: Read data from a PHP form and store them in a databaseI forgot to say that I trying to put the “function myplugin_activate()” in the “file_admin.php” and the form in the file “page_add_new.php”
Forum: Fixing WordPress
In reply to: Display a specific category using SQL dataI’ve found and tried this:
SELECT DISTINCT ID, post_title
FROM $wpdb->posts as p
INNER JOIN $wpdb->term_relationships AS tr ON (p.ID = tr.object_id AND
tr.term_taxonomy_id IN (44) )
INNER JOIN $wpdb->term_taxonomy AS tt ON
(tr.term_taxonomy_id = tt.term_taxonomy_id AND taxonomy = ‘category’);and it do what I need!
Finally thx 😀Forum: Fixing WordPress
In reply to: Multiple linked SWF files don’t work!Fixed, it was my fault.
Wrong reference in the flash files, now it works great!Thank you all