php forum
php mysql forum
php mysql smarty
 
Topic Options
#127149 - 08/23/01 10:36 PM "NO" post blocks all topics from showing in default view
Thelazer Offline
Junior Member

Registered: 06/10/01
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

Top
#127150 - 08/23/01 11:44 PM Re: "NO" post blocks all topics from showing in default view
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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 frown

Top
#127151 - 08/24/01 08:01 AM Re: "NO" post blocks all topics from showing in default view
Thelazer Offline
Junior Member

Registered: 06/10/01
Posts: 4
The link is,

http://www2.bluelight.nu/cgi-bin/forumdisplay.cgi?action=topics&forum=Bluelight+Social&number=18&DaysPrune=5&LastLogin=

We have deleted the post already, it's just getting to be a pain in the ass as someone keeps reposting it daily.

Jay

Top
#127152 - 08/24/01 12:06 PM Re: "NO" post blocks all topics from showing in default view
trin Offline
Member

Registered: 08/20/01
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. frown

Top
#127153 - 08/26/01 06:16 PM Re: "NO" post blocks all topics from showing in default view
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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 frown

Top
#127154 - 08/27/01 09:21 AM Re: "NO" post blocks all topics from showing in default view
Thelazer Offline
Junior Member

Registered: 06/10/01
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

Top
#127155 - 08/27/01 07:35 PM Re: "NO" post blocks all topics from showing in default view
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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 frown

Top
#127156 - 08/28/01 02:38 AM Re: "NO" post blocks all topics from showing in default view
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Hey, Maybe you should upgrade might get rid of some of the problems on your forum.

Top
#127157 - 08/29/01 07:23 PM Re: "NO" post blocks all topics from showing in default view
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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 frown

Top
#127158 - 08/30/01 03:06 AM Re: "NO" post blocks all topics from showing in default view
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yeah, the only mod I see is that you made search a Image instead of a link.

Top
#127159 - 08/30/01 07:52 AM Re: "NO" post blocks all topics from showing in default view
Thelazer Offline
Junior Member

Registered: 06/10/01
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

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks