Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
wxjoe
New Member
New Member



Joined: Dec 22, 2008
Posts: 11

PostPosted: Wed Jan 07, 2009 9:14 pm Reply with quote

Ok, I'm totaly frustrated at this point. I have tried just about everying. I hope somone could help us.

I'm running..

phpBB 2.0.23 with Attachment Mod Version 2.4.5

RavenNuke(tm) 2.3.0

with a theme from http://www.clan-themes.co.uk/

Here is our site http://www.deadlyrecon.com

When you reply to a post there is no button for attachments. Or in Pri message. ( I already looked at permissions )

another thing i notied was when u have a private message,. you do not get a Pop up.


Can you help me with this Please?
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Wed Jan 07, 2009 10:35 pm Reply with quote

Your templates for your theme are not up to date. Try searching the forum for the answer it may be here. Or maybe someone else can replay tell you which templates.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
wxjoe







PostPosted: Wed Jan 07, 2009 11:22 pm Reply with quote

I have been searching for a couple of days now..... I did forget to mention im using subsilver as well..

Thanks
 
Palbin







PostPosted: Wed Jan 07, 2009 11:25 pm Reply with quote

subsilver that comes with the distro should be fine I believe, but still i am not sure.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jan 08, 2009 12:48 am Reply with quote

Have you checked with clan-themes.co.uk? Is the theme compatible with RN v2.30.00?
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Thu Jan 08, 2009 1:21 am Reply with quote

Is there a forums folder in the the directory for that theme?

If there is it will be using these files for the forums template, which might not include the attachment files. Compare the files to the RavenIce theme and you will see if anything is missing.
 
View user's profile Send private message
wxjoe







PostPosted: Thu Jan 08, 2009 8:40 am Reply with quote

Raven wrote:
Have you checked with clan-themes.co.uk? Is the theme compatible with RN v2.30.00?


Yes... http://www.clan-themes.co.uk/ftopict-2907-raven.html+scripts
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Jan 08, 2009 9:23 am Reply with quote

the theme you are using looks fairly similar to the CT_RN theme included w/ RN. You might want to use a comparison program such as WinMerge and compare themes/CT_RN/forums to themes/YOUR_THEME/forums and see if there are differences in the TPL files, or any missing files.
 
View user's profile Send private message Visit poster's website
jakec







PostPosted: Thu Jan 08, 2009 2:20 pm Reply with quote

As I said before if your theme has a forums folder they may not have included the attachment files. See this post here: http://www.ravenphpscripts.com/posts16567-highlight-.html
 
wxjoe







PostPosted: Thu Jan 08, 2009 2:23 pm Reply with quote

well, I fixed it... In the file name posting_body.pl It's missing this. {ATTACHBOX}

This needs to be added at line #442

I took spasticdonkey's idea and narrowed it down to this file.

Yay!

Thanks to all for now.
 
jakec







PostPosted: Thu Jan 08, 2009 2:34 pm Reply with quote

Well done, I am glad you have fixed it. Very Happy
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Thu Jan 08, 2009 9:38 pm Reply with quote

Since the Attachment Mod became integrated into RavenNuke, it lost the install.txt in the docs

I will copy the relevant instructions here. Please use and modify accordingly for your template

Code:


copy attachment_mod/templates/subSilver/add_attachment_body.tpl to templates/subSilver/add_attachment_body.tpl
copy attachment_mod/templates/subSilver/posted_attachments_body.tpl to templates/subSilver/posted_attachments_body.tpl
copy attachment_mod/templates/subSilver/posting_attach_body.tpl to templates/subSilver/posting_attach_body.tpl
copy attachment_mod/templates/subSilver/posting_attach_rules.tpl to templates/subSilver/posting_attach_rules.tpl
copy attachment_mod/templates/subSilver/uacp_body.tpl to templates/subSilver/uacp_body.tpl
copy attachment_mod/templates/subSilver/viewtopic_attach_body.tpl to templates/subSilver/viewtopic_attach_body.tpl
copy attachment_mod/templates/subSilver/admin/attach_cat_body.tpl to templates/subSilver/admin/attach_cat_body.tpl
copy attachment_mod/templates/subSilver/admin/attach_cp_attachments.tpl to templates/subSilver/admin/attach_cp_attachments.tpl
copy attachment_mod/templates/subSilver/admin/attach_cp_body.tpl to templates/subSilver/admin/attach_cp_body.tpl
copy attachment_mod/templates/subSilver/admin/attach_cp_search.tpl to templates/subSilver/admin/attach_cp_search.tpl
copy attachment_mod/templates/subSilver/admin/attach_cp_user.tpl to templates/subSilver/admin/attach_cp_user.tpl
copy attachment_mod/templates/subSilver/admin/attach_extension_groups.tpl to templates/subSilver/admin/attach_extension_groups.tpl
copy attachment_mod/templates/subSilver/admin/attach_extensions.tpl to templates/subSilver/admin/attach_extensions.tpl
copy attachment_mod/templates/subSilver/admin/attach_forbidden_extensions.tpl to templates/subSilver/admin/attach_forbidden_extensions.tpl
copy attachment_mod/templates/subSilver/admin/attach_manage_body.tpl to templates/subSilver/admin/attach_manage_body.tpl
copy attachment_mod/templates/subSilver/admin/attach_quota_body.tpl to templates/subSilver/admin/attach_quota_body.tpl
copy attachment_mod/templates/subSilver/admin/attach_shadow.tpl to templates/subSilver/admin/attach_shadow.tpl
copy attachment_mod/templates/subSilver/admin/extension_groups_permissions.tpl to templates/subSilver/admin/extension_groups_permissions.tpl




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

#
#-----[ FIND ]---------------------------------------------
# around line 27
     <td class="row1">&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/subSilver/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/subSilver/posting_preview.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 13
               <span class="postbody">{MESSAGE}</span>

#
#-----[ 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/subSilver/posting_topic_review.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
            <td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>

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

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

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

#
#-----[ FIND ]---------------------------------------------
# around line 15
<table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">
  <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/subSilver/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 width="55%" valign="middle" class="{listrow.ROW_CLASS}"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>

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

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

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

#
#-----[ FIND ]---------------------------------------------
# around line 23
   <td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
   <td valign="top" colspan="2" class="row1"><span class="postbody">{MESSAGE}</span>
   <!-- BEGIN postrow -->
   {ATTACHMENTS}
   <!-- END postrow -->
   </td>

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

#
#-----[ FIND ]---------------------------------------------
# around line 47
     <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span></td>

#
#-----[ REPLACE WITH ]---------------------------------------
# Do NOT make one line out of this, a <!-- --> template statement has to be on one seperate line
     <td valign="top" colspan="3" class="row1"><span class="postbody">{MESSAGE}</span>
<!-- BEGIN postrow -->
   {ATTACHMENTS}
<!-- END postrow -->
     </td>

#
#-----[ 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/subSilver/profile_view_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 41
        <td> <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/subSilver/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/subSilver/viewforum_body.tpl

#
#-----[ FIND ]---------------------------------------------
# around line 26
     <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />

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

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

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

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

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

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

#
#-----[ OPEN ]---------------------------------------------
#
templates/subSilver/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/subSilver/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>


_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©