tonynooblet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Use plugin functionBUMP
Forum: Fixing WordPress
In reply to: Setting Post TitleUgh.. starting from where?
Forum: Fixing WordPress
In reply to: Setting Post TitleWould this possibly work
<?php $POST[‘title’] = $_POST[‘category’] . $_POST[‘partepisode’];?>
Forum: Fixing WordPress
In reply to: Setting Post TitleIt still doesn’t work.
<?php $_title = $_POST['category'] . $_POST['partepisode'];?>It checks if the user put anything
<?php if(isset($_POST['submit'])){ if($_POST['embed'] == ''){ echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a valid embed-code</strong></div>'; } if($_POST['thumb'] == ''){ echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a valid thumbnail URL</strong></div>'; } if($_POST['title'] == ''){ echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a title</strong></div>'; } if($_POST['partepisode'] == ''){ echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a part or episode number</strong></div>'; } }and it gives me “You should enter a title” problem. =[ sigh I’ve been at this for hours.
Forum: Fixing WordPress
In reply to: Setting Post TitleI’ve never touched PHP before and this is my first time playing with it..
it’s not working though..
<?php $title = $_POST['category'] . $_POST['title'];?>Forum: Fixing WordPress
In reply to: Setting Post TitleNo one seriously knows!?!?
Forum: Fixing WordPress
In reply to: Use plugin functionBump.. =[
Forum: Fixing WordPress
In reply to: Setting Post TitlePlease someone?
Forum: Fixing WordPress
In reply to: Use plugin functionAnyone?
Forum: Fixing WordPress
In reply to: Setting Post TitleSo how do I get to to set the title to what the category and and video part is? like for an example the category is Caramel because I selected it, and I typed Apple for the input. When I submit the form how do I combine both and get the title to be Caramel Apple?
Forum: Fixing WordPress
In reply to: Setting Post TitleI don’t get you. The whole form code looks like this
<form name="post" method="post"> <div class="wrap"> <div id="poststuff"> <div id="post-body"> <div class="postbox"> <h3><label for="title">Name of Anime/Movie Category (i.e. Naruto, Bleach, One Piece):</label></h3> <div class="inside"> <?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'category', 'orderby' => 'id', 'hierarchical' => 1, 'tab_index' => 1 ) ); ?> </div> </div> <div class="postbox"> <h3>Episode or Part: <small>(If Anime then TYPE "Episode 3", If Movie then TYPE "Part 1", ETC.)</small></h3> <div class="inside"> <input type="text" name="partepisode" size="30" tabindex="2" value="<?php echo htmlspecialchars($_POST['partepisode']);?>" id="partepisode" style="width: 98%;"/> </div> </div> <div class="postbox"> <h3>Video Description:</h3> <div class="inside"> <textarea id="description" tabindex="2" name="description" cols="40" rows="3" style="width: 98%;"/> <?php echo htmlspecialchars($_POST['description']);?> </textarea> </div> </div> <div class="postbox"> <h3>Genres: <small>seperated by comma's</small></h3> <div class="inside"> <input type="text" name="tags" size="30" tabindex="4" value="<?php echo htmlspecialchars($_POST['tags']);?>" id="tags" style="width: 98%;"/> </div> </div> <div class="postbox"> <h3>Thumbnail URL: <small> If you use Mozilla: Just RIGHT click the image and select "Copy Image Location" and paste here</small></h3> <div class="inside"> <input type="text" name="thumb" size="30" tabindex="5" value="<?php echo htmlspecialchars($_POST['thumb']);?>" id="thumb" style="width: 98%;"/> </div> </div> <div class="postbox"> <h3>Embed Code: <small> ANDAnime video sizes are ALWAYS 600x400! (Change all "width=number" to "width=600" - Change all "height=number" to "height=400"</small></h3> <div class="inside"> <textarea id="embed" tabindex="6" name="embed" cols="40" rows="2" style="width: 98%;"/> <?php echo stripslashes(htmlspecialchars($_POST['embed']));?> </textarea> </div> </div> </div> </div> <input type="hidden" name="submit" value="submit"> <input type="submit" name="submit" value="Submit"> </form>Forum: Fixing WordPress
In reply to: Setting Post TitleSomeone help please?