|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
www.coders-net.com/hacks/html620.txt Allows admins, mods or VIP's to post HTML when others can not. Finished!
|
|
|
|
Joined: May 2001
Posts: 65
Member
|
Member
Joined: May 2001
Posts: 65 |
Works this Hack with the MegaModerator Hack that MegaMods can post too htlm-codes?
[ 01-22-2002 12:54 PM: Message edited by: Hellburn ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: * CREATED BY: MasterMind [email protected] *
o_O
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
LK, that's Ell's domain. Its a little joke. 
|
|
|
|
Joined: Nov 2001
Posts: 31
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 31 |
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Nov 2000
Posts: 166
Member
|
Member
Joined: Nov 2000
Posts: 166 |
are u sure this is considered "finished"? i cant even find the first line in the first step.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
UBB 6.2.0 has cook_post sub. 
|
|
|
|
Joined: Nov 2000
Posts: 166
Member
|
Member
Joined: Nov 2000
Posts: 166 |
quote: Originally posted by LK: UBB 6.2.0 has cook_post sub.
and whats that mean? (if u were talkin to me)
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Jan 2002
Posts: 116
Member
|
Member
Joined: Jan 2002
Posts: 116 |
Hi there, Thanks for the hack, it worked perfectly. There is only one thing I need to say: when you use html and you click on the preview button. The html won't work, the actual post is perfect html. Maybe it's an idea to fix that  . You a new challenge, we a upgraded preview post lauren
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Ya, because the preview doesn't use cook_post. 
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
If only i knew that before. Oh well, FITNR.
|
|
|
|
Joined: Jun 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 17 |
Sorry but this hack does not work with 6.2.1
HTML is deactivated, but every user can post html after hacking ubb_lib_posting
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Remove "!" from "if (!$username) {", and add the filter code for guests (after the second }, add "} else { $message ........... }")
|
|
|
|
Joined: May 2001
Posts: 28
Junior Member
|
Junior Member
Joined: May 2001
Posts: 28 |
Could you please be so kind and show what you mean with the script code LK?. Cause I dont understand what you mean about the "guest" code and where to put that code in the end.
Thanks
|
|
|
|
Joined: Jun 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 17 |
Nobody any ideas how to fix this?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
no because you dont provide the information needed. This works fine for me on 6.2.1.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try to use the following: [code][/code]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
LK, do you see a problem with the coding of this hack?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
That's what I understand from Hack 1 of this hack:
"If this forum does not accept HTML { If $username does NOT exist { Verify the cookie password; Check if it's an admin. If it's not an admin { Change <> with &..... } Else { Do nothing; } } Else { Do nothing; }"
I think the main problem is "If $username does NOT exist" and the last "Else { do nothing; }"
Also, hack 2 says:
"If name is name1 or name is name2 { Verify cookie password; If name is not name2 and name is not name2 { Replace <> } }"
That means, that the name gotta be name1/name2 and gotta NOT be name1/name2.
I suggest you to use:[code][/code]
|
|
|
|
Joined: Jun 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 17 |
Sorry but this works NOT for my german UBB version 6.2.1
i don´t know why
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
thats what i get for coding a hack at 2 in the morning without coffee.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
file updated with LK's sensful changes.. I feel so idiotic about that name1 and name2 thing. 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Don't feel so, that's why I hate to code at 2am 
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
I have disabled html in all forums and installed this mod. Now only admins and moderators can place html, but it doesn't. Why?
|
|
|
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
Will install it soon.. See if it works. Oh yea, Variables, you've probraly seen that LK posted some replacement code blocks, just use them 
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
I'm sorry but i don't know how and where to put these "blocks". Can someone make a correct codeblock to let moderators and admin(s) post html? It's important for our forum to have this. Tnx in advance. 
|
|
|
|
Joined: Apr 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 9 |
I'n sorry, but it is not work on UBB 6.2.1.1
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Is this correct? Not working on ubb 6.2.1.1? The use of html is a risk but it is nice to and that's why this hack is so important. I hope this gets a little more attention.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Anyone have a download of this lol... Greg's site is never up  . Gizmo[at]undergroundnews[dot]com
|
|
|
|
Joined: Oct 2002
Posts: 26
Junior Member
|
Junior Member
Joined: Oct 2002
Posts: 26 |
This is in the 6.3x Mods, why does it say 6.2x? I also can't download a version of this hack. 
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Greg, you ever planning on having your site up? Its been almost 4 months  ...
|
|
|
|
Joined: May 2001
Posts: 41
Member
|
Member
Joined: May 2001
Posts: 41 |
I need this as well, thanks. viper@usgaming.net
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|