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)
-   -   Miscellaneous Hacks - Custom HTTP Error Pages (https://vborg.vbsupport.ru/showthread.php?t=207490)

PossumX 03-28-2009 09:56 AM

Nice addition. One note is that it only works properly if the Store CSS Stylesheets as Files? option is set to No. When yes, the style is ignored, and it looks horrible. Would be great if you could integrate the usage of CSS Stylesheet files as well.

JamesAB 03-28-2009 12:28 PM

Quote:

Originally Posted by PossumX (Post 1778848)
Nice addition. One note is that it only works properly if the Store CSS Stylesheets as Files? option is set to No. When yes, the style is ignored, and it looks horrible. Would be great if you could integrate the usage of CSS Stylesheet files as well.

On my forum, I have always had Store CSS Stylesheets as Files? set to Yes and it is working properly.
I'm not sure I completely understand the problem and why you are having trouble. :confused:

Thanks,
James

PossumX 03-29-2009 06:53 PM

Must conflict with something else. >>uninstalled<<

RedDevil 03-29-2009 07:43 PM

Installed didnt work using the .htaccess file set in server settings.

nice mod.

711 04-05-2009 02:35 PM

Nice hack, very useful :up:

Any reason why lots (nearly half) of my active members would be shown in the Who's Online listing as this:

Unknown Location
/forum/404_forum.php

I'm really stumped.

711 04-05-2009 06:22 PM

Quote:

Originally Posted by 711 (Post 1784296)
Nice hack, very useful :up:

Any reason why lots (nearly half) of my active members would be shown in the Who's Online listing as this:

Unknown Location
/forum/404_forum.php

I'm really stumped.

Even when I globally disable the plugin system, I still see

Unknown Location
/forum/404_forum.php

on the Who's Online page as well as member profiles :confused::confused:

JamesAB 04-05-2009 08:49 PM

Quote:

Originally Posted by 711 (Post 1784296)
Nice hack, very useful :up:

Any reason why lots (nearly half) of my active members would be shown in the Who's Online listing as this:

Unknown Location
/forum/404_forum.php

I'm really stumped.

I don't have an answer for you, because this mod does not implement adding the error pages as locations in the Who's Online listings.

I just looked at a forum with about 500 people online and didn't see anything out of the ordinary and I didn't see any viewing these custom error pages.

I suggest you check for other mods you may have installed that might effect the Who's Online list.

Thanks,
James

711 04-05-2009 09:57 PM

Quote:

Originally Posted by JamesAB (Post 1784586)
I don't have an answer for you, because this mod does not implement adding the error pages as locations in the Who's Online listings.

I just looked at a forum with about 500 people online and didn't see anything out of the ordinary and I didn't see any viewing these custom error pages.

I suggest you check for other mods you may have installed that might effect the Who's Online list.

Thanks,
James

It happens even when I set the "Enable Plugins" Admin CP setting to "No", so I don't think this is being caused by a plugin (including yours).

I just notice that this didn't start happening until I installed your plugin, and am very confused why it would be showing your 404_forum.php page as the current location.

I even totally uninstalled your mod, but the online location still shows as 404_forums.php.

711 04-06-2009 01:05 AM

Fixed it. It seems the problem was being caused by session variables.

For others who might notice the same issue, simply add the following line near the top of 404_forums.php:

Code:

define('SKIP_SESSIONCREATE', 1);

djbaxter 04-06-2009 04:29 PM

Quote:

Originally Posted by 711 (Post 1784725)
Fixed it. It seems the problem was being caused by session variables.

For others who might notice the same issue, simply add the following line near the top of 404_forums.php:

Code:

define('SKIP_SESSIONCREATE', 1);

That doesn't necessarily fix the problem and what it definitely will do is make your members who reach the error page think they've been logged out when in fact they're still logged in.


All times are GMT. The time now is 01: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.01238 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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