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)
-   -   vBindex v2.1 (https://vborg.vbsupport.ru/showthread.php?t=41916)

Decoder 02-02-2003 11:57 PM

where am i supposed to get a index file for 2.2.8?

Decoder 02-03-2003 12:17 AM

ok well i took the code from my 2.2.9

but i am getting
"Warning: main(./admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/sites/site138/web/forums/global.php on line 129
"

Decoder 02-03-2003 12:24 AM

Warning: main(.forums/admin/config.php) [function.main]: failed to create stream: No such file or directory in /home/sites/site138/web/forums/global.php on line 129

and line 129 in global reads
"require('.forums/admin/config.php');"

Barbarik 02-03-2003 02:48 AM

Need more help. I think i thought i fixed it because i was reading through the thread here but i tried to fix it one way but now im getting this.

Quote:

Parse error: parse error, expecting `')'' in /home/virtual/site187/fst/var/www/html/index.php on line 26
NEED HELP PLEASE HELP ME :) lol

todd.o.callen 02-03-2003 12:27 PM

Quote:

Originally posted by NTLDR
I'm a little confused here, do you just want to include the avatar in the home_logout (and/or home_login) template?

Yes. That's it. My avatar when I am logged in (linked to my change avatar action), and the Guest avatar when no one is logged in (linked to the register page).

I need this code to live in the home_login/logout template(s) in order to make the table borders work correctly.

Thanks.

PS. I actually saw Charmed on last night for a few minutes while I was visiting my Grandmother in an Alzeimer's unit. Thought it was a Brit thing, but apparently it on here, too. :classic:

Decoder 02-03-2003 01:59 PM

can someone help me please?

Barbarik 02-03-2003 08:15 PM

I think NT is inactive for the moment cause i have been waiting 3 or 4 days lol.

NTLDR 02-03-2003 09:28 PM

Quote:

Originally posted by todd.o.callen
I need this code to live in the home_login/logout template(s) in order to make the table borders work correctly.
Move:

PHP Code:

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

Above:

PHP Code:

// check if user is logged in or not and select the correct templates
// for the welcome panel, buddies and left menu 

It should then work in the home_login/out templates.

Quote:

PS. I actually saw Charmed on last night for a few minutes while I was visiting my Grandmother in an Alzeimer's unit. Thought it was a Brit thing, but apparently it on here, too. :classic:
Its by far a US thing ;) I only started watching it recently myself :D

Decoder 02-03-2003 11:00 PM

so does anyone have any idea's to my problem?

todd.o.callen 02-04-2003 01:24 PM

Quote:

Originally posted by NTLDR


Move:

PHP Code:

// welcome panel by trilOByte
// -------------------------
if ($bbuserinfo[userid]!=0) {
  
$avatarurl=getavatarurl($bbuserinfo[userid]);
  if (
$avatarurl=='') {
    
$avatarurl='https://vborg.vbsupport.ru/vbimages/avatars/noavatar.gif';
  }
  
$avatarimage='<a href="'.$bburl.'/member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$bburl.'/'.$avatarurl.'" border="0">';
} else {
  
$avatarimage='<a href="'.$bburl.'/register.php?s='.$session[sessionhash].'&action=signup"><img src="https://vborg.vbsupport.ru/vbimages/avatars/guestavatar.gif" border="0"></a>';
}
// -------------------------
// end welcome panel 

Above:

PHP Code:

// check if user is logged in or not and select the correct templates
// for the welcome panel, buddies and left menu 

It should then work in the home_login/out templates.



OK, I moved the welcome panel:
Quote:

// welcome panel by trilOByte
// -------------------------
if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='') {
$avatarurl='https://vborg.vbsupport.ru/vbimages/avatars/noavatar.gif';
}
$avatarimage='<a href="'.$bburl.'/member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$bburl.'/'.$avatarurl.'" border="0">';
} else {
$avatarimage='<a href="'.$bburl.'/register.php?s='.$session[sessionhash].'&action=signup"><img src="https://vborg.vbsupport.ru/vbimages/avatars/guestavatar.gif" border="0"></a>';
}
// -------------------------
// end welcome panel

// check if user is logged in or not and select the correct templates
// for the welcome panel, buddies and left menu
Then added the $avatarimage to the home_logout:

Quote:

<table border=1 width=150 bordercolor="990000" cellpadding=0 cellspacing=0>
<tr>
<td colspan="2" align=center>
$avatarimage
<br>
<font face=arial size=2 color="990000"><b>
<a href="$bburl/search.php?s=$session[sessionhash]&action=getnew">$getnewpost[posts] New Posts</a></b></font> <br>
<font face=arial size=1> since your last visit on:
<br>
$bbuserinfo[lastvisitdate]. </font> </td>
</tr>
</table>
but still don't see the image! Oy! :dead:

None of the avatar code is making it to the client:

Quote:

<!-- BEGIN TEMPLATE: home_logout -->
<table border=1 width=150 bordercolor="990000" cellpadding=0 cellspacing=0>
<tr>
<td colspan="2" align=center>

<br>
<font face=arial size=2 color="990000"><b>
<a href="http://guidedirectdev.guidecorp.eds.com/GDCrosstalk/search.php?s=&action=getnew">0 New Posts</a></b></font> <br>
<font face=arial size=1> since your last visit on:
<br>
02-04-2003 09:56 AM. </font> </td>
</tr>
</table>
I have a feeling that I am soooo close, but I must be doing something really STOOOpid. :dead:


All times are GMT. The time now is 08:10 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.02308 seconds
  • Memory Usage 1,764KB
  • 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
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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