EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: Riggs1973 on November 19, 2022, 09:51:15 am

Title: Blocks Help
Post by: Riggs1973 on November 19, 2022, 09:51:15 am
Hi guys

Im new to smf and ezportal and would really appreciate some help :)

Im try to add blocks on the side of my forums to display teamspeak and discord servers using these code
Quote
<iframe src="https://discord.com/widget?id=1043544833379291167&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
and
Quote
<div id="ts3viewer_1126860" style=""> </div>

<script src="https://static.tsviewer.com/short_expire/js/ts3viewer_loader.js"></script>
<script>
var ts3v_url_1 = "https://www.tsviewer.com/ts3viewer.php?ID=1126860&text=757575&text_size=12&text_family=1&text_s_color=000000&text_s_weight=normal&text_s_style=normal&text_s_variant=normal&text_s_decoration=none&text_i_color=&text_i_weight=normal&text_i_style=normal&text_i_variant=normal&text_i_decoration=none&text_c_color=&text_c_weight=normal&text_c_style=normal&text_c_variant=normal&text_c_decoration=none&text_u_color=000000&text_u_weight=normal&text_u_style=normal&text_u_variant=normal&text_u_decoration=none&text_s_color_h=&text_s_weight_h=bold&text_s_style_h=normal&text_s_variant_h=normal&text_s_decoration_h=none&text_i_color_h=000000&text_i_weight_h=bold&text_i_style_h=normal&text_i_variant_h=normal&text_i_decoration_h=none&text_c_color_h=&text_c_weight_h=normal&text_c_style_h=normal&text_c_variant_h=normal&text_c_decoration_h=none&text_u_color_h=&text_u_weight_h=bold&text_u_style_h=normal&text_u_variant_h=normal&text_u_decoration_h=none&iconset=default";
ts3v_display.init(ts3v_url_1, 1126860, 100);
</script>

The teamspeak one isnt mine as its not set up yet but its an example, Ive tried adding them to the Html ezblock and doesnt matter what i do it just shows the code and not the banners.

Any help with this would be truly appreciated.

King Regards Andy
Title: Re: Blocks Help
Post by: EzPortal on November 19, 2022, 10:22:00 am
Are you adding it in the source code view of the editor. Or in the editor page. You have to click the view source area and enter the code.
Or disable the editor under ezportal settings.
Title: Re: Blocks Help
Post by: Riggs1973 on November 20, 2022, 12:59:30 pm
Are you adding it in the source code view of the editor. Or in the editor page. You have to click the view source area and enter the code.
Or disable the editor under ezportal settings.

I'm just clicking the html block under the settings and adding the code in that box, I'll try what you have suggested many thanks