[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
daggerrpm
Registered User
Posts: 8
Joined: Sun Jan 02, 2005 2:31 pm
Location: Cambs, UK
Contact:

Is anyone still posting???

Post by daggerrpm » Wed Jan 05, 2005 9:20 pm

Gremlinn wrote:
Rancisis wrote:I have a tiny bug with this mod, don't even know if you can call it a bug.
I'm using Netscape and the mod works fine, if I log in my avatar is displayed nicely.
But when I log out, Netscape still shows my avatar, though I'm a guest then.

I think Netscape is caching someparts of the code :?
What could I do to prevent this from happening?


I am also getting this with IE. Anyone with a fix or explaination?
Running 2.0.6


I have install the mod but having a similar problem to the above mentioned although I am not sure it is the browser at fault. When I log in my Avatar comes up but it shows me as guest I then need to log in yet again Then all the new posts that I have not seen are all of a sudden wiped ( not actually wiped but it shows no new posts ) When I know there are some I the have to read through to find them.
I use Mozilla FireFox at home Internet Explorer at work

I read all the threads and there did not appear to be any fixes for it!
I do actually like the mod and would like to keep it but at the moment it's more of an inconvenience...

Thanks

flottig
Registered User
Posts: 7
Joined: Sat Jan 22, 2005 8:05 am

: Avatar On Index MOD

Post by flottig » Wed Jan 26, 2005 7:19 pm

Hi,
Is there anyway to change this
"$name_link = '<a href="' . append_sid("profile.$phpEx?mode=editprofile&amp"

I want to change =editprofile to viewprofile

I tried just to write viewprofile instead of editprofile but it dident work

When I hit my namelink it says "user not excist"

help help...

Thanks

User avatar
robertmf
Registered User
Posts: 94
Joined: Wed Sep 25, 2002 7:26 pm
Location: 55 min. by commuter RR outside Filthadelphia
Contact:

Re: [2.0.8] Welcome & Avatar On phpBB Index

Post by robertmf » Fri Mar 04, 2005 6:26 pm

This is a nice mod which personalizes the board for the user/guest.

I did move it from the footer to header area.
http://www.dliflc.org/community/
DLI Alumni & Friends Community at DLIFLC.ORG

Texan78
I've Been Banned!
Posts: 273
Joined: Thu Feb 24, 2005 5:54 pm

Post by Texan78 » Fri Mar 04, 2005 9:32 pm

robert thats exactly how i want mine, what did you change to do that?

Cougar2
Registered User
Posts: 19
Joined: Wed Mar 09, 2005 5:19 pm

Post by Cougar2 » Thu Mar 24, 2005 5:25 pm

I get an error message when i try to dowload this mod.
Is it still available? Thanks

SeraphicGate
Registered User
Posts: 207
Joined: Tue Dec 23, 2003 6:54 am

Post by SeraphicGate » Sat Apr 09, 2005 10:21 pm

Hi, I have a question about this mod.

I installed it okay and after making a few modifications I found a problem. The problem is when a new user first logs in the avatar will still be the guest avatar and the guest avatar will still link to the “profile.php?mode=register” page”. I wanted to know how I could add a new avatar image (default member avatar) for users that are logged in but don’t have an avatar selected yet, I would also like to have it link to the “profile.php?mode=register” page. Would this be too hard? I have included my modified code.

Code: Select all

    //

    // START MOD: Avatar On Index  - AbelaJohnB

    //

    $avatar_img = '';

    if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )

    {

        switch( $userdata['user_avatar_type'] )

        {

            case USER_AVATAR_UPLOAD:

                $avatar_img = ( $board_config['allow_avatar_upload'] ) ? '<a href="profile.php?mode=editprofile"><img src="' . $board_config['avatar_path'] . '/' . $userdata['user_avatar'] . '" alt="Edit Profile" border="0" /></a>' : '';

                break;

            case USER_AVATAR_REMOTE:

                $avatar_img = ( $board_config['allow_avatar_remote'] ) ? '<a href="profile.php?mode=editprofile"><img src="' . $userdata['user_avatar'] . '" alt="Edit Profile" border="0" /></a>' : '';

                break;

            case USER_AVATAR_GALLERY:

                $avatar_img = ( $board_config['allow_avatar_local'] ) ? '<a href="profile.php?mode=editprofile"><img src="' . $board_config['avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="Edit Profile" border="0" /></a>' : '';

                break;

        }

    }

    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 = '<a href="profile.php?mode=register"><img src="images/avatars/guestavatar.jpg" border="0"></a>';

        }

    }

    // Check For Anonymous User

    if ($userdata['user_id'] != '-1')

    {

        $name_link = '' . $userdata['username'] . '';

    }

    else

    {

        $name_link = $lang['Guest'];

    }

    //

    // END MOD: Avatar On Index  - AbelaJohnB

    //

User avatar
cubechris
Registered User
Posts: 138
Joined: Fri Aug 13, 2004 9:54 am
Location: Lincoln, UK
Contact:

Post by cubechris » Sun Apr 10, 2005 3:31 pm

Just installed this, but got the following error:

Code: Select all

Fatal error: Call to undefined function: encode_ip() in /home/hayesmat/public_html/forum/common.php on line 208

User avatar
cubechris
Registered User
Posts: 138
Joined: Fri Aug 13, 2004 9:54 am
Location: Lincoln, UK
Contact:

Post by cubechris » Sun Apr 10, 2005 3:53 pm

Ok that was a space issue!

But now it is displaying differently!

www.hm-fusion.co.uk/forum

This is the code i have used on the index_body.tpl:

Code: Select all

	<td class="colour1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
	<td class="colour1" align="center" valign="middle" rowspan="3"><span class="mainmenu">{L_NAME_WELCOME}</span><BR /><span class="mainmenu">{U_NAME_LINK}</span><BR /><BR />{AVATAR_IMG}</td>
Please Help :)

User avatar
<Jem>
Registered User
Posts: 8
Joined: Sun Apr 24, 2005 2:16 am
Contact:

Post by <Jem> » Sun Apr 24, 2005 3:39 am

doesn't look good on my skin :?

http://www.jembrotherhood.com/forum/

EDIT: fixed the problem

gvbantams
Registered User
Posts: 17
Joined: Wed Apr 14, 2004 2:52 am

Post by gvbantams » Thu May 05, 2005 5:29 pm

Whenever I try to download the .mod file it brings me to a text page which is where it tells you what code to change/add. Can't this be d/l and saved so I can upload it to my server any try to install it with easymod?

undone
Registered User
Posts: 1
Joined: Fri May 06, 2005 4:26 am

Post by undone » Fri May 06, 2005 4:31 am

actually, it can, all you have to do is go to File -> Save or File -> Save As...
and save it... No need to change the filetype, just click save and you have it.
it is a .mod file which is exactly what easy mod needs...

to get it to notice it on your server, create a folder with the mods name under the 'admin/mods/(yourmodfoldername)' then log into your admin control panel and go to easy mod, and install...

KamiMonster
Registered User
Posts: 1
Joined: Tue May 24, 2005 3:04 am

HELP!!!!!!!!!

Post by KamiMonster » Tue May 24, 2005 3:05 am

i went thru every step and now when i go to my webpage for my forum all i see is
Fatal error: Call to undefined function: encode_ip() in /home/content/t/p/l/tplotl/html/Forum/common.php on line 213

geauxnadz
Registered User
Posts: 37
Joined: Sun May 22, 2005 3:21 pm
Contact:

Post by geauxnadz » Sun May 29, 2005 12:22 am

Alls mine says is Welcome. Where did I go wrong?

www.secsportboard.com
Image

geauxnadz
Registered User
Posts: 37
Joined: Sun May 22, 2005 3:21 pm
Contact:

Post by geauxnadz » Sun May 29, 2005 12:36 am

Edit: GOT IT! Thanks!
Image

Blade Runner
Registered User
Posts: 17
Joined: Fri Mar 05, 2004 9:58 pm
Location: Seattle
Contact:

Post by Blade Runner » Sun Jun 19, 2005 6:36 pm

I get these error messages after installing the mod manually...

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/includes/functions.php:933) in /home/animear/public_html/phpBB2/includes/sessions.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/includes/functions.php:933) in /home/animear/public_html/phpBB2/includes/sessions.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/includes/functions.php:933) in /home/animear/public_html/phpBB2/includes/sessions.php on line 206

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/includes/functions.php:933) in /home/animear/public_html/phpBB2/includes/sessions.php on line 207

Warning: Cannot modify header information - headers already sent by (output started at /home/animear/public_html/phpBB2/includes/functions.php:933) in /home/animear/public_html/phpBB2/includes/functions.php on line 831
I've noticed two other users who are getting these same messages. I've checked the syntax in /includes/functions.php to ensure that there was no error. All is typed correctly.

This frustrates me because the syntax of this mod is so simple, anyone could do it. I did all the file modifications in under 10 minutes.

Could anyone suggest a fix?
gilraen: You probably have a typo in your overall_header.php. Take a look there.


I'm a little cornfused. This file wasn't modified during this mod install and everything worked fine before. If you're referring to a typo, wouldn't said typo cause this error before this mod install (in my case)?

Post Reply

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

Who is online

Users browsing this forum: No registered users and 4 guests

cron