
catagorieën openen
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

zoek:
vervang met:
Code: Selecteer alles
// End Simple Subforums MOD}
Code: Selecteer alles
// End Simple Subforums MOD
}
probeerde net de indeling van het forum te updaten, kreeg ik gezellig weer een error:
SQL Error : 1064 You have an error in your SQL syntax near ' forum_parent = 0' at line 3
UPDATE phpbb_forums SET forum_name = 'peking express', cat_id = 8, forum_desc = '', forum_status = 0, prune_enable = 0 WHERE forum_id = 8, forum_parent = 0
Line : 544
File : admin_forums.php
http://www.gilmoregirlsnl.net/admin_forums.txt
SQL Error : 1064 You have an error in your SQL syntax near ' forum_parent = 0' at line 3
UPDATE phpbb_forums SET forum_name = 'peking express', cat_id = 8, forum_desc = '', forum_status = 0, prune_enable = 0 WHERE forum_id = 8, forum_parent = 0
Line : 544
File : admin_forums.php
http://www.gilmoregirlsnl.net/admin_forums.txt
ik heb het gehele forum nu geïnstalleerd en hou het nu voorlopig zonder mods. Maar toch heel erg bedankt voor de hulp.
Als je trouwens op een catagorie klikt zie je de forums in die catagorie en de links voor de overige catagorieën. als je echter in een forum of bericht bent geweest staan alle catagorieën weer open. Is er een manier om in te stellen dat je de catagorie standaard moet open klikken?
Als je trouwens op een catagorie klikt zie je de forums in die catagorie en de links voor de overige catagorieën. als je echter in een forum of bericht bent geweest staan alle catagorieën weer open. Is er een manier om in te stellen dat je de catagorie standaard moet open klikken?
inderdaad dank je wel
maar snap jij misschien wat hij met het rode gedeelte bedoelt. voor ik mijn forum weer verknal...
##############################################################
## MOD Title: Hide Catagory By Default [2.0.15]
## MOD Author: mosymuis < mods[at]mosymuis.nl > (Rens van Dongen) http://mods.mosymuis.nl
##
## MOD Description: This mod will hide the chosen catagory's by default,
## untill someone clicks on them to see the subforums.
##
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit: (1)
## - index.php
## Included Files: (n/a)
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
if ( $viewcat == $cat_id || $viewcat == -1 )
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$viewcat == -1
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------------
# Place the catagory ID of your choice in the place of "3".
#
$cat_id != 3
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------------
# Would you like more catagory's to be hidden? Then undo the last step and follow this one.
# Place theire ID's in the array at the end, instead of "1, 2, 3", seperated by commas.
#
!in_array($cat_id, array(1,2,3))
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
maar snap jij misschien wat hij met het rode gedeelte bedoelt. voor ik mijn forum weer verknal...
##############################################################
## MOD Title: Hide Catagory By Default [2.0.15]
## MOD Author: mosymuis < mods[at]mosymuis.nl > (Rens van Dongen) http://mods.mosymuis.nl
##
## MOD Description: This mod will hide the chosen catagory's by default,
## untill someone clicks on them to see the subforums.
##
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit: (1)
## - index.php
## Included Files: (n/a)
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
if ( $viewcat == $cat_id || $viewcat == -1 )
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$viewcat == -1
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------------
# Place the catagory ID of your choice in the place of "3".
#
$cat_id != 3
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------------
# Would you like more catagory's to be hidden? Then undo the last step and follow this one.
# Place theire ID's in the array at the end, instead of "1, 2, 3", seperated by commas.
#
!in_array($cat_id, array(1,2,3))
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM