Hello,
i want hide by default for guests and new registed users the subcategories on downloads index. (like the option available in user´s profile)
how i can do this?
thanks for hard work to dev this awesome mod, team oxpus!
regards
hide by default for guests/new users subcat index
- oxpus
- Chief handy-man
- Beiträge: 2660
- Registriert: Do 13. Dez 2007, 23:06
- Wohnort: Irgendwo im I-Net
- Kontaktdaten:
Re: hide by default for guests/new users subcat index
Enter these sql statements to switch the default value:
Code: Alles auswählen
ALTER TABLE `phpbb_users` CHANGE COLUMN `user_dl_sub_on_index` `user_dl_sub_on_index` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0';
// Replace the "1" at the end of the following sql with the user_id for ANONYMOUS. Please take a look in your includes/constants.php for this.
UPDATE `phpbb_users` SET `user_dl_sub_in_index` = 0 WHERE `user_id` = 1;
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!