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
Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
demo?

Joined: Jun 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 7

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
Pretty Nice .. I like it .. hey just a question wasnt Leshrac gonna post his version of the Memberlist

Joined: May 2001
Posts: 71
Member
Member
Offline
Joined: May 2001
Posts: 71
need a lil help modifying this hack please

could someone tell me what to change to make it take the size limit from the actuall avatar hack instead of using tis own size limit

some of my avatars are a bit larger that others or smaller then what i have it set to

its set to 70x70

but when i put 70 in the width for the avatar in memberlist it didnt effect it and also avatars that were taller than 70 in the real file showed full size or normal size i mean and i would like to make it look as uniformed as it is in my posts, they are all the same size there 70x70

so if that is possible please post

thank you
Scott


[insert irony here]
Sponsored Links
Joined: Jun 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 6
Hi!
The posted URL for the demo doesn't work confused

Joined: Jun 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Jun 2001
Posts: 1
Where can i find avatar hack and memberlist hack?

[ June 23, 2001 07:55 AM: Message edited by: Shadow Man ]

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915

Joined: May 2001
Posts: 2,798
Member
Member
Offline
Joined: May 2001
Posts: 2,798
DPK.. Are you going to be adding this to the memberlist any time soon.

Joined: Aug 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 1
i need another place i can get the avatar hack... i cant sign up wit quasic for some reason... it keeps sayin unexpected error.

Sponsored Links
Joined: Oct 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 18
yo thnx gohan (=zack) i didn't know you were an expert wink . I can just say one thing: this hack rule, without de avatars the list is so colorless

Joined: Oct 2001
Posts: 18
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 18
Quote
quote:
I know zack, he's also from the goku.nl forums. The url doesn't work simply because he stoped with his site, the last time a spook him he was busy with practising making 3d pictures. i saw one and it was pretty cool


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)