Previous Thread
Next Thread
Print Thread
Rate Thread
#179954 11/28/2002 2:27 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
I'm writing a simple hack to not allow junior members/unreg'd users to post URLs (to stop people signing up to spam URLs...). I can't work out how I'm supposed to get at $user_status tipsy . It's in the bit which automatically changes links to URLs ATM; it's the only thing holding me back. I could work it out myself, possibly, but it'd probably end up taking half a year like ading variables wink .

Sponsored Links
#179955 11/29/2002 3:15 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Check the user profile line [8] that has the user status, eh?


- Allen wavey
- What Drives You?
#179956 11/29/2002 2:50 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
I tried that, it didn't seem to work... Maybe I should try again... confused

#179957 11/30/2002 3:54 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
$username and $user_number are always present - you can get the status via OpenProfile... however, there can be conditions during which a post can be processed that is NOT owned by the user making the request, so this may have unintended side-effects.


UBB.classic: Love it or hate it, it was mine.
#179958 12/01/2002 7:49 AM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Oddly it now works, so I now have a working hack...

confused

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 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)
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-2025 VNC Web Services

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