Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #41  
Old 02-24-2006, 06:51 PM
zagman76 zagman76 is offline
 
Join Date: Sep 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks!!!
Reply With Quote
  #42  
Old 02-27-2006, 04:42 AM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?...
Reply With Quote
  #43  
Old 03-05-2006, 06:17 PM
Phrost Phrost is offline
 
Join Date: Jul 2003
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #44  
Old 03-28-2006, 11:12 PM
RDX1 RDX1 is offline
 
Join Date: Apr 2002
Posts: 497
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #45  
Old 04-01-2006, 04:20 AM
Argyle Argyle is offline
 
Join Date: Jun 2002
Location: Melbourne, Australia
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]);
Reply With Quote
  #46  
Old 04-26-2006, 08:56 PM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #47  
Old 06-26-2006, 11:19 AM
DeeD DeeD is offline
 
Join Date: Jun 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #48  
Old 06-29-2006, 01:22 PM
Evil Chris's Avatar
Evil Chris Evil Chris is offline
 
Join Date: Nov 2002
Location: Montreal
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works nice... thanks.
Reply With Quote
  #49  
Old 08-25-2006, 02:41 PM
sillystuie sillystuie is offline
 
Join Date: Jul 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07226 seconds
  • Memory Usage 2,245KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete