To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Discussion > Feedback

Feedback Speak directly with the PHP Builder Staff here

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-14-2002, 10:55 AM   #1
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
Names

What about having display names that we can change? This might solve Dannys' problems of wanting to change his username...
piersk is offline   Reply With Quote
Old 08-14-2002, 11:00 AM   #2
jmcneese
code poet
 
jmcneese's Avatar
 
Join Date: Aug 2002
Location: the netherlands
Posts: 211
http://www.vbulletin.org/hacks/index...hack&hackid=46
__________________
this is my witty .sig
jmcneese is offline   Reply With Quote
Old 08-14-2002, 11:03 AM   #3
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
I wasnt suggesting that people should change their username, but maybe if they want to change the name that is displayed on the posts...
piersk is offline   Reply With Quote
Old 08-14-2002, 11:03 AM   #4
jmcneese
code poet
 
jmcneese's Avatar
 
Join Date: Aug 2002
Location: the netherlands
Posts: 211
btw,

the site admins should re-enable the "Powered by: vBulletin Version 2.2.6" in the footer template, you are not allowed to remove it from sight. (this includes changing it to a comment or changing the font color to the background).

just a word of caution.
__________________
this is my witty .sig
jmcneese is offline   Reply With Quote
Old 08-14-2002, 11:05 AM   #5
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
You and I REALLY need to get out more...
piersk is offline   Reply With Quote
Old 08-14-2002, 11:05 AM   #6
jmcneese
code poet
 
jmcneese's Avatar
 
Join Date: Aug 2002
Location: the netherlands
Posts: 211
Quote:
Originally posted by piersk
I wasnt suggesting that people should change their username, but maybe if they want to change the name that is displayed on the posts...
well with vb this isn't a big deal, because everyone's username by post is referenced via an id that is contained in the user table. so, if you change the name in the table, it is reflected automagically in all posts, as the userid never changes.
__________________
this is my witty .sig
jmcneese is offline   Reply With Quote
Old 08-14-2002, 11:06 AM   #7
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
And does it tell you how to do that in the hack?
piersk is offline   Reply With Quote
Old 08-14-2002, 11:13 AM   #8
jmcneese
code poet
 
jmcneese's Avatar
 
Join Date: Aug 2002
Location: the netherlands
Posts: 211
there's nothing to do, for a user, that is. vb works via templates, and this hack modifies the user control panel templates, as well as a bit of code underneath to do the actual UPDATE and keep track of who changed their username.

here's a sample vb user table:
Code:
CREATE TABLE user (
  userid int(10) unsigned NOT NULL auto_increment,
  usergroupid smallint(5) unsigned NOT NULL default '0',
  username varchar(50) NOT NULL default '',
  password varchar(50) NOT NULL default '',
  email varchar(50) NOT NULL default '',
  styleid smallint(5) unsigned NOT NULL default '0',
  parentemail varchar(50) NOT NULL default '',
  coppauser smallint(6) NOT NULL default '0',
  homepage varchar(100) NOT NULL default '',
  icq varchar(20) NOT NULL default '',
  aim varchar(20) NOT NULL default '',
  yahoo varchar(20) NOT NULL default '',
  signature mediumtext NOT NULL,
  adminemail smallint(6) NOT NULL default '0',
  showemail smallint(6) NOT NULL default '0',
  invisible smallint(6) NOT NULL default '0',
  usertitle varchar(250) NOT NULL default '',
  customtitle smallint(6) NOT NULL default '0',
  joindate int(10) unsigned NOT NULL default '0',
  cookieuser smallint(6) NOT NULL default '0',
  daysprune smallint(6) NOT NULL default '0',
  lastvisit int(10) unsigned NOT NULL default '0',
  lastactivity int(10) unsigned NOT NULL default '0',
  lastpost int(10) unsigned NOT NULL default '0',
  posts smallint(5) unsigned NOT NULL default '0',
  timezoneoffset varchar(4) NOT NULL default '',
  emailnotification smallint(6) NOT NULL default '0',
  buddylist mediumtext NOT NULL,
  ignorelist mediumtext NOT NULL,
  pmfolders mediumtext NOT NULL,
  receivepm smallint(6) NOT NULL default '0',
  emailonpm smallint(6) NOT NULL default '0',
  pmpopup smallint(6) NOT NULL default '0',
  avatarid smallint(6) NOT NULL default '0',
  options smallint(6) NOT NULL default '15',
  birthday date NOT NULL default '0000-00-00',
  maxposts smallint(6) NOT NULL default '-1',
  startofweek smallint(6) NOT NULL default '1',
  ipaddress varchar(20) NOT NULL default '',
  referrerid int(10) unsigned NOT NULL default '0',
  nosessionhash smallint(6) NOT NULL default '0',
  inforum smallint(5) unsigned NOT NULL default '0',
  receivebulletin smallint(5) unsigned NOT NULL default '1',
  receivebulletin_type smallint(5) unsigned NOT NULL default '1',
  starlevel varchar(5) NOT NULL default '0',
  starimg varchar(25) NOT NULL default '0',
  rooms varchar(128) NOT NULL default '',
  reg_time int(11) NOT NULL default '0',
  gender tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (userid),
  KEY usergroupid (usergroupid),
  KEY username (username),
  KEY inforum (inforum),
  KEY referrerid (referrerid)
) TYPE=MyISAM;
and a sample vb post table:
Code:
CREATE TABLE post (
  postid int(10) unsigned NOT NULL auto_increment,
  threadid int(10) unsigned NOT NULL default '0',
  username varchar(50) NOT NULL default '',
  userid int(10) unsigned NOT NULL default '0',
  title varchar(100) NOT NULL default '',
  dateline int(10) unsigned NOT NULL default '0',
  attachmentid smallint(5) unsigned NOT NULL default '0',
  pagetext longtext NOT NULL,
  allowsmilie smallint(6) NOT NULL default '0',
  showsignature smallint(6) NOT NULL default '0',
  ipaddress varchar(16) NOT NULL default '',
  iconid smallint(5) unsigned NOT NULL default '0',
  visible smallint(6) NOT NULL default '0',
  edituserid int(10) unsigned NOT NULL default '0',
  editdate int(10) unsigned NOT NULL default '0',
  editreason varchar(200) NOT NULL default '',
  PRIMARY KEY  (postid),
  KEY iconid (iconid),
  KEY userid (userid),
  KEY threadid (threadid,userid)
) TYPE=MyISAM;
__________________
this is my witty .sig
jmcneese is offline   Reply With Quote
Old 08-14-2002, 11:16 AM   #9
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
Presumably you have to be an admin on the board.
Im just mentioning something the admins might want to do on this board.
piersk is offline   Reply With Quote
Old 08-14-2002, 11:19 AM   #10
jmcneese
code poet
 
jmcneese's Avatar
 
Join Date: Aug 2002
Location: the netherlands
Posts: 211
oh yes, the admin(s) would have to apply the hack, but from then on there would be an entry in the user control panel allowing you to change your username.
__________________
this is my witty .sig
jmcneese is offline   Reply With Quote
Old 08-14-2002, 11:24 AM   #11
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
i dont think Id want to change my username tho, id just get really confused .

All Id want to do is change the name that is displayed on all my posts.
piersk is offline   Reply With Quote
Old 08-15-2002, 12:42 PM   #12
daynah
PHP Princess
 
daynah's Avatar
 
Join Date: Mar 2001
Location: CA, USA
Posts: 324
I think he wants to change his 'title', the one below his username. To do that, try this:

User CP -> Edit Profile -> Custom User Text

Edit the text box and save.
daynah is offline   Reply With Quote
Old 08-15-2002, 12:45 PM   #13
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
Nope, there is no "Custom User Text" box.
piersk is offline   Reply With Quote
Old 08-15-2002, 01:13 PM   #14
daynah
PHP Princess
 
daynah's Avatar
 
Join Date: Mar 2001
Location: CA, USA
Posts: 324
This is what I see....

I don't know why you don't have that option.
Attached Images
File Type: jpg customtitle.jpg (42.8 KB, 71 views)
daynah is offline   Reply With Quote
Old 08-15-2002, 01:16 PM   #15
piersk
Moderator
 
Join Date: Aug 2002
Location: Guildford, UK
Posts: 4,279
I get the birthday bit, but then it goes straight to the additional info bit
piersk is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:23 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.