Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - comments to news on my site in forum.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

comments to news on my site in forum.

 Post Reply Post Reply
Author
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Topic: comments to news on my site in forum.
    Posted: 14 July 2003 at 8:36pm

Hi im using WWF 7,01 on my website.

I also have a news thing on my site ware whriters can whrite daly news... i hvould like to have a feature there called comments.

So when a user click's the Comments link it takes him to forum.. if he is the first it will make a new post in forum whit the News tittel and a default tekst like Descuss this news: url to news...

Then all can descruss and comment on it...
if some one already have click the comments link and the post have ben made in forum it will ofcorse not make a new one....

Any one see some thing like thet here.. as a mod or some thing??
maybe some one can help  me code it for my page :)

Thx BG

Back to Top
stef_nz View Drop Down
Newbie
Newbie


Joined: 15 July 2003
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote stef_nz Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2003 at 12:28am
I have written an asp.net control to do this for a site I administer.

View Control

I simply post news topics to a forum called "Site News" and the control grabs the posts from the database, formats them and puts them on the front page of the site.  The control also counts the number of comments and posts a link to the thread for people to add comments - use the forum controls to control who can post new topics or who can reply only.

The asp.net site and the asp forum are not related sites but they use the same SQL Server database so I just tell the control to "Get forum messages where forum = 2" (or whatever the forum code for the Site News forum is).

There are a couple of basic modifications to the tblThread table and post_message.asp to make this function properly but it is great when it works and I can propogate the control to any site easily, just by adding the control to a page and creating a new Forum for it.

I realise that an asp.net control is not what you're looking for but really all i am doing is taking data from the tblTopic, tblThread tables and formatting them the way I want on a page.

If you or anyone else is interested, I can post the code for the control so you can have a look.
Back to Top
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2003 at 3:04am

its in Dot.net ?? or ASP

sure post the code so i can try ans see if that is some thing i can use...

Thx
        --= = Brown Ghost = =--
--= = International Man of Mystery = =--

Back to Top
stef_nz View Drop Down
Newbie
Newbie


Joined: 15 July 2003
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote stef_nz Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2003 at 4:32am
you have a pm BrownGhost!
Back to Top
BrownGhost View Drop Down
Groupie
Groupie


Joined: 26 November 2002
Status: Offline
Points: 193
Post Options Post Options   Thanks (0) Thanks(0)   Quote BrownGhost Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2003 at 1:02pm

thx.. well it is nothing i can use,,,

i will try and make the changes to my site my self one more time.. if i cant i will get some professonal help :))

Thx a lot for the PM..

        --= = Brown Ghost = =--
--= = International Man of Mystery = =--

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.