Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

HF Theme Issue: An actual fix for you. Updated 10-2-13

Thanks so much for this worked for me thanks in advance
If I don't post here again, consider the fix to be working.
Thanks.
But the thing is, on that url's if we type www. before it works just fine...
(Sep 30, 2013 04:35 PM)HeBTeMy Wrote:  But the thing is, on that url's if we type www. before it works just fine...

Works perfectly for me, thanks. Almost bashed my head in when the extension thing wasn't working for me in chrome.
Still having issues after doing the method for Chrome

Picture:
[Image: 4EyEr.png]

EDIT: after posting fixed? wth? It did it before, but went back to the weird formatting with no HTML base and whatnot
There is no need to do so much hassle. Just add subdomain www. before the hackforums and your off the horse :) It is just wrongly settup CDN and subdomain usage and redirect :)

Once again when you go to private messages it adds www. before the hackforums so thats why you get part of it but if you do it manually it fixes it self out :)

Try it hackforums.net not hackforums.net.

Eventhough I do not know why firefox does not work because it pushes www. everytime!
(Sep 30, 2013 10:51 PM)Viral Dragon Wrote:  If it were this/that simple almost no one would be having problems. But alas, it is not. It literally is
because you cannot reach the .js and .css files (or images) directly anymore and you need the
hackforums.net referrer in your referrer field. Much like this:
Referer: https://hackforums.net/
Code
https://hackforums.net/usercp.php

GET /usercp.php HTTP/1.1
Host: hackforums.net
User-Agent: Mozilla/5.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
[b]Referer: https://hackforums.net/[/b]
Cookie: moo
Connection: keep-alive

HTTP/1.1 200 OK
Server: cloudflare-nginx
Date: Tue, 01 Oct 2013 05:40:09 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: User-Agent
Content-Encoding: gzip

I literally do not know how else to explain this to people. It is THIS simple. If your issue is the theme
is broken and you cannot see images, .css or .js files directly; It is because you donot have a
referrer being sent to the HF server. That is all.

There is no difference between www. and no www., it's more or less a convention. If it was as
simple as just adding a www. to beginning of every URL, Omni could have gone to his .htaccess file
and put:
Code
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^hackforums.net [NC]
RewriteRule ^(.*)$ https://hackforums.net/$1 [L,R=301]
Back in the 90's www was just a way to distinguish a web server from its mail server, ftp server,
whatever server, etc etc...But like I said, just try to visit a css file on HF without a referrer.
Get a 403? That's because of the permissions Omni has amended. Go to the CSS file WITH a HF
referrer, and you can see the css? There you go then. Clicking on any link, making a post/thread,
all that crap. When you click a link you automatically set the referrer field to hackforums.net because
that was the previous page you were on.
----

I'm not trying to rant here guys, but I've said the same thing like 100,000 times now. I almost want
to make some grand tutorial on browsers, http headers, and how servers interact with them. ._.

-Viral.

Sense or nonsense adding www. fixes the problem :) There is no need for much hassle if such a simple temporary fix works :)
The theme worked once i added the subdomain to it.
www.
Just sayin, all I did was add hackforums to adblocker plus and all my issues went away.
(Add as in allow it)
(Oct 2, 2013 09:41 PM)Viral Dragon Wrote:  Did you at any point in time, add HF to the block list (even if by accident?).

-Viral.

Pretty sure it was defaulted as Ad block was on.
All I know is I logged on a couple days ago, noticed the css wasn't loading properly and adblocker was the first thing that I checked. It worked. I moved on and haven't thought about it until now.
Surprising this worked for me! Thanks dude.
(Oct 3, 2013 05:37 AM)wyn10 Wrote:  Only fix for me is clicking the header, which reloads it fine afterwords.

[img]http://speedcap.net/sharing/files/be/ba/beba4ad9ceb773b7dc886ebe791c5d37.png[/img]

[img]http://speedcap.net/sharing/files/8a/0e/8a0e729be46d4b12b2ea3d3954b12316.png[/img]

For me that seems to work...sometimes. And it only happens for me on the Home page. Another glitch that appears that may/may not be related is images just do not show up. At all. Refreshing the page makes it worse!! 😟


Possibly Related Threads...
Thread / Author Replies Views Last Post
by IsildurMay 5, 2014 11:08 AM 2 188 May 5, 2014 11:08 AM
Last Post: Omniscient
by YoinkedNov 1, 2013 12:40 PM 2 157 Nov 1, 2013 12:40 PM
Last Post: Omniscient
by GpizzleOct 2, 2013 07:49 AM 1 115 Oct 2, 2013 07:49 AM
Last Post: Delevingne