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)

Tigga 10-11-2002 12:14 AM

Glad to be of service. :)

sklwer 10-12-2002 03:13 AM

hey Guys,
I got it working in version 2.28 and I was hoping to put the info in my home site ( Thats shtml) any idea?????
appriciate

MartynJ 10-12-2002 10:23 AM

[QUOTE]Originally posted by \ \ - Speedy - / /
how do you do this?

refertech 10-12-2002 12:49 PM

Any of you guys know why the color above my posts would be diffrent now? Probably something to do with the last active hack I installed. Could someone help me out with how to go about correcting this.

Thanks,

Mark

Tigga 10-12-2002 06:05 PM

Try looking in your member list template for colspan="6". Change the colspan to 7 and it should fix it. :)

refertech 10-12-2002 09:52 PM

Yeap that done the trick. Thanks for helping a newbie out. :)

Mark

digitalJE5U5 10-13-2002 05:15 AM

Love the hack. One small problem though, Im trying to add the variables

$recordusers
and
$numberregistered
and
$numberguest

to the control panel, but instead of
"currently online: <insert #>"

I get "currently online:"

That make sense?

Any help is VERY appreciated.

THanks,
/DJ

NTLDR 10-13-2002 04:43 PM

You need to make sure that the welcome panel templates are evaluated after the users online code is, otherwise the varaibles contain no data.

Instead of adding the code for the templates where it says to in the instructions for the second change add it after:

PHP Code:

  $recordusers $maxusers[0];
  
$recorddate vbdate($dateformat,$maxusers[1]);
  
$recordtime vbdate($timeformat,$maxusers[1]);
  eval(
"\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\";");


It should then show up correctly.

digitalJE5U5 10-13-2002 09:23 PM

Quote:

Instead of adding the code for the templates where it says to in the instructions for the second change add it after:
Thanks for the help. I've found my fix! I just not sure exactly what you mean. You refer to the "second change". The second change has to do with index.php? And you refer to "template". Could you please tell me exactly what code, and where I need to put it? I just dont wanna screw anything up.

THanks alot!

/DJ

NTLDR 10-14-2002 07:07 PM

Place this code:

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>';


Directly after the code I posted in 348 and not where it says to put it in the instructions.


All times are GMT. The time now is 01:14 PM.

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.01833 seconds
  • Memory Usage 1,744KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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