PHPBB2 info needed from PHPBB3

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

PHPBB2 info needed from PHPBB3

Post by SmileyHax » Sun May 13, 2007 1:12 pm

Ok, I am having a little bit of trouble with my integration of PHPBB3 with GameCMS, I don't know where any of the new values are, and its really making me mad, I have it 'sort of' working some what (http://www.gameinvader.net) as you can see (no its not an advertisement its a broke-dick site lol)
Anyways, I am in need of some answers and maybe somebody here can give me some, I am not asking anyone to code for me, I am not asking anybody to do my work for me, I am only asking for the LOCATION of a few variables that are unknown to me.

Number one!
-------------------
What is the name of the session, on PHPbb2 it was session_pagestart

Number TWO!
-------------------
What is the $user_ip and PAGE_INDEX variable name, and index name now in phpBB3?

Number THREE!
-------------------
I noticed that there is no init_userprefs (at least that I could find)
Number FOUR!
-------------------
I noticed that in phpBB3 there is no extension.inc file, where might the new equivulant of this file be named now if there is one, or has it been killed from the source all together?
Last edited by SmileyHax on Mon May 14, 2007 11:07 am, edited 2 times in total.

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Sun May 13, 2007 1:35 pm

 
Last edited by SmileyHax on Mon May 14, 2007 11:08 am, edited 3 times in total.

User avatar
david63
Registered User
Posts: 16561
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by david63 » Sun May 13, 2007 1:46 pm

Why do you need to change the code?

Perhaps you are not aware that there is no support for mods to the code whilst phpbb3 is in the beta phase.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Sun May 13, 2007 1:48 pm

  
Last edited by SmileyHax on Mon May 14, 2007 11:14 am, edited 2 times in total.

User avatar
david63
Registered User
Posts: 16561
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by david63 » Sun May 13, 2007 1:57 pm

As I said before there is no support for mods during the beta phase. As phpbb3 is not supposed to be being used in a live situation I would suggest that you wait until RC1.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Sun May 13, 2007 2:01 pm

.
Last edited by SmileyHax on Mon May 14, 2007 11:15 am, edited 2 times in total.

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Sun May 13, 2007 2:01 pm

. v
Last edited by SmileyHax on Mon May 14, 2007 11:15 am, edited 1 time in total.

User avatar
Eelke
QA Team
Posts: 2903
Joined: Thu Dec 20, 2001 8:00 am
Location: NL, Bussum
Name: Eelke Blok
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by Eelke » Mon May 14, 2007 9:39 am

I'm sure the mods are really happy about you giving them extra work by making this topic completely useless...

To quote from the other topic you opened about your problem and which is now locked:
Ok, I am having a little bit of trouble with my integration of PHPBB3 with GameCMS, I don't know where any of the new values are, and its really making me mad

As David63 already said twice, there is no support for modifications at this time. This is site policy. It's not to be mean or give people an excuse to whine at you, but because the product is still unstable and giving information about modifications now would only be confusing, because people that, three months down the line, stumble upon information given now, may well find it to be unapplicable to the final version. Also, when the site would allow support of modification, it could well be taken as an official green light to modifying the code, which is not given for the same reasons; the product isn't stable yet.

In short, when modifying phpBB 3 at this time, you're on your own.
Last edited by Eelke on Mon May 14, 2007 9:52 am, edited 3 times in total.

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by karlsemple » Mon May 14, 2007 9:46 am

Eelke wrote: I'm sure the mods are really happy about you giving them extra work by making this topic completely useless...



not really, his other clones have been locked and thus he has done all that for nothing as he still has to use this topic ;)
Image

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Mon May 14, 2007 11:20 am

As David63 already said twice, there is no support for modifications at this time. This is site policy. It's not to be mean or give people an excuse to whine at you


If you would have read the entire paragraph you would have figured out that I do not want support, simply the location of some values, next time please read before you open your mouth and start brown-nosing to other people, thanks

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Mon May 14, 2007 11:25 am

NewPost

User avatar
Eelke
QA Team
Posts: 2903
Joined: Thu Dec 20, 2001 8:00 am
Location: NL, Bussum
Name: Eelke Blok
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by Eelke » Mon May 14, 2007 11:25 am

Whatever you say, mate. Asking for information equals asking for support in my book. But it's not my book that counts, but that of the site administration. Good luck getting what you want, I already took a lot more time than is apparently appreciated to explain why I think you'll need it.

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by karlsemple » Mon May 14, 2007 11:35 am

SmileyHax wrote: Ok, I am having a little bit of trouble with my integration of PHPBB3 with GameCMS, I don't know where any of the new values are, and its really making me mad, I have it 'sort of' working some what (http://www.gameinvader.net) as you can see (no its not an advertisement its a broke-dick site lol)
Anyways, I am in need of some answers and maybe somebody here can give me some, I am not asking anyone to code for me, I am not asking anybody to do my work for me, I am only asking for the LOCATION of a few variables that are unknown to me.

Number one!
-------------------
What is the name of the session, on PHPbb2 it was session_pagestart

Number TWO!
-------------------
What is the $user_ip and PAGE_INDEX variable name, and index name now in phpBB3?

Number THREE!
-------------------
I noticed that there is no init_userprefs (at least that I could find)
Number FOUR!
-------------------
I noticed that in phpBB3 there is no extension.inc file, where might the new equivulant of this file be named now if there is one, or has it been killed from the source all together?

  1. Session are started using

    // Start session management
    $user->session_begin();
  2. PAGE_INDEX was simply a defined variable in the constants.php to tell phpBB2 what page you were on, phpBB3 handles this completely differently, it actually works out the page from the file name I believe although it is not something I have actually looked into.
  3. I believe the userdata is now part of the session setup after the start of the session there is also a line which sets up all the user auth permissions.

    Code: Select all

    // Start session management
    $user->session_begin();
    $auth->acl($user->data);
    $user->setup('viewforum');
Image

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Mon May 14, 2007 11:40 am

nice, thank you very much karlsemple

User avatar
SmileyHax
Registered User
Posts: 13
Joined: Sun May 13, 2007 1:00 pm
Location: Bethel, CT
Contact:

Re: PHPBB2 info needed from PHPBB3

Post by SmileyHax » Mon May 14, 2007 11:45 am

does init_userprefs still exist, I was trying to call into it and find it, and looked around some main files, and includes but did not find it anywhere

Locked

Return to “[3.0.x] Support Forum”