Search found 1559 matches

by Ger
Thu Sep 26, 2019 8:35 am
Forum: Extensions in Development
Topic: [3.2][BETA] TextFormatter
Replies: 8
Views: 644

Re: [3.2][BETA] TextFormatter

Looking good guys
by Ger
Thu Sep 19, 2019 12:45 pm
Forum: phpBB Custom Coding
Topic: Script to create posts from txt or SQL file direct to phpBB SQL
Replies: 23
Views: 1215

Re: Script to create posts from txt or SQL file direct to phpBB SQL

Please note that I created this script for a very specific use case. If you want to expand things, you need to change the script accordingly. At line 23-27 you find a $post_text variable. You can set that to whatever you like. At line 34 you find a GB_POST_TEXT_ADD_TITLE constant. You can that to o...
by Ger
Thu Sep 19, 2019 12:13 pm
Forum: Extension Writers Discussion
Topic: submit_post should use $poster_id but doesn't
Replies: 3
Views: 341

Re: submit_post should use $poster_id but doesn't

It works for me in multiple extensions actually. When needed, I switch to a predefined user like so:
https://gist.github.com/GerB/badc893f7b ... -L211-L233

Note that you also need to override language keys if applicable for your use case.
by Ger
Thu Sep 19, 2019 11:52 am
Forum: phpBB Custom Coding
Topic: Script to create posts from txt or SQL file direct to phpBB SQL
Replies: 23
Views: 1215

Re: Script to create posts from txt or SQL file direct to phpBB SQL

If I understand correctly, this script adds the topics to a specified forum by importing text from each new line in the text file specified in the script. Does this mean that the topic name would be whatever text is found on the new line? If so what about the post? What will be the post content? Wi...
by Ger
Mon Sep 16, 2019 8:22 am
Forum: phpBB Custom Coding
Topic: Script to create posts from txt or SQL file direct to phpBB SQL
Replies: 23
Views: 1215

Re: Script to create posts from txt or SQL file direct to phpBB SQL

As requested; the code to import per line from a .txt file It's a simple, one-file script that has to be called once, and once only. Only useable for admins/founders and should be deleted after use. @urzh has confirmed this working as expected. The script doesn't seem to have defined the ID of the ...
by Ger
Thu Sep 12, 2019 7:00 am
Forum: phpBB Custom Coding
Topic: Script to create posts from txt or SQL file direct to phpBB SQL
Replies: 23
Views: 1215

Re: Script to create posts from txt or SQL file direct to phpBB SQL

As requested; the code to import per line from a .txt file . This code contains a section that handles with old Mac-style line endings ( \r ), converting them to whatever line ending style your server has. It shoud also cope with converting Windows style line endings to UNIX, etc. but that's unteste...
by Ger
Mon Sep 09, 2019 9:46 am
Forum: phpBB Custom Coding
Topic: Script to create posts from txt or SQL file direct to phpBB SQL
Replies: 23
Views: 1215

Re: Script to create posts from txt or SQL file direct to phpBB SQL

Basically I'd loop through your data and call submit_post() for each row. For an example, look at https://github.com/GerB/cmbb/blob/4b143 ... #L282-L314
by Ger
Tue Sep 03, 2019 11:27 am
Forum: Extension Requests
Topic: Blog extension
Replies: 7
Views: 389

Re: Blog extension

Perhaps cmBB fits your needs.
by Ger
Mon Aug 26, 2019 7:44 am
Forum: Extensions in Development
Topic: [DEV] Font Awesome BBCode
Replies: 28
Views: 2298

Re: [DEV] Font Awesome BBCode

Seen this?
https://www.phpbb.com/customise/db/bbco ... me_bbcode/

What does this extension do besides above BBcode?
by Ger
Thu Jun 27, 2019 2:06 pm
Forum: Extensions in Development
Topic: [DEV] Encrypted PMs
Replies: 82
Views: 5126

Re: [DEV] Encrypted PMs

I understand your points, it really is much simpler with using reporting button. But in order for messages to be truly encrypted, I can't allow moderators to look at them. If every moderator owned a key for every message, it beats the whole purpose. Why not simply offer the option to decrypt the PM...
by Ger
Wed Jun 26, 2019 11:45 am
Forum: Extensions in Development
Topic: [DEV] Encrypted PMs
Replies: 82
Views: 5126

Re: [DEV] Encrypted PMs

Mannix_ wrote:
Wed Jun 26, 2019 10:57 am
Also I have a question is it possible to hash the pm's in the db just like the passwords are ?
Sure, you can hash them. But the recipient can't "unhash" it since hasing is a one-way trip.
by Ger
Thu Apr 04, 2019 11:15 am
Forum: Extension Requests
Topic: Request - Groups obtained from specific text
Replies: 1
Views: 218

Re: Request - Groups obtained from specific text

Nope. But why would you use such a complicated and unmanageable process while there is already a straightforward system for group management?
by Ger
Wed Apr 03, 2019 9:51 am
Forum: Extension Requests
Topic: show topics made in posts and profile
Replies: 5
Views: 438

Re: show topics made in posts and profile

Sorry david63 was not thinking straight :D On the old PHPBB 3.0.14 was a mod called NV usertopics https://www.phpbb.com/customise/db/mod/nv_usertopics/ I would like something similar on 3.2.x Thanks I think if you simply want a counter with link for each post row author, that should be possible.
by Ger
Wed Apr 03, 2019 9:21 am
Forum: Extension Requests
Topic: Hint for not logged in users
Replies: 10
Views: 567

Re: Hint for not logged in users

Holger wrote:
Tue Apr 02, 2019 2:29 pm
Now I got you, thanks!

I like it the way it is done here:
https://skogsforum.se/viewtopic.php?f=3&t=34326
(the green part with the three buttons)
I can make this happen for you. Please send me a PM if you are interested **solicitation deleted**
by Ger
Wed Feb 27, 2019 8:55 am
Forum: Extensions in Development
Topic: [3.2][RC] FAQ Manager
Replies: 74
Views: 7446

Re: [3.2][RC] FAQ Manager

How making format like BBcodes in admin and how the lines are striped? Formatting is done in HTML, since the formatting imported from default help files is also done in HTML. For striping (I think you mean line-through?) you can use: <span style="text-decoration: line-through">striped text</span> A...

Go to advanced search