vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Welcome Panel [Final] (https://vborg.vbsupport.ru/showthread.php?t=33477)

Kaffeerappel 01-29-2002 10:31 AM

I noticed that the post/thread count goes up for regular members too, if there are new posts in the hidden Admin/Mod Forums. Any fix for that?

Jawelin 01-29-2002 02:05 PM

Very nice. I was seriously planning to use together the 'Store Avatars as Files' one.
I red something about here, but would undestand what's the actual state of the art, and what of the hacks should be better to install before the other one.

Besides, there are actually two AAF hacks and would know which one has the best compatibility with the Welcome Panel Hack.

Thanks a lot.
Bye

Floris 01-30-2002 05:56 AM

When can we expect an upgrade to 2.2.2 of this wonderful hack?

Currently I have this installed on creations.nl but the avatars aren't showing up no more!

Maybe this can be fixed with just a simple template alternation?
Hope someone can help!

trilOByte 01-30-2002 09:32 AM

Have you re-applied the hacks to index.php, and the template edits *after* you upgraded to 2.2.2?

I'm not upgrading till v 3.0 comes out, but i can't see why this shouldn't work in 2.2.2. Anyone else having problems?

Floris 01-30-2002 09:38 AM

[QUOTE]Originally posted by trilOByte
Have you re-applied the hacks to index.php, and the template edits *after* you upgraded to 2.2.2?

I'm not upgrading till v 3.0 comes out, but i can't see why this shouldn't work in 2.2.2. Anyone else having problems?

trilOByte 01-30-2002 10:04 AM

I'm pretty sure that if you're upgrading, the upgrade *doesn't* overwrite your templates.....

from vb.com...
Quote:

Note: Upgrading will not overwrite any of your custom templates. If you have customized any template that is listed as 'modified' below, we seriously recommend using the 'revert' option to return them to the default template, then re-applying your customizations.
None of the template changes for 2.2.2 concern this hack, so you don't need to worry about the templates. But I havent seen a list of modified files. Looks like index.php has had some treatment and will need that part of the hack re-applying.

I'd be very interested to hear from anyone who can't get the hack to work using the existing instructions.

Cheers.

Jawelin 01-30-2002 11:00 AM

[QUOTE]Originally posted by Jawelin
Very nice. I was seriously planning to use together the 'Store Avatars as Files' one.
I red something about here, but would undestand what's the actual state of the art, and what of the hacks should be better to install before the other one.

Besides, there are actually two AAF hacks and would know which one has the best compatibility with the Welcome Panel Hack.

Thanks a lot.
Bye

Floris 01-30-2002 01:13 PM

Yeah!

I upgraded from 2.2.1 to 2.2.2 and forgot to alter index.php afterwards.. done that and everything is just working perfectly!

:)

trilOByte 01-30-2002 10:42 PM

cool, at least we have one confirmation it still works in 2.2.2 without any changes, that's a lot better than none ;)

About compatibility with the AAF hack. I'm not familiar with either of them, and don't know enough php to code a workaround. If anyone else can - or manages to get both of em working somehow, a comprehensive post saying how, would be apreciated. Otherwise, it might just be a case of "pick the one you want most".

mondaynightmike 01-30-2002 11:03 PM

This is the first hack i installed on my forums and it works perfectly. Thanks for such a great hack.

christina 01-31-2002 02:19 PM

I upgraded to 2.2.2 and the hack still works fine as far as I can tell. However, I did go and do the manual 2.2.2 upgrade for the most part, just to be safe.

Airwaves 02-01-2002 10:47 AM

no problems in 222 but can someone please tell me how to put the current online users section under the welcome panel, but above the forum list, with a gap in between them?

I have this hack installed and assume it would be only a template hack, but i dont like messing with them unless its a tried and tested procedure.

Duke Of Lion 02-01-2002 11:33 AM

I still haven't been able to get it to work? Anybody any advice? Here's my site: http://www.procedure.com
The Avatars don't work and my login box don't show up at the top....

Floris 02-01-2002 12:05 PM

It really looks like everything is fine, you just dont have the templates altered i think .. or the index.php .. Please follow the installation instructions step by step ..

Birdie501 02-01-2002 02:18 PM

hi,

can somebody explain why I should use this hack? I just edited the templates forumhome_logincode and forumhome_logout code to do this! What is the advantage of this hack?

Thanks a lot!

trilOByte 02-01-2002 02:28 PM

Quote:

no problems in 222 but can someone please tell me how to put the current online users section under the welcome panel, but above the forum list, with a gap in between them?

I have this hack installed and assume it would be only a template hack, but i dont like messing with them unless its a tried and tested procedure.
Yep, actually very easy.

In the forumhome template, fine the welcompanel edit that you added as part of the hack, scroll through untill you see..

PHP Code:

$pminfo 

and replace it with

PHP Code:

$pminfo
$loggedinusers 

Basically, you're just moving the "online users" section, up under the PM section in the welcome panel.

Dont forget to remove the "$loggedinusers" line, from further down the forumhome template, otherwise it will show twice.

trilOByte 02-01-2002 02:31 PM

[QUOTE]Originally posted by Birdie501
hi,

can somebody explain why I should use this hack? I just edited the templates forumhome_logincode and forumhome_logout code to do this! What is the advantage of this hack?

Thanks a lot!

pdatoon 02-01-2002 04:13 PM

Hi,

I upgraded to 2.2.2 and the avatar shown in the CP disapeared.
look at : http://www.pdafrance.com/pdaforum/index.php?s=

any ideas? :frus:

trilOByte 02-01-2002 04:58 PM

[QUOTE]Originally posted by pdatoon
Hi,

I upgraded to 2.2.2 and the avatar shown in the CP disapeared.
look at : http://www.pdafrance.com/pdaforum/index.php?s=

any ideas? :frus:

freehtml 02-03-2002 07:12 AM

Great ahck, installed in less than 10 minutes :)

JTMON 02-04-2002 03:26 PM

anyone having problems using cutom avatars after using this hack? I have that problem but am not sure which hack is causing it as it used to work fine. Now they only way I can use or assign one is to add it to the public avatar list

trilOByte 02-04-2002 08:42 PM

Wierd, using custom avatars here with no problems. I can't think why it would be this hack, as it doesn't screw with the default avatar stuff at all - it just creates a new var called $avatarimage, but lets all the original stuff well alone, so that should work the same as normal.

Wierd.

JTMON 02-04-2002 09:43 PM

just checking, I'm not sure how long this has been a problem and am trying to track it down. Any idea what files would mess with that? It's even weirder because once I have gone through all that and assigned the user the avatar, it still doesn't show in the admin panel for that user, only in the postbit like normal.

trilOByte 02-04-2002 11:17 PM

Hmm, have you any hacks that alter the user profile - or maybe avatar.php?

You could expand all groups and check the templates, see if any related to avatars have been edited, then try and identify the edit/hack from there.

No more clues than that - sorry.

khnglh 02-05-2002 02:21 AM

:D

What can i say....WORKS GREAT !!!!


Thanks for all the work on this great hack Trilobyte

Lucky 02-05-2002 02:51 AM

Got vbp3.0pr7 and vb2.2.2 and all is working great!

Thanks. :p

trilOByte 02-05-2002 09:28 AM

[QUOTE]Originally posted by JTMON
just checking, I'm not sure how long this has been a problem and am trying to track it down. Any idea what files would mess with that? It's even weirder because once I have gone through all that and assigned the user the avatar, it still doesn't show in the admin panel for that user, only in the postbit like normal.

trilOByte 02-05-2002 11:33 AM

If you want to add a referer id link into the welcome panel, so all your members have to do is right click and choose copy shortcut, to get their unique refere id, here's how.....

In the forumhome template, find the welcomepanel addition, look for...
PHP Code:

      $unregwelcomemessage 
      $welcometext 

and immediately above that add this.....

PHP Code:

Your personal referral code is: <a href="$bburl/index.php?referrerid=$bbuserinfo[userid]">this link</a

Will look like this:

http://www.synobyte.com/pics/referrer.gif

Floris 02-05-2002 11:40 AM

Your personal Referral code is: (link)

trilOByte 02-05-2002 11:48 AM

Thanks, missed the "rr" fixed now ;) :D

Floris 02-05-2002 12:40 PM

np

psico 02-05-2002 03:41 PM

For those who have Custom Avatars as Files HACK installed, here is the solution to make it works with the Welcome Panel HACK:

Replace this code from Welcome Panel HACK in INDEX.PHP:
Code:

if ($bbuserinfo[userid]!=0) {
  $avatarurl=getavatarurl($bbuserinfo[userid]);
  if ($avatarurl=='') {
    $avatarurl='images/avatars/noavatar.gif';
  }
  $avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">';
} else {
  $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.gif" border="0"></a>';
}

With this code:

Code:

############################
if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
  if ($avatarurl=='') {
    $avatarurl='images/avatars/noavatar.gif';
  } else {
        if ($post[hascustomavatar] and $avatarenabled) {
                if ($usefileavatar) $avatarurl="custom_avatars/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif";
                else $avatarurl="avatar.php?userid=$bbuserinfo[userid]";
                  }
        }
  $avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">';
} else {
  $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.gif" border="0"></a>';
}
############################

I've tested and is working great...

Welcome Panel ROCKS!

JTMON 02-05-2002 04:05 PM

I don't have the custom avatars as file hack installed but I tried your code and it didn't work. I tried to upload and got this message:

[QUOTE]Warning: Unable to create '/admin/tmp/yeller.gif': No such file or directory in /usr/local/plesk/apache/vhosts/whatthefrag.com/httpdocs/forums/admin/user.php on line 632

Warning: Unable to move '/tmp/phpHt9sRD' to '/admin/tmp/yeller.gif' in /usr/local/plesk/apache/vhosts/whatthefrag.com/httpdocs/forums/admin/user.php on line 632

trilOByte 02-05-2002 04:13 PM

JTMON, did you try changing the name of the var from $avatarimage to something else?

EDIT: I don't think Pisco's hack will work unless you have the AAF hack installed.

JTMON 02-05-2002 04:15 PM

Not yet, about to tho.

trilOByte 02-05-2002 04:21 PM

[QUOTE]Originally posted by psico
For those who have Custom Avatars as Files HACK installed, here is the solution to make it works with the Welcome Panel HACK:

PHP Code:

$avatarurl="custom_avatars/avatar$bbuserinfo[userid]_$bbuserinfo[avatarrevision].gif" 

I've tested and is working great...

Welcome Panel ROCKS!

trilOByte 02-05-2002 04:44 PM

[QUOTE]Originally posted by JTMON
Not yet, about to tho.

JTMON 02-05-2002 06:23 PM

me too, I know it worked before vbPortal tho but that was almost 2 months ago. :D

trilOByte 02-05-2002 09:37 PM

[QUOTE]Originally posted by JTMON
me too, I know it worked before vbPortal tho but that was almost 2 months ago. :D

JTMON 02-05-2002 10:02 PM

I got that script from vbPortal.com as someone released it. That's probably the last change I did before I noticed the problem, so I am going to revert it to see if it fixes it. The thing is, I tried using $myavatarvariable in the login block with only the welcome panel hack installed and it wouldn't show.


All times are GMT. The time now is 08:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01619 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete