Results 11 to 20 of 23
-
14th Sep 2010, 04:13 AM #11OPBannedWebsite's:
sharing-zone.org
-
14th Sep 2010, 04:14 AM #12Member
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.
-
14th Sep 2010, 04:15 AM #13OPBannedWebsite's:
sharing-zone.org
-
14th Sep 2010, 04:25 AM #14Member
-
14th Sep 2010, 04:27 AM #15Member
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
-
14th Sep 2010, 04:38 AM #16
-
14th Sep 2010, 05:50 AM #17OPBannedWebsite's:
sharing-zone.orgAh ! Well nice work kewld00d !!
The only problem I am facing is it isn't removing the img tag if not present.
-
14th Sep 2010, 05:53 AM #18Respected 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.
-
14th Sep 2010, 12:11 PM #19MemberWebsite's:
MSAHost.net MegaDizajn.info URLFor.usPost 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%;} /*]]>*/ </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"> <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>
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;
}
"Better to remain silent and be thought a fool than to speak out and remove all doubt" - A. Lincoln
-
28th Oct 2010, 12:43 PM #20MemberWebsite's:
google.comhi. can you create post generator for wordpress?
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Advance Post Generator 1.2.5 Beta (With Post Type)
By WaReZ in forum Webmaster ResourcesReplies: 21Last Post: 21st Jun 2012, 12:35 PM -
[Selling] Rslinkgens Premium link generator script V1 -Most advanced and viral script
By vccshopper in forum Completed TransactionsReplies: 0Last Post: 24th Jun 2011, 08:10 PM -
Advance Post Generator 1.2 (IMDB Grabber | Dual Output | Preview Post)
By WaReZ in forum Webmaster ResourcesReplies: 15Last Post: 30th Apr 2011, 06:05 PM -
Advance Post Generator 1.1 (IMDB Grabber | Posting Buttons | Save Post)
By WaReZ in forum Webmaster ResourcesReplies: 27Last Post: 30th Apr 2011, 06:05 PM -
Need post generator script
By only1_PO in forum Webmaster ResourcesReplies: 16Last Post: 3rd Mar 2011, 09:52 AM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...