Search found 6 matches

by denvy
Tue Apr 28, 2015 11:38 pm
Forum: Extension Writers Discussion
Topic: Retreive userid from username
Replies: 2
Views: 360

Retreive userid from username

Hi as the title suggests, is there a built in function I can use to retrieve a userid from a username?

I thought this function might just to that,

function user_get_id_name(&$user_id_ary, &$username_ary, $user_type = false)

but instead it returns a bool true/false. Not the actual userid?
by denvy
Tue Apr 28, 2015 1:30 am
Forum: Extension Writers Discussion
Topic: External registration
Replies: 11
Views: 1453

Re: External registration

Excellent!! After 12 hours of searching, hit the jackpot. One post talking about why phpBB wouldn't co-operate when trying to connect externally. As soon as I added the code bam, everything's working along with several other functions such as checking for user too etc. The rest should be easy to cod...
by denvy
Tue Apr 28, 2015 12:54 am
Forum: Extension Writers Discussion
Topic: External registration
Replies: 11
Views: 1453

Re: External registration

Thanks for your help anyway. I tried that and the error came up with "Call to a member function header() on null " as soon as the session code is added along with "You must use the request class or request_var() to access input data." in the PHP log, I was hoping that there would be an easy way of a...
by denvy
Mon Apr 27, 2015 11:39 pm
Forum: Extension Writers Discussion
Topic: External registration
Replies: 11
Views: 1453

Re: External registration

thanks for that, I think I need a little more guidance how this works. Where would this piece of code reside on my Laravel app or in phpBB root folder? In order to send a request from my app to phpBB must I include necessary phpBB files such? At the moment I am struggling how to make the initial con...
by denvy
Mon Apr 27, 2015 10:00 pm
Forum: Extension Writers Discussion
Topic: External registration
Replies: 11
Views: 1453

Re: External registration

Wolfsblvt wrote:You mean you want to create an account in your phpBB board when someone registers on your main site?
Hi thanks for getting back to me yes that's right
by denvy
Mon Apr 27, 2015 8:18 pm
Forum: Extension Writers Discussion
Topic: External registration
Replies: 11
Views: 1453

External registration

Hi all, this is my first post and started to explore the phpBB world and was looking for some advice on something I was looking to do. I have built a Laravel app which is my main site, I have installed phpBB on a subdomain at a different server location. Both working fine separately, registration on...

Go to advanced search