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)

zagman76 02-24-2006 06:51 PM

is there a way that this can be limited to specific forums/sub-forums? if so, how?

Thanks!!!

Smiry Kin's 02-27-2006 04:42 AM

Quote:

Originally Posted by Andreas
Hookname: global_complete
PHP Code:

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

Please note that this replace takes place EVERYWHERE.

sorry but where do i add that?...

Phrost 03-05-2006 06:17 PM

Very strange. It works in titles, but not in posts.

Smiry, go to the Plugin system, chose Vbulletin General -> global_complete from the pulldown menu.

Anyway, anyone know why it wouldn't work in a post?

RDX1 03-28-2006 11:12 PM

Is this updated for 3.5.4? It tells me my message is too short on any post when I try to create a thread after installing this hook.

Argyle 04-01-2006 04:20 AM

The following worked for me for post body for all forums, it doesn't cover thread title or anything else. The first post replaced the username code with my own name as I was posting it.

postbit_display_complete

$post[message] = str_replace('[username]', $vbulletin->userinfo['username'], $post[message]);

Borgs8472 04-26-2006 08:56 PM

I was annoyed to find when this gets mixed with the auto url thingy, it stops working.

I wanted to post a link to:

http:/[username].justgotowned.com/

However the hyperlink doesn't change to the username, but the name of it does :(

DeeD 06-26-2006 11:19 AM

Quote:

Originally Posted by Borgs8472
I was annoyed to find when this gets mixed with the auto url thingy, it stops working.

I wanted to post a link to:

http:/[username].justgotowned.com/

However the hyperlink doesn't change to the username, but the name of it does :(

Well, the auto url feature consists of two separate sides: the textual name and the link itself. While the text gets adapted when you log in, the actual link is set to whatever you type right away. I'm afraid that's the way it's naturally supposed to work.

Evil Chris 06-29-2006 01:22 PM

works nice... thanks.

sillystuie 08-25-2006 02:41 PM

AWESOME!!! ive been looking for something like this for my "happy (insert holiday) user" threads :) :) :) :)


All times are GMT. The time now is 12: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.01072 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)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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