Forum CP [v.1.0 !]

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Forum CP [v.1.0 !]

Post by phalancs »

See www.enym.com! There is a new project online! I try to reanimate the forum CP from phpwcms.

Update 16.12.06:
You can download the script on phorce.de (section: download) :)

  • If user is logged on, then his username will be saved with any postings!
  • Linebreaks now works when writing
  • Users signature is saved with post
  • Editing of topics and replies is possible
  • Deleting of topics and replies is possible
Rights set:
  • Only logged in users may post
  • Authors may edit their posts
  • Admins can edit any post
  • Only admins may delete posts/ topics
Note: This is not going to be big, I just want to test that at least some "kind" of forum is possible with what has been done earlier by oliver.

TODO list:
- editing is not possible [DONE]
- permissions [DONE]

- no paging as far as i can see [WIP]
- "notifiy me on reply" does not even think a bout working [WIP]

Ok, I am not sure if this makes sense in the long run. But consider that not much had to be changed to give this CP the basic functions a forum needs I think this is worth a try!

Your opinion?
Last edited by phalancs on Sat 16. Dec 2006, 19:42, edited 2 times in total.
2008
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

fine ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: Forum CP [Test Online!]

Post by DeXXus »

phalancs wrote:But consider that just 4 lines had to be changed to give the forum at least the function it now has! I think this is worth a try!

Your opinion?
-=GREAT=- return on your time invested for code management! 8)
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

Great that you like these efforts Oliver.

You are right when you say you don't think that phpwcms needs a big forum script.

When the following works i think i am pretty satisfied:

editing of posts
notification on replies
admins should be able to delete postings
paging

As far as I can say this is possible and I will work on that. :)

Möglicherweise hat Oliver dann ja doch wieder Lust diesen praktischen kleinen CP zu integrieren ;)
(Jedenfalls als funktionierende Interim-Lösung)
2008
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

No problem - if it's working :) OK.

I have thought about building a newer one more light weight flat threaded forum - I don't like the table based phpBB-styled one anymore.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Mmmarkus
Posts: 25
Joined: Sun 8. Jan 2006, 17:59

Post by Mmmarkus »

Hi Phalancs,

how did you fixed this....?

http://www.phpwcms.de/forum/viewtopic.php?p=76733#76733
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

I have news. see first post:

Users signature is saved with post
editing of topics and replies is possible
deleting of topics and replies is possible

general rights are set:
only logged in users may post
only authors and admins may edit posts
only admins may delete posts
2008
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

done

Post by phalancs »

You can download the corrected file on www.phorce.de (section:download).

It is just one single file that needs to be replaced. See install.txt for info and a list of features.

Remember: As this does not include any core hacks and mods this only works if you are running a phpwcms version that still has the forum as a function implemented (I guess up to: 1.2.6).
This is not a complete forum CP but an enhanced file for the existing forum CP :)

I guess it only makes sense if you also install the userpanel, otherwise no one can use the forum cause only logged in users are allowed to post :)

Have fun.

Note: No guarantee for all this, it works for me and is by far better than no forum at all, the best thing is that is uses the phpwcms internal user management :)
2008
Nomax2000
Posts: 222
Joined: Sat 25. Nov 2006, 00:31
Location: Berlin
Contact:

Post by Nomax2000 »

Which file do i have to download? Where can i find the install.txt? Tx
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Re: done

Post by phalancs »

phalancs wrote:You can download the corrected file on www.phorce.de (section:download
;)
2008
Nomax2000
Posts: 222
Joined: Sat 25. Nov 2006, 00:31
Location: Berlin
Contact:

Post by Nomax2000 »

Thanks. I was on the wrong site.
Nomax2000
Posts: 222
Joined: Sat 25. Nov 2006, 00:31
Location: Berlin
Contact:

Post by Nomax2000 »

Hmm. It dosen´t work. I replaced the file but i can not integrate a forum...what is my mistake?
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

Hey! Do it the regular way:

1. in backend - messages - forums - create forum
2. apply content part forum - assign created forumto his CP

done

see phpwcms-docu.de for further info
2008
Nomax2000
Posts: 222
Joined: Sat 25. Nov 2006, 00:31
Location: Berlin
Contact:

Post by Nomax2000 »

Ich finde nichts dazu. Forum ist erstellt, aber ich finde keine Möglichkeit es einzufügen....
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

also nochmal ganz langsam :)

du hast doch im backend den Menüpunkt "Nachrichten", da klickste drauf

dann ein Klick auf "Forenliste" [Wenn dieser Punkt nicht da ist hast du nicht version 1.2.6 sondern ne neuere!!!!]

dann klickste auf den Button "Neues Forum"

dann gibste nen Titel und ne Beschreibung ein

anschließend erstellst Du einen Artikel!

Da fügst Du dann den ContentPart Forum hinzu

In der Liste siehst Du alle vorher erstellten Foren

Die die Du haben möchtest wählst Du aus und klickst auf den Pfeil, so dass sie nach links geschoben werden

fertig

Artikel speichern und darstellen, dann ist da auch ein Forum :)
2008
Post Reply