vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Drupal Addon - vbcode (https://vborg.vbsupport.ru/showthread.php?t=103280)

El_Muerte 12-18-2005 10:00 PM

vB Drupal Addon - vbcode
 
Note: This is an addon module for vB Drupal: Community Plumbing

This plugin adds two new vbCode tags:
[drupal] and [dimage]

It will allow you to easily link to drupal pages and images (when using the image.module).

Both tags work the same, except that the [dimage] tag will make a link with the thumbnail of the image that is being linked.

The tags can be used in two ways:

[drupal]path[/drupal]
[drupal=path]title[/drupal]

path is the location to the node (stuff after ?q=). The path given is automatically translated to the defined path alias. As a shorthand notation you can use just the node number (e.g. instead of "node/123" just "123").
title is an alternative title to use. If no title is given the title of the node is used, or it will fallback to a human readable version of the path alias ("path_alias/url" => "path alias url")

for example:
[drupal=4]More about us[/drupal]
will create the following html code:
<a href="http://example.com/drupal/about_us">More about us</a>

This plug-in adds one new setting (in the vb Drupal category): Files path
This setting is required for the [dimage] tag

The Chief 12-19-2005 02:13 PM

wow, great stuff, will install once my drupal gets working :D

sanereddy 01-28-2006 12:11 PM

Hello,

Could you please tell me how I can get the user name link to blog..

I am using url's like

http://www.myitblog.com/techguru

how i can use the tags in drupal template, so I can link to blog in comments...

Thanks,


All times are GMT. The time now is 07:54 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.01080 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
  • (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