#55868
06/04/2003 10:36 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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.
|
|
|
#55869
06/05/2003 10:45 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
#55870
06/10/2003 10:24 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
bump-amania it running wild 
|
|
|
#55871
06/24/2003 10:29 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
 anyone?
|
|
|
#55872
06/27/2003 5:18 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I did it for the wookie.  ?
|
|
|
#55873
06/28/2003 10:04 PM
|
Joined: Feb 2001
Posts: 55
Member
|
Member
Joined: Feb 2001
Posts: 55 |
|
|
|
#55874
07/03/2003 4:07 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I think you guys doubt my bumping abilities. bump 
|
|
|
#55875
07/24/2003 10:48 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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?
|
|
|
#55876
07/25/2003 1:43 AM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
try this: 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?
|
|
|
#55877
07/25/2003 1:51 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by Brett: try this:
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.
|
|
|
#55879
07/25/2003 2:39 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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?
|
|
|
#55880
07/25/2003 2:46 AM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
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?
|
|
|
#55881
07/25/2003 2:48 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
the actual post allowed html, but when I previewed it showed the html code
|
|
|
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.
|
|
Posts: 808
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|