vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Perfect 404 Error Page (https://vborg.vbsupport.ru/showthread.php?t=224936)

Delifed 11-01-2009 02:19 PM

Cool looks nice i may have to use. Thanks,

MagicThemeParks 11-01-2009 02:25 PM

Does the page validate without errors? I haven't added it yet, but I'm planning to do so.

The DEMO is showing 57 errors: http://validator.w3.org/check?uri=ht...Inline&group=0

Arcade Fire 11-03-2009 04:15 PM

Quote:

Originally Posted by MagicThemeParks (Post 1909022)
Does the page validate without errors? I haven't added it yet, but I'm planning to do so.

The DEMO is showing 57 errors: http://validator.w3.org/check?uri=ht...Inline&group=0

I try to fix this... :erm:

MagicThemeParks 11-03-2009 11:29 PM

Thanks Arcade Fire :)

Please let us know when it's fixed because this is a great mod and helps those folks just starting out. :up:

Arcade Fire 11-06-2009 08:47 AM

@ MagicThemeParks, try with this code:

Update:


XHTML Valid [Whithout tables]

https://vborg.vbsupport.ru/external/2009/11/50.jpg



Code:

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >

<html xmlns="http://www.w3.org/1999/xhtml">
 


<head>
    <title>
    $vboptions[bbtitle]
    </title>
  </head>
  <body>
$header

$navbar
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
      <tr>
        <td class="tcat">
          The requested URL was not found on this server.
        </td>
      </tr>
      <tr>
        <td class="alt1"><script type="text/javascript"
          xml:space="preserve">//<![CDATA[
  var GOOG_FIXURL_LANG = 'en';
  var GOOG_FIXURL_SITE = 'http://YourSite.com';
//]]></script> <script type="text/javascript"
          src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"
          xml:space="preserve"></script> Back to <a
          href="http://YourSite.com"><b>home page</b></a> <br /><br /><script
          type="text/javascript" xml:space="preserve">//<![CDATA[
google_ad_client = "pub-***********YOUR ID***********";
/* 728x15, creado 13/02/09 */
google_ad_slot = "9714452317";
google_ad_width = 728;
google_ad_height = 15;
//
//]]></script> <script type="text/javascript"
          src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
          xml:space="preserve">//<![CDATA[
//]]></script>
        </td>
      </tr>
    </table>
  $footer
  </body>
</html>

Screenshot:

https://vborg.vbsupport.ru/external/2009/11/51.jpg

segwayon 11-06-2009 11:40 AM

Quote:

Originally Posted by Arcade Fire (Post 1908982)
Who's Online Modification

If you want to show who is browsing this new page of yours, just open up includes/functions_online.php and find:
Code:

case 'bugs.php':
        $userinfo['activity'] = 'bugs';
        break;


Below, add:
Code:

case '404.php':
        $userinfo['activity'] = '404 page';
        break;


. . .

My file doesn't contain a case listing for 'bugs.php'. Is there an alternate location where the new code can be placed?

Arcade Fire 11-06-2009 12:53 PM

Quote:

Originally Posted by segwayon (Post 1910951)
My file doesn't contain a case listing for 'bugs.php'. Is there an alternate location where the new code can be placed?


After or below of:

Code:

        case 'forumdisplay.php':
                $userinfo['activity'] = 'forumdisplay';
                break;


segwayon 11-06-2009 09:58 PM

Quote:

Originally Posted by Arcade Fire (Post 1910965)
After or below of:

Code:

        case 'forumdisplay.php':
                $userinfo['activity'] = 'forumdisplay';
                break;


Thanks. I altered that function file. The online.php page still shows me as visiting "Unknown Location . . . /forum/404.php" Is there something I missed?

Arcade Fire 11-07-2009 07:24 AM

Recharge once the browser and you should show the current location. I noticed that not always shown in real time, whether you have installed this mod or not.


Greetings.-

CSS59 11-10-2009 12:41 AM

i get nothing when i go to : http://www.rotolandia.com/404.php


All times are GMT. The time now is 05:33 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.01109 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete