|
Joined: Jun 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 4 |
Okay, anyone know how to prevent someone from posting a post called "NO" dated 1900. This post prevents all topics from being loaded in your default view.. but if you switch to "Show all topics" your able to view the "NO" post.
If you click on the "NO" post, it just goes to a blank page.
This has happend like 9 times over the last few weeks, I know it's not some odd thing happening, someone is doing it.. HELP!
Thanks Jay
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Umm, why dont you just delete the post??
If you want I can give you some code to prevent people replying to that topic only.
Whats the link to your board where we can see the post in question?
[ August 23, 2001: Message edited by: BassTeQ ]
I can't afford a good signature editor
|
|
|
|
Joined: Aug 2001
Posts: 32
Member
|
Member
Joined: Aug 2001
Posts: 32 |
We had that problem on a board that no longer exists today... it's a security exploit in 5.39, I believe. The problem was solved on the board I was a member of by upgrading. 
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Hey Bluelight.nu, cool board, I read it all the time!!!!! As for your question.
* Can you not look at the IP of the user and block it?
* Now the code below will block any subject that starts with NO***** so it would not allow a post to start with the word NOTHING for example, if you like I can modify it so it will only block posts where the first word is NO. Ive written this for my 5.47d board, it should work ok on your board hopefully.
In postings.cgi
--------------------------- FIND ---------------------------
$TopicSubject = &CensorCheck("$TopicSubject");
--------------------------- BEFORE THAT ADD ---------------------------
unless ($Status eq "Administrator") {
$CheckValidStr = $TopicSubject;
# Below values are HEX Codes # x22 = " # x23 = # # x26 = & # x27 = ' # x2B = + # x2F = / # x3A = : # x3B = ; # x3C = < # x3D = = # x3E = > # x60 = ` # x5C = # x5E = ^ # x7c = |
if ($CheckValid =~ /^NO/ ) { &StandardHTML("Sorry, you have used illegal characters in your subject line!
Use your Back button."); exit; } }
If you need any help getting it working just let me know.
I can't afford a good signature editor
|
|
|
|
Joined: Jun 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 4 |
Thanks for the code, I'll see if I can add that to fix the problem.
As for the IP address.. Once you do change to "show all topics" you see the NO post. However, if you want to open that post, it ends up going to a invaild page can not be found. Bascily it's a link to a post that doesn't exisit anymore..
Jay
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
I had a prblem on my board with a post that had a stuffed up date, so I manually deleted the corresponding HTML and CGI file but it still listed in the forum, so I went via control pannel and used the prune message function and removed that message, worked fine.
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Hey, Maybe you should upgrade might get rid of some of the problems on your forum.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
yeah you should upgrade, there are no major custom hacks on the board so that makes upgrading soo much easier!
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yeah, the only mod I see is that you made search a Image instead of a link.
|
|
|
|
Joined: Jun 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 4 |
Yea, we are "Supposed" to upgrade.
Sadly, I don't have access to the server to make the upgrade happen.. so we have to wait on the board owner to get anything done.
Jay
|
|
|
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,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|