phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Post preview in Post Associator


 
Search this topic... | Search MOD Requests... | Search Box
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Author Message
Sylver Cheetah 53
Board Member



Joined: 17 Dec 2008

Posts: 426
Location: Milky Way


flag
PostPosted: Tue Feb 10, 2009 2:00 pm 
Post subject: Post preview in Post Associator

Hy!

I am using Post Associator MOD for some while and it works great. Now, I want to install the addon wich allows administrators to reassociate single posts. Tested and seems to be no problems, but I wish to have an preview of the post being reasociated, like in Change Poster.
This is modcp_postassoc.html:
Code:

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr>
   <td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
  </tr>
</table>

<form method="post" name="post" action="{S_ACTION}">
<input type="hidden" name="{POST_TOPIC_URL}" value="{TOPIC_ID}" />
<input type="hidden" name="{POST_POST_URL}" value="{POST_ID}" />
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
   <tr>
      <th class="thHead" align="center" colspan="2"><b>{L_TITLE}</b></th>
   </tr>
   <tr>
      <td class="row3 gensmall" colspan="2">
         {L_EXPLAIN}
      </td>
   </tr>
   <tr>
      <td class="row1 genmed">
         {L_TO_NAME}<br />
         <span class="gensmall">{L_TO_NAME_EXPLAIN}</span>
      </td>
      <td class="row1">
         <input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
      </td>
   </tr>
   <tr>
      <td class="catbottom" align="center" colspan="2">
         {S_HIDDEN_FIELDS}
         <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" />
         <input type="submit" name="cancel" value="{L_CANCEL}" class="liteoption" />
      </td>
   </tr>
</table>
</form>

And this is what I put:
Code:
AFTER, ADD
<br />

<table cellspacing="0" cellpadding="3" class="forumline" width="100%">
   <tr>
       <th>{L_AUTHOR}</th>
      <th>{L_SUBJECT}: {SUBJECT}</th>
   </tr>
   <tr>
       <td class="row2" width="10%" valign="top"><span class="nav">{POSTER}</span><br />{AVATAR}<br /><br /></td>
      <td class="row1" valign="top"><span class="postbody">{MESSAGE}</span></td>
   </tr>
</table>

But it doesn't work. icon_sad.gif It looks like this:
Image link

When it should look like this:
Image link
(but without the avatar)

This is from another board, where I have installed Change Poster, and not Post Associator. But Post Associator allowes me to reassociate even post of deleted users, and this is why now I want it. icon_wink.gif

A little help, please. icon_smile.gif

_________________
Image link
My Forum || My Blog

phpBB2 forever! icon_smile.gif
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Requests  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0281 seconds using 15 queries. (SQL 0.0018 Parse 0.0008 Other 0.0254)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo