![]() |
[vBMods.rocks] Display Forum Description on Forum Channel page using an Ad Module
1 Attachment(s)
It's a default feature in vB4 to have the forum description displayed below the forum name in the forum display page. Unfortunately, this is not the case for vB5. But don't worry, adding it is fairly easy thing to do and the actual code for it is so simple! You may wonder why on earth vBulletin has not implemented it yet? Don't ask me, I don't know why. :confused:
You can do this by editing a template but I don't recommend it for maintenance reasons as you may get template merge conflicts during an upgrade and you would have to resolve the conflicts every time. I prefer this approach better using an Ad module as this will not get affected by future upgrades. Below are the steps:
Live Demo: http://vbmods.rocks/forum/vbulletin-...-modifications This mod is also posted in http://vbmods.rocks/forum/vbulletin-...g-an-ad-module Screenshot: See attached image below. |
Ok followed the steps and instead it only shows this.
Code:
{vb:raw page.nodedescription} |
Are you on vBCloud?
|
Quote:
|
Are you sure you are using an Ad Module and not an HTML module?
|
Could you post or PM me the link to your site?
|
@Papa Bear, I have an idea what's happening to your site not parsing vB template code syntax in Ad modules.
1. Determine the ad id generated by the Ad module you added. Right click on the module and inspect the HTML element and find ad_XXX_inner or axd_XXX CSS classes in the module. The XXX is the ad id. I found it for your site which is 158. 2. Find the ad template in AdminCP using the ad id you got in step 1. The template name has a format of ad_XXX where XXX is the ad id. So in your case, the template name is ad_158. 3. Edit the template and make sure the "Text Only" checkbox is unchecked. I'm pretty sure it is checked for you which causes vB template code syntax to not be parsed and evaluated. 4. Save. Please let me know if that fixes the issue for you. |
Glenn, I ran into this on a client site and it's because the template has <vb:literal> tags in it. If you remove those it works.
Guess the ad modules must insert those by default, I'm not sure. The text only box was already unticked. |
I don't see vb literal tags in Ad module templates. Or is that done only in vBCloud? I know the Text Only flag is forcely set in css_additional template when adding custom css via Sitebuilder CSS Editor. I created a related JIRA on that recently.
http://tracker.vbulletin.com/browse/VBV-16683 |
Quote:
It's worth noting that adding the forum description is due to go into 5.2.6: http://tracker.vbulletin.com/browse/VBV-12209 The css_additional flag being set is, I'm fairly sure, because of Cloud customers, as they have access to that and it needs to be text only. So to implement that Jira they'd need some way of distinguishing between the two and setting it appropriately. Otherwise Cloud customers would have to be restricted from adding custom css. |
All times are GMT. The time now is 12:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|