vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Avatar Problem-What Should This Line Be? (https://vborg.vbsupport.ru/showthread.php?t=30584)

Diva 10-17-2001 07:09 AM

I just finished putting together the avatar category hack [again.. heh heh] and when I uploaded, the picture wasn't there. Just a broken link. I scanned the files and found 3 lines in red in the avatar_category.php...

1.
echo "<img src='../$avatarpath/$FileArray[$x]' border=0 align='center'>";

2.
maketableheader("Edit Avatar:</b><i> $avatar[title]</i> &nbsp <img align=\"absmiddle\" src=\"../$avatar[avatarpath]\">","",0);

3.
echo "<td valign='bottom' nowrap align='center'><img src=\"".iif(substr($avatar['avatarpath'],0,7)!="http://" and substr($avatar['avatarpath'],0,1)!="/","../","")."$avatar[avatarpath]\"><br><b>$avatar[title]</b><br>$current_cat\n";

Anyone know the magic words? Please?

Thanks bunches!

orca 10-17-2001 10:05 AM

You may get better help inside the thread about this hack.

Diva 10-17-2001 07:53 PM

Hi. I posted it over there as you suggested. My only concern is that since the thread has been going for a while that it might not be responded to. There was a thread from four days ago already there. Since I have an "Are we there yet, ..." attitude ;) I was hoping this would be the right place to put a new support request. Sorry!

Freddie Bingham 10-17-2001 08:08 PM

This thread belongs in the hacking forum since we can not suppot hacked forums.


All times are GMT. The time now is 07:32 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.01013 seconds
  • Memory Usage 1,707KB
  • 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