Geposte plaatjes verkleinen.
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.

Geposte plaatjes verkleinen.
Ik heb vroeger ook al een eerder een phpbb forum gehad.
Nu heb ik weer een nieuwe maar heb 1 probleem.
Als leden een plaatje post dan wordt de layout verneukt omdat het plaatje te groot is.
Is er iets waardoor het plaatke verkleint wordt zodat hij precies in de layout past ???
Greetz HyperX
Nu heb ik weer een nieuwe maar heb 1 probleem.
Als leden een plaatje post dan wordt de layout verneukt omdat het plaatje te groot is.
Is er iets waardoor het plaatke verkleint wordt zodat hij precies in de layout past ???
Greetz HyperX
- Menace2Society
- Berichten: 658
- Lid geworden op: 21 mei 2003, 23:01
- Locatie: Arnhem
http://www.phpbbhacks.com/download/1838
Code: Selecteer alles
You've probably seen some topics that have fallen victim to thread stretching. A post in the topic contains some content - perhaps an image, a long line of text, or a code block - that causes the page to widen beyond your browser's viewport. A horizontal scrollbar is added to your screen, and you have to scroll the page to read most of the posts.
No Thread Stretch is a solution for this problem. Using a combination of JavaScript and Cascading Style Sheets, it will cause the posts that would stretch a thread to appear with scrollbars added to the post. Your page remains the same size, so scrolling to read a message is only needed for the offending message itself.
ja en wat moet daar staan danba21 schreef:als je nou eens leestzie je file_edits.txt staan

ik zie der nergens staan waar de files moeten staan hoor##############################################################
# Title: No Thread Stretch
# Author: Thoul thoul@users.sourceforge.net http://darkmods.sourceforge.net
# Description: Prevents page stretching by long images and text.
# Version: 1.3.0
#
# Installation Level: Easy
# Installation Time: 5 Minutes
# Files To Edit: overall_header.tpl, viewtopic_body.tpl
# Included Files: no_thread_stretch.js and Several overflow*.css files
##############################################################
# Author's Notes:
# See the readme.txt file for notes, including install and upgrade instructions,
# okay? Okay.
##############################################################
# BEFORE ADDING THIS TO YOUR FORUM, YOU SHOULD BACK UP ALL RELATED FILES.
##############################################################
mischien eens een idee om voor je z`n opmerking te plaatsen zelf ook eens te lezen

ik word door gewezen naar de readme.txt
nu weer naar install.txt maar die staat niet in de zipTo install or upgrade this hack, follow these steps:
1) Unpackage the ZIP file. This should give several files, including these:
readme.txt - This file.
gpl.txt - GNU General Public License.
file_edits.txt - Instructions for modifying pre-existing phpBB files.
no_thread_stretch.hl - Auto insert file for Nivisec's Mods/Hacks List
Several overflow*.css files.
2) Some files need to be uploaded to your forum directories. The file install.txt
contains specific instructions as to where each file should be uploaded.
3) The file file_edits.txt also details changes that are needed in original phpBB
files. The "Files to Edit" list near the top of that file lists all of phpBB
files you will need to edit to add this hack to your forums. Make the changes to
phpBB files as detailed in file_edits.txt and copy/upload the changed file.
Before making changes to any file, create a backup copy of it (so that you can
restore easily restore it in case of errors).

tnx voor het antwoord alleen heb ik er niet veel aan
ik weet hoe ik een mod moet instaleren en hoe het voor een groot gedeelte werkt
alleen er staan een aantal bestanden bij die ik ergens neer moet zetten
niet aanpassen niet of wat dan ook gewoon ergens neer zetten
alleen staat er in de bijschrijving geen locatie aangegeven
het gaat om deze bestanden:
no_thread_stretch.hl
no_thread_stretch.js
overflow1024.css
overflow1152.css
overflow1280.css
overflow1360.css
overflow1600.css
overflow800.css

ik weet hoe ik een mod moet instaleren en hoe het voor een groot gedeelte werkt
alleen er staan een aantal bestanden bij die ik ergens neer moet zetten
niet aanpassen niet of wat dan ook gewoon ergens neer zetten
alleen staat er in de bijschrijving geen locatie aangegeven
het gaat om deze bestanden:
no_thread_stretch.hl
no_thread_stretch.js
overflow1024.css
overflow1152.css
overflow1280.css
overflow1360.css
overflow1600.css
overflow800.css
-
- Berichten: 309
- Lid geworden op: 04 feb 2004, 23:26
- Locatie: maastricht
- Contacteer:
file_edits.txt bevat de instructies om te verplaatsen
Dat is een modinstructie, en staat dus ook tussen de andere instructies:

Code: Selecteer alles
#
#-----[ COPY ]------------------------------------------
#
*.css to templates/subSilver/*.css
no_thread_stretch.js to no_thread_stretch.js
... Maar ik modereer (nog) niet.
Als ik jou was zou ik gewoon een van de mod's pakken die je op het phpbb forum kunt vinden en die mod die je van een vriend/ vage kennis hebt gehad gewoon vergeten:
http://www.phpbb.nl/viewtopic.php?t=213 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=182 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=131 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=347 ... verkleinen
Succes
Jan
http://www.phpbb.nl/viewtopic.php?t=213 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=182 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=131 ... verkleinen
http://www.phpbb.nl/viewtopic.php?t=347 ... verkleinen
Succes

Jan
Laatst gewijzigd door Lontronics op 07 aug 2005, 11:36, 1 keer totaal gewijzigd.