Meth0d
Tue 18 July 2006, 01:13 am GMT +0200
This may sound confusing at first but.. bare with me..
I have been working with modifying PHP Fusion alot, and the forums on it are obviously a spin-off of phpBB. I have successfully made MANY modifications to the front page of the forum. There is one thing I want to do but cannot figure out, maybe the userbase here can help me, I've been sooo busy lately haven't had much time to post anyway :).
On the forum list, where it lists each available forum, total posts/topics, and the last user to post something as well as the date, I also want to have a link above the date that shows a link to the latest thread in that specific forum. Post here if you think you can help, and ill start posting code and screenshots of what im talking about, thanks in advance !!
Mind_nl
Tue 18 July 2006, 07:46 am GMT +0200
can't you select the highest post-id directly from the database and use that to create the link? (view.php?post=123 or whatever the forum uses)
Nikolas
Tue 18 July 2006, 10:31 am GMT +0200
Mind_nl gives a good solution, but in any way you will need to do this with SQL.
Try to check if there are SSI functions in the phpfusion software (if there are it will help a lot)
Meth0d
Sat 22 July 2006, 06:51 am GMT +0200
i have unfortunately tried this method and can not get anything to show except the latest post DATE and who posted it, not a link to the thread itself :(
Nikolas
Sat 22 July 2006, 10:33 am GMT +0200
I guess you should create the link (it should be something with the thread id in database)
Meth0d
Wed 9 August 2006, 11:31 pm GMT +0200
to update everyone on this, still cant get it to work, always get the same link no matter what forum it is, say for 5 forums, it will show the same topic on each forum :(
Nikolas
Thu 10 August 2006, 12:47 pm GMT +0200
I think you should ask in the php fusion support area for this, as none here uses the software you use.
The only tip I can give you is that you should use the code that is created by the forum message index (the category) page
Meth0d
Thu 10 August 2006, 06:04 pm GMT +0200
hah! get a reply on their support boards? you are more likely to get a solution here for software none of u know about, rather than getting a solution there.. i promise you that much.. if anyone is willing to work with me in private on this please PM me ? :)
Nikolas
Thu 10 August 2006, 06:10 pm GMT +0200
Can you post (as an attachment) the board index, and the message index pages?
olaf
Thu 10 August 2006, 06:13 pm GMT +0200
hah! get a reply on their support boards? you are more likely to get a solution here for software none of u know about, rather than getting a solution there.. i promise you that much.. if anyone is willing to work with me in private on this please PM me ? :)
method, maybe you're using the wrong software ... lol
Meth0d
Thu 10 August 2006, 06:57 pm GMT +0200
Can you post (as an attachment) the board index, and the message index pages?
when you say the message index do you mean say the page that allows you to view threads? (forum/viewthread.php) & (forum/index.php)
Nikolas
Thu 10 August 2006, 06:58 pm GMT +0200
Right :)
But I need both the template and the code pages (if they exist)
Meth0d
Thu 10 August 2006, 07:04 pm GMT +0200
shouldnt need any theme/template files because its global across each page, it doesnt have a new template for each one (the php files really design it, the themes just color it) i will edit and attach files now :)
edit- ok i cant seem to find anywhere to attach the file :P so i will link you to text versions:
http://www.3rd-evolution.net/forum/index.txthttp://www.3rd-evolution.net/forum/viewthread.txt
Nikolas
Thu 10 August 2006, 07:13 pm GMT +0200
Ok I will check those later, and I will let you know ;)