Je bent niet ingelogd.

  • |

#1 16-Jun-2020 12:48:55

warp
Administrator

Fluxbb image upload mod

##        Mod title:  Upload Mod
##
##      Mod version:  3.0.1 beta
##  Works on FluxBB:  1.5.11
##     Release date:  2019-11-29
##      Review date:  YYYY-MM-DD (Leave unedited)
##           Author:  Visman (mio.visman@yandex.ru)
##                    On a basis "Uploadile" by bagu (http://fluxbb.org/resources/mods/uploadile/)
##
##      Description:  Users can upload files and pictures on a forum at directly in post.
##   Repository URL:  https://fluxbb.org/resources/mods/?s=au … all&o=name
##                    https://fluxbb.qb7.ru/forum/viewtopic.php?id=3380
##
##   Affected files:  footer.php
##                    include/functions.php
##
##       Affects DB:  No (Yes in plugin)
##
##            Notes:  Russian/English/French/German
##                    Functions move_uploaded_file(), mkdir(), opendir() and others
##                    must be enabled in your Website and this one must accept
##                    resizing pictures with GD.

#---------[ 1. UPLOAD ]-------------------------------------------------------
upfiles.php to /
img/ to /img/
include/ to /include/
lang/ to /lang/
plugins/ to /plugins/
style/ to /style/
#---------[ 2. OPEN ]---------------------------------------------------------
footer.php

#---------[ 3. FIND ]---------------------------------------------------------
ob_start();

#---------[ 4. AFTER, ADD ]---------------------------------------------------
require PUN_ROOT.'include/uploadf.php';

#---------[ 5. SAVE ]---------------------------------------------------------
footer.php

#---------[ 6. OPEN ]---------------------------------------------------------
include/functions.php

#---------[ 7. FIND ]---------------------------------------------------------
<li<?php if ($page == 'privacy') echo ' class="isactive"'; ?>><a href="profile.php?section=privacy&amp;id=<?php echo $id ?>"><?php echo $lang_profile['Section privacy'] ?></a></li>

#---------[ 8. AFTER, ADD ]---------------------------------------------------
<?php require PUN_ROOT.'include/uploadp.php'; ?>

#---------[ 9. SAVE ]---------------------------------------------------------
include/functions.php

Then =>> Adjust this plugin in Administration - Plugins menu - Upload

Offline

Bulletin Board voettekst