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

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1.     
    #1
    Respected Developer

    Exclamation Hyperz' simple DDL Submitter



    Foreword:

    This is really simple program I wrote because basically I needed something like this. I decided to share it here in case other people want to use it. Whether or not this tool will be useful for you depends on what DDL sites you submit to. The program requires a mod for your forum. I have written one for IPB 2.3.6 (based on JmZ's IPB autosubmitter, so I have to give him some credit). If you don't use IPB your not gonna be able to use it unless someone makes a mod for your forum software (which should be fairly easy).

    Installing the IPB mod:

    --- OPEN TEMPLATE BIT (Forum Index -> TableEnd) ---

    Find:
    Code: 
    <option value="unapprove">{$this->ipsclass->lang['cpt_unapprove']}</option>
    Add below:
    Code: 
    <option value="ddlsubmit">DDL Submit</option>
    --- OPEN sources/action_public/moderate.php ---

    Find:
    PHP Code: 
                    case 'merge':
                        
    $this->multi_topic_merge();
                        break; 
    Add below:
    PHP Code: 
                    case 'ddlsubmit':
                        
    $this->ddlsubmit();
                        break; 
    Find:
    PHP Code: 
        /*-------------------------------------------------------------------------*/
        // Multi Merge Topics
        /*-------------------------------------------------------------------------*/ 
    Add above (NOTE: replace my_submissions.txt with your file name. This also requires PHP 5):
    PHP Code: 
        /*-------------------------------------------------------------------------*/
        // DDL Submitter
        /*-------------------------------------------------------------------------*/
        
        
    function ddlsubmit()
        {
            
    // == CONFIG ============================================================ //
            
            
    $ddlsubmit_filename "my_submissions.txt";
            
            
    // == SCRIPT ============================================================ //
            
            // If you ain't got mod powerz, your ass is outa here =)
            
    if ($this->ipsclass->member['is_mod'] != 1)
            {
                
    $this->moderate_error();
                return;
            }
            
            
    $ddlsubmit_output        "";
            
    $ddlsubmit_split        "\000";
            
    $ddlsubmit_nl            "\n";
            
            
    // Play sex games with the DB <3
            
    $this->ipsclass->DB->simple_construct(array(
                
    'select'    => 'tid, title',
                
    'from'        => 'topics',
                
    'where'        => 'tid IN (' implode(","$this->tids) . ')',
                
    'order'        => 'tid asc'
            
    ));
            
            
    // Go get it
            
    $this->ipsclass->DB->simple_exec();
            
            
    // Build the submissions
            
    while ($r $this->ipsclass->DB->fetch_row())
            {
                
    $ddlsubmit_output .= $r['title'] . $ddlsubmit_split $r['tid'] . $ddlsubmit_nl;
            }
            
            
    // Write data (function is PHP >= 5)
            
    file_put_contents(ROOT_PATH $ddlsubmit_filename$ddlsubmit_output);
            
            
    // The only true promise in life :'(
            
    die('<div align="center" style="margin-top:100px;font-family:verdana;text-align:center;">All done!<br /><a href="' $this->ipsclass->base_url '">Return Home</a></div>');
        } 
    The mod is now installed. You can now select topics (multi moderate) you wish to submit and it will generate a file in
    Code: 
    http://myforum.com/my_submissions.txt
    You'll need that file for the program.

    Program Download & Usage:

    Get the program here:
    Code: 
    http://rapidshare.com/files/250644772/DDLSubmit.rar
    The program itself should be pretty straight forward.
    1. Open the program
    2. Set your site name, email etc...
    3. Set the "format", example: http://yoursite.com/forum_root/index.php?showtopic={0} (the {0} will be replaced with the topic ID)
    4. Set the file url (example: http://myforum.com/my_submissions.txt)
    5. Click the load button
    6. Click the process button
    7. Submit your downloads


    A note: When you click the submit button on the web pages ONLY CLICK ONCE. The page will stay the same for up to a minute before the result page is displayed.

    That's all folks. Enjoy it or throw it away, you decide .
    Hyperz Reviewed by Hyperz on . Hyperz' simple DDL Submitter http://www.cubeupload.com/files/e73400untitled2.png Foreword: This is really simple program I wrote because basically I needed something like this. I decided to share it here in case other people want to use it. Whether or not this tool will be useful for you depends on what DDL sites you submit to. The program requires a mod for your forum. I have written one for IPB 2.3.6 (based on JmZ's IPB autosubmitter, so I have to give him some credit). If you don't use IPB your not gonna be able Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Doing things differently.
    I'll deffo give this ago for sure.

    Nice work as always hyperz.
    $project->uploading($surprise);
    //Fatal error: found object, can't execute, no earn = must kill self..

  4.     
    #3
    Respected Developer
    Thanks, hope you enjoy .

  5.     
    #4
    Member
    Website's:
    qwerty-roms.net
    Very nice, now all we need are some themes
    New High-End VPS's! TOP QUALITY COMPONENTS AT THE LOWEST PRICES!
    http://www.KWWHunction.com/showthread.php?p=501686

  6.     
    #5
    Respected Developer
    Themes? What do you mean?

  7.     
    #6
    Member
    Niceee, tested it and i works perfectly, but if you would be kind enough to write a mod for Vbulletin it would be perfect.

  8.     
    #7
    Respected Developer
    I can't. I know IPB inside out but vBulletin is something I have little experience with. But I'm sure anyone with some vB and php knowledge can easily port this to vB.

    Another thing I'd like to add is that this makes it possible to move the whole process of submitting to the client side. What I mean is that in the future the application itself could become the autosubmitter without having to use these extremely slow sites. Not to mention the other advantages of moving the whole thing to a desktop program (threading ftw).

    What you see here is really a prototype/concept program.

  9.     
    #8
    Respected Developer
    Website's:
    PlatinumW.org NexusDDL.com HD-United.org CheckLinks.org FLVD.org
    I love your comments Hyperz

  10.     
    #9
    Respected Developer
    I'm always non professional with comments while coding

  11.     
    #10
    Member
    Website's:
    StreamBit.net BBQKittens.com
    Wow great Hyperz, glad I'm using IPB.
    Removed by Staff

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Selling] WSubmitter - Simple DDL Submitter (dle,ipb,mybb,phpbb,smf,vb,wp,xenforo)
    By t3od0r in forum Marketplace (Buy, Sell and Trade)
    Replies: 96
    Last Post: 30th Sep 2012, 08:17 AM
  2. Simple Auto Submitter DDL
    By chipve in forum Forum and DDL Discussion
    Replies: 5
    Last Post: 23rd Dec 2011, 04:45 PM
  3. Hyperz.. I need your help.
    By R4Z0R3 in forum Technical Help Desk Support
    Replies: 0
    Last Post: 4th Jun 2010, 05:25 AM
  4. Hyperz.. I need your help.
    By R4Z0R3 in forum Technical Help Desk Support
    Replies: 8
    Last Post: 3rd Jun 2010, 02:52 AM
  5. [REQ] Simple Auto Submitter Script?
    By DEViANCE in forum Webmaster Resources
    Replies: 7
    Last Post: 22nd Nov 2009, 03:39 AM

Tags for this Thread

BE SOCIAL