Search found 53 matches

by hp3
Fri Feb 26, 2010 4:37 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: preven hidden forums posts from appearing on custom php page
Replies: 6
Views: 796

Re: preven hidden forums posts from appearing on custom php

Thanks for the suggestions. I ended up using the following code to determine which forums that have f_read = 0 for the current user. Then created the NOT IN clause for the where statement. This works as I intended. $forum_list = $auth->acl_getf('f_read'); // returns 2 dim array forum_list[forum_id][...
by hp3
Fri Feb 26, 2010 2:21 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: preven hidden forums posts from appearing on custom php page
Replies: 6
Views: 796

Re: preven hidden forums posts from appearing on custom php

/* BEGIN phpBB code */ define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->...
by hp3
Fri Feb 26, 2010 1:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: preven hidden forums posts from appearing on custom php page
Replies: 6
Views: 796

Re: preven hidden forums posts from appearing on custom php

Not sure what you mean. The phpbb specific code for the custom page has a line for: $auth->acl($user->data); So I assume there is the $auth object. You mention "post up the files". Not sure what this means or why I would use bbcodes. I need to prevent users who are not admin and mods from ...
by hp3
Fri Feb 26, 2010 2:23 am
Forum: [3.0.x] MOD Writers Discussion
Topic: preven hidden forums posts from appearing on custom php page
Replies: 6
Views: 796

preven hidden forums posts from appearing on custom php page

I have a several forums that are only accessible by admin and mods (all other groups have no access to these forums). I have a custom php page that lists the most recent posts from all forums. Posts in the hidden forums appear in the most recent posts on my custom php page. I would like to prevent p...
by hp3
Thu Feb 18, 2010 5:04 pm
Forum: [3.0.x] Support Forum
Topic: enable poll vote once per day
Replies: 1
Views: 147

enable poll vote once per day

Is there any way to configure a poll to limit voting by a member to once per day? It seems there are only two options, vote once only, or vote more than once. I do not see an option to limit voting during a time period, like 24 hours since last vote. If this is not possible within the core phpbb pol...
by hp3
Wed Dec 02, 2009 10:24 pm
Forum: [3.0.x] Support Forum
Topic: login under a user id or get user password for login purpose
Replies: 5
Views: 199

Re: login under a user id or get user password for login purpose

thanks for the tip on the information page, that was just what I needed.
by hp3
Wed Dec 02, 2009 9:20 pm
Forum: [3.0.x] Support Forum
Topic: login under a user id or get user password for login purpose
Replies: 5
Views: 199

Re: login under a user id or get user password for login purpose

I have a special modification of the posting.php script that we are using to collect information for a contest using a form that has more fields than the typical topic, body form. Some times the user does not fill out the form correctly and our modification does not correctly save the data. So eithe...
by hp3
Wed Dec 02, 2009 8:33 pm
Forum: [3.0.x] Support Forum
Topic: login under a user id or get user password for login purpose
Replies: 5
Views: 199

login under a user id or get user password for login purpose

I have an unusual situation where i need to login as a specific user. One way I can do this is to change the user's password in the ACP and then login with the new password and id. However I would like to avoid changing this user's password if I can avoid that. Is there a way for the forum admin use...
by hp3
Fri Nov 20, 2009 8:39 pm
Forum: [3.0.x] Support Forum
Topic: db class and sql error
Replies: 4
Views: 120

Re: db class and sql error

thanks again for your help.
by hp3
Fri Nov 20, 2009 8:36 pm
Forum: [3.0.x] Support Forum
Topic: db class and sql error
Replies: 4
Views: 120

Re: db class and sql error

thanks for pointing out the utf8 collation issue. The table in question was not collated with utf8. I notice that, when viewing the database from phpMyAdmin, that many of the fields in phpbb tables are collated using either utf8_bin or utf8_unicode_ci. Is there a significant difference between using...
by hp3
Fri Nov 20, 2009 8:12 pm
Forum: [3.0.x] Support Forum
Topic: db class and sql error
Replies: 4
Views: 120

db class and sql error

I am using the phpbb db class to save user submitted data collected from a form on a custom page into a custom non phpbb table. I am trying to figure out the source of an sql error. A user recently submitted some data and got the following error message: SQL ERROR [ mysqli ] Incorrect string value: ...
by hp3
Mon Nov 09, 2009 9:35 pm
Forum: [3.0.x] Support Forum
Topic: mass pm with message only no email
Replies: 8
Views: 166

Re: mass pm with message only no email

I suppose I could also edit the value in the user database to reset all pre-existing members if we need to. But your suggestion to disable board email before sending out mass pm will help to prevent the bulk email issue.

Thanks for your help.
by hp3
Mon Nov 09, 2009 9:12 pm
Forum: [3.0.x] Support Forum
Topic: mass pm with message only no email
Replies: 8
Views: 166

Re: mass pm with message only no email

ok thanks for this information.

is there a way to set no as the default?
by hp3
Mon Nov 09, 2009 7:56 pm
Forum: [3.0.x] Support Forum
Topic: mass pm with message only no email
Replies: 8
Views: 166

Re: mass pm with message only no email

I spoke with my team member who claims they used the my profile to send out pms, not the mass email option in the ACP. However there were many emails generated. So, for a given user, if under "my profile" -> board preferences -> "Notify me on new private messages" is set to yes t...
by hp3
Mon Nov 09, 2009 5:30 pm
Forum: [3.0.x] Support Forum
Topic: mass pm with message only no email
Replies: 8
Views: 166

Re: mass pm with message only no email

It may be that one of our team used the mass email feature from the ACP instead of mass pm. I was under the impression that mass pm would also generate an email. From what you are saying if I were logged in as an admin user and selected registered users to receive a pm sent from the "my profile...

Go to advanced search