The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
nice script, it's one of mine, where did you get it from?
the answer: PHP Code:
|
#3
|
|||
|
|||
in one of the post here... anyway you got any idea how to make it show posts instead of threads ???
|
#4
|
||||
|
||||
never posted it here
just gave it away to one or two, but no problem, i was just faszinated to see it here well, use the code i posted above, it should work for posts instead |
#5
|
|||
|
|||
Code:
<form enctype="multipart/form-data" action="http://some forums/newreply.php" name="vbform" method="post"> <input type="hidden" name="s" value=""> <input type="hidden" name="action" value="postreply"> <input type="hidden" name="threadid" value="xxxxx"> <input type="hidden" name="title" value=""> <input type="hidden" name="iconid" value="0"> <input type="hidden" name="parseurl" value="yes"> <input type="hidden" name="email" value=""> <input type="hidden" name="disablesmilies" value=""> <input type="hidden" name="signature" value="yes"> <input type="hidden" name="closethread" value=""> <input type="hidden" name="hiddenreply" value=""> <input type="hidden" name="signature" value="yes"> <input type="hidden" name="rating" value="0"> <table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center"><tr><td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td bgcolor="#8080A6" colspan="2"><font face="verdana, arial, helvetica" size="2" color="#EEEEFF" class="thtcolor"><b>Post Reply</b></font></td> </tr> <tr valign="top"> <td bgcolor="#DFDFDF"><font face="verdana, arial, helvetica" size="2" ><b>Your User Name:</b></font></td> <td bgcolor="#DFDFDF"><font face="verdana, arial, helvetica" size="2" ><input type="text" class="bginput" name="username" value="INPUT NAME" size="25"> </font> <font face="verdana,arial,helvetica" size="1" ><a href="register.php?action=signup">Want to register?</a> </font></td> </tr> <tr valign="top"> <td bgcolor="#F1F1F1"><font face="verdana, arial, helvetica" size="2" ><b>Your Password:</b></font></td> <td bgcolor="#F1F1F1"><font face="verdana, arial, helvetica" size="2" ><input type="password" class="bginput" name="password" value="" size="25"> </font> <font face="verdana,arial,helvetica" size="1" ><a href="member.php?action=lostpw">Forgotten your password?</a> </font></td> </tr> <tr> <td bgcolor="#DFDFDF" valign="top" nowrap><font face="verdana, arial, helvetica" size="2" ><b>Your Reply:</b></font></td> <td bgcolor="#DFDFDF"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="top"> <td> <textarea name="message" rows="7" cols="70" wrap="virtual" tabindex="1"></textarea> <br> <font face="verdana,arial,helvetica" size="1" ></font></td> </tr> </table> </td> </tr> </table> </td></tr></table> <br> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr> <td align="center"><font face="verdana, arial, helvetica" size="2" > <input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="2"> </font></td> </tr> </table> </form> if i use this on a non-vb page, how to i let it redirect back to this non vb page after someone has posted ??? |
#6
|
||||
|
||||
Xenon, what does this exactly do?
|
#7
|
||||
|
||||
@viper: please use code tags whenever you post code lines, it's so hard to read without....
well, you have to hack newreply.php and change the redirect-code whenever it's called by this non vb-script... @Drk: It's the newsscript i use on my site, just a few lines i coded long time ago, because my mainpage is on a different server than the board, so i can't use a normal portal |
#8
|
|||
|
|||
Quote:
btw im not quite used to the vb codes, hope u can enlighten me regarding the changing of codes for redirect. Thanks |
#9
|
||||
|
||||
hmm, in your non vb-script after that:
Code:
<input type="hidden" name="s" value=""> <input type="hidden" name="action" value="postreply"> Code:
<input type="hidden" name="redirectnonvb" value="1"> find: PHP Code:
PHP Code:
|
#10
|
|||
|
|||
Thanks... Xenon
another question... the 1st code i post here... is to show the last 5 post rite... if i want to make it to show all, how to make like show 5 or 10 per page ??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|