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)
-   -   welcome/login panel on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=37134)

tomjinx1 06-13-2003 05:00 PM

Just go down to the last thing on your Admin CP which is your temples section. Click on add. Then give the template the appropriate name, select the style that the template is for, and then copy and paste the coding into the new template.

dano 06-18-2003 08:05 PM

Quote:

05-15-03 at 04:56 AM Dave Rosteck said this in Post #168
Can someone help me out here? The welcome panel comes up just fine but I can't get rid of the following error message:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/davesmk/public_html/v3.php on line 2

Any ideas? Also, the welcome panel won't display my online status even though I have my forums at /forums. Help is much appreciated. The page is located at http://www.davesmk.com/v3.php

I was having the same issue and I looked everywhere for help. I basically just played with it and I got it to work. Not sure if it will screw things up, but I just changed it to:

<?php
("../forum/");
require('global.php');
?>

And it worked like a charm. I have tested it out, by logging in and out and with others, and there is no glitches that I can see. Maybe this will work for you.

Also, I am using 2.3.0 for those who want to know.

Splitfyre 06-21-2003 09:31 PM

Cannot seem to get it to work. I get the following error:

Code:

Fatal error: Call to a member function on a non-object
It points to: error in webwelcome.php on line 24

So I look at line 24 and this is what it shows:

Code:

$getnewthread=$DB_site->query_first("SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '$bbuserinfo[lastvisit]'");
Anyone know how I get this login to show up?!?

M4g!k 06-23-2003 09:03 AM

Hey! Im new to all this, IF i install this to my web-site, can i edit it so that if doens't show the avatar and fits in with my pages design?

http://www.indeathwefall.co.uk/index.php

I only want the log-in and regester links to work.

VeoMorphine 07-27-2003 12:33 AM

i get this error when i try to use it on my site. Everything is right.

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT COUNT(*) AS threads FROM thread WHERE lastpost > '0'
mysql error:

mysql error number: 0

Date: Saturday 26th of July 2003 08:31:16 PM
Script: http://www.elite-network.net/forums/index.php
Referer: http://www.elite-network.net/

vnboy 08-03-2003 10:29 AM

Hi, I just downloaded this hack and it works just fine to me. In fact, I found some small mistakes in his codes, many of you have got these mistakes and couldn't figure it out, here's what you need to know:

for example, this is your site: http://yoursite.com/
--> your forum: http://yoursite.com/forums/
- your home.html now has been changed into home.php
- At the top of the page home.php, you MUST add these lines:
Quote:

<?php
chdir("./forums/"); // Darren is wrong when he wrote 2 dots (../), change "forums" to whatever directory your forum is!
require('global.php');
?>
- Whenever in your page you wanna add welcome panel, just add as Darren said:
Quote:

<?php include ("webwelcome.php"); ?>
that's all folks,

Good luck you guys!

EVO VIII Chris 08-09-2003 03:56 AM

Is there some simple way to make it so when you login you are not directed to the forum main page but instead back to the non-VB page you originally logged in from?

Thanks
Chris

dcevoclub 08-09-2003 05:08 AM

Fatal error: Call to undefined function: gettemplate() in C:\Personal Sites\dcevoclub\vbulletin\webwelcome.php on line 156

eval("\$whosonline = \"".gettemplate('webwelcome_whosonline')."\";") ;

and webwelcome_whosonline template exisits

www.dcevoclub.com/main.php is the test for it

Asso 08-17-2003 11:12 AM

it's possbile to have this hack for vb 3?

livewars 08-20-2003 07:37 AM

I don't know if this has been mentioned yet but.... any chance of getting a mini calendar to work with it in the next version? ;)


All times are GMT. The time now is 01:09 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.01404 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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