Force users to disable AdBlock

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Force users to disable AdBlock

Post by theDirtyDuB »

I went and made the changes. Here is what it did.

Image

I have a quick question. Is subsilver and older template style for php and prosilver a newer style? I'm noticing that everything is designed and coded for prosilver templates.

Also is there a way when posting images to have them show up in a thumbnail size and become expanded when the user clicks on it? An example would be the image at the top of this thread showing the disable adblock message.

Force users to disable AdBlock

Post by Stoker »

Post a link to thevsite were its used and make sure the avalonbstyle is default for guests.

The image thing is prettyphoto, its on this site.

Force users to disable AdBlock

Post by theDirtyDuB »

Stoker wrote:Post a link to thevsite were its used and make sure the avalonbstyle is default for guests.

The image thing is prettyphoto, its on this site.
Here is my site
Star-Sense.com

I have only my style and prosilver installed with my style "starsense" only being active. will that be good enough?

Force users to disable AdBlock

Post by Stoker »

Looks like we need to create a new ID to make this work.

Open your overall_header.html
Find document.getElementById("contentrow") and change it to document.getElementById("devilseye")
Find

Code: Select all

<!-- INCLUDE breadcrumbs.html -->

	<br />
Add after

Code: Select all

<div id="devilseye">
Open your overall_footer.html
Find

Code: Select all

<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
Add before:

Code: Select all

</div>

Force users to disable AdBlock

Post by theDirtyDuB »

thanks, i really appreciate your help. I passed out last night in the middle of trying to reply. I made those changes and here is the difference.

Image

just a quick question. Should i be using a prosilver template and not subsilver based template? This is my first time doing anything like this and i just liked how the template style looked but im reading that subsilver2 is older and why most of the mods aren't coded for it. is that even true?

Force users to disable AdBlock

Post by Stoker »

Yes, the most clever thing to do is to chose a prosilver based style. This will make it much easier to install mods.
As you say most mods dont support subsilver2.

Force users to disable AdBlock

Post by theDirtyDuB »

ok thanks. i will go and do that.

Force users to disable AdBlock

Post by Blackwolf »

Might need to check the spelling of Members theDirtyDuB ;)

Force users to disable AdBlock

Post by theDirtyDuB »

where would i do that at?

Force users to disable AdBlock

Post by Blackwolf »

The same file you added and "Premium Memebers" too.