![]() |
Worked :)
|
Yeah but it creates a major bug.
Please undo the change I gave you, and follow step 3 in the first post again. :) |
[QUOTE]Originally posted by FireFly
I'm going to split all posts from Hooper and Crinos in a bit, I'm as well already confused. :) https://vborg.vbsupport.ru/showthread.php?s=&threadid=32879 Tell me if the title of the thread is not appropriate. :) Does this work ok or not? I want to release it as soon as possible, but I want to make sure it works perfect first! :D |
Very nice Chen, well done :)
|
Well,
I have all the links I need insatalled currently and have found that they all show up correctly in the WOL. I don't know if the hash statement is necessary or not with this hack but if not I really don't have any more ideas for it. It seems to be doing what it should be doing. :D Haven't found any quirks. Might want to release this one if no one has any more suggestions. |
Thanks Hooper, these are great news. :D
Thank you all for testing this hack, I'll be releasing it soon. :) |
Welcome. :)
|
Hello all.
I thought that I would jump on the bandwagon and test this out. Everything appears to be working fine here with 2.2.1. Great job. |
Just confirming - works perfectly in 2.2.1.
CJ |
[QUOTE]Originally posted by CrazyJohn
Just confirming - works perfectly in 2.2.1. CJ |
I have a suggestion: explain to use how to incorporate home-made files that reside in the directory of vbulletin.
For instance: http://www.kurafire.com/files/thecouch/portal2.php http://www.kurafire.com/files/thecouch/ is the directory of my board, and the portal2.php is a home-made portal page that lists 50 threads that have last had a reply in (excluding threads from a private forum). (oh, and portal.php lists 250 instead of 50). Now, can we just list portal2.php in the input panel of this hack and it'll work already? That's all I want to know, how to make that work :) (I read it already works, with some editing, for the vbstats hack) |
If portal2.php requires global.php, then yes you can simply list it using the hack. :)
|
No, it doesn't use global.php. It only creates an opening to the forum's database, runs one query and creates an output of that.
How would I go and include global.php for it? I want to know that because I want to use some of the global functions in the new version of the portal2.php page (which will actually LOOK like something, unlike now). |
PHP Code:
|
Great, thanks :)
So what exactly does it allow me to use in my code with that? |
While I'm at it: how did you do that awesome "user is away" script ???? That's awesome! :eek:
Edit: nm, I see the hack already. :) |
The major advantage is using the sessions vBulletin provides.
Other than that, checking for permission becomes easier, and also templates. You can use templates with that. |
Ooh, permissions, THAT I like very much! ^_^
|
[QUOTE]Originally posted by FireFly
PHP Code:
|
What are the exact warnings?
|
Quote:
Also, how would I go and make my portal2.php adjusted so that it will include the Header and Footer of my default style?? Would that take up a LOT of work? |
Any word yet on how I can fix this??
|
[QUOTE]Originally posted by KuraFire
Any word yet on how I can fix this?? |
I have installed it at my end and Im getting the 404 error. I can add a who's online location just fine and also deleted it, this all works 100%.
If I click on the file underfilename it goes to the 404 error page: http://www.skytronic-forums.com/testbest? Uploaded the admin_online.php from the top post and the one a few posts down and none work. Am I doing something wrong or is there something Im missing? Running: 2.2.1 Thanks. ;) |
[QUOTE]Originally posted by The Realist
I have installed it at my end and Im getting the 404 error. I can add a who's online location just fine and also deleted it, this all works 100%. If I click on the file underfilename it goes to the 404 error page: http://www.skytronic-forums.com/testbest? Uploaded the admin_online.php from the top post and the one a few posts down and none work. Am I doing something wrong or is there something Im missing? Running: 2.2.1 Thanks. ;) |
Nothing is showing whats so ever within the box. Tell me......... what does this enable you to do?
|
[QUOTE]Originally posted by The Realist
Nothing is showing whats so ever within the box. Tell me......... what does this enable you to do? |
Thank you :)
Very well explained and I know now were Im going wrong. Thanks. ;) |
[QUOTE]Originally posted by The Realist
Thank you :) Very well explained and I know now were Im going wrong. Thanks. ;) |
[QUOTE]Originally posted by Hooper
<snippets> Just add the necessary changes. |
Chen,
I haven't found any problems. Added several outside pages and everything seems to be doing super. I've even managed to pull in a news script that ends up using various files and it works super. Ready for release as far as I can see. Thank you for the super hack. :) |
[QUOTE]Originally posted by FireFly
The major advantage is using the sessions vBulletin provides. Other than that, checking for permission becomes easier, and also templates. You can use templates with that. |
I couldn't get it to work that way either JJR. It works properly without including the sessionhash as far as I can see. The only thing I did different is I added the sessionhash to all of my links in the forum. So SiteNews.php has a link with the sessionhash included. In other words I didn't add the sessionhash to the link in the hack, I added the sessionhash to the link in the forums that takes you to that page.
Hope this helps... :) |
Erm, but isn't everyone's sessionhash unique etc. etc. ?
Anyway, Hooper do you have the global.php script required at the start of all of those pages (listed in your attached ready.gif above) ?? :) |
Easy to install, works perfekt with external pages!
:D Thanks a lot! Tom |
[QUOTE]Originally posted by KuraFire
Erm, but isn't everyone's sessionhash unique etc. etc. ? Anyway, Hooper do you have the global.php script required at the start of all of those pages (listed in your attached ready.gif above) ?? :) |
*nods*
But I still don't know how to fix the three errors I get when I include global.php on a page.. :( (see posts #59 and #61 in this thread, for the details) |
[QUOTE]Originally posted by KuraFire
*nods* But I still don't know how to fix the three errors I get when I include global.php on a page.. :( (see posts #59 and #61 in this thread, for the details) |
My global.php (I assume this is the one in the root directory, not the ./admin/ directory) is untouched (never edited it), and my external files are in the very same directory. I keep all my external pages that extract data from my vB-database in the same directory, cos yes that's a lot easier for everything. :D
Anyway, no, I doubt it's a path error. The two lines (85 and 88) in my global.php are: if ($HTTP_GET_VARS['HTTP_POST_VARS']['action'] == $HTTP_POST_VARS['action']) { unset($HTTP_POST_VARS['action']); } $HTTP_POST_VARS['action'] = trim($HTTP_POST_VARS['action']); (with the second line as 85, and the last line as 88) Maybe I ought to try this online instead of on my own computer (set up as apache+php+mysql) - that might be it? |
[QUOTE]Originally posted by KuraFire
My global.php (I assume this is the one in the root directory, not the ./admin/ directory) is untouched (never edited it), and my external files are in the very same directory. I keep all my external pages that extract data from my vB-database in the same directory, cos yes that's a lot easier for everything. :D Anyway, no, I doubt it's a path error. The two lines (85 and 88) in my global.php are: if ($HTTP_GET_VARS['HTTP_POST_VARS']['action'] == $HTTP_POST_VARS['action']) { unset($HTTP_POST_VARS['action']); } $HTTP_POST_VARS['action'] = trim($HTTP_POST_VARS['action']); (with the second line as 85, and the last line as 88) Maybe I ought to try this online instead of on my own computer (set up as apache+php+mysql) - that might be it? |
All times are GMT. The time now is 04: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|