Search found 69 matches

by cheechm
Fri Apr 18, 2008 4:43 pm
Forum: [3.0.x] MOD Requests
Topic: Automatically create template
Replies: 9
Views: 425

Re: Automatically create template

It is for "stupid" people. (Hate to say it like that). I am designing an application that will allow someone to make a new page and choose what is on it.
by cheechm
Thu Apr 17, 2008 5:25 pm
Forum: [3.0.x] MOD Requests
Topic: Automatically create template
Replies: 9
Views: 425

Re: Automatically create template

This is more of a discussion. It is:
Is it possible? and if so how.

Thanks
by cheechm
Wed Apr 16, 2008 9:50 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Optimize postcount query
Replies: 4
Views: 176

Re: Optimize postcount query

Something like this?

Code: Select all

   $result = $db->sql_query($sql);
   if( $result )
   {
      $row = $db->sql_fetchrow($result);
      $new_posts_count = $row['total'];
      
   }
Do you really need:

Code: Select all

      AND ' . $db->sql_in_set('forum_id', $forum_id_ary)
      . $sql_where . '';
by cheechm
Wed Apr 16, 2008 9:33 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Login Code Errors - Help!
Replies: 3
Views: 357

Re: Login Code Errors - Help!

Try this code: <?php define('IN_PHPBB', true); //replace $phpbb_root_path with path to your forum $phpbb_root_path = 'forums/'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $us...
by cheechm
Wed Apr 16, 2008 6:41 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Post Editor
Replies: 4
Views: 460

Re: Post Editor

Ooops, sorry. Skipped over that one.
by cheechm
Wed Apr 16, 2008 5:45 pm
Forum: [3.0.x] MOD Requests
Topic: Automatically create template
Replies: 9
Views: 425

Re: Automatically create template

It will be Admin only.
by cheechm
Wed Apr 16, 2008 5:44 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Post Editor
Replies: 4
Views: 460

Re: Post Editor

That is what I want to implement. Which template file is it in?

Thanks
by cheechm
Wed Apr 16, 2008 4:20 pm
Forum: [3.0.x] MOD Requests
Topic: Automatically create template
Replies: 9
Views: 425

Re: Automatically create template

Bumpity ;)
by cheechm
Wed Apr 16, 2008 4:17 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Post Editor
Replies: 4
Views: 460

Post Editor

Hi, I would like to use the phpBB post editor (the thing you write your posts with). How can I do this? I searched phpBB.com and Google to no avail. Using this didn't work for me: http://olympuswiki.naderman.de/Parsing_text Here is what I have so far: (Looks like the decoding/encoding isn't working)...
by cheechm
Tue Apr 15, 2008 9:35 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

Finally.. SQL wasn't being executed, even though I had the function.. I had this: if ($post_id) { if (!check_form_key($form_name)) { trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING); } if (!$post_id) { trigger_error($user->lang['MUST_SELECT_POST'] . adm_bac...
by cheechm
Tue Apr 15, 2008 9:18 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

But that isnt' the point. It still doesn't update.
by cheechm
Tue Apr 15, 2008 8:06 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

Yeh, but still doesn't update..
by cheechm
Tue Apr 15, 2008 3:47 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

Anyone? I have tried everything.

Thanks
by cheechm
Mon Apr 14, 2008 11:42 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

Throws invalid form. Something to do with $form_key.
Thanks
by cheechm
Mon Apr 14, 2008 8:56 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Wrong action
Replies: 31
Views: 897

Re: Wrong action

Updated source code: <?php /** * * @package acp * @author Nick Rhodes * @copyright 2008 * */ /** * @package acp */ class acp_news { var $u_action; function main($id, $mode) { global $db, $user, $auth, $template; global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx; $user->add_lang('mods/news'...

Go to advanced search