![]() |
Where exactly can I find the 1.30 zip file? All I see is the one for 1.20 and I checked that, which showed the last modified dates for the files as those relative to the time of your 1.2 release.
|
Sorry, I thought I'd uploaded the new zip file, but must have forgotten to check the button to replace the current attachment.
I've uploaded the new file in the first post. Darren. |
Hmmmm... the last modified date of the files within the archive still say 9/11, nothing suggesting they are more recent, and while the thread now says that the filename is v1-30.zip, it still downloads as v1-20.zip
A Closer look... the readme still says you have to copy and paste, which you said is no longer necessary with 1.30 |
Strange, could be a cache problem.
Anyway, I'll attach the 1.30 version to this post too. Darren. |
Thanks much. Great hack, by the way :)
|
Hi Darren,
I have spent some time on other hacks and this appears to be more suited to what i actually need! I will try to load it up in the next few days and when i do i will click the Install button. Looking very promising! Will speak to you during the install! Thanks |
Hi Darren,
I am about to do the install! I will be trying thiswith ver 2.2.8. Do you know of any other users using 2.2.8? |
Hi Darren,
The install went well, but i cant seem to get it to integrate! The html page is www.glo-racing.com/v3/main.html and I am trying to place the welcome panel in the right hand blue column where it says "start" I created the replacement file www.glo-racing.com/v3/main.php and for some reason the php completely alters the code. I am open to suggestions! |
Hi glo,
Your main.php file cannot find the webwelcome.php file so is ending at that point and not parsing the rest of the HTML. I tried to view the webwelcome.php file which should be in the same dir and I got a 404 error. Viewing the source of your main.html file, everything else seems to be OK. Darren. PS It works with 2.2.8 |
Hi Darren,
I have created a test page with only your webwelcome script at http://www.glo-racing.com/v3/test.php and this appears to displlay the correct info. Notice this is in the same folder as as http://www.glo-racing.com/v3/main.html and http://www.glo-racing.com/v3/main.php. ( main.html and main.php have identical coding, just a different file extension!) But for some reason the php extension manipulates the code. (Please confirm if the main.html and main.php look identical) because for me they appear different but are supposed to the same! I have amended the path to webwelcome.php ie <?php include ('/hsphere/local/home/glo-raci/glo-racing.com/forums/webwelcome.php'); ?> This has not rectified the problem? HELP! |
Quote:
Any help would be appreciated, thank you. |
I keep getting the "Call to a member function on a non-object in webwelcome.php on line 24" error even though Guests are able to view my forums. Any ideas?
|
Quote:
|
any one got this working with 2.2.8????
I am still stuck!!! |
This is what I get:
PHP Code:
|
This error is because the vbulletin global.php file has not been called or found. Make sure that the paths etc are correct at the top of your homepage.
|
Thanks a lot it works. I got it as a subdomain and version 2.2.8 and it works great. "Clicks Install" The only thing is when I go to login on my homepage, it takes me to my board and if I go back to my homepage it shows me logged out, I even try hitting refresh. Is there anyway to fix this?
|
Make sure that your cookies are set to:
Cookie Domain: .mydomain.com (Yes 2 dots ;)) Cookie Path: / That may do the trick. |
I don't have that problem on the board just the homepage. BTW mine is a subdomain how would i put it? forums.mydomain.com
|
If the homepage is at www.mydomain.com and the forums at forums.mydomain.com then use the settings above and I'm 99% sure that will solve the problem.
If not then forums.mydomain.com is what to put in ;) |
That did the trick, thanks a lot.
|
Your welcome :)
|
Is there anyway to adjust how it looks? Like in size and colors?
|
Everything is controlled by the templates.
|
anyone that has this hack working,
I was hoping that u may be able to help me with the coding for this hack. It looks fine but wont work properly. To date Darren Lewis has had a look at the code but cannot see why it wont work for me. i am trying to use it at http://www.glo-racing.com/v3/main.php but it keeps parsing the code for some unknown reason. The actual code can be viewed at http://www.glo-racing.com/v3/main.html and selecting view source. the web welcome is supposed to load in the right hand column at the top. Even when trying to view http://www.glo-racing.com/forums/webwelcome.php doesnt display and I have not modified the code, just inserted the template, yet it wont work properly. Any help is greatly appreciated. Thanks in advance. |
If it helps, this is my PHPinfo file.
|
Is there any way to use this on a .html page instead of having to convert my homepage to .php ?
|
Hi Julie,
From what i can tell, u need to use the php extension, otherwise it wont action the php code. But then again, i could be wrong because i havent gotten this code to run on my site yet. |
Darren, after adding the templates, should i be able to test them by accessing www.website.com/forums/webwelcome.php ?
Regards Gavin Lo |
Yes you should be able to.
It will not work on a page with a .html extension, unless you set your server to parse .html extensions as php. |
Hi Darren, I am testing the code on its own as I think that when inserted into my page that it gets corrupted along the way?
Anyway, when it logs me in, and i select "user CP" it doesnt send me to the correct link cause the directory for the forums is above the folder where the link is? Can you please make some suggestions??? |
Sure :)
The paths for the links are controlled by the templates. The one for the UserCP is in the webwelcome_logoutcode template. You may want to add $bburl instead of the forums/ bit in the link? I'm sure that something is getting corrupted on that page. I've attached a screenshot of what I get when viewing the php page. Anyone got any suggestions as to why it suddenly stops, and displays the raw HTML? |
I have a few questions. Maybe someone can answer them for me. :)
I installed this, and for the most part it works great. When I first tried to install it, I put the "global.php" section at the top of the page and it didn't work at all. So instead, I made a page called "login.php" with the following code: PHP Code:
It's not exactly a horrible bug that I'm getting because it's somewhat difficult to reproduce, but still a bit annoying. I open two web browsers, go to my homepage with one, and the forums home with the other. On the homepage browser, I log out. I refresh the forms home browser and then log in on that page. THEN, I go back to the browser with the homepage in it and refresh it. Without fail, there will be a "headers already sent" type error, but it goes away if I click on a link to the forum. If I just sit there and refresh it, it doesn't go away though. Lost yet? :) Another question I have is: Is it normal for all the guests that are just visiting the homepage to be listed as guests in vB now? If I'm logged in as an admin, I see the exact location on my site where they are, but if I'm logged in as anyone else it just says "Main Index". Normal? Also, I noticed a big jump in page views and referrers according to the vBstats hack I installed. Will it count all the hits on my entire site now? Or just a fluke? Thanks |
Make sure in both webwelcome.php and the login.php you created that there is no whitespace (blank spaces) before <?php and after ?>
|
Quote:
Still the same result though :( |
Actually, now that I've tested it a little more, I really can't tell when this is happening. There are a few different ways it happens, most of them involving clicking back to the homepage from the forums.
http://www.truthhurts.org is the URL if anyone is interested. |
Make sure the spaces arn't in main.php or functions.php either, if are no spaces then the error is on line 7 on main.php
|
Quote:
|
I would say yes that is the problem. The code in functions.php is trying to do stuff that must be done before any output is sent to the browser. So make sure there is no HTML before you have the bit where you require global.php in your main.php file.
|
Quote:
|
All times are GMT. The time now is 04:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|