PDA

View Full Version : XX posts to a thread on non vb page


Mac Write
10-24-2001, 01:50 AM
I am wanting to create a thread per article/news item on my site (http://www.macwrite.com).

On the Index pages after the breakquote, I want

"Post a Comment" if there is no replies to the thrwad or
"XX comments" if there is.

So what is the code I need to add to display the info? I am totally new to php.


Thanx

P.S. I had no clue what to search for to see if this hack is already out :D

Reeve of shinra
10-24-2001, 01:57 AM
Im kind of doing the same thing ... I used Tubedogg's LAST XX hack (http://www.vbulletin.com/forum/showthread.php?s=&threadid=12324&highlight=last10) to display a list of articles.

Right now I am trying to figure out how to alter that hack to show the article article (rather than taking them to that forum) after a user clicks the link.

( I was thinking of editing the showthread.php file but I am not sure what I need to do to strip it to the basics that I would need).

If you figure this out, let me know lol

Mac Write
10-24-2001, 02:27 AM
No No

I want to manually insert the code under a news item that says either "Post a Comment"or "XX Coments" and then when you click the link it takes you to the thread. (come to think of it the "Post a Comment" when there are no replies should take you to the post a comment dialogue forthat thread)