vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Register link for guests, User CP link (or button) for members. (https://vborg.vbsupport.ru/showthread.php?t=38416)

FleaBag 05-22-2002 01:17 PM

Well I'm using an official, English version of vBulletin [2.2.5] - yesterday I couldn't find that code in my global.php, but today I could. LOL. And rather than hardcoding it I used the template version I mentioned above and created the two relevant templates, all running great now. Thanks for the help anyway. :)

FleaBag 05-22-2002 01:18 PM

Hmmmm... But it doesn't work in my vBPortal on my test board. :(

FleaBag 05-22-2002 04:17 PM

Anyone have any knowledge on how I could go about making this work in non-vb pages, such as my vBPortal P_themeheader template? Would I need to include anything in the external files that the portal wouldn't do as default? All input is appreciated.

KuraFire 05-22-2002 04:50 PM

It'll work on any page where you include global.php

If you have non-vB pages, make sure to include global.php and it'll work. If you don't want to includ global.php, then there's no way for the page to know whether a user is a guest or a member.

FleaBag 05-22-2002 05:07 PM

I get this error when I try to include it...

Code:

Fatal error: Cannot redeclare stripslashesarray() in /web/gamerforums/board/global.php on line 14
...so I'm guessing it's already included somewhere, which is what I thought - which is why I don't understand why it will not work.

KuraFire 05-22-2002 07:28 PM

I think your version of PHP is just too old...

what version you running?

FleaBag 05-22-2002 09:12 PM

I'm running version 4.1.2 [February 27 2002], which is only outdated by one more release - so it isn't that.

FleaBag 05-28-2002 12:10 AM

*Bump...*

KuraFire 05-28-2002 06:32 AM

Err, see one of the sticky threads in the Full Releases forum. I believe one of 'm contains a small fix on that problem.

FleaBag 05-28-2002 01:15 PM

I've had the replacement code variables fix installed for a long time.


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

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.01075 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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