Uploadpic install probleem
Geplaatst: 31 mei 2006, 19:39
Hallo Allemaal
Loop een beetje vast bij het installeren van deze mod.
Gaat om deze
En dan voornamelijk in het volgende bestand posting_body
Oorzaak weet ik wel (Advanced BBCode Box 5),alleen de oplossong niet zo.
Gaat om dit stukje
Wie kan me helpen ?
Groetjes Trunks
Loop een beetje vast bij het installeren van deze mod.
Gaat om deze
Code: Selecteer alles
##############################################################
## MOD Title: UploadPic
## MOD Author: buegelfalte < N/A > ( B.Funke ) http://forum.beehave.de
## MOD Description:
## UploadPic adds a link to the message-editor, which allows
## the user to upload a picture (jpg/gif/png) and paste it
## to the message (standard/align left/align right, align
## requires the MOD "Left and Right IMG tags") with the
## correct BBCode.
## The uploaded image will be resized (if too big) to the
## maximum size given by the admin or to a (lower) size
## entered by the user.
## Images can be rotated by 90/180/270 degrees.
## Images with a filesize larger than a given limit (after
## conversion) will be rejected.
## The admin can control the uploaded pictures in the ACP
## and delete images (one by one or all with one click)
## not used in a message (any more).
## (this is to prevent users from uploading images to
## your forum to use them in *another* forum)
## You can give each user permission to upload images (to
## secure your webspace), guests can not upload.
## MOD Version: 1.3.2
##
## Installation Level: Medium
##
## Installation Time: 10 Minutes
## Files To Edit:
## posting.php
## privmsg.php
## viewonline.php
## admin/admin_users.php
## admin/index.php
## includes/constants.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## templates/subSilver/admin/user_edit_body.tpl
## templates/subSilver/posting_body.tpl
## templates/subSilver/subSilver.cfg
Oorzaak weet ik wel (Advanced BBCode Box 5),alleen de oplossong niet zo.
Gaat om dit stukje
Code: Selecteer alles
#-----[ OPEN ]------------------------------------------
# NOTE: apply this to ALL your templates
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
f_help = "{L_BBCODE_F_HELP}";
#
#-----[ AFTER, ADD ]------------------------------------------
#
// MOD UploadPic - begin
up_help = "{L_UPHELP}";
// MOD UploadPic - end
#
#-----[ FIND ]------------------------------------------
#
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td nowrap="nowrap" align="right"><span class="gensmall">
<!-- BEGIN switch_uploadpic -->
<strong><a href="{S_UPLOADPIC}" onclick="window.open('{S_UPLOADPIC}', '_uploadpic', 'height=400,resizable=yes,scrollbars=yes,width=450');return false;" target="_uploadpic" class="nav" onMouseOver="helpline('up')">{L_UPLOADPIC}</a><br /></strong>
<!-- END switch_uploadpic -->
<a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
Groetjes Trunks