[Aphrodite] Attachment Mod

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

Postby KugeLSichA on Mon Feb 20, 2006 1:05 pm

[quote user="brandsrus" post="68338"]I must unscript the fix from Useless :D.

That have you not needed :wink:[/quote]

does this mean, i don´t have to do this changes which are posted in this topic ?

but where get i the files for Aphrodite ?
User avatar
KugeLSichA
Registered User
Registered User
 
Posts: 30
Joined: Fri Oct 07, 2005 7:43 pm
Location: Germany / Saxony

Postby KugeLSichA on Mon Feb 20, 2006 1:28 pm

OK

I got it working....

i dont need to do any changes from this topic, if i have the CH Mod Adaption


Thanks
User avatar
KugeLSichA
Registered User
Registered User
 
Posts: 30
Joined: Fri Oct 07, 2005 7:43 pm
Location: Germany / Saxony

Postby fishfreek on Fri Mar 24, 2006 2:34 am

On the view profile and on the privmsg body files the bar thats to show how much of the quota is used is not showing up right for me.

On the view profile page instead of a bar I am getting the number of % that I am using show up. So if someone has used 10 % of their quota it will show 10 vs the bar at 10%. On the privmsg body file the box shows up for quota usage but it does not register there is any usage. It always shows 0% and no bar.

This is my privmsg_body.tpl file
Code: Select all
<table cellpadding="0" width="100%" class="empty-table">
<tr>
   <td align="right">
   <!-- BEGIN switch_box_size_notice -->
   <table width="190" cellspacing="1" cellpadding="2" border="0" class="forumline">
   <tr>
      <th colspan="3"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></th>
   </tr>
   <tr>
      <td colspan="3" width="190" class="row1">
         <table cellspacing="0" cellpadding="1" border="0">
         <tr>
            <td bgcolor="{T_TD_COLOR2}"><img src="templates/aphrodite_mc/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
         </tr>
         </table>
      </td>
   </tr>
   <tr>
      <td width="33%" class="row3"><span class="gensmall">0%</span></td>
      <td width="34%" align="center" class="row3"><span class="gensmall">50%</span></td>
      <td width="33%" align="right" class="row3"><span class="gensmall">100%</span></td>
   </tr>
   </table>
   <!-- END switch_box_size_notice -->
   </td>
   <td valign="top" align="center" width="100%">
     <table height="40" cellspacing="2" cellpadding="2" border="0">
      <tr valign="middle">
        <td><span class="forumlink">{INBOX} &nbsp;<br /><span class="gensmall">{EXPLAIN_INBOX}</span>&nbsp;</span></td>
        <td><span class="forumlink">{SENTBOX} &nbsp;<br /><span class="gensmall">{EXPLAIN_SENTBOX}</span>&nbsp;</span></td>
        <td><span class="forumlink">{OUTBOX} &nbsp;<br /><span class="gensmall">{EXPLAIN_OUTBOX}</span>&nbsp;</span></td>
        <td><span class="forumlink">{SAVEBOX} &nbsp;<br /><span class="gensmall">{EXPLAIN_SAVEBOX}</span>&nbsp;</span></td>
      </tr>
     </table>
   </td>
   <td align="right">
     <!-- BEGIN switch_box_size_notice -->
     <table width="190" cellspacing="0" class="forumline">
      <tr>
        <th colspan="3"><span class="gensmall">{BOX_SIZE_STATUS}</span></th>
      </tr>
      <tr>
        <td colspan="3" width="190" class="row1" nowrap="nowrap"><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/vote_lcap.gif" width="4" height="12" border="0" /><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/voting_bar.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="12" alt="{INBOX_LIMIT_PERCENT}" /><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/vote_rcap.gif" width="4" height="12" border="0" alt="" /></td>
      </tr>
      <tr>
        <td width="33%" class="row3"><span class="gensmall">0%</span></td>
        <td width="34%" align="center" class="row3"><span class="gensmall">50%</span></td>
        <td width="33%" align="right" class="row3"><span class="gensmall">100%</span></td>
      </tr>
     </table>
     <!-- END switch_box_size_notice -->
   </td>
  </tr>
<tr>
   <td align="left" valign="bottom">{POST_PM_IMG}</td>
</tr>
</table>


This is my view profile file
Code: Select all
         <!-- BEGIN switch_upload_limits -->
        <tr>
            <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
            <td>
                <table width="190" cellspacing="0" class="forumline">
                    <tr>
                        <td colspan="3" width="190" class="row1" nowrap="nowrap"><img src="templates/aphrodite_mc/images/vote_lcap.gif" width="4" height="12" border="0" /><img src="templates/aphrodite_mc/images/voting_bar.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="12" alt="{UPLOAD_LIMIT_PERCENT}" /><img src="templates/aphrodite_mc/images/vote_rcap.gif" width="4" height="12" border="0" alt="" /></td>
                    </tr>
                    <tr>
                        <td width="33%" class="row1"><span class="gensmall">0%</span></td>
                        <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
                        <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
                    </tr>
                </table>
                <b><span class="gen">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
                <span class="gen"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
            </td>
        </tr>
        <!-- END switch_upload_limits -->
fishfreek
Registered User
Registered User
 
Posts: 21
Joined: Sat Nov 26, 2005 2:06 am

Postby webnoobie on Sun Apr 09, 2006 2:59 am

Greetings,

Ok. I have installed this MOD. But for some reason some things are not displaying in Aphrodite. They are:
1. The {ATTACHBOX} in posting_body.tpl file does not work. The section where you upload a file does not show up.
2. When viewing my profile, the Upload Quota Section does not show up.

But, I have installed the MOD and edited all of Aphrodite's .tpl files correctly like shown here in this thread. Can you please help me?
Best Regards:
webnoobie
webnoobie
Registered User
Registered User
 
Posts: 366
Joined: Wed Jun 08, 2005 10:38 pm
Location: My Computer

attach mod install

Postby aphroditelover on Wed Apr 26, 2006 7:10 am

hi all,

im installing the attach mod on the aphrodite style.

so, i would do a manual installation of attach_mod and where reference is made to subSilver/...

i would replace with the code that has been provided on this forum?

replies much appreciated.

Andreas
aphroditelover
Registered User
Registered User
 
Posts: 1
Joined: Wed Apr 26, 2006 7:05 am

Re: attach mod install

Postby DoubleJ on Wed Apr 26, 2006 7:48 am

[quote user="aphroditelover" post="74461"]hi all,

im installing the attach mod on the aphrodite style.

so, i would do a manual installation of attach_mod and where reference is made to subSilver/...

i would replace with the code that has been provided on this forum?

replies much appreciated.

Andreas[/quote]
No you should apply the normal changes that would be needed by subSilver.
This is only a fix for the Aphrodite style.
It never hurts to help.....
[ My phpBB Mods and Styles ]
My Mod: [ Simple Shoutbox Mod ]
[ DoubleJWeb ] [ Get Opera ]
User avatar
DoubleJ
Moderator
Moderator
 
Posts: 716
Joined: Sat Jan 22, 2005 9:58 pm
Location: DoubleJWeb.Net

Postby peterb on Wed Jun 28, 2006 6:39 pm

Hi,
The link to download these files for Attach mod is not working. Anyone else have these files for download?
Thank you,
Peterb

[quote user="Florynel" post="46932"]Here is an archive with the files, all tested and working.
I didn't include viewtopic_body.tpl If I find a solution I will edit my post and include that file to... until then this will make the job easyer :)

:arrow: Download Aphrodite files for Attach mod v.2.3.14[/quote]
peterb
Registered User
Registered User
 
Posts: 6
Joined: Sun Jul 24, 2005 6:42 am

Postby shadowcodes on Sun Aug 06, 2006 1:51 pm

i made this easymod compatible file for the attachment mod version 2.4.1


Code: Select all
#################################################################
## MOD Title: File Attachment Mod aphrodite template only version
## MOD Author: Acyd Burn < N/A > (Meik Sievertsen) http://www.opentools.de/
## MOD Description:
##   This Mod adds the ability to attach files in phpBB2.
##   This Version has been tested and works with phpBB 2.0.19.
##   This Version will NOT work with phpBB2 Modules designed for *Nuke Portals or phpBB2 Ports.
## MOD Version: 2.4.1
##
## Installation Level:   Intermediate
## Installation Time:   30-60 Minutes
## Files To Edit (30):   common.php, faq.php, modcp.php, posting.php, privmsg.php,
##         viewforum.php, viewtopic.php, admin/admin_forumauth.php, admin/admin_ug_auth.php, admin/admin_forums.php,
##         admin/admin_groups.php, admin/admin_users.php, includes/auth.php, includes/functions.php, includes/functions_admin.php,
##         includes/prune.php, includes/topic_review.php, includes/usercp_viewprofile.php, modcp_body.tpl, posting_body.tpl,
##         posting_preview.tpl, posting_topic_review.tpl, privmsgs_body.tpl, privmsgs_preview.tpl, privmsgs_read_body.tpl,
##         profile_view_body.tpl, viewforum_body.tpl, viewtopic_body.tpl, admin/group_edit_body.tpl, admin/user_edit_body.tpl
## Lines(!) To Add:   115
## Included Files:   many many files
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Complete feature list: docs/features.txt
## The user guide: docs/user_guide.html
##
## Some tips:
## - I suggest reading the user guide first if you haven't installed any Mods before.
## - Please note that this Mod is NOT written to be EasyMod compatible (i haven't tested it).
## - Please follow the installation instructions as strict as you can.
##
##
## UPDATING/UPGRADING:
##
## Please skip to the NEW INSTALLATION part if you want to install the
## attachment mod for the first time or want to setup a new installation.
##
## Please read the docs/update.txt document for update/upgrade instructions.
##
##
## NEW INSTALLATION:
##
## You are able to choose between two installation types, depending on your setup:
##
## -> Using the pre-modified files:
##   
##   This method is recommended for those having a vanilla (plain, not modded) phpBB Installation.
##   With this method you do not need to adjust your phpBB files at all, only running the installer
##   and uploading all files - including the pre-modified files - is required.
##
##   If you think this is the correct method for you, please follow the following steps listet in:
##      docs/install_using_premod_files.txt
##   to install the attachment mod.
##   
##   BTW, it is save to close this file now if you use this method. ;)
##
##
##
## -> Using the mod instructions:
##
##   This method is recommended for those already having applied mods to their phpBB Installation.
##
##   If you think this is the correct method for you, please read further.
##
##
##
## Credits:
##   Thanks to all people translating this Mod into their language and offering their work.
##   Also a big thank you to those supporting this Mod and offering help to those having problems.
##
##
## The following sites also contain the latest version of this MOD:
##
## http://www.opentools.de/
## http://sourceforge.net/projects/acydmods
## http://www.phpbb.com/mods
##
## Full support for this MOD can be obtained at:
## http://www.opentools.de/
## Please Note that i am not able to contribute to the Attachment Mod topic at phpbb.com (http://www.phpbb.com/phpBB/viewtopic.php?t=74505)
##
##############################################################
## MOD History:
##
##   2005-12-30 - Version 2.4.1
##      - fixed doubled sql_freeresult in functions_selects.php
##      - fix extension admin panel (unable to update extensions)
##      - changed tmp dir for ftp download in safe mod from temp directory in upload directory to upload directory
##
##   2005-11-24 - Version 2.4.0a
##      - fixed a call to sql_build_array (wrong function used) in attach_mod/includes/functions_admin.php
##         this is producing a php error message within the user administration panel (editing user details)
##      - this version is a repackage, therefore the "a" at the end (nothing else changed, update path and everything else is the same)
##
##   2005-11-21 - Version 2.4.0
##      - using olympus' system of retrieving and storing values
##      - using function for sql escaping
##      - installer now checks for upload directory
##      - fixing multiple call to database in installer
##      - fixing sort_multi_array to correctly decide if sorting is based on numeric or string
##      - taking open basedir restriction into account if checking for image size
##      - making creation of temporary thumbnail file more unique if ftp upload is used (thanks to Douglas Hoffman)
##      - fixing viewing of no longer viewable/denied attachments for admins (alcaeus)
##      - display correct filename on download
##      - added optional language variables (Sync_topics, Sync_posts and Sync_thumbnails)
##
##   Please read the docs/changelog.txt document for a complete changelog.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
# Here starts the Installation, follow the steps very closely.
#

#
# STEP NUMBER I: Uploading all new Files
#
# Copy/Upload all files to their respective Location
# The left side shows the location of the file you should have after decompressing the package,
# the right side shows the location the file must be copied to, it is always the phpBB Root path (where the config.php file is stored at).
# Alternatively just decompress/upload the contents within the attachment_mod folder directly to your phpBB folder.
#
# attachment_mod/download.php                     -> download.php
# attachment_mod/uacp.php                     -> uacp.php
# attachment_mod/attach_rules.php                  -> attach_rules.php
# attachment_mod/admin/admin_attach_cp.php               -> admin/admin_attach_cp.php
# attachment_mod/admin/admin_attachments.php               -> admin/admin_attachments.php
# attachment_mod/admin/admin_extensions.php               -> admin/admin_extensions.php
# attachment_mod/attach_mod/attachment_mod.php               -> attach_mod/attachment_mod.php
# attachment_mod/attach_mod/displaying.php               -> attach_mod/displaying.php
# attachment_mod/attach_mod/index.htm                  -> attach_mod/index.htm
# attachment_mod/attach_mod/pm_attachments.php               -> attach_mod/pm_attachments.php
# attachment_mod/attach_mod/posting_attachments.php            -> attach_mod/posting_attachments.php
# attachment_mod/attach_mod/includes/constants.php            -> attach_mod/includes/constants.php
# attachment_mod/attach_mod/includes/functions_admin.php         -> attach_mod/includes/functions_admin.php
# attachment_mod/attach_mod/includes/functions_attach.php         -> attach_mod/includes/functions_attach.php
# attachment_mod/attach_mod/includes/functions_delete.php         -> attach_mod/includes/functions_delete.php
# attachment_mod/attach_mod/includes/functions_filetypes.php         -> attach_mod/includes/functions_filetypes.php
# attachment_mod/attach_mod/includes/functions_includes.php         -> attach_mod/includes/functions_includes.php
# attachment_mod/attach_mod/includes/functions_selects.php         -> attach_mod/includes/functions_selects.php
# attachment_mod/attach_mod/includes/functions_thumbs.php         -> attach_mod/includes/functions_thumbs.php
# attachment_mod/attach_mod/includes/index.htm               -> attach_mod/includes/index.htm
# attachment_mod/files/index.php                  -> files/index.php
# attachment_mod/images/icon_clip.gif                  -> images/icon_clip.gif
# attachment_mod/images/icon_disk.gif                  -> images/icon_disk.gif
# attachment_mod/images/icon_disk_gray.gif               -> images/icon_disk_gray.gif
# attachment_mod/templates/ca_aphrodite/add_attachment_body.tpl         -> templates/ca_aphrodite/add_attachment_body.tpl
# attachment_mod/templates/ca_aphrodite/posted_attachments_body.tpl      -> templates/ca_aphrodite/posted_attachments_body.tpl
# attachment_mod/templates/ca_aphrodite/posting_attach_body.tpl         -> templates/ca_aphrodite/posting_attach_body.tpl
# attachment_mod/templates/ca_aphrodite/posting_attach_rules.tpl         -> templates/ca_aphrodite/posting_attach_rules.tpl
# attachment_mod/templates/ca_aphrodite/uacp_body.tpl            -> templates/ca_aphrodite/uacp_body.tpl
# attachment_mod/templates/ca_aphrodite/viewtopic_attach_body.tpl         -> templates/ca_aphrodite/viewtopic_attach_body.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_cat_body.tpl         -> templates/ca_aphrodite/admin/attach_cat_body.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_cp_attachments.tpl      -> templates/ca_aphrodite/admin/attach_cp_attachments.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_cp_body.tpl         -> templates/ca_aphrodite/admin/attach_cp_body.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_cp_search.tpl         -> templates/ca_aphrodite/admin/attach_cp_search.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_cp_user.tpl         -> templates/ca_aphrodite/admin/attach_cp_user.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_extension_groups.tpl      -> templates/ca_aphrodite/admin/attach_extension_groups.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_extensions.tpl      -> templates/ca_aphrodite/admin/attach_extensions.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_forbidden_extensions.tpl   -> templates/ca_aphrodite/admin/attach_forbidden_extensions.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_manage_body.tpl      -> templates/ca_aphrodite/admin/attach_manage_body.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_quota_body.tpl      -> templates/ca_aphrodite/admin/attach_quota_body.tpl
# attachment_mod/templates/ca_aphrodite/admin/attach_shadow.tpl         -> templates/ca_aphrodite/admin/attach_shadow.tpl
# attachment_mod/templates/ca_aphrodite/admin/extension_groups_permissions.tpl   -> templates/ca_aphrodite/admin/extension_groups_permissions.tpl
# attachment_mod/language/lang_english/lang_admin_attach.php         -> language/lang_english/lang_admin_attach.php
# attachment_mod/language/lang_english/lang_faq_attach.php         -> language/lang_english/lang_faq_attach.php
# attachment_mod/language/lang_english/lang_main_attach.php         -> language/lang_english/lang_main_attach.php
# attachment_mod/install/install.php                  -> install/install.php
# attachment_mod/install/schemas/attach_mysql_basic.sql            -> install/schemas/attach_mysql_basic.sql
# attachment_mod/install/schemas/attach_mysql_schema.sql         -> install/schemas/attach_mysql_schema.sql
# attachment_mod/install/schemas/attach_mssql_basic.sql            -> install/schemas/attach_mssql_basic.sql
# attachment_mod/install/schemas/attach_mssql_schema.sql         -> install/schemas/attach_mssql_schema.sql
# attachment_mod/install/schemas/attach_postgres_basic.sql         -> install/schemas/attach_postgres_basic.sql
# attachment_mod/install/schemas/attach_postgres_schema.sql         -> install/schemas/attach_postgres_schema.sql
#

#
# If you want/have another language, please visit http://www.opentools.de/ and download your
# Language if it is available. If you have a multi-lingual board you may want to upload all language files.
# Please make sure you download the Language Pack for at least Version 2.3.9 of the Attachment Mod.
#

#
# STEP NUMBER II: Installing the Attachment Mod (Database)
#
# You should have uploaded the install folder (above), which is only needed for running the database installer.
# Make sure you uploaded the schema Files (those files ending in .sql) in ASCII Mode (This is the Layout and Data for your Database):
#
#
#
# Now we want to create the tables, therefore we run the install.php file (http://www.yoursite.com/phpBB2/install/install.php)
# Please be sure to enter the correct URL (replacing www.yoursite.com with your sites URL),
# the install.php file has to be placed within the install folder. If it is not within the install folder, you WILL get errors.
#
# After the install.php file hass been executed successfully, you should remove the complete install folder.
#
#
#


#
# STEP NUMBER III: Modifying existing phpBB2 Files
#
# Now you have to alter existing phpBB2 files, read the instructions carefully and make sure you find the correct lines.
# The Line Numbers are only a hint, most of the time they are not correct, especially if you have Mods installed.
#

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/modcp_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 27
        <td class="row1h" onclick="window.location.href='{topicrow.U_VIEW_TOPIC}'">&nbsp;<span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 27 (directly in that line)
{topicrow.TOPIC_TYPE}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
{topicrow.TOPIC_ATTACHMENT_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/posting_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 258
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">

#
#-----[ REPLACE WITH ]---------------------------------------
#
<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}>

#
#-----[ FIND ]---------------------------------------------
# around line 462
   {POLLBOX}

#
#-----[ BEFORE, ADD ]---------------------------------------
#
   {ATTACHBOX}

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/posting_preview.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 13
               <div class="post-text">{MESSAGE}</div>
#
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
               <!-- BEGIN postrow -->
               {ATTACHMENTS}
               <!-- END postrow -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/posting_topic_review.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
            <div class="post-text">{postrow.MESSAGE}</div>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{postrow.MESSAGE}</div>

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{postrow.ATTACHMENTS}

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/privmsgs_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 15
<table cellpadding="0" width="100%" class="empty-table">
<tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
   <td align="right">
   <!-- BEGIN switch_box_size_notice -->
   <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
   <tr>
      <td colspan="3" width="175" class="row1" nowrap="nowrap"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></td>
   </tr>
   <tr>
      <td colspan="3" width="175" class="row2">
         <table cellspacing="0" cellpadding="1" border="0">
         <tr>
            <td bgcolor="{T_TD_COLOR2}"><img src="templates/ca_aphrodite/images/spacer.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="8" alt="{ATTACH_LIMIT_PERCENT}" /></td>
         </tr>
         </table>
      </td>
   </tr>
   <tr>
      <td width="33%" class="row1"><span class="gensmall">0%</span></td>
      <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
      <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
   </tr>
   </table>
   <!-- END switch_box_size_notice -->
   </td>

#
#-----[ FIND ]---------------------------------------------
# around line 106
     <td valign="middle" class="row1h row-forum" onclick="window.location.href='{listrow.U_READ}'"><span class="topiclink"><a href="{listrow.U_READ}" class="topiclink">{listrow.SUBJECT}</a></span></td>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 106 (directly in that line)
<span class="topiclink"><a href="{listrow.U_READ}" class="topiclink">{listrow.SUBJECT}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
{listrow.PRIVMSG_ATTACHMENTS_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/privmsgs_preview.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 23
   <div class="post-text">{MESSAGE}</div> 

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
   <div class="post-text">{MESSAGE}</div> 
   <!-- BEGIN postrow -->
   {ATTACHMENTS}
   <!-- END postrow -->
   

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/privmsgs_read_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 47
     <div class="post-text">{MESSAGE}</div>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
        <div class="post-text">{MESSAGE}</div> 
   <!-- BEGIN postrow -->
   {ATTACHMENTS}
   <!-- END postrow -->
   

#
#-----[ FIND ]---------------------------------------------
# around line 74
      <input type="submit" name="delete" value="{L_DELETE_MSG}" class="liteoption" />

#
#-----[ AFTER, ADD ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
<!-- BEGIN switch_attachments -->
      &nbsp;
      <input type="submit" name="pm_delete_attach" value="{L_DELETE_ATTACHMENTS}" class="liteoption" />
<!-- END switch_attachments -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/profile_view_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 41
        <td align="left"> <b><span class="gen">{INTERESTS}</span></b></td>
      </tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
<!-- BEGIN switch_upload_limits -->
      <tr>
         <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_UPLOAD_QUOTA}:</span></td>
         <td>
            <table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
            <tr>
               <td colspan="3" width="100%" class="row2">
                  <table cellspacing="0" cellpadding="1" border="0">
                  <tr>
                     <td bgcolor="{T_TD_COLOR2}"><img src="templates/ca_aphrodite/images/spacer.gif" width="{UPLOAD_LIMIT_IMG_WIDTH}" height="8" alt="{UPLOAD_LIMIT_PERCENT}" /></td>
                  </tr>
                  </table>
               </td>
            </tr>
            <tr>
               <td width="33%" class="row1"><span class="gensmall">0%</span></td>
               <td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
               <td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
            </tr>
            </table>
            <b><span class="genmed">[{UPLOADED} / {QUOTA} / {PERCENT_FULL}]</span> </b><br />
            <span class="genmed"><a href="{U_UACP}" class="genmed">{L_UACP}</a></span></td>
         </td>
      </tr>
<!-- END switch_upload_limits -->

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/viewforum_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
     <span class="topiclink{topicrow.XS_NEW}">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span>

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 26 (directly in that line)
{topicrow.NEWEST_POST_IMG}

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------------
#
{topicrow.TOPIC_ATTACHMENT_IMG}

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/viewtopic_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 39
            <span class="gensmall">{postrow.EDITED_MESSAGE}</span>
         {postrow.SIGNATURE}

#
#-----[ IN-LINE FIND ]---------------------------------------------
# around line 39 (directly in that line)
{postrow.SIGNATURE}

#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------------
#
</span>{postrow.ATTACHMENTS}<span class="postbody">

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/admin/group_edit_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 48
   <!-- END group_edit -->

#
#-----[ BEFORE, ADD ]---------------------------------------
#
   <tr>
     <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
     <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
     <td class="row2">{S_SELECT_PM_QUOTA}</td>
   </tr>

#
#-----[ OPEN ]---------------------------------------------
#
templates/ca_aphrodite/admin/user_edit_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 267
     <td class="row1" colspan="2"><span class="gensmall">{L_SPECIAL_EXPLAIN}</span></td>
   </tr>

#
#-----[ AFTER, ADD ]---------------------------------------
#
   <tr>
     <td class="row1"><span class="gen">{L_UPLOAD_QUOTA}</span></td>
     <td class="row2">{S_SELECT_UPLOAD_QUOTA}</td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_PM_QUOTA}</span></td>
     <td class="row2">{S_SELECT_PM_QUOTA}</td>
   </tr>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

#
# STEP NUMBER IV: Additional Instructions
#
# The standard path for your files is 'files' and the standard upload image is images/icon_clip.gif.
# If you want to change it, go to your Administration Panel and change it under Attachments->Management.
#
# If the installer told you to make the upload path writeable, you have to chmod it to 777
# (or change the owner to you httpd-servers owner) to upload files if you do not use the ftp upload feature.
# if you only have plain ftp-access change the 'Attribute' of your files-directory to rwxrwxrwx.
#
# If you are using the ftp-upload feature, enter the relevant information in Attachments->Management.
# The password is stored in plaintext within the database. You don't have to chmod the directory (ftp-path).
#
# it would be wise if you put the provided index.php to this directory to prevent directory indexing if this
# has been enabled at your server.
#
# Before you make anything, i suggest you go to your Administration Panel->Attachments->Management and prove
# that uploading is working with the Test Upload button. ;)
#
# CONFIG CACHING
#
# If you want the Attachment Mod config table to be cached (reduce of one query on all phpBB2 Pages), you
# have to create a directory 'cache' within your phpBB2 root folder.
# This directory have to be chmodded to 777 (see above instructions on how to do this).
#

# EoM


regards
shadowcodes
beginner...so dont blame me:)
User avatar
shadowcodes
Registered User
Registered User
 
Posts: 79
Joined: Wed Jul 05, 2006 10:23 am

Postby estorado on Fri Aug 11, 2006 11:25 am

hi,

i fixed the problem with the privmsgs_body.tpl

Replace the tabel with

Code: Select all
<table cellpadding="0" width="100%" class="empty-table">
<tr>

<td align="left">
   <!-- BEGIN switch_box_size_notice -->
     <table width="190" cellspacing="0" class="forumline">
      <tr>
        <th colspan="3"><span class="gensmall">{ATTACH_BOX_SIZE_STATUS}</span></th>
      </tr>
      <tr>
        <td colspan="3" width="190" class="row1" nowrap="nowrap"><img src="templates/ca_aphrodite/images/vote_lcap.gif" width="4" height="12" border="0" /><img src="templates/ca_aphrodite/images/voting_bar.gif" width="{ATTACHBOX_LIMIT_IMG_WIDTH}" height="12" alt="{ATTACH_LIMIT_PERCENT}" /><img src="templates/ca_aphrodite/images/vote_rcap.gif" width="4" height="12" border="0" alt="" /></td>
      </tr>
      <tr>
        <td width="33%" class="row3"><span class="gensmall">0%</span></td>
        <td width="34%" align="center" class="row3"><span class="gensmall">50%</span></td>
        <td width="33%" align="right" class="row3"><span class="gensmall">100%</span></td>
        </tr>
     </table>
     <!-- END switch_box_size_notice -->
   </td>
   <td valign="middle" align="center" width="100%">
     <table height="40" cellspacing="2" cellpadding="2" border="0">
      <tr valign="middle">
        <td><span class="forumlink">{INBOX} &nbsp;</span></td>
        <td><span class="forumlink">{SENTBOX} &nbsp;</span></td>
        <td><span class="forumlink">{OUTBOX} &nbsp;</span></td>
        <td><span class="forumlink">{SAVEBOX} &nbsp;</span></td>
      </tr>
     </table>
   </td>
   <td align="right">
     <!-- BEGIN switch_box_size_notice -->
     <table width="190" cellspacing="0" class="forumline">
      <tr>
        <th colspan="3"><span class="gensmall">{BOX_SIZE_STATUS}</span></th>
      </tr>
      <tr>
        <td colspan="3" width="190" class="row1" nowrap="nowrap"><img src="templates/ca_aphrodite/images/vote_lcap.gif" width="4" height="12" border="0" /><img src="templates/ca_aphrodite/images/voting_bar.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="12" alt="{INBOX_LIMIT_PERCENT}" /><img src="templates/ca_aphrodite/images/vote_rcap.gif" width="4" height="12" border="0" alt="" /></td>
      </tr>
      <tr>
        <td width="33%" class="row3"><span class="gensmall">0%</span></td>
        <td width="34%" align="center" class="row3"><span class="gensmall">50%</span></td>
        <td width="33%" align="right" class="row3"><span class="gensmall">100%</span></td>
      </tr>
     </table>
     <!-- END switch_box_size_notice -->
   </td>
  </tr>
  <tr>
  <td align="left" valign="bottom">{POST_PM_IMG}</td>
  </tr>
</table>


Edit:
Image


hope i helped

greetings

estorado
User avatar
estorado
Registered User
Registered User
 
Posts: 10
Joined: Sat Jun 17, 2006 2:48 pm
Location: Regensburg, Germany

Postby Darvil on Fri Aug 18, 2006 8:31 am

does anyone still have the pack that Florynel posted up in page 2?

The link is now expired. Can someone reup it if they can?

Thanks!
Darvil
Registered User
Registered User
 
Posts: 4
Joined: Thu Aug 17, 2006 12:52 pm

Postby UseLess on Fri Aug 18, 2006 9:45 am

Greetings,

You should read more.. ;)

This post: viewtopic.php?t=12248 is in this forum... ;)
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby Darvil on Fri Aug 18, 2006 10:14 am

I'm an idiot!!!!!
Darvil
Registered User
Registered User
 
Posts: 4
Joined: Thu Aug 17, 2006 12:52 pm

Postby senyafin on Wed Sep 27, 2006 3:12 pm

#Edit:'fixed
Last edited by senyafin on Wed Sep 27, 2006 3:16 pm, edited 1 time in total.
senyafin
Registered User
Registered User
 
Posts: 137
Joined: Sun Sep 24, 2006 5:44 pm

Postby UseLess on Wed Sep 27, 2006 3:16 pm

Greetings,

Try reading and doing the changes detailed in the 1st post of this thread.
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Postby senyafin on Wed Sep 27, 2006 3:50 pm

UseLess, i've forgetten to copy the viewtopic_body.tpl ;-)

The table is there but unfortunately no DL Link.
Image
senyafin
Registered User
Registered User
 
Posts: 137
Joined: Sun Sep 24, 2006 5:44 pm

PreviousNext

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 1 guest

cron