vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Adding a "link" item to a forum list (https://vborg.vbsupport.ru/showthread.php?t=174139)

whereisapi 03-25-2008 06:46 PM

Adding a "link" item to a forum list
 
Hi guys.

I've read through the docs at http://www.vbulletin.com/docs/html/, but items relevant to plugin development are a bit sparse.

I'm looking to do something very simple, which is create a plug-in that accepts a few parameters that queries a URL via PHP.

Which plugin hook would I extend to add to this board (as example) a link to google at the end of the listing for "News And Announcements"?

+News And Announcements
-- News and Announcements
-- VBulletin Presales Questions
-- Visit Google!

Hope this makes sense!
Appreciate the direction.

Lynne 03-25-2008 07:44 PM

Have you tried entering it into the Forum Link part of the forum manager? That might work for you.

whereisapi 03-28-2008 08:14 PM

The idea is that these will be generated programmatically. Just hoping someone can point me in the right direction.

I haven't been able to find a list somewhere, of which hooks connect where, and which variables are available to which hooks at the individual locations.

Are we expected to just read the source, or are there resources available to these ends?

Thanks!

Lynne 03-28-2008 10:04 PM

Hmmm, I think to find which hooks you have available, the best thing to do is open the page your want to use (forumdisplay.php for instance) and see which hooks are in the page.

You may want to look through the vBulletin Articles forum. There are a ton of great helpful articles in there.


All times are GMT. The time now is 10:13 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.00978 seconds
  • Memory Usage 1,713KB
  • 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