Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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!

Sponsored Links
Joined: May 2001
Posts: 65
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
quote:
* CREATED BY: MasterMind [email protected] *

o_O

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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
Offline
Joined: Nov 2001
Posts: 31
Nice

Sponsored Links
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
bump. Its finished!

Joined: Nov 2000
Posts: 166
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
UBB 6.2.0 has cook_post sub. tipsy

Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
quote:
Originally posted by LK:
UBB 6.2.0 has cook_post sub. tipsy

and whats that mean? (if u were talkin to me)

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Ok, fixed.

Sponsored Links
Joined: Jan 2002
Posts: 116
Member
Member
Offline
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 smile . You a new challenge, we a upgraded preview post tipsy

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. wink


UBB.classic: Love it or hate it, it was mine.
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
If only i knew that before. Oh well, FITNR.

Joined: Jun 2001
Posts: 17
Junior Member
Junior Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
Joined: Jun 2001
Posts: 17
Nobody any ideas how to fix this?

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try to use the following:
[code][/code]

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
LK, do you see a problem with the coding of this hack?

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
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
Offline
Joined: Feb 2000
Posts: 4,625
file updated with LK's sensful changes.. I feel so idiotic about that name1 and name2 thing. frown

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Don't feel so, that's why I hate to code at 2am wink

Joined: Dec 2000
Posts: 371
Member
Member
Offline
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
Offline
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 smile

Joined: Dec 2000
Posts: 371
Member
Member
Offline
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. wink

Joined: Apr 2001
Posts: 9
Junior Member
Junior Member
Offline
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
Offline
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 frown .

Gizmo[at]undergroundnews[dot]com


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Oct 2002
Posts: 26
Junior Member
Junior Member
Offline
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. frown

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 wink ...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 41
Member
Member
Offline
Joined: May 2001
Posts: 41
I need this as well, thanks.

viper@usgaming.net


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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)