vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hello [username]! (https://vborg.vbsupport.ru/showthread.php?t=93145)

Andreas 08-01-2005 01:10 PM

Hmm .. it should.
You edited the correct index.php (rember there are three of them), right?

Boofo 08-01-2005 01:13 PM

The archive index.php, right?

Andreas 08-01-2005 01:16 PM

Yes. Just tested, does work for me.

Boofo 08-01-2005 01:24 PM

Ok, where exactly did you put it? I did it right after the opening php tag and right before the ending one.

Andreas 08-01-2005 01:26 PM

Above
PHP Code:

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// ####################################################################### 

And above the closing Tag.

Boofo 08-01-2005 01:31 PM

Damn! It still shows the actual [you] tag and not the username in the archive post. I did the edit exactly as you said, too. :(

Boofo 08-01-2005 01:34 PM

Scratch that last post. It works. ;)

I'm too embarrassed to admit what I did so that will be MY secret (like the thread creationtime?) ;)

Boofo 08-01-2005 01:40 PM

This line is giving me fits:

PHP Code:

 echo str_replace('[username'], $vbulletin->userinfo['username'], $output); 

I am getting an error with it.

EDIT:

I changed it to this and I no longer get any errors.

PHP Code:

 echo str_replace('[username]'$vbulletin->userinfo['username'], $output); 

But it's just not working. I can still see the tag in the past in the archive. :(

Andreas 08-01-2005 02:11 PM

Yeah, that was a typo :)
Hmm, don't know why it isn't working for you - works for me.

Boofo 08-01-2005 02:14 PM

Is there another way to do it then? It's got me stumped.


All times are GMT. The time now is 12:48 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.01061 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_php_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
  • (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