Search found 129 matches

by Disturbed One
Fri Aug 05, 2005 10:48 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Admin Update Feature Tweak
Replies: 20
Views: 1386

Admin Update Feature Tweak

I used the phpBB code for the admin update feature and added this for my Invision View Profile MOD. Here is what I have: admin/index.php $current_version = explode('.', '1' . $board_config['ivp_version']); $minor_revision = (int) $current_version[1]; $errno = 0; $errstr = $invision_version_info = ''...
by Disturbed One
Fri Aug 05, 2005 3:40 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: New MOD I'm Developing, Problem...
Replies: 5
Views: 524

It was a copy error. It was correct in my source code. Thanks for looking out for me, though.
by Disturbed One
Fri Aug 05, 2005 3:31 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

I fixed the problem. Thanks for your help.
by Disturbed One
Fri Aug 05, 2005 3:13 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

Do you want me to zip all of the current code for the whole MOD?
by Disturbed One
Fri Aug 05, 2005 2:28 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

Ok. In index.php it was like this: include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/advanced_welcome.'.$phpEx); Now when I made it like this: include($phpbb_root_path . 'includes/advanced_welcome.'.$phpEx); $template->pparse('body'); it looks like http://anthonycoy....
by Disturbed One
Fri Aug 05, 2005 2:26 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

It gave me this when I made the code echo var_dump($template); if( $advanced_welcome['guest_enable']) { $template->assign_block_vars('welcome_guests', array NULL Fatal error: Call to a member function on a non-object in /home/hantho07/public_html/modtest/includes/advanced_welcome.php on line 24
by Disturbed One
Fri Aug 05, 2005 2:17 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

Do what?

This file is included in both page_header.php and index.php using

Code: Select all

include($phpbb_root_path . 'includes/advanced_welcome.'.$phpEx);
by Disturbed One
Fri Aug 05, 2005 2:03 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

Here is the whole file. <?php /*************************************************************************** * Advanced Welcome MOD * ----------------------------- * advanced_welcome.php * --------------------- * Author : Disturbed One (Anthony Coy) * Version : 0.1.0 Beta 1 * Email : anthony@anthonyco...
by Disturbed One
Fri Aug 05, 2005 1:30 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Fatal error: Call to a member function on a non-object in /h
Replies: 9
Views: 541

Fatal error: Call to a member function on a non-object in /h

I made a new MOD, and I get this error:
Fatal error: Call to a member function on a non-object in /home/hantho07/public_html/modtest/includes/advanced_welcome.php on line 23

Line number 23 is

Code: Select all

if( $advanced_welcome['guest_enable']) 
What's wrong with this line?
by Disturbed One
Tue Aug 02, 2005 4:26 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: New MOD I'm Developing, Problem...
Replies: 5
Views: 524

Thanks!

I feel so stupid. I had this same problem with the last MOD I made, and it was fixed the same way.
by Disturbed One
Tue Aug 02, 2005 4:02 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: New MOD I'm Developing, Problem...
Replies: 5
Views: 524

New MOD I'm Developing, Problem...

Hello, I will start out explaining the functions. The MOD get's enabled in the ACP to allow it to show. The code that gets visible is in pahe_header.php. include($phpbb_root_path . 'includes/advanced_welcome.'.$phpEx); advanced_welcome.php $sql = "SELECT * FROM " . ADVANCED_WELCOME_TABLE; ...
by Disturbed One
Sun Jul 24, 2005 3:41 pm
Forum: 2.0.x Support Forum
Topic: Post in Reply to a Guest
Replies: 6
Views: 95

tunafish wrote: ok this is a longshot, open phpmyadmin and select all tables and do a repair on them
I'm trying this right now. I have 119 tables...
EDIT: I repaired all tables, and it does not work. SHould I try optimizing?
by Disturbed One
Sun Jul 24, 2005 3:40 pm
Forum: 2.0.x Support Forum
Topic: Post in Reply to a Guest
Replies: 6
Views: 95

URL: http://anthonycoy.com/forum Template(s) used: Aphrodite Any and all MODs: I don't have all recorded, but most are on http://anthonycoy.com/forum/hacks_list.php Do you use a port of phpBB: No Version of phpBB: 2.0.17 Version of PHP: 4.3.10 Which database server and version: MySQL v4.0.22 Host: ...
by Disturbed One
Sun Jul 24, 2005 3:28 pm
Forum: 2.0.x Support Forum
Topic: Post in Reply to a Guest
Replies: 6
Views: 95

MySQL said: Documentation
#1062 - Duplicate entry '-1' for key 1

I'll fill out the support template.
by Disturbed One
Sun Jul 24, 2005 3:20 pm
Forum: 2.0.x Support Forum
Topic: Post in Reply to a Guest
Replies: 6
Views: 95

Post in Reply to a Guest

Whenever I post a reply to a guest, I get this error: User does not exist.
My post is recorded if I go back to the topic, but on the index, it does not show that I've posted in the last post box.
What could be wrong?

Go to advanced search