View Single Post
Old 02-04-2005, 05:54 AM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,384

Ok, as promised... Here is an express solution for PhpBB script (I think I could fix the other ones, but I'm using PhpBB only). So let's begin...

1) go to your main forum directory (say bla-bla-bla.com/board) and look for memberlist.php.

2) open it (memberlist.php) with a text editor when search for the following lines:

$www_img = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';


now just replace them (I mean the lines above) with the following code:

if ($posts > 1) {
$www_img = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
} else {
$www_img = '&nbsp;';
$www = '&nbsp;';
}


3) now just upload the modified memberlist.php file into your main forum's directory

That's it guys! Now URL's will be shown for those members only, who have posted at least 1 (one!) message to your board. Course you may change the required number of posts as you want. Just put an appropriate value to this line:
if ($posts > 1) {

e.g.:
if ($posts > 10) { // means: make at least 10 posts to see your URL in the members list! ;)

Hope it will be useful for somebody At least it works great on my own board

__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote