vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   [Fixed] Static HTML Issues (https://vborg.vbsupport.ru/showthread.php?t=323469)

MokeyII 09-16-2016 12:28 AM

[Fixed] Static HTML Issues
 
I don't understand what is going on. I put a module for static HTML, edited the settings, added my image with URL, page loads, shows a broken image then deletes the content in the static HTML.

Anyone know why this is happening?

It's basic html
Code:

<a href="https://www.g2a.com/r/user-57db4b56f037d">
<img src="http://www.fractured-gaming.com/images/ads/g2a-banner.png"></a>


When I inspect the code, this is what it looks like.
https://vborg.vbsupport.ru/external/2016/09/7.png

Dave 09-16-2016 12:41 AM

What if you try:

HTML Code:

<a href="https://www.g2a.com/r/user-57db4b56f037d" style="background: url(http://www.fractured-gaming.com/images/ads/g2a-banner.png); width: 560px; height: 150px; display: block;"></a>

MokeyII 09-16-2016 12:56 AM

Quote:

Originally Posted by Dave (Post 2575961)
What if you try:

HTML Code:

<a href="https://www.g2a.com/r/user-57db4b56f037d" style="background: url(http://www.fractured-gaming.com/images/ads/g2a-banner.png); width: 560px; height: 150px; display: block;"></a>

It just shows a massive blank block now with no image. however the hyperlink works now... but with no image :(

noypiscripter 09-16-2016 02:50 AM

The image is hidden. Notice style="display:none !important;". Did you add it? If not, then there's a script that's dynamically adding it.

MokeyII 09-16-2016 11:06 AM

No I didn't add it. I don't even know where to look for it at. unless it's in the theme I am using. I am using the Quatro Theme.

Man VB5 is giving me a headache. I almost miss VB4.

noypiscripter 09-16-2016 02:59 PM

Could you post a link to your site?

MokeyII 09-16-2016 03:48 PM

<a href="http://www.fractured-gaming.com" target="_blank">http://www.fractured-gaming.com</a>

Dave 09-16-2016 03:53 PM

Have you tried turning off your ad-blocker?

:D

Seven Skins 09-16-2016 04:17 PM

Ad blocker is blocking image. If it was me I would remove ads from the url and use non standard size banner.

Code:

<a href="https://www.g2a.com/r/user-57db4b56f037d">
<img src="http://www.fractured-gaming.com/images/ads/g2a-banner.png"></a>

e.g.

Code:

<a href="https://www.g2a.com/r/user-57db4b56f037d">
<img src="http://www.fractured-gaming.com/images/drawings/g2a-banner.png"></a>

--------------- Added [DATE]1474051160[/DATE] at [TIME]1474051160[/TIME] ---------------

Add also remove banner from the image name.

noypiscripter 09-16-2016 05:03 PM

Yeah the image is being blocked by an ad blocker. I went to your site and the image was blocked by AdBlocker.


All times are GMT. The time now is 04:34 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.01694 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)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
  • (10)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