![]() |
You shouldn't though.
|
thanks for this, it would be real helpful, but it's not working for me. instead of the png image i get a text, i right click the text, and click view image, it then gives me the 404.php page all blank. so basically i understand that it's not poiting to the gif anymore, but i dunno why it is not showing the png file then? any idea?
|
A link to your site would be useful :)
|
Edit htaccess file to give a full/proper url to your new 404.php
kindly explain proper steps in layman's terms... u mean we shud create new htaccess and new 404.php, both of which we shud load in image dir of every style that our forum has? |
Its explained as simply as possible.
|
Quote:
see the empty image placeholders (scroll down) in main forum categories (not the header) on that very page.. I put the 404.php and .htaccess in here: /public_html/testvbforum/images i had some images in png, and not gif, same file name.. however, it still doesn't auto replace it. [i even changed the template to refer to .png] it still looks for testvbforum/images/styles/smartblue/statusicon/forum_old.gif but i do have testvbforum/images/styles/smartblue/statusicon/forum_old.png there. i checked with my hostmonster guy, they do support this. any help appreciated. |
Quote:
Give him the correct path to this file, and he will find it. |
Quote:
I've put .htaccess at 3, 4 places in the dir structure. where all shud i put 404 and where all shud i put .htaccess? I'm new to .htaccess and php, as per the instruction I've added the files. still i dont see any result. can u please guide me little easy? :erm: |
My server can find the 404 file, but it's just showing a blank page... ?
|
Hi Zachery,
I have now uploaded the .htaccess & 404.php file to the /images/ directory and give the full path to the 404.php file on the .htaccess and also uploaded a newthread.png and removed the newthread.gif img. but I dont get the png image I just get text, I sent you a PM with my URL. Thanks m8 Dan |
why using this while we can use replacement variables if we want to have both png and gif
/buttons/newreply.gif -> /buttons/newreply.png apart from having to add each replacement variable for every png we intend to use, is there any other benefit ? |
Quote:
|
http://www.tf2-forums.co.uk/forums/i.../newthread.png redirects to >
http://www.tf2-forums.co.uk/forums/images/404.php But doesn't redirect. Make sure your php error reporting is on. |
I have spoken to my host and they say that error reporting is ON by default.
But said that this on the support ticket: "Dan, Error reporting is enabled for the server by default. This would only change if you created a php.ini file that disabled it or the script itself disabled it. Have you checked the directory where the script resides to see if an error_log file is being created?" So what I think he is referring to vBulletin, does vB do this ? Dan |
Now my server is using PHP 5, I have error reporting switched ON. Is there any thing you can think of that may be causing me to have trouble with this hack?
Thanks Danny |
I have figured this out now, thanks to StGaensler!
I was putting the full URL path on the .htaccess file instead of simply putting this: ErrorDocument 404 /forums/images/404.php Thanks Zachery Awesome hack and thanks StGaensler! Dan |
Terrible... won't work with easyPhP.
|
What?
|
Quote:
Quote:
I'm waiting to hear back from some of my older members to see if they think they render different than they should. Some of them might be using older versions of their browsers. R'gards, Jim McClain |
anyone else get this working on 3.8 RC1 ?
|
Danny, this in theory works anywhere, it has no real version depedancy. Infact it can work on non vbulletin sites just as well.
|
In short the feature only requires Apache.
I think the not found option in the alternate form is easy to overlook when reading. If you use the mod rewrite you save a file fetch and an execution. If you are loading the simley images, the editor, etc. that is a lot of reads. Offhand it looks like it would save about 100 or so file reads per page. |
I can not understand, why you prefer PNG....
here in IE6 Png are creating problem, in transparency, you can see screen shot.. |
Quote:
|
Quote:
|
This mod works by redirecting all forum icon requests to their .png equivalent via mod_rewrite?
|
It was working but I made a few icon changes, now it does not work. I redid everything when it first worked. I am just puzzled. Any thoughts? You can see the missing images mostly on the postbit & thread page.
My site: http://tinyurl.com/d4u49l |
Hi,
I have recently tried to get this to work on my server and for some reason its not having it, so I tried the same process on my friends server and it worked, so what could be stopping it on my end. When I delete the .gifs all I get is a blacnk space on FF! Can anyone suggest anything? thanks Danny |
Ok I have spoken to one of the Tech dudes from my hosts and he said this:
"This hack will not work in your configuration as any file that does not exist (which would cause a 404) will be handed to Wordpress and managed by wordpress' 404 handler." Is there anyway around this? Dan |
My hosts re-wrote my Wordpress .htaccess file, and this now works awesome!
If anyone uses Wordpress and wants to know how to solve this, just send me a PM. |
Quote:
Do I have to add those lines in my ".htaccess" file? Is that all? In my root folder I can't see any mod_rewrite. I'm sorry but I know nothing about this. Thank you in advance. |
All times are GMT. The time now is 01:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|