Sub-templates
Scris: 10-Iun-2005, 14:36:50
vreau ca at cand cineva intra intr-un forum de la o categorie sa i se schimbe automat skinul... iar cand iese sa vina la loc cel vechi... ma putetzi ajuta?
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
skinul este avatarul ? Cred ca va trebui sa scrii un script pentru asta.n0b0dys scrie:vreau ca at cand cineva intra intr-un forum de la o categorie sa i se schimbe automat skinul... iar cand iese sa vina la loc cel vechi... ma putetzi ajuta?
da, acum am inteles, dar nu stiu din ce ratiuni vrei sa faci asta. Tot cu un script faci asta.n0b0dys scrie:Nu mai... templateul...
Nu stiu, probabil va trebui sa-l scrii singur.n0b0dys scrie:si de unde pot lua scriptul asta??? am cautat pe phpbbhacks dar nu am gasit
This hack is designed to allow you to have different templates per forums or categories.
Example: You can have a subSilver template on most forums and categories, then have a subTail for all forums of a particular category and also a subGreen on one forum of this category (or any category).
A sub-template is basically a standard template, but most of the files can be deleted, as the sub-template process uses the main template files by default (if not found in the sub-templates dir, the main template file will be used). So a sub-template can consist of a single different logo for the header, not having to duplicate a full template directory.