x4rl
Well-known member
Not untill he adds them into the whitelistI'm trying to add adbrite to my website and it's forcing the adds to the bottom with the javascript mover enabledAny chance I can stop this?

Not untill he adds them into the whitelistI'm trying to add adbrite to my website and it's forcing the adds to the bottom with the javascript mover enabledAny chance I can stop this?
Not untill he adds them into the whitelistsame as twitter
return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false;
return stripos($match, "google_ad") !== false ||stripos($match, "AdBrite") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false;
Well...after posting this I have realized there was another page...sighI'm trying to add adbrite to my website and it's forcing the adds to the bottom with the javascript mover enabledAny chance I can stop this?
I installed this add-on today. I made sure my js and js-old folders were 777 then ran it in the ACP. I received a message stating "An unexpected database error occurred. Please try again later."
I checked my js-old directory and it had all the correct folders present. I ran it again and a page header of Minify Javascript appeared, listing all my files with a message of "skipped; already up to date".
I assume all is well?
Also, I am experiencing the same issue smsmasters reported. On my home page I have a twitter module. The block remains in place but all of the tweets appear below the footer instead of within the block. I have a similar issue on my forums where I have a ventrilo monitoring block.
I disabled Defer Javascript Loading in the ACP and the issue went away. How can I adjust so I can turn that option back on?
Or you can make the changes yourself.Not untill he adds them into the whitelistsame as twitter
stripos($match, "google_ad") !== false;
I would like to understand how to determine the correct code used to fix the issue I am experiencing with my modules.
For example, my Twitter module issue that smsmasters and I shared where all the code appears at the bottom of the site. I understand I need to ad it to the below code. Instead of "google_ad" or "AdBrite" what do I use? I MUST understand how that tag is determined. I have multiple other non-standard js dependent blocks on my site. One for MS Translator, another for a ventrilo monitor, etc.
Code:stripos($match, "google_ad") !== false;
protected function _jsLeave($match){ return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false; }
protected function _jsLeave($match){ return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false; || stripos($match, "widgets.twitter.com/j") !== false; }
protected function _jsLeave($match){ return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false; || stripos($match, "TWTR") !== false; || stripos($match, "twimg") !== false; }
<div class="section">
<div class="secondaryContent statsList" id="vent">
<h3>Ventrilo</h3>
<span id="instantventrilo"><a href="http://www.instantventrilo.com/">ventrilo</a> Hosting by InstantVentrilo.com</span><script type="text/javascript" src="http://view.light-speed.com/ventrilo.php?IP=v44.darkstarllc.com&PORT=27504&STYLE=2&CHANNEL_WNOUSER=NO&SHOW_IP_PORT=YES&HELP=YES&CONLINK=YES&WIDTH=225&FONTSIZE=10&BGCOLOR=393939&SN_BGCOLOR=393939&SN_COLOR=969696&INFO_BGCOLOR=393939&INFO_COLOR=ffffff&HELP_BGCOLOR=393939&HELP_COLOR=000000&CHANNEL_BGCOLOR=c8c8c8&CHANNEL_COLOR=969696&UN_BG=393939&UN=1061b3&METHOD=js"></script>
</div>
</div>
Ive also been trying to block twitter and was unable to ..
You will just have to wait untill dark adds it to the next release same as me I guess![]()
protected function _jsLeave($match){ return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false; || stripos($match, "TWTR") !== false; || stripos($match, "twimg") !== false; }
Hmm no it don't also as dark says there is too many semicolon in that codeJunior's code works perfectly. Replace your line of code with the below and your Xen Portal twitter block will appear correctly.
Code:protected function _jsLeave($match){ return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false; || stripos($match, "TWTR") !== false; || stripos($match, "twimg") !== false; }
protected function _jsLeave($match){
return stripos($match, "google_ad") !== false || stripos($match, "show_ad") !== false || stripos($match, "_google") !== false || stripos($match, "TWTR") !== false || stripos($match, "twimg") !== false;
}
Np'sI do apologize about forgetting to remove the semicolons in the code I shared with you, but I am not mistaken about the code working.
Same as you at the bottom (this is with it on) with that code replace.. Just don't showI see your twitter block but not the contents. For me the contents appeared at the bottom of the page. Where did yours go?
ThanksPS. I really love your site. It looks so clean.
We use essential cookies to make this site work, and optional cookies to enhance your experience.