PDA

View Full Version : blank name on unregistered comment and upload


skidpics
November 11th, 2008, 06:19 PM
I thought we resolved this in a previous modification, and thought surely it would be added to the new release..

What can I do in 6.2 to get the unregistered comments and photo uploads to show as unregistered or guest, instead of nothing??

Chuck S
November 18th, 2008, 11:13 AM
Well modification discussions would not specifically be included in some release by default. Only bug fixes would.

Now to do what you want possibly add this in bold to the smf file in the forums subdirectory


// Init some variables
$User = array();
$User['uploads'] = 0;
$User['userid'] = 0;
$User['username'] = $Globals['pp_lang']['unreg'];
$User['nopost'] = 1;
$User['adminedit'] = 0;
$User['moderator'] = 0;
$User['albums'] = 0;
$User['uploadlimit'] = 0;

skidpics
January 29th, 2009, 04:59 PM
that does the trick. I would for sure add this to future builds..

Chuck S
January 29th, 2009, 08:45 PM
I think this one should be included sure.