[2.0.8] Welcome & Avatar On phpBB Index

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
42
58%
Very Good
14
19%
Good
8
11%
Fair
2
3%
Poor
6
8%
 
Total votes: 72

User avatar
Rothi
Registered User
Posts: 65
Joined: Wed Jun 23, 2004 3:03 pm
Location: Penssylvania, USA
Contact:

Post by Rothi »

8O 8O 8O 8O 8O 8O

no is replying :cry: :cry: :cry:

HELP HELP ME WITH THE UPPER PROBLEM..... :roll:

:( :( :(
RedPitch
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos »

Maybe i'm missing something here, but i changed your code

Code: Select all

    if ($avatar_img == '')
    {
        //
        // Set up style
        //
        if ( !$board_config['override_user_style'] )
        {
            if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
            {
                $template_name = get_template_name($board_config['default_style']);
                $avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
            }
        }
        else
        {
            $avatar_img = '<img src="templates/subSilver/images/whosonline.gif" >';
        }
    }

with

Code: Select all

    if ($avatar_img == '')
    {
        //
        // Set up style
        //
        if ( !$board_config['override_user_style'] )
        {
            if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
            {
                $template_name = get_template_name($userdata['user_style']);
                $avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
            }
            else
            {
                $template_name = get_template_name($board_config['default_style']);
                $avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >';
            }
        }
        else
        {
			$template_name = get_template_name($board_config['default_style']);
			$avatar_img = '<img src="'. $phpbb_root_path . 'templates/' . $template_name . '/images/whosonline.gif" >'; 
        }
    }
and now :

1. Guest users get the default board style "whosonline" image.
2. If override_user_style is not enabled, registered users get their own board style "whosonline" image (if they don't have an avatar).
3. If override_user_style is enabled, registered users get the default board style "whosonline" image (if they don't have an avatar).
ohfishing
I've Been Banned!
Posts: 95
Joined: Thu Sep 23, 2004 1:20 am

Post by ohfishing »

did i do this right? > http://ohfishing.com/stl-web/bulletin/bb/index.php I believe I have some other problems on the bottom of my page and Im trouble shooting... does this welcome + avatar look right? http://ohfishing.com/stl-web/bulletin/bb/index.php
ohfishing
I've Been Banned!
Posts: 95
Joined: Thu Sep 23, 2004 1:20 am

Post by ohfishing »

I attempted to install this on 2.0.10 did i do it right? http://ohfishing.com/stl-web/bulletin/phpBB2/index.php have a template conflict subsilver to softblue ... I could not find matching lines of code but I made due ... is it right?
User avatar
Shadow007
Registered User
Posts: 5
Joined: Mon Sep 27, 2004 1:24 pm
Location: Belgique
Contact:

Post by Shadow007 »

how one download??

I the MOD does not include/understand
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: Shadow007: Go to page 1 of this topic. You will find a link there to download mods.
User avatar
Shadow007
Registered User
Posts: 5
Joined: Mon Sep 27, 2004 1:24 pm
Location: Belgique
Contact:

Post by Shadow007 »

yes but it have MOD there how one opens it???
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

Save it to your computer. It is a text document. Open it up with your favorite text editor and then follow the instructions contained within.
Imperia
Registered User
Posts: 5
Joined: Fri Feb 27, 2004 1:15 am

Problem

Post by Imperia »

I installed this mod with the Chronicles Template on 2.0.10 however it's not displaying. No Welcome Box, No Avatar. It's as if it doesn't work. Can anyone help me on this?
gilraen
Registered User
Posts: 30
Joined: Sun Oct 10, 2004 8:06 pm
Location: At the computer

Post by gilraen »

Hi, I installed this today and I'm getting
Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /home/waywards/public_html/forums/includes/functions.php:816) in /home/waywards/public_html/forums/includes/page_header.php on line 480
at the top of my pages. Although to the best of my knowledge (aka memory) neither of these files were edited when I installed this mod, everthing was fine before.

I noticed someone else had a similar problem (but different lines and fewer of the errors) on the previous page....

Can anyone help?
User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

:arrow: gilraen: You probably have a typo in your overall_header.php. Take a look there.
gilraen
Registered User
Posts: 30
Joined: Sun Oct 10, 2004 8:06 pm
Location: At the computer

Post by gilraen »

lol... I don't even know what I would be looking for... I'm a php newbie and know nothing about javascript....
Sammyed
Registered User
Posts: 186
Joined: Fri Mar 12, 2004 11:07 pm
Contact:

Post by Sammyed »

Edited...NM fixed.
ThorRune
Registered User
Posts: 1
Joined: Mon Dec 06, 2004 1:21 pm
Location: Norway
Contact:

Post by ThorRune »

Blah... I installed the mod, first the forum was working perfectly... Then i installed this mod, and i get error messages.
Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/zetor200/public_html/purno/language/lang_english/lang_main.php:1035) in /home/zetor200/public_html/purno/includes/page_header.php on line 478


The header was not edited, and the language file was modified perfectly after the readme. I have done nothing in between but installing the modifications.

On that line there is cookie-stuff. I changed the cookies recently, but it still did work before now. However, it now does not mark topics read when i read them.

I have checked all edited files for obeous errors (I know barely any PHP, alltho i have a faint idea of how the layout is supposed to be) but i could not find any.

Forum in question:
http://purno.thorrune.net
User avatar
PlanetMelb
Registered User
Posts: 135
Joined: Sat May 10, 2003 5:19 am

Post by PlanetMelb »

Great mod! :D
Post Reply

Return to “[2.0.x] MOD Database Cleanup”