Username instead of real name

Madina Archives


Madinat al-Muslimeen Islamic Message Board

Username instead of real name
Saleema
08/14/00 at 18:42:39
Assalamoalykum,

Sup with this post?

I never posted it!

You people have losts of bugs running aroud on this web site.

Wassalam
Re: Signs of the Last Hour
bhaloo
08/13/00 at 20:47:21
Asalaam alaikum wrt wb,

Hmmm, that's kind of strange, the IP address of the person that posted it isn't coming from your service provider either.  
Re: Signs of the Last Hour
jannah
08/13/00 at 22:34:00
That's really odd because there were actually 2 of the same post and then i deleted one of them.
Re: Signs of the Last Hour
Asim
08/13/00 at 22:58:30
Actually anyone can change his/her real name in profile and post with that. Like I'm (Asim) posting with Saleema name.

The user name should have been used for display because it is unique. The real name is not.
Re: Signs of the Last Hour
jannah
08/13/00 at 23:30:35
True. I believe the authors of the script are doing a total rewrite of the script including fixing the sticky "new" problem and this one hopefully. You can check out the stuff they have at yabb.com.ru

The script is open source so if you know some perl you can help!
Re: Signs of the Last Hour
bhaloo
08/13/00 at 23:33:08
Asalaam alaikum wrt wb,

Asim, you are finding all these interesting things in the board, heheheh.  But if you go to the INSTANT MESSAGE it shows the name, and it showed that you were Asim and not Saleema, but for the 1st post it said it was coming from Saleema.
Re: Signs of the Last Hour
Asim
08/13/00 at 23:48:54
Assalaamu alaikum,

Arshad, I just changed my profile before posting the message on this thread. After posting I cahnged it back.

Jannah, yes I did notice on their website that they are doing a complete rewrite. I can look at the code but I am already spending WAY too much time on the board :D We should probably wait for the new version.

Wasalaam.
Re: Signs of the Last Hour
bhaloo
08/14/00 at 09:29:56
Asalaam alaikum wrt wb,

I don't think it should be hard to change the user name to the login name.  Its probably just a simple substitution.  I haven't checked the site but there must be a fix?
Re: Signs of the Last Hour
jannah
08/14/00 at 11:24:43
One guy says he did change it but he never posted the code he used to change it. Hopefully he will now that I've asked him, inshallah
Re: Signs of the Last Hour
Asim
08/14/00 at 16:53:48
Assalaamu alaikum,

I checked their message board and then downloaded the files. Actually, it appears to be very simple. In Display.pl there are some assignments statements:

...
$mmessage[$a] =~ s/\n//g;
$message="$mmessage[$a]";
$name = "$mname[$a]";
$date = "$mdate[$a]";
...            $ip = "$mip[$a]";

Change the $name assignment to:

$name = "$musername[$a]";

This will take care of the display of the username in the messages window.

For the message index window open MessageIndex.pl and find the following html:

<td valing=top width="20%" bgcolor="$color{'windowbg2'}"><font size=2>$mname[$b]</font></td>

Change the $mname[$b] to $musername[$b]

Actually this is what the guy said he did but his column ended up blank. I *think* this should work after taking a quick look through the entire file.

Wasalaam.
Re: Signs of the Last Hour
jannah
08/14/00 at 18:41:19
Nice Asim!

As you can see from this post, It does use the username next to the post instead of the real name, but the second part in the message index does turn up blank if you try it. In MessageIndex.pl there are a number of references to mname that is doing alot of checking stuff so maybe that's why it gets messed up.

wsalaam wrt
Re: Username instead of real name
Asim
08/14/00 at 19:15:12
Wow, that was fast!

So the "fix" for the message index window did not work. The last poster at yabb mentioned that the username info is not saved in the board.txt file (I don't have these files so I cannot confirm). In MessageIndex.pl the variable musername is read. Maybe it is not stored so it turns up blank. Someone mentioned that they will fix this problem in the next release.

Anyway, this is better in the sense that imposters can be caught ( :) ), but also somewhat confusing.


Individual posts do not necessarily reflect the views of Jannah.org, Islam, or all Muslims. All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster and may not be used without consent of the author.
The rest © Jannah.Org