Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2000
Posts: 124
Member
Member
Offline
Joined: Oct 2000
Posts: 124
I ask as I get a lot of avatar requests and having to run a CP search just for a number is a pain, so I'd like to put something in ubb_library2.pl that would just display their number on the thread. Trouble is that number isnt stored in the profile itself.... So how could this be done?


Signatures suck. Thats why I dont have one.
Sponsored Links
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
Couldnt you read it from the filename where the username is found. Maybe do a system call to grep to locate the username and store the filename into a variable, chopping off the extension and leading 0000's
Not sure if thats the best way to do it but it should work.


I can't afford a good signature editor frown
Joined: Oct 2000
Posts: 124
Member
Member
Offline
Joined: Oct 2000
Posts: 124
Yes that would probably work, unfortunatly I havent the faintest idea what the HELL you just told me to do. smile You couldnt have made me more confused if you'd posted in Japanese..... laugh


Is there any way that DOESNT require me to go away and learn perl first?


Signatures suck. Thats why I dont have one.
Joined: May 2001
Posts: 50
Member
Member
Offline
Joined: May 2001
Posts: 50
It wouldn't take a Perl guru long to get a hack for something like this written. Post a new hack request for it and be as polite as possible. I'd love to use it, too.



paste this BEFORE

$u = $ProfileNumber + 0; # rid extra zeros from member no.
$ProfileNumber = "Member # $u";

find:

$ThisStatus $AuthorExtra

replace with:

$ThisStatus
$ProfileNumber $AuthorExtra


DONE laugh

[ June 10, 2001 02:07 PM: Message edited by: hmiguelito ]
Joined: Jun 2001
Posts: 94
Member
Member
Offline
Joined: Jun 2001
Posts: 94
here we go then:
Open ubb_library2.pl

find:

$ThisThread .= qq(
Sponsored Links

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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3429
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 4
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
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-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)