miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Other miniBB Community Forum / Other /

Linking to a profile page using the username

 
Anonymous
Guest
#1 | Posted: 22 Jun 2003 06:57
Reply 
Ok,

I've noticed that in the URL to a user's profile, the reference is the ID:

index.php?action=userinfo&user=225

Would it be at all possible to have the username instead?

index.php?action=userinfo&user=Username

See, I use a script for news on my site where I could link the Name of the author of a piece of news to it's miniBB profile, if I could somehow include the username in the URL.

As I am not a programmer I am unable to hack the news script to add an extra field for the user info where I could place the miniBB User ID number.

Any suggesitons?
Team
8-)
#2 | Posted: 25 Jun 2003 10:56
Reply 
User information can be viewed only by ID (and it depends not on news hack, but on miniBB itself). I guess, this is not the best idea to view info by username, since username can contain some specific symbols which need to be translated into HTML special codes, and this requires additional programming.
Anonymous
Guest
#3 | Posted: 27 Jun 2003 12:44
Reply 
thanks for the reply. makes sense.

I'll figure somthing out. I'll see if I can add an ID field to the news script i'm using.
Team
8-)
#4 | Posted: 27 Jun 2003 12:52
Reply 
Using an ID is the most secure and simple solution - so, of course, you can do that.
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 33
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®