how to replace text field with text comment, based on user?

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

how to replace text field with text comment, based on user?

Postby guyer » Wed Oct 22, 2008 7:57 pm

On the profile page I'm trying to replace the field for "website" with a text message if the user belongs to a certain user_level; other user_levels (i.e. MOD) would be able to enter a website address.

Any suggestions how I make such a code?
guyer
 
Posts: 3
Joined: Fri Oct 17, 2008 10:00 am

Advertisement

Postby dcz » Sun Oct 26, 2008 12:00 pm

in memberlist.php :
Code: Select all
      'U_WWW'         => (!empty($data['user_website'])) ? $data['user_website'] : '',


Should not be that hard to filter this upon user level if you know a bit about coding ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB2 Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests