The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#52
|
||||
|
||||
I tried this hack last nite on a PHP based front page
Now, being that I'm a id-10-T newbie with PHP, I'll claim no great shakes at page design, or PHP coding, but, it seems to have serious issues(MySql DB errors, and bad pass data to SQL call) if there are no cookies, but only gets the: Warning: Headers already sent" error message when a cookie is present. Also, it DOES issue the Welcom back message. I know that the admin.php is called from the global.php include.... I also changed it up a bit, making all the statements after the } else { statement to be print( statements, as I wasn't getting a good result with the escape from html/PHP structure that was in place. It DOES process the logon correctly, and allows the links on my front page direct access to the threads, so what I've got going wrong has to be simple.... Another consideration is that I use BadMeetsEvil's Headlines script, modified, and in several variants, each with a different forum category for all the areas on the board. The other hacks used on the front page are;
If you want to logon, use the userId: Varebel, password same as user Id. It's a read-only Id, so no posting is allowed, simply a test vehicle we use for see what the general public see's. Thanks for any help in advance....Be kind, Old mainframers need help, too ) |
#53
|
||||
|
||||
Hi
Can anyone help me? I have a Digi Chat hosting thing, at the moment I can get it to log into the chat system if the user is already logged in and on the vB board. But what I now need to do is allow a user to login and get to the chat system at the same time, anyone know how to do this? The code I currently have is: PHP Code:
PHP Code:
|
#54
|
||||
|
||||
I installed this hack and I like it, but it has spaces above and below the login. I was able to get rid of the spaces above and below the text after you login, but I can't seem to find out how to get rid of the spaces on the login menu thingy.
I am using the code that is in this attachment: https://vborg.vbsupport.ru/attachmen...&postid=143603 (Post #3 in this thread.) Can somebody please help me? I really want to use this hack, but those spaces just don't go with where I am trying to use this hack. Thanks. |
#55
|
||||
|
||||
Yeah ... lovely hack ... works nice for me.
Thank you, RobAC! |
#56
|
||||
|
||||
Does anyone have this working with 2.2.5? I've installed it and everything is fine as long as the user is logged in. However, once you logout, it takes you to the login section and not the form that is part of the script.
Thoughts? |
#57
|
||||
|
||||
Ok, I have a few more details on this issue.
Since my VB board is part of a totally private site, I have it set so that guest cannot browse the board. Basically, there is no guest account. So, if you're not logged in, you're immediately taken to the login window. Since this is being done as an include, it looks like I'm going to have to edit the template pretty heavily to get it to work correctly. Right now there are broken images and the re-directs aren't working. I'm getting closer. |
#58
|
|||
|
|||
Read next post.
Editied.... |
#59
|
|||
|
|||
Hey people.. If you get the error msg Cannot add header information, just add ::
<?php chdir("forum/board/"); require('./global.php'); ?> At the VERY VERY top of your code.. Even before the HTML.. this will change the directory, so you will have to reconfigure other PHP scripts, but stops header errors. |
#60
|
||||
|
||||
Quote:
|
#61
|
||||
|
||||
Quote:
Anyway, to get it to return the same page, I made another member.php (members.php) and hard coded the return page url. Then reflected the new members.php path in the login box code. I have tried it extensively and it worked every time. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|