Previous Thread
Next Thread
Print Thread
Rate Thread



MemberlistGuts
-----------------------------------------------------------------------


REPLACE THAT WITH:
-----------------------------------------------------------------------
$TBT


MemberlistGuts

if ($vars_memberlist{ML_switch_avatar} eq "ON") {
print "";
}

print<


MemberlistGuts
-----------------------------------------------------------------------
FIND:
-----------------------------------------------------------------------
chomp($user_profile[19]);
-----------------------------------------------------------------------


BELOW ADD:
-----------------------------------------------------------------------
chomp($user_profile[20]);
-----------------------------------------------------------------------
FIND:
-----------------------------------------------------------------------
if ($user_profile[15] ne "") {
print "";
print "";
}
else {
print "";
print "";
}
-----------------------------------------------------------------------


REPLACE THAT WITH:
-----------------------------------------------------------------------
print "";

if ($vars_memberlist{ML_switch_avatar} eq "ON") {
if ($user_profile[20] ne "") {
print "";
}
else {
print "";
}
}
if ($user_profile[15] ne "") {
print "";
}
else {
print "";
}
-----------------------------------------------------------------------
### OPEN vars_wordlets_mods.cgi (comes with the other hacks, in your cgi-bin)

FIND:
-----------------------------------------------------------------------
ML_col_joindate => q~Joined Date~,
-----------------------------------------------------------------------


BELOW ADD:
-----------------------------------------------------------------------
ML_col_avatar => q~Avatar~,
-----------------------------------------------------------------------
#########
##
## Now you'r done, so save your files and upload them! Hope y'all like it!
##
#################


or get this hack : http://www.sec5library.f2s.com/ubbhack/avatar_for_memberlist_hack_v1_0.txt
Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 7
############################################################
# Avatar for Memberlist Hack v1.0 UBB 6.04c #
# #
############################################################
# #
# Required Hacks: #
# - avatar_hack_ubb6_v0.0007e #
# - memberlist_6.3.8 #
# NOTE: Only tested these version, maybe other version #
# will work too. #
# #
############################################################
# #
# Modified Files: #
# cp_memberlist.cgi (cgi), cp_vars_memberlist.pl #
# (template), public_memberlist.pl (template), #
# vars_wordlets_mods.cgi (cgi) #
# #
# Added Files: none #
# #
############################################################
# #
# Author: Zack #
# Co-Author: Goku #
# #
############################################################
# #
# Description: #
# This hack adds a users avatar to the memberlist as a #
# column. You can set this ON/OFF easily from the CP. #
# You can also change the title of the column if you like #
# in the CP. Enjoy! #
# #
############################################################


#### OPEN cp_memberlist.cgi (cgi-bin)


FIND:
-----------------------------------------------------------------------
print FILE qq!%vars_memberlist = (n!;
-----------------------------------------------------------------------


BELOW ADD:
-----------------------------------------------------------------------
print FILE qq!ML_switch_avatar => "$in{ML_switch_avatar}",n!;
print FILE qq!ML_switch_avatar_width => "$in{ML_switch_avatar_width}",n!;
-----------------------------------------------------------------------
### OPEN cp_vars_memberlist.pl (Templates)


FIND:
-----------------------------------------------------------------------
&RadioField ("AIM", "ML_switch_aim", "yes", "Turns the aim column on/off.", "$vars_memberlist{ML_switch_aim}", "ON|On%%OFF|Off");
-----------------------------------------------------------------------


ABOVE ADD:
-----------------------------------------------------------------------
&RadioField ("Avatar", "ML_switch_avatar", "yes", "Turns the avatar column on/off.", "$vars_memberlist{ML_switch_avatar}", "ON|On%%OFF|Off");
&RegField ("Width Avatar Column", "ML_switch_avatar_width", "yes", "2", "2", "Width?
If you don't no, check your avatar settings.
Example: 64", "$vars_memberlist{ML_switch_avatar_width}");
-----------------------------------------------------------------------
### OPEN public_memberlist.pl (Templates)


FIND:
-----------------------------------------------------------------------
$TBT

$vars_wordlets_mods{ML_col_pubname}
$vars_wordlets_mods{ML_col_avatar}$vars_wordlets_mods{ML_col_pubname}
$user_profile[15]
$user_profile[0]
$user_profile[15]$user_profile[0]
Sponsored Links
Entire Thread
Subject Posted By Posted
[6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Zack 06/16/2001 3:08 AM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Mr.Clean 06/16/2001 3:29 AM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Zack 06/16/2001 3:47 AM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Tech-Ni-Kal 06/16/2001 7:25 AM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Murassmeblade 06/22/2001 8:01 AM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] UnKnoWn 06/22/2001 4:18 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Shadow Man 06/23/2001 2:53 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] DPK.ducky.quack 06/25/2001 3:23 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Tech-Ni-Kal 06/27/2001 7:39 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] Ghetto-Outlaw 08/18/2001 9:12 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] mr.psycho 10/24/2001 8:01 PM
Re: [6.0x] Avatar for Memberlist Hack v1.0 [ Finished ] mr.psycho 10/24/2001 8:03 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)