Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I was wondering if anyone could make a hack that would allow admins to have html in sigs and posts, and have a checkbox for nonAdmins to let them (like private forums, Admins automatically get in, others need permission)

I tried to port it myself, but EVERY link I've found is dead.

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
anyone?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
bump-amania it running wild smile

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
smile anyone?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I did it for the wookie.

smile ?

Sponsored Links
Joined: Feb 2001
Posts: 55
Member
Member
Offline
Joined: Feb 2001
Posts: 55
nice, very helpful.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I think you guys doubt my bumping abilities.

bump smile

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
this is getting kinda old, but I still want this hack. Does anyone know how to do it?

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
try this:
Code
in ubb_lib_posting.cgi

find:

if (!$is_html) {

replace with

my @VIP = qw(00000001 00000002);
if(!($user_profile[8] eq 'Administrator' || $VIP{$user_number}) && !$is_html) {
This should work. Not tested. I'm not sure what you mean by this checkbox, do you mean in the cp edit member area?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:
Originally posted by Brett:
try this:
Code
in ubb_lib_posting.cgi

find:

if (!$is_html) {

replace with

my @VIP = qw(00000001 00000002);
if(!($user_profile[8] eq 'Administrator' || $VIP{$user_number}) && !$is_html) {
This should work. Not tested. I'm not sure what you mean by this checkbox, do you mean in the cp edit member area?
yeah, the same thing you would use to give a member access to a private forum. Just like a private forum, admins would get ir by default, and any other person we wanted to have html capabilities (ie maybe a certain member who donated to the site), then you could just check the box in his profile. I would love this hack because there is only so many things you can do with ubb code.

Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Well, here goes nothing. This should work. A very simple hack.

https://www.ubbdev.com/ubb/upload/00006378/allow_html.txt

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
ok, that worked. my next question is... Is there a way to get preview post to work with this?

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
That should have worked for it, it all reflects from the one function 'bake_post', even the post preview. Did it not let you?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
the actual post allowed html, but when I previewed it showed the html code


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
Zarzal
Zarzal
Berlin, Germany
Posts: 808
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)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
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)