The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Hi, Logician!
Thanks again for your hard work. Actually, the change wasn't a happy one, unfortunately. While I was in the middle of typing out a test post, I saw that someone had already posted a new msg elsewhere on my forum -- someone who was logged in -- and while the correct username showed up in the thread posting, the "last post by" on the forum homepage was listed as "A Kira Fan"! LOL. Kinda funny, actually. (I was going to change "A Kira Fan" to something else once I got the thing working ... I'm not THAT egotistical. ) So here's a probably silly thought -- can I log out and, using the HTML from a regular new reply page, copy the login fields, adding it to the original version of the form you created? Or is this too simple? |
#12
|
||||
|
||||
ok got it:
First delete the change you made in newreply.php (convert it back to original) and use this HTML form in your episode pages: -- cut -- <form enctype="multipart/form-data" action="/yourforum/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="3"> <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="A Kira Fan" 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> -- cut -- Now your registered users can post with their usernames and passwords, while unregistered users (who should leave the password field blank!) can post with any name unless this name is already registered! Registered users are not suppose to be a "Kira Fan" any more! Hope this helps.. |
#13
|
||||
|
||||
Wow great stuff Logican...
This was a really good idea... Satan |
#14
|
|||
|
|||
Thanks, Satan! (Wow, I never thought I'd be saying that! ) I hope the idea might come in handy for someone else. Logician's made a pipedream come true. I really didn't think this was gonna be possible.
Logician ... WOW! This is amazing! It works perfectly. Two teensy final questions: a) I noticed that the "signature" hidden input field is repeated twice. Is that required? b) Also, I see there's been a change in the FORM action since the original code you created. The original was: <form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post" onSubmit="return validate(this)"> and now you're recommending simply: <form enctype="multipart/form-data" action="/yourforum/newreply.php" name="vbform" method="post"> So I just wanted to confirm that this is okay. All in all, I couldn't be happier with your wonderful help, Logician! If anyone wants to see the final result, you can visit this episode page and scroll down to see the form. (Please don't submit it, though! ) As you'll see, I made a few cosmetic tweaks to match the look of my site and guide their comments a little, and also removed the "want to register" link -- they can register later if they want. Finally, I added a touch of javascript to clear the username field if the reader clicks on it (like the search box here on vb.org). Note: This scene is a little sexy (this web series is similar to a nighttime soap) so don't click if you're offended by PG material. I'm so grateful for all your help, and hope one day I'll be able to return the favor for someone in your honor. |
#15
|
||||
|
||||
Hey...
I read your story thingy... I signed up at your forums earlier, but havent recieved a Confirmation email yet... And I think they are meant to be repeated...php is like that... Satan |
#16
|
|||
|
|||
Cool, I thought that was you! Hm, I'm not sure why you didn't get sent the email at your hotmail address. Well, I just sent out your password again, so hopefully this will get to you. Sorry for the inconvenience, and thanks so much for registering!
|
#17
|
||||
|
||||
Hey there,
Quote:
Quote:
In fact I tried to get rid of the java script error you recieved with AOL so removed that part intentionally. I hope it worked? Quote:
Quote:
Regards, Logician |
#18
|
|||
|
|||
hi there,
i got a problem like kira..but instead of posts on nonvb pages to an already created thread.. i try the last days to.. create an thread if someone is posting on a review.. or maybe if the review is written..a thread is created to diskuss.. here is a samplke of that PHP-Form that creates an review..but how to create an thread with this replay box if a discussion is being started..so i dont have to create twice..first a thread..than my review.. and the user creates an thread if he is beginning siscussing the review.. maybe got an idea.. but for me the vb code is to high to understand..im really happy that i created this php form Example..for reviews creating: here is sample of that form: http://www.spielplanet2.de/forum/gam...panel_user.php this form creates an review in my database..so is not pretty..but useful.. .. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|