Log in

View Full Version : test


Scott MacVicar
05-16-2002, 11:58 PM
hmm i think i know how to do it.

Scott MacVicar
05-16-2002, 11:59 PM
yep i do that wasn't too hard either a fix will take about a minute :D

Scott MacVicar
05-17-2002, 12:01 AM
this bug is in newthread.php and newreply.php

if (isset($username)) {

becomes

if (isset($username) and !isset($bbuserinfo['username'])) {

Brad
05-17-2002, 12:10 AM
my question still remains, how do you make it do that? :P

Xenon
05-17-2002, 08:44 AM
i think somehow he gives the $usernmae variable an issue he wannts, but how????

Scott MacVicar
05-17-2002, 08:45 AM
in a round about way you have to save the newthread form as html file, then add
<input type="hidden" name="username" value="NEW USERNAME">

within the form tags, due to some lack in error checking it sets the thread postusername as the inputed name even if they have a registered account but it uses it for the post.

Xenon
05-17-2002, 08:48 AM
ahh, thank you
ok so its clear.

hmm, i think there can be equal bugs in other forms huh?

Scott MacVicar
05-17-2002, 08:56 AM
nope just the ones which are for the posting of newthreads and new posts as they are the ones which allow input from guests.