vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Forum Display Enhancements - [vBMods.rocks] Display Forum Description on Forum Channel page using an Ad Module (https://vborg.vbsupport.ru/showthread.php?t=323618)

noypiscripter 11-20-2016 03:26 AM

Quote:

Originally Posted by Mark.B (Post 2578405)
This was on a self hosted site, not cloud. It just put the tags in itself and that generated the same symptoms as the user above. I removed them and it worked. So that might be this user's issue.

That looks like an issue then. There should be no vb literal tags in ad templates as vb template syntax is supported in ad modules

noypiscripter 11-22-2016 06:48 PM

I have tested in my 5.2.5 test site that it adds <vb:literal> tags around the code in Ad modules. I don't know if this was intended but it looks like this was implemented recently in the past one or two versions. I assume this was intended for vBCloud only and not for self-hosted. So I guess this has the same issue as the Text Only flag in css_additional template (http://tracker.vbulletin.com/browse/VBV-16683).

Btw, the added literal tags can be easily bypassed by closing and opening it and putting your code in between.

Code:

</vb:literal>

--- Your Ad module code here ---

<vb:literal>

First post updated to add this workaround. This workaround will probably work in vBCloud too.

noypiscripter 11-22-2016 09:05 PM

I checked vB 5.2.3 and it doesn't add <vb:literal> tags. So I think the addition of literal tags started in vB 5.2.4.

I still think that this was intended for vBCloud only. This should not happen in self-hosted version. Actually, the Ad code field has this text above it:

Quote:

Template conditionals and variables are allowed.
That should be removed if template code syntax is not allowed.

noypiscripter 11-22-2016 09:20 PM

I created a bug report for this.

http://tracker.vbulletin.com/browse/VBV-16734

satriamuda99 11-23-2016 05:07 PM

you are very genius in vBulletin can you create a module like this? http://prntscr.com/d7zdpl

noypiscripter 11-24-2016 02:24 PM

Quote:

Originally Posted by satriamuda99 (Post 2578599)
you are very genius in vBulletin can you create a module like this? http://prntscr.com/d7zdpl

I recommend you to post a mod request to my site and explain what you want in detail and not just providing a screenshot.


All times are GMT. The time now is 05:56 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.01130 seconds
  • Memory Usage 1,727KB
  • 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)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete