YAFLogo

dillegummin
13 years ago
So, I still have the problem that Topics With Same Name setting is ignored in 1.9.6 Beta 1, anyone else have the same?

Having it set to Registered or All Users still won´t allow Topics having the same name.

Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
Uncheck the box it should be readed quite oppisite..
dillegummin
13 years ago

Uncheck the box it should be readed quite oppisite..

Originally Posted by: bbobb 

Hmm, not quite sure I understand you there bbobb.

Allow Topics With Same Name:

Duplicate topic names are allowed to:

Has a drop down box where you can choose between; Forbidden, Registered Users or All Users

There is another setting under this one in the permission tab in the Host Settings with a checkbox named:

Allow Forums With Same Name:

If checked forums with duplicated names can be created.

Checked, Not Checked.

If I have understood it correctly the first is supposed to be The Topic / Thread names. So you allow Registered Users or All Users to make Topics having the exact same name. No matter what this setting is, you will get the message; "A topic with the subject already exists or the subject is not unique enough to be added."

I have also tried to uncheck and check the Allow Forums With Same Name: without luck. But this one is if you define more than one forum with the same name, and not topic right? My issue is with the Topics / Threads.

Basically I have tried all combinations of the above without any of them allowing me to create two topics with the same name.

The setting is obviously saved in the database because it is read back to the setting I last saved. But it is not in effect.

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
Yeah... I see. Don't have time right now, but if a user saves a topic with a different name and then edits it the sheck should not trigger. You can make it other way - in sql scripts there's procedure

topic_findduplicate. Make it like this and update database.

BEGIN

SELECT 0

END

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
dillegummin
13 years ago
Works fine in the latest version from the Repository. Cheers!