Search found 8 matches

by ManagingMeals
Fri Feb 06, 2009 12:53 am
Forum: phpBB 3.0.x MOD/Style Support
Topic: Style do not keep changes made
Replies: 2
Views: 5401

Re: Style do not keep changes made

ctrl f5 forces a browser to clear all cache for that page. It sounds like your page has been correctly changed but you still had a cached version. If you would like you can completely clear your cache either through your browser or with a program like ccleaner. Or if you wait long enough it will eve...
by ManagingMeals
Fri Feb 06, 2009 12:49 am
Forum: phpBB 3.0.x MOD/Style Support
Topic: use phpbb3's mail function on seperate page
Replies: 0
Views: 3757

use phpbb3's mail function on seperate page

I have my site built on top of phpbb and would like to have a "mail a friend" feature. I can set up the form and post data just fine, what im looking for is a function that includes the needed phpbbs files and then submits the email to be sent out using phpbb's smtp settings. Any functions...
by ManagingMeals
Fri Feb 06, 2009 12:44 am
Forum: phpBB 3.0.x MOD/Style Support
Topic: Created simple form - need to pull user name
Replies: 2
Views: 5054

Re: Created simple form - need to pull user name

The username is stored in the user array. Im not sure that you can do this in straight html... define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : 'forum/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start ...
by ManagingMeals
Wed Feb 04, 2009 2:56 pm
Forum: phpBB 3.0.x MOD/Style Support
Topic: get pm new messages count from outside phpbb
Replies: 2
Views: 8249

Re: get pm new messages count from outside phpbb

Thank you. I was able to use the $user->data['user_new_privmsg']; value. Since its in the user table it was already in the array ready for me to use.

So now i've mimicked the process that the forum uses.

Thanks again and hopefully anyone else doing this will be able to find this thread.
by ManagingMeals
Wed Feb 04, 2009 2:29 am
Forum: phpBB 3.0.x MOD/Style Support
Topic: get pm new messages count from outside phpbb
Replies: 2
Views: 8249

get pm new messages count from outside phpbb

Hey guys, I think this should be pretty easy but i cant seem to find anything on the forums. I'm building my site on top of phpbb and would like to display if the users have any new messages on the index, exactly like on the forum index. I thought i could do a query to count the messages in the priv...
by ManagingMeals
Mon Jan 26, 2009 3:16 pm
Forum: [3.0/Olympus] Discussion
Topic: Programmatic Create Private Message
Replies: 4
Views: 15120

Re: Programmatic Create Private Message

Ah, Too early.

Thanks i got it to work
by ManagingMeals
Mon Jan 26, 2009 1:22 pm
Forum: [3.0/Olympus] Discussion
Topic: Programmatic Create Private Message
Replies: 4
Views: 15120

Re: Programmatic Create Private Message

Thanks, that seems to be the right direction, however. I keep getting a page with the output below. NO_RECIPIENT I also noticed that you have a comma at the end of the array, did you cut out unneeded fields? Here is my code. include_once($phpbb_root_path . 'includes/functions_privmsgs.' . $phpEx); i...
by ManagingMeals
Mon Jan 26, 2009 3:35 am
Forum: [3.0/Olympus] Discussion
Topic: Programmatic Create Private Message
Replies: 4
Views: 15120

Programmatic Create Private Message

Id like to integrate pm's into my site a little bit more (i have a site using phpbb's login, my site built on top is coded from scratch). I would like to add a report feature that sends me (the admin) a pm every time a user reports an article. So i wrote a little function. And set up the report link...