Seite 1 von 1

Teil des Forums trennen

Verfasst: 09.10.2002 22:23
von D@ve
Ich arbeite gerade (immer noch) an meinem Portal. Das Forum funktioniert erfreulicherweise einwandfrei.
Nun will ich aber auf meiner Seit noch einen Teil mit Kleinanzeigen machen, den ich auch über das Forum realisieren will.

Die Anzeigenboards sollen aber unter einem extra Link erscheinen und im "normalen" Forum nicht auftauchen.

Ist es möglich da mehrere einzelne Boards quasi vom Forum zu trennen, ohne, dass ich gleich ein zweites Board installieren muss?

Vielen Dank
Gruß, Dave

Verfasst: 09.10.2002 22:35
von cyberalfa
#################################################################
## Mod Title: Hide Forum
## Mod Version: 1.0.0
## Author: AbelaJohnB <abela@phpbb.com> (John B. Abela) http://www.johnabela.com/
## Description: This MOD will allow you to hid a specific forum from index.php
##
## Installation Level: easy
## Installation Time: 1 minute
## Files To Edit: index.php
## Included Files: n/a
## Generator: phpBB2 Mod Maker
#################################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
#################################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
#################################################################
##
## Author Note:
## I will work on getting this set within the ACP
## Within a later version. Should be easy.
##
## For now, you'll just have to edit the XX in the 'replace with' line.
##
## Please sign my guestbook: http://www.johnabela.com/guestbook/
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
if ( $is_auth_ary[$forum_id]['auth_view'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $is_auth_ary[$forum_id]['auth_view'] && $forum_id !='XX' ) // DO NOT DISPLAY A SPECIFIC CATEGORY SETTING
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#EoM
Mit einem Forum geht's wunderbar, vielleicht hilft's dir weiter...?

Verfasst: 09.10.2002 23:59
von D@ve
Ein Ansatz... Hmmmm Und wie mache ich das, dass die dann wenn ich den Kleinanzeigenlink anklicke wieder auftauche und genau die Foren unsichtbar sind, die im "normalen" Forum sichtbar waren?

*seufz*