![]() |
How to insert content below a bbcode?
Hi, I would like to insert an advertisement under a bbcode. Is it possible?
I tried editing the bbcode and adding below: Code:
<vb:if condition="is_member_of($bbuserinfo, 1)"> Code:
{vb:raw my_template} |
Edited Post!
Try this: Code:
<div> |
Thanks ozzy47, but not working. Displays "advertisement" to all groups.
|
Which one, my revised code above with the <vb:if condition="$show['guest']">?
|
Quote:
|
That's virtually impossible, I tested this out and it is only showing for guests.
Did you add that code to the bbcode template directly? |
Quote:
Title: Spoiler Replacement: Code:
<div style="margin:20px; margin-top:5px"> |
Well I did not try with a custom bbcode like the spoiler, I tried it with default bbcodes.
Try it with a default one such as bbcode_code which is the code bbcode in the post, # in the editor, and see if it works there. |
Quote:
Would it be possible to do the same with a custom bbcode? :( |
Not sure, you will have to ask in the thread where you got the mod from.
|
Quote:
Maybe creating a plugin, but I do not know how to do. Maybe someone knows and can help me. |
Sorry, as not achieve what I wanted. I'm using the template "bbcode_code" to integrate advertising, as indicated ozzy47.
But usually displays the contents and in other cases not. I update the page and still no show. After entry to other topics and if shown. What can be happening? Regards! |
All times are GMT. The time now is 04:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|