Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
we got a popular german-speaking ubbt running at http://www.kurier.at/forum (login: test, password: test)

as we got lots of political discussions going on, our policy is not to allow ubb/html in user-postings.

nevertheless - in signatures all links are clickable. does anybody know where to turn that off? thanx in advance!

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
In 6.2, you could remove the call to do_markup() in changebasic.php:

Code
// ----------------------- <br />// Allow markup in the bio <br />   $Bio = $html -> do_markup($Bio); <br />   [:"red"]$Signature = $html -> do_markup($Signature);[/]


In 6.0.3, you could remove the call to do_markup() in addpost.php:

Code
// ----------------------------- <br />// Always markup the signature <br />   $printsig = $user['U_Signature']; <br />   [:"red"]$printsig = $html -> do_markup($printsig);[/]


That doesn't prevent users from using markup in their signatures, but it prevents the markup from being translated to HTML.



Last edited by Dave_L; 01/08/2003 5:14 AM.
Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
ok - does this also work for url's?

it seems, that users do not use html oder ubbcode - they just type the url in their signature, and the link is clickable.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
It looks like do_markup() handles that in the section

Code
// Convert www -> html


so removing the call to do_markup() would prevent the links from being clickable. I haven't tested it, though.

Joined: Apr 2001
Posts: 25
User
User
Joined: Apr 2001
Posts: 25
thanks a lot!

just removed the "Convert www -> html" section in ubbt_inc.php - and it seems to work perfectly!

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 323
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 22
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)