vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem with the GETINFO Temp mod from here.. (https://vborg.vbsupport.ru/showthread.php?t=85396)

imported_DMC 11-22-2002 10:24 PM

Problem with the GETINFO Temp mod from here..
 
I installed the Getinfo template mod from this forum.. and love it.

But when someone wants to add a member to their buddy list it redirects them to a blank page... What do you need from me to fix this?? Thanks.

assassingod 11-27-2002 05:00 PM

Post your getinfo template, and ill have a look at it

imported_DMC 11-28-2002 02:46 AM

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>$bbtitle - View Profile</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=n o,location=no,menubar=no,scrollbars=no,width=175,h eight=275,resizeable=yes,status=no")
}
// -->
</script>
</head>
<body>
$header
<p> </p>
<p> </p>
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border: 1 solid {tablebordercolor}"><tr><td>
<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr>
<td bgcolor="{categorybackcolor}" colspan="2" align="center">
<normalfont><b>Viewing profile for user <i>$userinfo[username]</i></b></normalfont>
</td>
</tr>
<tr><td bgcolor="{firstaltcolor}" valign="top">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr><td align="center" bgcolor="{categorybackcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>Avatar</B></normalfont></td></tr>
<tr><td align="center" valign="top"><img src="$userinfo[avatarurl]" border="0" align="middle"></td></tr>
</table>
</td><td bgcolor="{firstaltcolor}" rowspan="2" valign="top">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr><td align="center" bgcolor="{categorybackcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>User Info</B></normalfont></td></tr>
<tr><td valign="top">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr><td valign="top"><smallfont><B>Registered: </B></smallfont></td><td valign="top"><smallfont>$userinfo[datejoined]</smallfont></td></tr>
<tr><td valign="top"><smallfont><B>Status: </B></smallfont></td><td valign="top"><smallfont>$userinfo[usertitle]</smallfont></td></tr>
<tr><td valign="top"><smallfont><B>Posts: </B></smallfont></td><td valign="top"><smallfont>$userinfo[posts]<BR><b>[</b> $postsperday posts per day <b>]</b><BR><a href="search.php?s=$session[sessionhash]&action=finduser&userid=$userinfo[userid]">Search for all posts by this user.</a></smallfont></td></tr>
<tr><td valign="top"><smallfont><B>Website: </B></smallfont></td><td valign="top"><smallfont><a href="$userinfo[homepage]" target="_blank">$userinfo[homepage]</a></smallfont></td></tr>
$referrals
$birthday
$customfields
<smallfont>
<tr><td valign="top" colspan="2"><smallfont><a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$userinfo[userid]"><font color="{categoryfontcolor}">Add to buddy list.</font></a><BR>
<a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=ignore&userid=$userinf o[userid]"><font color="{categoryfontcolor}">Add to ignore list.</font></a>
</smallfont>
</td></tr>
</td></tr>
</table>
</td></tr>
</td></tr></table>
<tr><td bgcolor="{firstaltcolor}" valign="top">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr><td align="center" bgcolor="{categorybackcolor}" valign="top" style="border: 1 solid {tablebordercolor}"><normalfont><B>User Contact</B></normalfont></td></tr>
<tr><td align="center" valign="top">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr><td valign="top"><smallfont><B>E-Mail: </B></smallfont></td><td valign="top"><smallfont><a href="member.php?s=$session[sessionhash]&action=mailform&userid=$userinfo[userid]">Click here to email $userinfo[username]</a></smallfont></td></tr>
<tr><td valign="top"><smallfont><B>Private Message: </B></smallfont></td><td valign="top"><smallfont>$userinfo[sendpm]</smallfont></td></tr>
<tr><td valign="top"><smallfont><B>ICQ: </B></smallfont></td><td valign="top"><smallfont>$userinfo[icq] $userinfo[icqicon]</smallfont></td></tr>
<tr><td valign="top"><smallfont><B>AIM: </B></smallfont></td><td valign="top"><smallfont>$userinfo[aim] $userinfo[aimicon]</smallfont></td></tr>
<tr><td valign="top"><smallfont><B>YAHOO: </B></smallfont></td><td valign="top"><smallfont>$userinfo[yahoo] $userinfo[yahooicon]</smallfont></td></tr>
</table>
</td></tr>
</table>
</td></tr>
</td></tr></table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center"><smallfont><b>
Administrative Options: <a href="moderator.php?s=$session[sessionhash]&action=useroptions&userid=$userinfo[userid]">User Options</a>
</b></smallfont></td>
</tr>
</table>

$footer

</body>
</html>

Here it is..... and thanks........:)

Tony G 11-28-2002 03:23 AM

Here's the code for the buddy link:

<tr><td valign="top" colspan="2"><smallfont><a href="member2.php?s=$session[sessionhash]&action=addlist&userlist=buddy&userid=$userinfo[userid]"><font color="{categoryfontcolor}">Add to buddy list.</font></a><BR>

Seems fine to me. o_O

Maybe compare that with the default template.


All times are GMT. The time now is 02:47 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.01046 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete