Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Doing My Nut! Details »»
Doing My Nut!
Version: , by asddsa asddsa is offline
Developer Last Online: Aug 2005 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-28-2003 Last Update: Never Installs: 0
 
No support by the author.

I have installed:

https://vborg.vbsupport.ru/showthrea...threadid=37134

Brilliant hack by Darren Lewis. My only problem is that every time you open the site you get:

"Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/u/n/unofficial-blues.net/htdocs/www/Pages/main.php:8) in /data/members/paid/u/n/unofficial-blues.net/htdocs/www/forum/admin/functions.php on line 1653"

Above the Login box. This could have been caused by the other php on the page, so I made the login part it's own php file and included that in the main page. I would have thought that would have stopped the error. When you click the forum and then go back to the main page, the error is gone. Close all explorer windows and it's back again.

Check it out:

www.BluenosesOnline.co.uk

Any help appreciated!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-28-2003, 02:04 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you do stage 3 in the installation instructions?
Reply With Quote
  #3  
Old 11-28-2003, 02:08 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That error is usually caused by a whitespace after ?>
Check if there is one and delete it
Reply With Quote
  #4  
Old 11-28-2003, 02:19 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or that
Reply With Quote
  #5  
Old 11-28-2003, 03:22 PM
asddsa asddsa is offline
 
Join Date: Jul 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I put:

Code:
<?php
chdir("../forums/");
require('global.php');
?>
In the Login.php file that is included on the main page so it looks like this:

Code:
<?php
chdir("../forum/");
require('global.php');
?>
<html>
<font size="2" face="Tahoma"><?php include ("webwelcome.php"); ?></font>
</html>
That is all that is in that file. Then on my main page I have:

Code:
<? include "login.php"; ?>
Then you get the error when you first click the main page. But when you go on to the forum and back to the main page, it's gone! :-/
Reply With Quote
  #6  
Old 11-28-2003, 03:27 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm but it didnt say to put the code in the login.php
Said to put it in the websites main page etc. Read the instructions again to see what i mean.
Reply With Quote
  #7  
Old 11-28-2003, 03:32 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Basically if im correct, open up the page your trying to display the log in on, lets just say its called Homepage.html

Chuck this code in the very top of it, before any other code

PHP Code:
<?php
chdir
("../forums/");
require(
'global.php');
?>
Now rename the whole file too homepage.php

Make sure you adjust the link on your main page aswell so it loads the right file.

Try that
Reply With Quote
  #8  
Old 11-28-2003, 03:41 PM
asddsa asddsa is offline
 
Join Date: Jul 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can i still use the other php codes too?
Reply With Quote
  #9  
Old 11-28-2003, 03:42 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What other php codes?
Reply With Quote
  #10  
Old 11-28-2003, 03:45 PM
asddsa asddsa is offline
 
Join Date: Jul 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, it works! You're a star, Cheers gaffer!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:35 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.04309 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete