News - Features - Downloads - Forum - Team - Support - Switch View: Screen
Login - Registrierung - Passwort vergessen

Antworten: 1
Seite [1]
microz


Rock the board




Beiträge: 86
# Thema - 27.01.2008 um 02:59 Uhr
hi

i have the modul that it has no option to issue comments, there is some way to add?

grettings
Inaktiv
fay-pain


Specialist




Beiträge: 2006
# Antwort: 1 - 27.01.2008 um 03:26 Uhr
sure

1. you need the php-files:
  • com_create.php
  • com_edit.php
  • com_remove.php

(you find this files in in mods/news/.. or an similar module)

2. replace "news" to "X" (and save it in mods/X/..)

3. add the files to your access.php (mods/X/access.php)
 
1.
2.
3.
1. / 2. / ... 
 $axx_file['com_create']    = 2;
$axx_file['com_edit']      = 2;
$axx_file['com_remove']    = 5;


4. include comment function in your files where it might be necessary (for example: view.php)
 
1.
1. / 2. / ... 
 include_once('mods/comments/functions.php');


so here is my knowlegdebase incomplete. i hope someboy can complete my instruction
but my tip: look in mods/news/view.php to get an overview how it works (more or less).


------------------
Manchmal hast du fay und machmal pain.
- hajo

Zuletzt editiert von fAY-pA!N am 27.01.2008 um 03:28 Uhr (4x Editiert)
Inaktiv
|
Antworten: 1
Seite [1]


Sie müssen sich registrieren, um zu antworten.


ClanSphere Project - Mailus - Imprint - Disclaimer - Scriptinfo