![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
[vBMods.rocks] Display Forum Description on Forum Channel page using an Ad Module
![]() Developer Last Online: Mar 2023 ![]() ![]() ![]()
![]() 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.
![]() 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. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
The following members like this post: [email protected]
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements [vBMods.rocks] Add Custom Profile Fields in Postbit | noypiscripter | vBulletin 5.x Products & Extensions | 14 | 02 Feb 2022 04:31 |
New Posting Features [vBMods.rocks] Quote Selected Text | noypiscripter | vBulletin 5.x Products & Extensions | 8 | 02 Feb 2022 04:29 |
Show Thread Enhancements [vBMods.rocks] Display Status Update in Postbit | noypiscripter | vBulletin 5.x Products & Extensions | 1 | 29 Jan 2019 15:31 |
Miscellaneous Hacks [vBMods.rocks] Quick fix for guests having no access to the reset-password page | noypiscripter | vBulletin 5.x Products & Extensions | 0 | 06 Aug 2016 01:17 |
Vbadvanced - Weather Channel Module | boo.3 | vBulletin 3.0 Full Releases | 43 | 08 Nov 2008 15:49 |
Comments |
#2
|
||||
|
||||
Ok followed the steps and instead it only shows this.
No members have liked this post.
|
#3
|
||||
|
||||
Are you on vBCloud?
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#4
|
||||
|
||||
No members have liked this post.
|
#5
|
||||
|
||||
Are you sure you are using an Ad Module and not an HTML module?
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#6
|
||||
|
||||
Could you post or PM me the link to your site?
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#7
|
||||
|
||||
@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 Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#8
|
|||
|
|||
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.
__________________
MARK.B (Member of the vB Support Team) No members have liked this post.
|
#9
|
||||
|
||||
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
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#10
|
|||
|
|||
Originally Posted by noypiscripter
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.![]()
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.
__________________
MARK.B (Member of the vB Support Team) No members have liked this post.
|
#11
|
||||
|
||||
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
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#12
|
||||
|
||||
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.
First post updated to add this workaround. This workaround will probably work in vBCloud too.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
Last edited by noypiscripter; 22 Nov 2016 at 23:21. |
#13
|
||||
|
||||
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:
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#14
|
||||
|
||||
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#15
|
|||
|
|||
you are very genius in vBulletin can you create a module like this? http://prntscr.com/d7zdpl
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:40.