Sorry dan27 I forgot about this! Heres the code you need to change:Dan27 wrote:I have just put this MOD on and it is great!
I have used some smilies found in the Style Database
IS it possible though, because I have mine set to both that is says this:
So I have it like above, because at the moment it is:Code: Select all
Mood: Happy [Picture here]
Thanks, Dan.Code: Select all
Mood: [Picture here] Happy
Code: Select all
$mood = '<img src="' . $phpbb_root_path . 'images/moods/' . $row['mood_image'] . '" alt="' . $row['mood_name'] . '" title="' . $row['mood_name'] . '" />' . $row['mood_name'] . '';
Code: Select all
$mood = $row['mood_name'] . '<br /><img src="' . $phpbb_root_path . 'images/moods/' . $row['mood_image'] . '" alt="' . $row['mood_name'] . '" title="' . $row['mood_name'] . '" />';
Try going into the installer and running uninstall the install again.Abera wrote:This is what I get. I can not install, nor uninstall. Now what? I used Automod and then ran the install.php that took it to UMIL . It says that it installed, but it didn't and Automod said it did.
phpBB Mood Swings
PHP Version: 5.2.9
DBMS: MySQL(i) 5.0.75-community-log
phpBB3 Version: 3.0.4
Test images inserted.
SQL ERROR Table 'g_phpbb.MOODS_DATA_TABLE' doesn't exist
When I try to uninstall again I get this:Xanta Media wrote:Try going into the installer and running uninstall the install again.Abera wrote:This is what I get. I can not install, nor uninstall. Now what? I used Automod and then ran the install.php that took it to UMIL . It says that it installed, but it didn't and Automod said it did.
phpBB Mood Swings
PHP Version: 5.2.9
DBMS: MySQL(i) 5.0.75-community-log
phpBB3 Version: 3.0.4
Test images inserted.
SQL ERROR Table 'g_phpbb.MOODS_DATA_TABLE' doesn't exist
See the post 2 above yours, I have also tested it and it works fine.xalexlx wrote:will this work for 3.0.5
This will not work because there is no record of the time the mood is updated and I have no plans to add any feature like that.sitwi wrote:This would be fantastic if the front page showed the latest updated "moods".
I have a portal where it would make a great block.
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH'
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3836: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3838: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3839: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3840: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256)
Did you read the line in the post you downloaded it from and in the install instructions that tells you that you need update the mod to v1.0.1 before you install the add-on?sixtvs wrote:I installed the add-on so that the image will show up on the UCP. Unfortunately, this is what I get above my header.
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 44: Use of undefined constant USER_MOOD_TEXT - assumed 'USER_MOOD_TEXT' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 48: Use of undefined constant USER_MOOD_IMAGE - assumed 'USER_MOOD_IMAGE' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 52: Use of undefined constant USER_MOOD_BOTH - assumed 'USER_MOOD_BOTH' [phpBB Debug] PHP Notice: in file /includes/functions_mood.php on line 57: Undefined variable: mood [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3836: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3838: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3839: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 3840: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3256)
Now I remember. My apologies. You see, what I did was remove the mod and then updated the php and then reloaded it again. Sorry.Xanta Media wrote:Did you read the line in the post you downloaded it from and in the install instructions that tells you that you need update the mod to v1.0.1 before you install the add-on?
The update is available on my site, it was submitted for validation here about a month ago so won't be available here until that is done.