Search found 73 matches

by Markstar
Sat Jul 30, 2011 1:11 pm
Forum: [3.0.x] Support Forum
Topic: How does email work when subscribing?
Replies: 1
Views: 561

Re: How does email work when subscribing?

I edited the above question, since I realized that emails will obviously be sent individually if they contain the user's name, etc.. :oops:
by Markstar
Fri Jul 29, 2011 7:05 am
Forum: [3.0.x] Support Forum
Topic: How does email work when subscribing?
Replies: 1
Views: 561

How does email work when subscribing?

Hi, just a short question: If 10 people subscribe to a topic and another person posts there, is there a way so that phpBB will send out just one email with multiple recipients instead of a personalized email for each subscriber? The reason I'm asking is that I think I'll use googlemail for my privat...
by Markstar
Sun Jul 17, 2011 6:57 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

Another thing that I find interesting: While going through the code again (now that it is working), I thought I could remove some stuff, i.e.: if (!defined('IN_PHPBB') || !defined('ROOT_PATH')) { exit(); } and page_header('Title Here'); Interestingly the first one can be removed (since I have define...
by Markstar
Sat Jul 16, 2011 9:09 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

my test.php is in /test/ and phpbb is in /phpbb3_test/ . The only change I made to the PHP file was to set $phpbb_root_path to '../phpbb3_test/'. The html template file should be in /styles/prosilver/template/ within the forum directory Yeah - it works!!! :P It was the combination of adding the "$t...
by Markstar
Sat Jul 16, 2011 7:12 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

Odd, that test.php works OK for me. I get Thanks for logging in, admin Your user group is 5 Logout [ admin ] That is indeed strange. Where is your test.php located? Remember that my test.php and test.html are in http://192.168.1.3/about/ and the forum is in http://192.168.1.3/forum/ Did you change ...
by Markstar
Sat Jul 16, 2011 6:26 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

You need to call $template->display('body'); Hmm, that makes sense, I guess. But if I add this line, I get an error: "The page cannot be displayed because an internal server error has occurred." This is the file test.php: <?php define('IN_PHPBB', true); define('ROOT_PATH', "../forum"); $forumurl = ...
by Markstar
Sat Jul 16, 2011 2:07 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

If your new PHP file in placed in "folder 1", then the phpBB root path line will look like this: $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../forum/'; It still doesn't work. :( I tried several things: 1) Replace my line with the one above: No change. The output is still t...
by Markstar
Fri Jul 15, 2011 8:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

Your HTML must be in a separate file and placed in the /styles/your_style/template/ directory. Have a read through this KB artle for informationa bout accing custom pages to phBB. Ahh, interesting. No, I did not see that KB article. All I saw was this one: KB - phpBB3 Sessions Integration (this is ...
by Markstar
Fri Jul 15, 2011 6:07 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

What are you confused about? Well, the code is not working. :oops: This is the file from the OP with your code added: <?php define('IN_PHPBB', true); define('ROOT_PATH', "../forum"); $forumurl = 'http://192.168.56.101/forum/'; $newurl = 'http://192.168.56.101/about/'; if (!defined('IN_PHPBB') || !d...
by Markstar
Fri Jul 15, 2011 4:56 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

include($phpbb_root_path . 'common.' . $phpEx); Including common.php in your file allows you to use other parts of phpBB (the DBAL, template vars, etc). This includes functions.php (which is why we are adding the code to that file). If you look at the code in the OP, you'll see that line is already...
by Markstar
Fri Jul 15, 2011 2:44 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

@t_backoff: Thank you for your reply! Do I understand correctly that this creates an array with template-variables for each group that the user is in (I'm embarrassed to say that I don't understand a single command after the first if-clause :oops: )? And your solution seems to tie in with the second...
by Markstar
Fri Jul 15, 2011 2:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Re: Some questions about phpBB variables

Alright, I took a second look at the database concerning my first question, but I'm more confused now than before: In the the users table has a column group_id , but there is also a table user_group , which has one entry for each user_id and group_id. E.g., a registered user, who is also in my "Frie...
by Markstar
Fri Jul 15, 2011 10:13 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Some questions about phpBB variables
Replies: 19
Views: 931

Some questions about phpBB variables

Hi, I would like to have integrate phpBB3 sessions into the rest of my website and have some (hopefully easily answerable) questions: 1) I would like to have a group called "Friends & Family" and check for this in order to display extra content. From what I understand (in the KB article ), I can que...
by Markstar
Fri Jul 15, 2011 7:43 am
Forum: [3.0.x] Support Forum
Topic: Cookie settings? (SID in URL)
Replies: 3
Views: 696

Re: Cookie settings? (SID in URL)

Try this: Cookie domain: 192.168.56.101 Cookie name: phpbb_k6ike Cookie path: / Cookie secure: Disabled Fixing incorrect cookie settings Thank you! It did not occur to me to leave the dot, since the KB-article said to use it if the forum in in a sub-folder. :oops: Again, thank you, now I can move o...
by Markstar
Fri Jul 15, 2011 7:19 am
Forum: [3.0.x] Support Forum
Topic: Cookie settings? (SID in URL)
Replies: 3
Views: 696

Cookie settings? (SID in URL)

Hi, I am trying to get phpBB to run on my local home server, which currently resides in a VirtualBox environment. While the forum works fine, I have noticed 2 things: 1) When I'm logged in, the SID gets displayed in the URL (e.g. http://192.168.56.101/forum/index.php?sid=caa45... ). 2) If I switch t...

Go to advanced search