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

   "NO" post blocks all topics from showing in default view to Del.icio.us Add to del.icio.us
  Digg "NO" post blocks all topics from showing in default view Digg it
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


Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 13
blaaskaak 9
tackaberry 7
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks