Results 1 to 10 of 18
Threaded View
-
1st Jul 2009, 11:25 AM #1OPRespected Developer
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>
Code:<option value="ddlsubmit">DDL Submit</option>
Find:
PHP Code:case 'merge':
$this->multi_topic_merge();
break;
PHP Code:case 'ddlsubmit':
$this->ddlsubmit();
break;
PHP Code:/*-------------------------------------------------------------------------*/
// Multi Merge Topics
/*-------------------------------------------------------------------------*/
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>');
}
Code:http://myforum.com/my_submissions.txt
Program Download & Usage:
Get the program here:
Code:http://rapidshare.com/files/250644772/DDLSubmit.rar
- Open the program
- Set your site name, email etc...
- Set the "format", example: http://yoursite.com/forum_root/index.php?showtopic={0} (the {0} will be replaced with the topic ID)
- Set the file url (example: http://myforum.com/my_submissions.txt)
- Click the load button
- Click the process button
- 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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Selling] WSubmitter - Simple DDL Submitter (dle,ipb,mybb,phpbb,smf,vb,wp,xenforo)
By t3od0r in forum Marketplace (Buy, Sell and Trade)Replies: 96Last Post: 30th Sep 2012, 08:17 AM -
Simple Auto Submitter DDL
By chipve in forum Forum and DDL DiscussionReplies: 5Last Post: 23rd Dec 2011, 04:45 PM -
Hyperz.. I need your help.
By R4Z0R3 in forum Technical Help Desk SupportReplies: 0Last Post: 4th Jun 2010, 05:25 AM -
Hyperz.. I need your help.
By R4Z0R3 in forum Technical Help Desk SupportReplies: 8Last Post: 3rd Jun 2010, 02:52 AM -
[REQ] Simple Auto Submitter Script?
By DEViANCE in forum Webmaster ResourcesReplies: 7Last Post: 22nd Nov 2009, 03:39 AM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...