vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Different links for different forums. (https://vborg.vbsupport.ru/showthread.php?t=166356)

mpage 12-29-2007 01:23 AM

Different links for different forums.
 
Anyone have an idea how I might go about doing this:

I want a link (under the posts/signature) to point to a particular place, but I need this link to be different for paricular sub forums

How might I go about adding these links?

(rather like targted ads, for example, under the cars forums, each post/thread might point to my cars blog, and under my train section, each post/thread will point to my train blog...etc)

Eg, on this thread, if forum title contains "General vBulletin Discussions" show "this" link under the posts

--------------- Added [DATE]1198936477[/DATE] at [TIME]1198936477[/TIME] ---------------

It looks like this is not possible, and no one has created a plug-in.

I write in php/java, so can some one direct me to the knowledge base documents for writing vbulletin plug-in?

Dismounted 12-29-2007 12:30 PM

Scan for keywords in a plugin at "postbit_display_complete" and then append your message to the post.

mpage 12-29-2007 04:52 PM

I have found postbit_display_complete (via add new plugin)

If I wish to append text, I assumed:

global $vbulletin;
print 'test';

it did, but need to know how I can add under posts, and how I can find values of certain arrays (i need to import the thread / sub thread titles and compare, if value array contains value display link x under post)

is there a good resource here to start writting plug-ins?


All times are GMT. The time now is 09:29 AM.

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.00897 seconds
  • Memory Usage 1,708KB
  • 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
  • (3)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