Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Template Hook
Atakan KOC
Join Date: Feb 2006
Posts: 710

Istanbul
by Atakan KOC Atakan KOC is offline 17 May 2007
Rating: (1 vote - 1.00 average)

MEMBERINFO

$template_hook[memberinfo_pos1]
$template_hook[memberinfo_pos2]
$template_hook[memberinfo_pos3]
$template_hook[memberinfo_pos4]
$template_hook[memberinfo_foruminfo]
$template_hook[memberinfo_iminfo]
$template_hook[memberinfo_contactinfo]
$template_hook[memberinfo_additionalinfo]
$template_hook[memberinfo_groups]

navbar


$template_hook[navbar_buttons_left]
$template_hook[navbar_buttons_right]
$template_hook[navbar_search_menu]
$template_hook[navbar_quick_links_menu_pos1]
$template_hook[navbar_quick_links_menu_pos2]
$template_hook[navbar_quick_links_menu_pos3]

postbit & postbit_legacy

$template_hook[postbit_start]
$template_hook[postbit_userinfo_left]
$template_hook[postbit_userinfo_right]
$template_hook[postbit_userinfo_right_after_posts]
$template_hook[postbit_messagearea_start]
$template_hook[postbit_signature_start]
$template_hook[postbit_signature_end]
$template_hook[postbit_controls]
$template_hook[postbit_end]
$template_hook[postbit_user_popup]

USERCP

$template_hook[usercp_main_pos1]
$template_hook[usercp_main_pos2]
$template_hook[usercp_main_pos3]
$template_hook[usercp_main_pos4]
$template_hook[usercp_main_pos5]
$template_hook[usercp_main_pos6]

USERCP_SHELL

$template_hook[usercp_navbar_bottom]

modifyoptions

$template_hook[usercp_options_start]
$template_hook[usercp_options_privacy]
$template_hook[usercp_options_messaging]
$template_hook[usercp_options_threadview]
$template_hook[usercp_options_datetime]
$template_hook[usercp_options_other]
$template_hook[usercp_options_end]


Simple Usage

Hook Location : global_start
Title : Navbar Template Hook

Plugin PHP Code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Atakan KOC; 27 Jul 2007 at 10:52..
Views: 11764
Reply With Quote
Comments
  #2  
Old 18 May 2007, 14:08
Milad's Avatar
Milad Milad is offline
 
Join Date: May 2005
Real name: Milad
Thanks for gathering them. I was waiting for someone to do so. are they the whole matter?
Reply With Quote
  #3  
Old 20 May 2007, 15:12
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Nice work atakan, you could also place the html that will be inserted into the hook, within the Template System and call it in a plugin like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Where new_navbar_item is the html (template) to be inserted, such as:

<td class="vbmenu_control"><a href="myscript.php">My Script</a></td>
__________________
Please feel free to PM me about custom work, installations, and upgrades!

Eclipse Records - Streetcult Street Team
Reply With Quote
  #4  
Old 20 May 2007, 17:50
Michael Biddle Michael Biddle is offline
 
Join Date: Apr 2004
Location: Anaheim, CA
Thanks for this Atakan, wil,l help us coders
Reply With Quote
  #5  
Old 27 Jul 2007, 10:53
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KO«
New Template Hook (3.6.8)
$template_hook[postbit_userinfo_right_after_posts]
$template_hook[usercp_options_start]
$template_hook[usercp_options_privacy]
$template_hook[usercp_options_messaging]
$template_hook[usercp_options_threadview]
$template_hook[usercp_options_datetime]
$template_hook[usercp_options_other]
$template_hook[usercp_options_end]
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #6  
Old 28 Jul 2007, 21:13
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Real name: Jeremy
Originally Posted by Atakan KOC View Post
New Template Hook (3.6.8)
$template_hook[postbit_userinfo_right_after_posts]
$template_hook[usercp_options_start]
$template_hook[usercp_options_privacy]
$template_hook[usercp_options_messaging]
$template_hook[usercp_options_threadview]
$template_hook[usercp_options_datetime]
$template_hook[usercp_options_other]
$template_hook[usercp_options_end]
Why not put those in the first post?
__________________
Former vBulletin.org Staff Member

Do not request support through any other means except the forums.

Useful Post With Links on Learning How To Develop vBulletin Plugins

Latest Modification: Stop Forum Spam Integration
Reply With Quote
  #7  
Old 30 Jul 2007, 12:53
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Real name: Atakan KO«
Are you sure ?
__________________
vBulletin 5 : http://www.atabb.com/
Reply With Quote
  #8  
Old 24 May 2008, 19:27
raztrip raztrip is offline
 
Join Date: Nov 2007
How come this worked with all template hooks except for those in the posbit template?

I have vB 3.6.8, build 2.
Reply With Quote
  #9  
Old 06 Jul 2008, 03:44
tazzarkin tazzarkin is offline
 
Join Date: Nov 2007
Anyone know how to put a $vbphrase within a hook?
Reply With Quote
  #10  
Old 07 Jul 2008, 00:03
TheInsaneManiac TheInsaneManiac is offline
 
Join Date: Feb 2008
Originally Posted by tazzarkin View Post
Anyone know how to put a $vbphrase within a hook?
If I am not mistaken, you can do AntiVirus's way and include a template. That should allow the $vbphrase to work.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 16:34.

Layout Options | Width: Wide Color: