Search found 605 matches

by SalazarAG
Wed Apr 05, 2017 2:17 am
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

I finally got it! Thank you David, RMcGirr83, __Vinny__ and Steve. I read all the links that have passed me. In the end, my listener looked like this: <?php /** * * @package phpBB Extension - Prefix for Popular Topics * @copyright (c) 2017 Lucas Almeida * @license http://opensource.org/licenses/gpl-...
by SalazarAG
Wed Apr 05, 2017 12:44 am
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

I think that we need to see all of your code for your extension - either post a link to it or upload a zip file. I put it in mediafire http://www.mediafire.com/file/lj4kntipmlj3d8c/lucas.rar Later I will create an account on github. https://area51.phpbb.com/docs/dev/31x/extensions/tutorial_key_conc...
by SalazarAG
Tue Apr 04, 2017 12:29 am
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

You have to use a PHP event to display that. The event to use depends on where you want to display it. That's why I said to download an extension that uses posting (like the topic description extension) and look at the code of the extension. I looked at the Topic Descriptions code! For a moment I t...
by SalazarAG
Mon Apr 03, 2017 9:15 pm
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

This is the code I used. <?php /** * * Prefix for Popular Topics. An extension for the phpBB Forum Software package. * * @copyright (c) 2017, Lucas Almeida * @license GNU General Public License, version 2 (GPL-2.0) * */ namespace lucas\prefixpopular\event; /** * @ignore */ use Symfony\Component\Even...
by SalazarAG
Mon Apr 03, 2017 7:12 pm
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

RMcGirr83 wrote:
Mon Apr 03, 2017 7:03 pm
Nope, take a look at an extension that has been validated.
I also used Vinny's example. With core.user_setup and all function.

No error occurs, but when I enter the language key in the template, it does not appear.
by SalazarAG
Mon Apr 03, 2017 5:46 pm
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

Have you injected it into your listener? Post the code then we can see what you have done Yes. <?php /** * * Prefix for Popular Topics. An extension for the phpBB Forum Software package. * * @copyright (c) 2017, Lucas Almeida * @license GNU General Public License, version 2 (GPL-2.0) * */ namespace...
by SalazarAG
Mon Apr 03, 2017 4:56 pm
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Re: Language file

Hi Thanks Vinny and David :) I read the documentation yesterday. But when I enter the code to call the file I get this error: Parse error: syntax error, unexpected '$language' (T_VARIABLE), expecting function (T_FUNCTION) in C:\xampp\htdocs\bpforum\ext\lucas\prefixpopular\event\main_listener.php on ...
by SalazarAG
Mon Apr 03, 2017 3:12 am
Forum: Extension Writers Discussion
Topic: Language file
Replies: 17
Views: 409

Language file

I'm creating my first extension. Simply, it will simply add a prefix before the topic title indicating that it is Popular (according to the number of posts that the user has defined in the ACP> Posting). I did this just using the topiclist_row_prepend.html event. So in vendorname.extensionname folde...
by SalazarAG
Fri Mar 31, 2017 4:43 pm
Forum: Extensions in Development
Topic: [DEV][3.2] Topic/Post Reactions(like, happy, thanks, angry)
Replies: 199
Views: 8293

Re: [DEV][3.2] Topic/Post Reactions(like, happy, thanks, angry)

I have a added a download link in the 1st post for testing ;) Hi, Steve acp - settings error: Fatal error: 'break' not in the 'loop' or 'switch' context in .../forum/ext/steve/postreactions/controller/acp_controller.php on line 346 regards Fixed. Translation to Portuguese-Brazil: https://www.sendsp...
by SalazarAG
Fri Mar 31, 2017 4:21 am
Forum: Extensions in Development
Topic: [DEV][3.2] Topic/Post Reactions(like, happy, thanks, angry)
Replies: 199
Views: 8293

Re: [DEV][3.2] Topic/Post Reactions(like, happy, thanks, angry)

HI! Is it possible to add in the forum index a list of the 5 most reactive users?

I used Pico extension and the users of my forum were accustomed to see in the index the most reputed.

Or give me a way to do this?

Thanks!
by SalazarAG
Sun Mar 26, 2017 9:31 pm
Forum: Extensions in Development
Topic: [3.1][3.2][ALPHA] Topic Title Color
Replies: 15
Views: 888

Re: [3.1][3.2][ALPHA] Topic Title Color

DavidIQ wrote:
Sun Mar 26, 2017 8:36 pm
SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Choose the forums where you can colorize the titles?
Was planning on doing this through permissions.
SalazarAG wrote:
Sun Mar 26, 2017 8:32 pm
> Connect with Recent Topics extension?
Which one exactly?
Hi!

This extension: https://www.phpbb.com/customise/db/exte ... _topics_2/
by SalazarAG
Sun Mar 26, 2017 8:32 pm
Forum: Extensions in Development
Topic: [3.1][3.2][ALPHA] Topic Title Color
Replies: 15
Views: 888

Re: [3.1][3.2][ALPHA] Topic Title Color

Hi

Great extension, congratulations!

Would it be possible to add these features?

> Choose the forums where you can colorize the titles?
> Connect with Recent Topics extension?
by SalazarAG
Sat Mar 25, 2017 7:51 pm
Forum: Extension Requests
Topic: An alternative to social login?
Replies: 6
Views: 516

Re: An alternative to social login?

OneAll works in 3.2 with no problems. I use the extension without any bug and with more than 10 social medias. .
by SalazarAG
Fri Mar 17, 2017 1:38 am
Forum: Extensions in Development
Topic: [DEV] Advanced warnings
Replies: 29
Views: 3065

Re: [DEV] Advanced warnings

For me it works in 3.2

In 3.1.9 and 3.1.10 gives an SQL error. LOL
by SalazarAG
Thu Feb 16, 2017 9:31 pm
Forum: [3.2.x] Styles Support & Discussion
Topic: Trying to add avatar to overall_header.html
Replies: 6
Views: 194

Re: Trying to add avatar to overall_header.html

Use this code

Code: Select all

<!-- IF CURRENT_USER_AVATAR -->{CURRENT_USER_AVATAR}<!-- ENDIF -->{CURRENT_USERNAME_SIMPLE}

Go to advanced search