![]() |
ok, I have a question~ I was curious, how can I make it (modify this hack) so that lets say a user is at /chatmain.php? -which is a session hash I believe, how can I make this hack recognzie such a thing IE any url past the &s and strip it. SO that way, if I put "chatmain.php" as the site I'm trying to remove "Unknown Location" from, it will find chatmain.php&s=blahblahblah and remove the &s and everything past it?
Just curious, this has been bothering me for quite some time... |
I'm also using vBPortal and the trouble I'm having is that I can get /download.php to work but it will not go to the actual location
/download.php?op=viewdownloaddetails&lid=2&ttitle=D iettalk.com_screensaver_1024x7 68 but it will only show /download.php fyi.. I get the same thing with the "glossary".. it will only show glossary.php instead of the full location... so I doubt it's a "vBPortal" issue. |
I figured out the issue with locations in "glossary.php" and for vBPortal's sections.php, links.php, ect.
Filename: sections.php Description: Viewing <a href="$userinfo[location]">Articles</a> "modules" for vBPortal are still not working though and I would like to replace "Article" with a variable for the page title ($title does not work). |
a problem I'm having is that I want it to go into a child directory, I'd like that to work.
right now I have www.warpstorm.com/forums/ and want it to link to the main page (www.warpstorm.com) and our Oracle (www.warpstorm.com/oracle/index.php) is it ever possible to include child forums? |
[QUOTE]Originally posted by diettalk
I figured out the issue with locations in "glossary.php" and for vBPortal's sections.php, links.php, ect. |
If you have installed this hack.. just use...
filename: links.php Description: Viewing <a href="$userinfo[location]">Web Links</a> But anything with a module, will not work at the moment. [QUOTE]Originally posted by tkeil69575 can you elaborate on that, Im also using vbportal and would like to get the links.php and downloads.php to be found. I tried /links.php but it still is seen as an unknown location. I also tried including the global.php in links.php but Im getting "function stripslashes cant be redefined". mmh, maybe Im just too stupid ;) tina |
Good hack!
I installed it! |
Is there anyway to get it to recognize any sub directories of a domain?
So that no matter what sub directory under www.paintballcity.com (example: www.paintballcity.com/1/ and www.paintballcity.com/2/) it still says "Paintball City Homepage"? Thanks. |
Hey Chen, do you know when you're going to make this hack golden?
|
"Right about now..."
[high]* FireFly dances ;)[/high] |
I installed this hack in about 2 minutes, and I haven't had a single problem. It works for files above my forums folder too, such as the vBPortal files.
|
chen, you might wanna post the instructions to have a link in the admin cp to this :), been usin this for awhile, love the hack
|
ran into a problem. with 2.2.5
Parse error: parse error in /home/virtual/site20/fst/var/www/html/forums/admin/admin_online.php on line 85 |
I agree, when I tried to drop it into the actual admin system with:
makenavoption("Who's Online Admin", "admin-online.php", "<br/>"); It coughed (404 error)... Why is this? *L* |
Ergh, aright, got that fixed, now the Who's Online doesn't work.
I get a parse error @ line 45 which is function show($userinfo) { *L* |
Okay... My day for problems :)
I've now fixed that, but when I added shoutbox.php as a location, it hasn't changed anything in the online.php page :( |
any plans to update this hack to work with 2.2.6?
Or will it work as-is? |
ladyfyre, i have 2.2.6 and this hack well work.
|
[QUOTE]Originally posted by inetd
ladyfyre, i have 2.2.6 and this hack well work. |
Excellent hack FireFly!!
|
Working great on 2.2.6. Also, I haven't read all this thread [just the first page] so maybe this has also been mentioned. To add admin_online.php to your CP edit admin/index.php and replace...
PHP Code:
PHP Code:
|
Stop following me!!
|
Following you?! :o
|
Great Work FireFly, work like a charm on 2.2.6
I only hope that someday there will be a solution for the vbportal module file |
Can't seem to get it working with 2.2.6, but if others are then I must be doing something wrong =falls over=
I've installed everything perfectly but when I add locations like shoutbox.php and main_photogallery.php, or quiz.php, etc, they still show up as unknown location. If you could take a look at my online.php that would be great, just PM for it ^^; |
This hack works much better if you remember to upload the hacked online.php. Great hack Firefly
|
This post's issue is no longer relevant
|
I am getting an Unknown Location in WOL - it shows the link to the file and the session ID, but its titled Unknown Location, even thought I entered it in the admin_online.php file correctly.
Matthew Yette matt@antsmarching.org |
I followed directions perfectly, and I get this in WOL when someone is on a page I added through the admin_online control panel.
Unknown Location: /setlists/test.php? The file in question's URL is www.antsmarching.org/setlists/test.php and the path i use in the admin_online is ../setlists/test.php Still no dice, though. Anyone? Please? Matthew Yette matt@antsmarching.org |
I use complete urls for the paths and don't have any problems. That might work for you, too.
|
Ok - so in admin_online, I entered in the full URL into the filename box (http://www.antsmarching.org/setlists/test.php), and the link comes up as http://www.antsmarching.org/forum/ht...lists/test.php
The way I got it to work(basically link to the right place) was by entering "../setlists/test.php" into the filename field. But then I still get the Unknown Location error, complete with the &s=(random numbers) information. Matthew Yette matt@antsmarching.org PS - thanks for replying, i hope that the information I provided can better help you understand my problem so that I might get this working soon., |
Top - I feel so close - anyone have anything?
|
Yikes - anyone? :(
|
works great, thanks FireFly!!
cu Schorsch |
[QUOTE]Originally posted by yetdog11
Ok - so in admin_online, I entered in the full URL into the filename box (http://www.antsmarching.org/setlists/test.php), and the link comes up as http://www.antsmarching.org/forum/ht...lists/test.php |
works perfect on 2.2.6
even does files outside of main folder Installed perfect and without one error - added to admin cp as well Nice one Firefly - another good hack under your belt. |
[QUOTE]Originally posted by Schorsch
just type the filename test.php into the location field, works fine for me. cu Schorsch |
The problem is, the test file is not in the vB folder. And I haven't found a way to dynamically include the session if it is needed.
|
Installed..works great
|
Anyway to get it to work with child forums yet? I'd like to link to http://www.planetplastica.com/home.html, but it always adds /forums/ to everything i add. :(
|
All times are GMT. The time now is 03:34 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|