Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 51
Member
Member
Offline
Joined: Apr 2001
Posts: 51
avatar is good, but not what I need. I'm looking for a hack or MOD, as you will, that will do the following.

1: Allow the user to go into the 'my profile' and then.

2: goto the 'Your picture' Line, in the 'my profile.' section and type the url to the image that their picture is at. BUT!!!

3: have it show up right under their name and member number, BEFORE the rank crap. BUT only let them do it 100x100 pixles.

Now, I've been told you people are the best of the best and people as estemed as yourself should be able to make or show me to this UBB MOD or code. and I'm willing to do anything for this kind of help, and I can do allot. Your Urgent reply is important

Sponsored Links
Joined: Apr 2001
Posts: 51
Member
Member
Offline
Joined: Apr 2001
Posts: 51
[Linked Image]
xxdeathoangelxx@aol.com
Please Email me or aim me @ xxHooperxx

I really need help Soon, Last message I posted on this board got overlooked or something.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
You talkin to me? eek
Well... shocked I am ok... there's quite a few better than me. But thanks...

Quote
quote:
oh, I see, you weren't talkin to me...

Quote
quote:
Well, I do need an oil change on my 'rango... and a nice wash job too...

smile

Seriously, there should be someone along shortly who can do this... I think this is the basic avatar mod tho.. you can find it in the finished forum I am sure...


- Allen wavey
- What Drives You?
Joined: Nov 2000
Posts: 37
Member
Member
Offline
Joined: Nov 2000
Posts: 37
Oh.... here you go, with on/off switch in the CP as well, remember to use a full URL to their graphic. I cannot restrict byte size, but this will resize every graphic to 100x100.

###########
# in vars_display.cgi
#####
# find:

AllowSignatureImage => "YES",

#####
# Add immediately below:

AllowUserImage => "YES",

###########
# in cp_lib.cgi
#####
# find:

$vars_display{AllowSignatureImage} = "no";

######
# Add immediately below:

$vars_display{AllowUserImage} = "no";

######
# find:

print FILE qq!AllowSignatureImage => "$in{AllowSignatureImage}",n!;

#####
# add immediately below:

print FILE qq!AllowUserImage => "$in{AllowUserImage}",n!;


#######
# In cp_vars_display.pl
#####
# find:

&RadioField ("Allow Images in Signatures?", "AllowSignatureImage", "yes", "You may allow your users to put UBB code images in their signature. This is not advised unless you are sure users will not abuse the right.", "$vars_display{AllowSignatureImage}", "YES|Allow images in signatures.%%no|Do not allow images in signatures.");

#####
# Add immediately below

&RadioField ("Allow User Images?", "AllowUserImage", "yes", "You may allow your users display images under their Titles. This is not advised unless you are sure users will not abuse the right.", "$vars_display{AllowUserImage}", "YES|Allow user images.%%no|Do not allow user images.");


###########
# in public_topic_page.pl
######
# find:
} # end topic_top

sub topic_row {

#####
# add immediately below:

# get user image
my $user_image = $user_profile[20];
chomp ($user_image);
if ($user_image ne "") {
$user_image = qq~~;
} else {
$user_image = "";
}
# can it be displayed?
if ($vars_display{AllowUserImage} eq "no") {
$user_image = "";
}


#####
# find:

$user_status


$member_number

#####
# add immediately below:



$user_image


#########################################

All done, upload all files, set the option on/off in the
Control Panel>General Display Settings for the new User Image setting & clear cache

Magnum wink


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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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)