Firefox PHP

You Are Here mod

Posted by D. Alan Stewart 
231
Re: You Are Here mod
August 26, 2004 03:46PM
Can someone dispay the code because I'm not on ly computer (it's goig to bebroken for a while) and the computer I'm on doesn't read .tar?gz file (I HATE windows, don't you just love Linux). Si If someone could display the code of attach directly the file I would be greatful.
Re: You Are Here mod
August 26, 2004 03:54PM
[www.zipgenius.it]
reads tar.gz too on windows.


Thomas Seifert
231
Re: You Are Here mod
August 26, 2004 04:00PM
Thx, i'll donwload it right away.
Re: new version
October 20, 2004 09:55AM
Hi,

First of all: I was looking for a function like this :)
After looking into your Module, i have some suggestions:

You should take a look into the defined Constants (and maybe the PHORUM variable), since there are some values you could use. E.g. you don't have to determine yourself, which page is the current. There is a defined one called "phorum_page".

I did not use your module, because it directly puts out the content instead of making it available for the phorum template system. This is much more flexible, and prevents conflicts with header redirects and stuff.

I've attached an example function to do the job, feel free to use whatever you want (it's not a complete module).
Attachments:
open | download - forumpath.php (1.2 KB)
Re: new version
October 20, 2004 06:10PM
Thanks!

The mod was written before "phorum_page" was available. That was implemented as a result of my request for help! See <[phorum.org];

Later I uploaded a version that uses it: <[phorum.org];

I'll look at your code with great interest as I know little about the phorum template system.
Re: new version
October 21, 2004 12:11PM
Oh, excuse me, I haven't seen the other version.
And thanks for the phorum_page constant, as I use it very often in my module functions :)
how to modify the display of this mod
December 21, 2004 12:36PM
i need to modify the display of this default one is place after header, so how can i change it
how to modify the display of this mod
December 21, 2004 12:42PM
include phorum_get_template( "header" );
phorum_hook("after_header");

i found this, but want i want to achieve is put this mod display in header.tpl. now headache
how to modify the display of this mod
December 21, 2004 01:18PM
soeren Wrote:
-------------------------------------------------------
> Hi,
>
> First of all: I was looking for a function like
> this :)
> After looking into your Module, i have some
> suggestions:
>
> You should take a look into the defined Constants
> (and maybe the PHORUM variable), since there are
> some values you could use. E.g. you don't have to
> determine yourself, which page is the current.
> There is a defined one called "phorum_page".
>
> I did not use your module, because it directly
> puts out the content instead of making it
> available for the phorum template system. This is
> much more flexible, and prevents conflicts with
> header redirects and stuff.
>
> I've attached an example function to do the job,
> feel free to use whatever you want (it's not a
> complete module).


how to modify this into templete?
Re: new version
December 21, 2004 01:30PM
soeren Wrote:
-------------------------------------------------------
> Hi,
>
> First of all: I was looking for a function like
> this :)
> After looking into your Module, i have some
> suggestions:
>
> You should take a look into the defined Constants
> (and maybe the PHORUM variable), since there are
> some values you could use. E.g. you don't have to
> determine yourself, which page is the current.
> There is a defined one called "phorum_page".
>
> I did not use your module, because it directly
> puts out the content instead of making it
> available for the phorum template system. This is
> much more flexible, and prevents conflicts with
> header redirects and stuff.
>
> I've attached an example function to do the job,
> feel free to use whatever you want (it's not a
> complete module).


ur attachment php file got syntax error if i not mistaken
Sorry, only registered users may post in this forum.

Click here to login