Activity Stream
48,167 MEMBERS
65623 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1.     
    #11
    Banned
    Website's:
    sharing-zone.org
    Quote Originally Posted by kewld00d View Post
    It doesn't work, as you've probably discovered. If you know HTML, you could fix the index by ending the textareas. Or just download the new one.
    Just tested it. Now this one works:
    Test The Script Here
    Thanks mate.

    Plus I want to input the URL of the Icons/Button in the files itself and will be hidden, Users don't have to input for buttons.

  2.   Sponsored Links

  3.     
    #12
    Member
    k, just give me the button urls and i'll hardcode those in. or if you like, i can make a config.php you edit easily so you can change your button urls.

  4.     
    #13
    Banned
    Website's:
    sharing-zone.org
    Quote Originally Posted by kewld00d View Post
    k, just give me the button urls and i'll hardcode those in. or if you like, i can make a config.php you edit easily so you can change your button urls.
    Yeah1 Config.php will be better.

    Also one more thing mate that if I am posting only one url of the screenshout, why is it showing the other 2 img tags as well?

  5.     
    #14
    Member
    Ahh, I'll get that.

  6.     
    #15
    Member
    OK, so screenshots should now not show IMG tags if not filled in.
    and you need to fill in config.php before you run the script.

    Code: 
    http://www.mediafire.com/?erifzo6u5o6i17l

  7.     
    #16
    Banned
    Website's:
    sharing-zone.org
    Quote Originally Posted by kewld00d View Post
    OK, so screenshots should now not show IMG tags if not filled in.
    and you need to fill in config.php before you run the script.

    Code: 
    http://www.mediafire.com/?erifzo6u5o6i17l
    Thanks mate. Will get back.

  8.     
    #17
    Banned
    Website's:
    sharing-zone.org
    Ah ! Well nice work kewld00d !!

    The only problem I am facing is it isn't removing the img tag if not present.

  9.     
    #18
    Respected Developer
    a while back i make something for Code-Projects, it supports post icons you can change that tinypic links or add simple text.. here is the code:

    PHP Code: 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <title> Post Generator for C-P</title>
    </head>

    <body>
    <div style="margin-left:200px;">
    <form method="post" action="">
    Cover: <input type="text" name="cover"><br />
    Information:<br /><textarea name="information" rows="5" cols="40"></textarea><br />
    IMDB: <input type="text" name="imdb"><br />
    Screenshot(s):<br /><textarea name="screenshots" rows="5" cols="40"></textarea><br />
    Download Links:<br /><textarea name="links" rows="5" cols="40"></textarea><br />
    Password: <input type="text" name="password"><br />
    <input type="submit" value="Generate Post">
    </form>

    <?php
    if($_POST){

        
    $cover $_POST['cover'];
        
    $screenshots $_POST['screenshots'];
        
    $information $_POST['information'];
        
    $imdb $_POST['imdb'];
        
    $links $_POST['links'];
        
    $password $_POST['password'];
        if(empty(
    $information) || empty($links)){
            echo 
    'Please fill in all required fields';
        } else {
            
    $post '';
            if(!empty(
    $cover)) $post .= '[IMG]'.$cover.'[/IMG]'."\n\n\n";
            
    $post .= '[img]http://i49.tinypic.com/25yuj3p.png[/img]'."\n";
            
    $post .= '[QUOTE]'.$information.'[/QUOTE]'."\n\n\n";
            if(!empty(
    $imdb)){
            
    $post .= '[img]http://i46.tinypic.com/211udk9.png[/img]'."\n";
            
    $post .= '[CODE]'.$imdb.'[/CODE]'."\n\n\n";
            }        
            if(!empty(
    $screenshots)){
                
    $screenshots explode("\r\n"$screenshots);
                
    $post .= '[img]http://i45.tinypic.com/7296pl.png[/img]'."\n\n";
                foreach (
    $screenshots as $screenshot){
                    
    $post .= '[IMG]'.$screenshot.'[/IMG]'."\n";
                }
                
    $post .= "\n\n";
            }
            
    $post .= '[img]http://i45.tinypic.com/2uf82m8.png[/img]'."\n";
            
    $post .= '[CODE]'.$links.'[/CODE]';
            if(!empty(
    $password)){
                
    $post .= "\n\n".'[b]PASSWORD:[/b]'."\n";
                
    $post .= '[CODE]'.$password.'[/CODE]';
            }
            echo 
    '<textarea rows="8" cols="40">'.$post.'</textarea>';
        }
    }
    ?>
    </div>
    </body>
    </html>
    Bots Development | Web Development | Wordpress Customization | PSD Conversion

    Life has many twists and turns in it, you have to take what you are given and use it for the best.

  10.     
    #19
    Member
    Website's:
    MSAHost.net MegaDizajn.info URLFor.us
    Post generator
    Code: 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
    <head>
    <LINK REL="SHORTCUT ICON" HREF="favicon.ico">
    <meta http-equiv="content-language" content="en-gb" />
    <meta name="Author" content="" /> 
    <meta name="Description" content="forum post generater" /> 
    <meta name="Keywords" content=",forum,post,generater,mod" /> 
    <title>MegaSerbia Post Generator</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <script type="text/javascript" src="./doStuff.js">
    </script> 
    <style type="text/css"> 
    /*<![CDATA[*/
     body.c3 {font-family:verdana;}
     div.c2 {text-align: center}
     span.c1 {font-size: 70&#37;;}
    /*]]>*/
    </style> 
    </head> 
    <body class="c3"> 
    <div class="c2">
    <table border="0" width="70%" align="center" bgcolor="gainsboro"> 
    <tr>
    <td> 
    <img src="Your Banner.png" alt="Forum" />
    </td> 
    </tr> 
    <tr> 
    <td> 
    <h2>Post Generator</h2> 
    </td> 
    </tr> 
    <tr> 
    <td><strong>Instructions:</strong><br /> 
    <strong>1.</strong>Enter your information in the boxes<strong><br /> 
    2.</strong>Click the generate button <strong><br /> 
    3.</strong>Copy text and post in new thread</td> 
    </tr> 
    <tr> 
    <td><br /> 
    <form name="frm" action="hxy.html#" id="frm"> 
    <div><strong>Post Title:</strong> 
    <div><input id="title" value="" maxlength="60" size="60" type="text" /></div> 
    <br /> 
    <div><strong>Main Image:</strong></div> 
    <div><input id="boxart" value="" maxlength="200" size="60" type="text" /></div>
     <br /> 
    <div><strong>IMDB url:</strong></div> 
    <div><input id="imdb" value="" maxlength="100" size="60" type="text" /></div> 
    <br /> 
    <div><strong>Information:</strong></div> 
    <div> 
    <textarea id="info" cols="46" rows="7"> 
    </textarea></div> 
    <br /> <div><strong>Track List:</strong></div> <div> <textarea id="Track List" cols="46" rows="7"> </textarea></div> <br /> 
    <div><strong>Screenshots:</strong></div> 
    <div><input id="sshot1" maxlength="200" size="60" type="text" /></div> 
    <div><input id="sshot2" maxlength="200" size="60" type="text" /></div> 
    <div><input id="sshot3" maxlength="200" size="60" type="text" /></div> 
    <div><input id="sshot4" maxlength="200" size="60" type="text" /></div>
    <div><input id="sshot5" maxlength="200" size="60" type="text" /></div>
    <br /> 
    <div><strong>Download Links:</strong></div> 
    <div> 
    <textarea id="downlinks" cols="46" rows="7"> 
    </textarea></div> 
    <br /> 
    <div><strong>Password:</strong></div> 
    <div><input id="pass" value="" maxlength="100" size="60" type="text" /></div> 
    <br /> 
    <br /> 
    <div><INPUT type="reset" value="Reset">&nbsp;&nbsp;
         <INPUT type="button" class="btnmain" onClick="doStuff()" value="Generate My Post!"></div> 
    <br /> 
    <br /> 
    <div> 
    <textarea name="gen" cols="63" rows="10" id="gen" onClick="javascript:frm.gen.focus();frm.gen.select();">Generated content</textarea></div> 
    </div> 
    </form> 
    </td> 
    </tr> 
    <tr> 
    <td>Thank you for sharing with the community!</td> 
    </tr> 
    <tr> 
    <td><a href="#" title="" target="_blank"></a></td> 
    </tr> 
    </table> 
    </div> 
    </body> 
    </html>
    save it as .php

    PHP Code: 
                function doStuff()
                {
                var 
    txt "";
                
    document.getElementById("gen").value "";

                if (
    document.getElementById("title").value != ""){
                
    txt += "[textarea][center][b][color=#FF0000][size=150]";
                
    txt += document.getElementById("title").value//Add title
                
    txt += "[/size][/color][/b][/center][/textarea]";
                
    document.getElementById("gen").value += txt;
                }

                if (
    document.getElementById("boxart").value != ""){
                
    txt "\n\n[img\]";
                
    txt += document.getElementById("boxart").value//Add boxart
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }

                
                            if (
    document.getElementById("imdb").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i34.tinypic.com/5bqzgk.jpg[/img]";
                
    txt += "\n[code]";
                
    txt += document.getElementById("imdb").value;
                
    txt += "[/code]";
                
    document.getElementById("gen").value += txt;
                }

                
                if (
    document.getElementById("info").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i42.tinypic.com/2pte9nm.jpg[/img]\n";
                
    txt += "\n[code]";
                
    txt += document.getElementById("info").value;
                
    txt += "[/code]";
                
    document.getElementById("gen").value += txt;
                }
                
                if (
    document.getElementById("Track List").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i29.tinypic.com/2yywneg.png[/img]\n";
                
    txt += "\n[code]";
                
    txt += document.getElementById("info").value;
                
    txt += "[/code]";
                
    document.getElementById("gen").value += txt;
                }

                if (
    document.getElementById("sshot1").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i39.tinypic.com/2441ba1.jpg[/img]";
                
    txt += "\n[img]";
                
    txt += document.getElementById("sshot1").value;
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }


                if (
    document.getElementById("sshot2").value != ""){
                
    txt "";
                
    txt += "\n[img]";
                
    txt += document.getElementById("sshot2").value;
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }



                if (
    document.getElementById("sshot3").value != ""){
                
    txt "";
                
    txt += "\n[img]";
                
    txt += document.getElementById("sshot3").value;
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }



                if (
    document.getElementById("sshot4").value != ""){
                
    txt "";
                
    txt += "\n[img]";
                
    txt += document.getElementById("sshot4").value;
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }


                if (
    document.getElementById("sshot5").value != ""){
                
    txt "";
                
    txt += "\n[img]";
                
    txt += document.getElementById("sshot5").value;
                
    txt += "[/img]";
                
    document.getElementById("gen").value += txt;
                }

                
    document.getElementById("gen").value += "\n";


                if (
    document.getElementById("downlinks").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i40.tinypic.com/2mpzup5.jpg[/img]";
                
    txt += "\n[code]";
                
    txt += document.getElementById("downlinks").value;
                
    txt += "[/code]";
                
    document.getElementById("gen").value += txt;
                }

                if (
    document.getElementById("pass").value != ""){
                
    txt "";
                
    txt += "\n\n[img]http://i43.tinypic.com/2evbxua.jpg[/img]";
                
    txt += "\n[code]";
                
    txt += document.getElementById("pass").value;
                
    txt += "[/code]";
                
    document.getElementById("gen").value += txt;
                }

                
    txt "";
                
    txt += "\n\n[size=100]Post Generated By [color=#FF8000][url=]title[/url][/color] [/size]\n";

            

                
    document.getElementById("gen").value += txt;
                } 
    Save it as doStuff.js


    "Better to remain silent and be thought a fool than to speak out and remove all doubt"
    - A. Lincoln

  11.     
    #20
    Member
    Website's:
    google.com
    hi. can you create post generator for wordpress?

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Advance Post Generator 1.2.5 Beta (With Post Type)
    By WaReZ in forum Webmaster Resources
    Replies: 21
    Last Post: 21st Jun 2012, 12:35 PM
  2. [Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
    By vccshopper in forum Completed Transactions
    Replies: 0
    Last Post: 24th Jun 2011, 08:10 PM
  3. Replies: 15
    Last Post: 30th Apr 2011, 06:05 PM
  4. Replies: 27
    Last Post: 30th Apr 2011, 06:05 PM
  5. Need post generator script
    By only1_PO in forum Webmaster Resources
    Replies: 16
    Last Post: 3rd Mar 2011, 09:52 AM

Tags for this Thread

BE SOCIAL