![]() |
Works great (2.2.1) but please remember to include the session information when you post in final release, had to hunt for this...
Also for including global.php in directories above the forums level use: chdir($DOCUMENT_ROOT . "/forums"); include("$DOCUMENT_ROOT/forums/global.php"); chdir($DOCUMENT_ROOT); JC |
[QUOTE]Originally posted by KuraFire
I'll give that a shot then when I have some time for it. Thanks :) |
How do you include the thread the user is viewing? Currently I have:
file: palmthread.php description: <a href="palmthread.php">Viewing PalmDOC-version of thread</a> which shows up in Who's Online as not linking to the thread but to palmthread instead (ofcourse). How can I make it look like: djr: Viewing PalmDOC-version of thread <thread here> - djr |
anyone?
Furthermore: this very nick hack is ready for Full Release as far as I'm concerned :-) Thanks Firefly! - djr |
Hello DJR,
I saw your post the other day. I thought maybe Chen would answer. I'm not sure why you want the link that way. I have all of mine set up as you have mentioned description: <a href="palmthread.php">Viewing PalmDOC-version of thread</a> This works for me. It should be showing "Viewing PalmDOC-version of thread" and that should be a link to the palmthread.php. Is it working this way for you? |
First I am using vbp.
I can get all mine locations working except thing like /modules.php?op=modload&name=Gallery&file=index&do= showpic&pid=9&orderby=dateD&s=68fe503349f703f78144 7 I have tried to put in /modules.php and it still comes up unknown but have more than one module so I was hoping to be able to user something like /modules.php?op=modload&name=Gallery but that doesn't work either. Any ideas?? :confused: |
Ah I see. vBPortal. I'm sorry I don't have any experience with the hack. There are a couple references to links within this thread. One was mine on page 5.
Viewing <a href="http://www.yoursite/yourforums/lastposts.php">Last 10 Posts</a> If this doesn't work for you then I cannot help much with the implementation with vBPortal. DJR, If you are using vBPortal I cannot help much. Sorry. Maybe Chen would know how to help. Rick |
Rick,
Thanks for your answers. I'm not using vbp (although planning to do so as soon as the review section gets better). I feel the threadinfo is a really essential part of the Who's Online section. In the normal Who's Online you have: hooper: now reading [Who's Online locations from Admin CP]* in Chen's hack you have: hooper: [viewing PalmDOC version of thread]* * = hyperlink Whereas in example 1 you have a direct hyperlink to the thread as in example 2 you have only a link to the php-script, which is not the info you want in Who's Online. Don't misunderstand me, I love the hack and I think it's a really cool addition to vb, but in my opinion the hack will even get better with threadinfo :-) |
djr and DroppedAtBirth, you are both talking about something freddie had said in one of the early pages in this thread:
Quote:
You must edit online.php directly and do it per page to achieve what you're looking for. |
:rolleyes:
Back from the dead. Hi Chen. :D |
All times are GMT. The time now is 11:48 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:
|