vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

sharpkiller 10-11-2011 02:20 PM

Quote:

Originally Posted by Digital Jedi (Post 2255850)
Is there any reason you don't want to create the location, as per the instructions, so that, at least, Who's Online will show something like "Viewing 404 Error" or "Viewing Error Page' or whatever you want it to say? Seems like that would be far easier.

There's a couple of lingering 404 errors floating around as a result of some images being moved around or deleted that were originally stored on the local server (mostly in users signatures and posts, there's a few improperly formatted [img] tags floating around that are attempting to find images on the local server instead of external servers, etc).

So a lot of it is out of my hands, but it still records the hit on the php 404 page on missing images and vBulletin displays it on the Who's Online. There's always 4 or 5 people who are supposedly viewing a file doesn't exist. I'd rather keep that off the WOL.

On top of that, vBulletin is using the missing file name and not 404 page file name. On the Who's Online it'll say something like:

User1 Unknown Location
/images/1234.png

User2 Unknown Location
/signatures/abcd.png

So I can't simply create a case for 404.php to catch the 404 errors to display a message similar to the one's you suggested.

Digital Jedi 10-12-2011 04:35 AM

I don't know if removing it is possible, at least, within the scope of the article. I was under the impression, though, that you could use a directory name for an online location. I might be wrong on that, but I thought I'd done that on my old board. Maybe someone can back me up.

satlazone 10-12-2011 09:27 PM

I am having a little problem with encoding.
All goes fine but when I replace "My Page Title" with some Hebrew words I receive the following characters instead: ���� ����� ���� ���

UTF-8 encoding.

Raeven 10-13-2011 12:02 PM

For some reason the 2 Pages I made a few weeks ago (under 4.1.5) don't work anymore under 4.1.7. The pages are now blank (also no source code in them).

//edit: Found the problem, for some reason, the update deleted the 2 Templates .......... (they are just gone, no where to find)

sivaganeshk 10-14-2011 06:16 PM

what is the format of Template ??

I wanted to create about.php page with my template. The template style I use is White

If it is possible, can anyone upload files as an attachment ??

Digital Jedi 10-15-2011 09:20 AM

Quote:

Originally Posted by sivaganeshk (Post 2257252)
what is the format of Template ??

I wanted to create about.php page with my template. The template style I use is White

If it is possible, can anyone upload files as an attachment ??

I'm not sure what you're asking. Is "White" the name of your style? If so, you would add the template to that style. The template has to be added to each style you plan on using.

sivaganeshk 10-15-2011 11:23 AM

Ya white is the name of the style. Can u post an attachment of the two files ?

Digital Jedi 10-16-2011 05:55 AM

An attachment of what two files? I don't understand what you're asking for.

sivaganeshk 10-16-2011 06:03 AM

I copied the test php file and uploaded in the server. It is showing blank.
Sorry that I cant understand how to do this simple one.. :(

Raeven 10-16-2011 08:36 PM

I guess you mean the Template? The Template is not a "file" directly.

You make your Template in your "Admin Control Panel" in your Forum (under Template and Styles). There you just make a new Template, give it the Name you want to have and it should work ;).


All times are GMT. The time now is 06:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02994 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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