vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Parse variable into showthread with banner rotation mod (https://vborg.vbsupport.ru/showthread.php?t=258484)

tintin74 02-07-2011 09:37 AM

Parse variable into showthread with banner rotation mod
 
Hello,

Hello I've create an ad banner that contain the title of the forum where it is showed into showthread script .

Example: Into the New York forum, for every thread , the banner will have the text : "New York : Book your flight now"

The Title variable
Code:

{vb:raw GLOBALS.foruminfo.title_clean}
is parsed only if I put this code into showthread template.

If I use a banner rotating system modification, the variable
Code:

{vb:raw GLOBALS.foruminfo.title_clean}
isn't parse and it is showed as it is.

I suppose I've to change the hook into the plugins of the banner management system modification , but I don't know how.

Does anyone could help me to parse this variable also into these plugin, please.

Thank you in advance

Lynne 02-07-2011 02:57 PM

Since this question is related to a specific modification, you should be asking this question in that modification thread. We have no idea how the banner modification works so we really can't comment on how to get a variable to parse in it or what hook location to use.

tintin74 02-07-2011 06:27 PM

Thank you Lynne for your quick reply.

The product is "Geek Advertising Banner system" and now I've made a request to the author to help me to find a solution about that.

I hope he will find a solution.


All times are GMT. The time now is 10:36 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.01068 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
  • (2)bbcode_code_printable
  • (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