News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Post Prefix

Started by Diego Andrés, May 11, 2015, 10:37:35 PM

Previous topic - Next topic

Diego Andrés

Is it the same error or a different one?

SMF Tricks - Free & Premium Responsive Themes for SMF.

chinaren

Exactly the same, in the same places etc.  Except the lack of error in the error log.
The Opus Path - The Next Generation of the Written Word

Diego Andrés

3.2.1 - 28 October 2020
Fixed buggy subject on topics after adding the prefix to the title.

3.2 - 27 October 2020
Fixed issues with Manage class.
Fixed typo that caused undefined errors and unexpected behavior.

SMF Tricks - Free & Premium Responsive Themes for SMF.

StarredSkies

I believe I found an issue for 2.0.17's version. Despite requiring a prefix on a board, users (with or without permissions to override) are able to post without a prefix. Is this a known glitch or something I could possibly fix?

GL700Wing

Quote from: StarredSkies on January 22, 2021, 11:56:27 AM
I believe I found an issue for 2.0.17's version. Despite requiring a prefix on a board, users (with or without permissions to override) are able to post without a prefix. Is this a known glitch or something I could possibly fix?
If the problem is caused by '[No Prefix]' being added to the list of options when a prefix is required you can make a small change to prevent this from happening - see https://www.simplemachines.org/community/index.php?topic=536401.msg3992189#msg3992189
Life doesn't have to be perfect to be wonderful ...

chinaren

Quote from: Diego Andrés on October 28, 2020, 02:16:34 PM
3.2.1 - 28 October 2020
Fixed buggy subject on topics after adding the prefix to the title.

3.2 - 27 October 2020
Fixed issues with Manage class.
Fixed typo that caused undefined errors and unexpected behavior.


Thank you for your efforts on this.  I tried again with 3.2.1 (after completely uninstalling the previous one), but whilst it still seems to work on installation, it then gets an error when I try to look at the boards.  Oddly I can look at topics. There is no error in the admin error log.  I think it must be just something to do with my forum.


The error is:





This page isn't working
xxxx.com is currently unable to handle this request.


HTTP ERROR 500




Do you think this is because my version of PHP isn't up to date on my server?  I've been meaning to update it, but you know how it is... ::)

The Opus Path - The Next Generation of the Written Word

Diego Andrés

Quote from: chinaren on January 27, 2021, 06:29:55 AM

Do you think this is because my version of PHP isn't up to date on my server?  I've been meaning to update it, but you know how it is... ::)

I don't remember much about this issue but I tested different versions on php 7.x back then and it seemed to be working.
I don't have a test site at the moment, I'd be able to check it again soon.
Also if I recall correctly I told you that version only works with SMF 2.1 RC3 and you were running RC2.

SMF Tricks - Free & Premium Responsive Themes for SMF.

chinaren

Quote from: Diego Andrés on January 27, 2021, 07:55:49 PM

Also if I recall correctly I told you that version only works with SMF 2.1 RC3 and you were running RC2.


OMG, so you did!  LoL. I'm an idiot.  Sorry!  Didn't mean to waste your time.
The Opus Path - The Next Generation of the Written Word

landyvlad

Diego continues to be a bloody legend! :D
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

chinaren

Finally got around to upgrading the board software, and installed this and it's great!  Thank you!!
The Opus Path - The Next Generation of the Written Word

Diego Andrés

3.2.3 - 30 August 2021
Fixed check for permission to view unapproved posts
Minor improvements.

3.2.2 - 16 July 2021
Fixed typos on installation file.

SMF Tricks - Free & Premium Responsive Themes for SMF.

shadav

removed a bunch of 0byte attachments from the download page....not sure what that was about, guessing something goofy in the site update

Bugo

Very nice mod, thank you :)

Is there a way to specify the icon as text or html (for example, for FontAwesome)?

Diego Andrés

Not yet but that's a nice suggestion.
Thanks for the translation

SMF Tricks - Free & Premium Responsive Themes for SMF.

Emre A.

Let it come from me in Turkish then  ;)

Diego Andrés

#275
Thank you.

3.2.4 - 31 August 2021
Russian translation provided by Bugo.
Turkish translation provided by Emre A.

Will see about features and other stuff soonish.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

3.3 - 01 September 2021
Improved logic of counting total of topics.
Added not_null to require_prefix column.

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

Trying to install SMFPostPrefix_forSMF2.0.x_2.1.1 after upgrade to SMF 2.0.18

I am getting the following error
Quote5.   Execute Modification   ./Sources/Subs-Post.php   Test failed
   1.   Replace   ./Sources/Subs-Post.php   Test successful
   2.   Replace   ./Sources/Subs-Post.php   Test successful
   3.   Replace   ./Sources/Subs-Post.php   Test successful
   4.   Replace   ./Sources/Subs-Post.php   Test successful
   5.   Replace   ./Sources/Subs-Post.php   Test successful
   6.   Replace   ./Sources/Subs-Post.php   Test successful
   7.   Replace   ./Sources/Subs-Post.php   Test successful
   8.   Replace   ./Sources/Subs-Post.php   Test failed

PLEASE help me fix it, this is my favourite mod!
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

shadav

would need to see the error for subs-post.php to know why it's failing
and find it in your subs-post.php to see what is different from your code to what it's looking for

landyvlad

Dunno it's a new file.

Mind you I have installed a few other mods it is possible that one of those has changed it so it can't see what its looking for but IIRC I didn't have this last time I installed the mod. Perhaps it's just a different order or something.
When I get a chance I'll have a look at that (cant access cpanel from work computer) 
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Advertisement: