Search found 73 matches

by shahriar
Fri Dec 29, 2017 9:51 pm
Forum: phpBB Custom Coding
Topic: add function to notification manager
Replies: 0
Views: 415

add function to notification manager

Hi, I am working on a project to add firebase notification to the forum. I have a .php file which checks the firebase id against the username and send notification. My question is, in the notification manager, where should i hook this code so that it passes on the username for each notification sent...
by shahriar
Mon Dec 11, 2017 12:18 am
Forum: phpBB Custom Coding
Topic: Making post from external page
Replies: 5
Views: 884

Re: Making post from external page

Hi,

Thanks for the reply. I tried removing "mixed" from the code. but still it didnt work. please help.

Thanks and regards
by shahriar
Mon Dec 04, 2017 1:14 am
Forum: phpBB Custom Coding
Topic: Making post from external page
Replies: 5
Views: 884

Re: Making post from external page

Hi, Thanks for your reply. This is my code <?php include "./forum/includes/functions_posting.php"; $subject = 'This is a test'; $message = 'This is the body'; $mode = 'post'; $topic_type = 'POST_NORMAL'; $username = '*****'; $data = array( // General Posting Settings 'forum_id' => 5, // The forum ID...
by shahriar
Sat Dec 02, 2017 11:47 pm
Forum: phpBB Custom Coding
Topic: Making post from external page
Replies: 5
Views: 884

Making post from external page

Hi,

I want to make a page on an external page from which user will be able to make a post (including attachment) to a forum. please help where i should start.

Thanks and regards
shahriar
by shahriar
Fri Dec 25, 2015 5:33 am
Forum: [3.1.x] Support Forum
Topic: Error 500 with Oauth after server change
Replies: 0
Views: 113

Error 500 with Oauth after server change

Dear friends i had been using google and facebook aouth for quite a while without any problem. Recently i have moved my forum to another host. Since then, whenever im trying to login with OAUTH, im getting error 500. I have checked everything that comes into my mind. cleared the cache sever times wi...
by shahriar
Fri Aug 21, 2015 1:51 pm
Forum: Extension Requests
Topic: Posted From A Mobile Device
Replies: 1
Views: 57

Posted From A Mobile Device

Hi

is there anyway to make a default signature (e.g Posted From A Mobile Device) when user uses a mobile device?
by shahriar
Thu Aug 20, 2015 11:41 am
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

OK i surrender. i spend full day without a luck. first i tried to pass only three variables (poster name, subject, and URL) but i cant find any tutorial on placing those variable in the listener. then i tried to make a new notification method. simply added the detail in services.yml and then placing...
by shahriar
Wed Aug 19, 2015 4:23 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

hi again. in last few min, i realized that phpbb already have two classes for my requirement

post.php and topic.php

i can alter the codes but simply want to include a php file in addition to those classes.

is there any guide on how to extend a notification class?

thanks!!
by shahriar
Wed Aug 19, 2015 3:56 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

no no.. i wont be actually using the constant. im just learning step by step. My ultimate aim is to get few variable to an external page; the userid making the post, the post id, topic id, forum id, post title etc. you are right. i have used two events 'core.approve_posts_after' => 'post_approved', ...
by shahriar
Wed Aug 19, 2015 3:20 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

ookkkkk. Thanks!!

Ok the problem solved. i tried simply placing the variables with constants. the system triggered the extension. But now a new problem. the extension seems to be in a loop and it kept on sending emails :cry:

do i need to close anything?
by shahriar
Tue Aug 18, 2015 5:37 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

okk. Thanks for the support so far. i have started developing my first extension. the extension appeared and i have enabled it. here is my listener <?php namespace bts\notification\event; use Symfony\Component\EventDispatcher\EventSubscriberInterface; $to="xxxx@gmail.com"; $subject="FromExtension"; ...
by shahriar
Sun Aug 02, 2015 3:15 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Re: Execute a php file on each new post

Any helpppp plzzzzzz
by shahriar
Mon Jul 27, 2015 3:10 pm
Forum: Extension Writers Discussion
Topic: Execute a php file on each new post
Replies: 12
Views: 556

Execute a php file on each new post

Hi,

I need to run a PHP file each time a new post is made / approved in any forum. how can i do that please? i think i cant do that via trigger. Please help

Thanks in advance

regd
shahriar
by shahriar
Sat Jul 25, 2015 4:11 pm
Forum: Extension Writers Discussion
Topic: Do something on each new post
Replies: 3
Views: 130

Re: Do something on each new post

Hi
Thanks for ur answer. Sorry i dont have much knowledge on developing extension. Is there any such extension already.
I have checked the event list. Which event should we consider here
by shahriar
Sat Jul 25, 2015 2:02 pm
Forum: [3.1.x] Support Forum
Topic: navbar on external page
Replies: 2
Views: 73

navbar on external page

Hi

I need to show the navbar on an non phpbb page. How can i do that. Please help

Go to advanced search