vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - 404 Page Redirect To Thread (https://vborg.vbsupport.ru/showthread.php?t=234274)

ChopSuey 01-26-2010 10:00 PM

404 Page Redirect To Thread
 
1 Attachment(s)
404 Page Redirect To Thread - Brought to you by ChopSuey - http://forum.vbdiscussions.com

DEMO - http://www.vbdiscussions.com/this404...!lolitsawesome

Step one, in any forum of your choice - create a new thread and name it " 404 Page Not Found "
Make sure it is a closed and stickied thread.
The contents in the post put whatever you want. Here is mine for example:
Quote:

I apologise. It's not easy being software. Although I do my best to get you the pages you want to see, the idiot that installed me seems to work tirelessly to undermine my efforts. And I have a few suggestions that might help you find what you're looking for.
While I would bet good money (if I had any - for some reason, though I work around the clock, nobody sees fit to pay me) that the fault lies at this end, it is probably worth quickly checking there are no typos in the address your browser is trying to access.
If not, it is also possible that you've followed a broken link, or a link to a page that no longer exists. If that is the case, please take a moment to email the owner of the link to tell him about the problem.
Lastly, I suggest using the search function here. Good luck!
By the time you return, this problem should be resolved. If not, please feel free to harass the person responsible by emailing chospuey@vbdiscussions.com.
Feel free to use my template and edit it to your liking.

Now after you have posted the thread copy the URL from your browser.
2. Open 404.txt OR edit 404.shtml with notepad or wordpad. change the thread link
Code:

http://forum.vbdiscussions.com/showthread.php?t=104
to your 404 Page Not Found link
then change the contents between the <title> and </title> to "" Yoursitename - Yoursiteurl.com | Redirecting. Hit save after all has been completed.
3. Upload 404.shtml or 404.txt (if you have uploaded 404.txt rename the extension to .shtml) (whichever one you edited) to your site root. If you have /forum or /forums upload it to the folder too.
Any other folders within the public_html folder upload it to there also.

Zorck 01-27-2010 10:18 AM

Very Nice!

Thanks!

ChopSuey 01-27-2010 11:34 AM

I've had this for awhile, just thought i'd share :) Glad you like it.


All times are GMT. The time now is 02:48 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.00912 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete