Firefox PHP

Latest X Posts in a templated Phorum-Page

Posted by Thomas Seifert 
Re: Latest X Posts in a templated Phorum-Page
March 23, 2005 01:21PM
because that's one tiny message in 4 pages.

i read alot before i thought i would just ask.. must have missed it. i was reading through them backwards.

dare i ask.. when it shows all the newest across the board does it pay attention to forum permission and not let users see posts in forums they aren't allowed in?

feel free to show me a previous post if this is answered already.



Edited 1 time(s). Last edit at 03/23/2005 01:33PM by rheo.
Re: Latest X Posts in a templated Phorum-Page
March 23, 2005 01:34PM
[phorum.org]
first message there.


Thomas Seifert
Re: Latest X Posts in a templated Phorum-Page
March 23, 2005 01:45PM

that seems to be about file.php ?
Re: Latest X Posts in a templated Phorum-Page
March 23, 2005 01:58PM
read it again.


Thomas Seifert
Re: Latest X Posts in a templated Phorum-Page
March 23, 2005 02:18PM
it just occured to me that what might be really useful is a wiki with a page devoted to the modules and maybe one page for each module.

it would be way easier to get all the info one needed if it were all in one spot. the current system of finding modules and the info about them and how to get them to work seems a bit like a easter egg hunt.

not that i don't like bunnies or anything.



Edited 2 time(s). Last edit at 03/23/2005 07:53PM by rheo.
Re: Latest X Posts in a templated Phorum-Page
March 24, 2005 02:03AM

I put something together here.

[www.tribalharmonix.org]

definately a great addition..

Big thanks to everyone who worked on this!

Where is the function: phorum_db_get_recent_messages?

i am thinking of a mouseover which would float an excerpt of each message.





Edited 1 time(s). Last edit at 03/24/2005 02:31AM by rheo.
Re: Latest X Posts in a templated Phorum-Page
March 24, 2005 05:21AM
> Where is the function: phorum_db_get_recent_messages?

where all db-functions are ... include/db/mysql.php

> i am thinking of a mouseover which would float an excerpt of each message.

you can do this but you don't need to change that function for this. the data is already there.


Thomas Seifert
Re: Latest X Posts in a templated Phorum-Page
March 24, 2005 12:35PM

nice.

good to know.


Re: Latest X Posts in a templated Phorum-Page
March 28, 2005 12:33AM

I've got it this far so far..

[www.neotribes.net]

it half works in IE 6 and not in Firefox at all.

If anyone knows more about DHTML than me please feel free to point out what I am doing wrong..

I think the table might screw up the positioning of the layer.

any suggestions welcomed.
Re: Latest X Posts in a templated Phorum-Page
March 28, 2005 11:10AM
well neither document.all or document.layers is a standard.

getelementbyid is.

Edit: sorry I was in a hurry when I wrote my message and left out the latter part by mistake.

So if you use Firefox's javascript debugger you'll notice that the div you are trying to show doesn't have any properties. Because you write the divs dynamically in the end but limit the choices to IE and NS4.x
if ((document.layers)||(document.all)) {...

the divs never exists for FF.

---
-=[ Panu ]=-



Edited 1 time(s). Last edit at 03/28/2005 03:05PM by Panu.
Sorry, only registered users may post in this forum.

Click here to login