Page 15 of 17

Re: [BETA] Thank Post by User 0.3

Posted: Thu Apr 03, 2008 9:53 am
by choas
1.Does This mod supported in phpBB 2.0.22 yet or only works in 2.0.23 ?

2.Why do you not make any Thank post mod for phpBB 3 ?

Re: [BETA] Thank Post by User 0.3

Posted: Thu Apr 03, 2008 10:25 am
by Tumbo
choas wrote:1.Does This mod supported in phpBB 2.0.22 yet or only works in 2.0.23 ?
I have 2.0.20 and it works fine here!

Re: [BETA] Thank Post by User 0.3

Posted: Thu Apr 03, 2008 11:28 am
by alexi02
choas wrote:1.Does This mod supported in phpBB 2.0.22 yet or only works in 2.0.23 ?

2.Why do you not make any Thank post mod for phpBB 3 ?
It should work with 2.0.22 but you may not find some of the lines which are present in 2.0.23 for the admin side of things. It will work fine with 2.0.23.

I haven't made this for phpBB3 as there already is one available - http://www.phpbb.com/community/viewtopi ... 0&t=543797 / http://www.phpbb.com/community/viewtopi ... 0&t=780825

Re: [BETA] Thank Post by User 0.3

Posted: Fri Apr 04, 2008 1:59 pm
by Tuning
I have instaled this Hide Addon For this Mod

http://www.phpbb.com/community/viewtopi ... a&start=30

Is not running, Please help me

Re: [BETA] Thank Post by User 0.2.5a

Posted: Fri Apr 04, 2008 2:37 pm
by Tuning
alexi02 wrote:Hi,

So you would like the colours to be show in the Thanked Users list?
If so follow the changes below.
Can This For GROUPS ??

Code: Select all

case GROUPS:
                        $poster_name = '<b>' . $poster . '</b>';
                        $style_color = ' style="color:#' . $theme['fontcolor2'] . '"';
                        break;

Re:

Posted: Sat Apr 05, 2008 8:07 pm
by Tuning
alexi02 wrote:Ok, I had some spare time and decided to include that Hide addon. This addon will replace the Hidden text for users who haven't thanked the post to "This post contains hidden content, you need to thank this post to see the content". You need to use at least v0.2.5 of Thank Post by User Mod.

Example:
Image

In viewtopic

Find

Code: Select all

                        $message = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\2>", $message);
                }
        }
After Add

Code: Select all

        //
        // Start Thank Post by User + Hide BBcode until Thanked Addon Mod
        //

        if ($already_thanked == 0 && $userdata['user_id'] != $poster_id) {

           $hide_start = strpos($message,"[hide:" . $bbcode_uid);
           $hide_end = strpos($message,"[/hide:" . $bbcode_uid . "]");
           $hide_message_end = strpos($message, "[/hide:" . $bbcode_uid . "]") + strlen("[/hide:" . $bbcode_uid . "]");

           if ($hide_start && $hide_end && $hide_message_end) {
              $new_message = substr($message, 0, $hide_start);
              $new_message .= "[hide:" . $bbcode_uid . "=This post contains hidden content, you need to thank this post to see the content]" . "To view hiddent content, thank this post" . "[/hide:" . $bbcode_uid . "]";
              $new_message .= substr($message, $hide_message_end, strlen($message));

              $message = $new_message;
           }
        }

        //
        // End Thank Post by User + Hide BBcode until Thanked Addon Mod
        //

In includes/topic_review.php

Find

Code: Select all

                        $message = $row['post_text'];
                        $bbcode_uid = $row['bbcode_uid'];
After Add

Code: Select all

                        //
                        // Start Thank Post by User + Hide BBcode until Thanked Addon Mod
                        //

                        if ( ($userdata['session_logged_in']) && ($userdata['user_id'] != $poster_id) ) {

                           // Posts SQL
                           $sql = "SELECT thanks_from_user_id
                                   FROM " . POSTS_TABLE . "
                                   WHERE post_id = " . $row['post_id'];

                           if ( !($result = $db->sql_query($sql)) ) {
                              message_die(GENERAL_ERROR, "Could not obtain post information", '', __LINE__, __FILE__, $sql);
                           }

                           $post_row = $db->sql_fetchrow($result);
                           $db->sql_freeresult($result);

                           $already_thanked = 0;

                           if ($post_row['thanks_from_user_id'] != null) {

                              $thanked_users = explode("|",$post_row['thanks_from_user_id']);
                              $thanked_count = count($thanked_users);

                              // Loop through all users who thanked the post
                              for ($x = 0; $x < $thanked_count; $x++) {
                                 if ($thanked_users[$x] == $userdata['user_id']) {
                                    $already_thanked = 1;
                                 }
                              }
                           }
                        }

                        if ($already_thanked == 0 && $userdata['user_id'] != $poster_id) {

                           $hide_start = strpos($message,"[hide:" . $bbcode_uid);
                           $hide_end = strpos($message,"[/hide:" . $bbcode_uid . "]");
                           $hide_message_end = strpos($message, "[/hide:" . $bbcode_uid . "]") + strlen("[/hide:" . $bbcode_uid . "]");

                           if ($hide_start && $hide_end && $hide_message_end) {
                              $new_message = substr($message, 0, $hide_start);
                              $new_message .= "[hide:" . $bbcode_uid . "=This post contains hidden content, you need to thank this post to see the content]" . "To view hiddent content, thank this post" . "[/hide:" . $bbcode_uid . "]";
                              $new_message .= substr($message, $hide_message_end, strlen($message));

                              $message = $new_message;
                           }
                        }

                        //
                        // End Thank Post by User + Hide BBcode until Thanked Addon Mod
                        //
Does not function unfortunately. Is for the Hide the Mod of http://www.philiweb.com

Re: [BETA] Thank Post by User 0.3

Posted: Thu May 15, 2008 5:31 am
by alexi02
If you want to delete the thanks when deleting a user follow the steps below.

In admin/admin_users.php

Find

Code: Select all

                        $sql = "SELECT privmsgs_id
                                FROM " . PRIVMSGS_TABLE . "
                                WHERE privmsgs_from_userid = $user_id
                                        OR privmsgs_to_userid = $user_id";
                        if ( !($result = $db->sql_query($sql)) )
                        {
                                message_die(GENERAL_ERROR, 'Could not select all users private messages', '', __LINE__, __FILE__, $sql);
                        }
After add

Code: Select all

                        // Delete from thanksmod
                        $sql = "SELECT post_id
                                FROM phpbb_thanksmod
                                WHERE thanked_user = '" . $user_id . "'
                                        OR thanks_by = '" . $user_id . "'";
                        if ( !($result = $db->sql_query($sql)) )
                        {
                                message_die(GENERAL_ERROR, 'Could not delete thanks for this user', '', __LINE__, __FILE__, $sql);
                        }

Re: [BETA] Thank Post by User 0.3

Posted: Sat May 17, 2008 8:33 am
by khizerk
Anyway I can change the time taken for redirection (by default it is 5 seconds, I would like to change it to 2)

Re: [BETA] Thank Post by User 0.3

Posted: Sat May 17, 2008 9:47 am
by alexi02
You just need to find <meta http-equiv="refresh" content="5;URL={U_BACK_LINK}"> in the templates/subSilver/thanks.tpl and change the 5 to the number of seconds you want.

Re: [BETA] Thank Post by User 0.3

Posted: Sun May 18, 2008 10:54 am
by khizerk
Thanks, went all over these files looking for a 5, but couldn't find it ;)
By the way, I haven't noticed any bug in this mod, then why the "beta" tag?

Re: [BETA] Thank Post by User 0.3

Posted: Sun May 18, 2008 2:23 pm
by alexi02
Because there's bound to be some problems or features that people want added which I haven't considered. I'd probably have to clean up the code a bit as well as doing a lot more testing which I might consider doing in a little while and finalise it as RC1.

Re: [BETA] Thank Post by User 0.3

Posted: Sun Jun 01, 2008 6:01 am
by alexi02
Thank Post by User v0.3.1 RC1 (10.9KB)

MOD History:
2008-06-01 - Version 0.3.1 (RC1)
- Fixed a slight bug which was added in v0.3 that allowed users to thank anonymous posts
- Added in thanks in user profile
- Improved sql query in thanks.php

Re: [RC1] Thank Post by User v0.3.2

Posted: Sat Jun 14, 2008 6:59 am
by Zaid
hope it works with bb2, gona try now

Re: [RC1] Thank Post by User v0.3.2

Posted: Sat Jun 14, 2008 11:51 am
by Zaid
I got it appearing below the persons brief profile near the post but no button appear to click and thank

Code: Select all

<!-- Start PostOptions by Wicher -->
<script language="JavaScript" src="templates/USFTECH/preview.js"></script>
<link href="templates/USFTECH/preview.css" rel="stylesheet" type="text/css" />
<!-- End PostOptions by Wicher -->




<script type="text/javascript">

/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 2, and so on
<!-- BEGIN postrow -->
var menu{postrow.VB_MENU_ID}=new Array()
menu{postrow.VB_MENU_ID}[0]='<a class="vbmh">&nbsp;{postrow.POSTER_NAME}</a>'
menu{postrow.VB_MENU_ID}[1]='{postrow.VB_MENU_PROFILE}'
menu{postrow.VB_MENU_ID}[2]='{postrow.VB_MENU_PM}'
menu{postrow.VB_MENU_ID}[3]='{postrow.VB_MENU_SEARCH}'
menu{postrow.VB_MENU_ID}[4]='{postrow.VB_MENU_EMAIL}'
menu{postrow.VB_MENU_ID}[5]='{postrow.VB_MENU_WWW}'
//menu{postrow.VB_MENU_ID}[6]='{postrow.VB_MENU_ALBUM}'
<!-- END postrow -->
var menuwidth='selfc' //default menu width
var menubgcolor='#F2F2F2'  //menu bgcolor
var disappeardelay='350'  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick='yes' //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all
var defaultwidth=menuwidth
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
if (typeof menuwidth=='undefined'||menuwidth=='selfc'){
tmpspan.style.display='inline'
dropmenuobj.widthobj.width=tmpspan.offsetWidth+'px'
tmpspan.style.display='none'
}
else if (menuwidth!='')
dropmenuobj.widthobj.width=menuwidth
else
dropmenuobj.widthobj.width=defaultwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
function populatemenu(what){
if (ie4||ns6){
var appendit=0
if (typeof tmpspan=='undefined'){
tmpspan=document.createElement('span')
appendit=1
}
if(appendit){
tmpspan.style.position="absolute"
tmpspan.style.left="-1000px"
tmpspan.id='tspan'
document.body.appendChild(tmpspan)
tmpspan.style.display='none'
}
tmpspan.innerHTML=dropmenuobj.innerHTML=what.join("")
}
}
function dropdownmenu(obj, e, menucontents, menuwidth){
obj.onmouseout=delayhidemenu;
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return clickreturnvalue()
}
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
</script>



<table width="100%" cellpadding="2" cellspacing="1" border="0" align="center" class="forumline">
  <tr>
	<th class="catHead" align="left" valign="middle" width="100%" colspan=2"><center>{L_DARE_NAVIGATION}</center></th>
  </tr><tr><td class="row1"><img border="0" src="images/dare_navi_one.gif">
  <span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>
	  &raquo; <a href="{U_SHOW_CAT}" class="nav">{L_SHOW_CAT}</a>
	  &raquo; <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a><br /><img border="0" src="images/dare_navi_two.gif">&nbsp;<a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>
	  <td width="36%" class="row2">
	  <!-- BEGIN switch_user_logged_in -->
	  <span class="nav">{L_DARE_WELCOME}, {U_NAME_LINK}</span><br /><span class="gensmall">
   {LAST_VISIT_DATE}<br />
   <a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>
   <!-- END switch_user_logged_in -->
   </span>
   <!-- BEGIN switch_user_logged_out -->
   <form method="post" action="{S_LOGIN_ACTION}">
   	<span class="gen">{L_DARE_USERNAME}:</span>
		<input class="post" type="text" name="username" size="10" />&nbsp;<input type="checkbox" name="autologin" value="ON" />
		<acronym style="border-bottom: 1px dotted #000000; cursor: help;" title="{L_DARE_LOGIN_EXPLAIN}" alt="{L_DARE_LOGIN_EXPLAIN}"><span class="gen">{L_DARE_LOGIN}</span></acronym>
		<br /><span class="gen">{L_DARE_PASSWORD}:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
		<input class="post" type="password" name="password" size="10" />&nbsp;<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
		<input type="hidden" name="redirect" value="{U_VIEW_TOPIC}" />
		</form>
<!-- END switch_user_logged_out -->
</td></tr></table>
<br />{THANKS_JAVASCRIPT}
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="bottom" width="100%"><span class="nav">&nbsp;{PAGE_NUMBER}</span></td>
<td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

{POLL_DISPLAY}

<!-- BEGIN postrow -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
 <tr>
  <td width="211" height="28"><img width="211" height="28" border="0" src="templates/USFTECH/images/t1.jpg" alt="" /></td>
  <td width="100%" height="28" class="top"></td>
  <td width="203" height="28"><img width="203" height="28" border="0" src="templates/USFTECH/images/t3.jpg" alt="" /></td>
 </tr>
</table>
<table class="forumline" width="100%" cellspacing="0" cellpadding="0" border="0">
 <tr>
  <td width="200" valign="top" bgcolor="#414a51">
   <table width="200" cellpadding="0" cellspacing="0" border="0">
    <tr>
     <td width="16" height="32"><img border="0" width="16" height="32" src="templates/USFTECH/images/u8.jpg" alt="" /></td>
     <td width="100%" height="32" class="u10" align="center"><span class="name"><a name="{postrow.U_POST_ID}"></a><a class="nav" href="javascript:void(0)" onClick="return dropdownmenu(this, event, menu{postrow.VB_MENU_ID}, 'selfc')" onMouseout="delayhidemenu()">{postrow.POSTER_NAME}</a></span></td>
     <td width="40" height="32"><img border="0" width="40" height="32" src="templates/USFTECH/images/u9.jpg" alt="" /></td>
    </tr>
    <tr>
     <td width="16" class="u1"><img border="0" width="16" src="templates/USFTECH/images/u1.jpg" alt="" /></td>
     <td width="100%" bgcolor="#424951">
      <div align="center" style="padding-top: 3px;">{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</div><br />
      <span class="postdetails"><strong>{postrow.CUSTOM_TITLE}</strong>

       






 




<div style=" #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_01_IMG}<b></div> 
<div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_01}</b></div>




<div style=" #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_02_IMG}<b></div> 




<div style=" #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_03_IMG}<b></div> 


<div style=" #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_04_IMG}<b></div> 


<div style=" #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_05_IMG}<b></div> 
<div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%"><b>{postrow.USER_RANK_05}</b></div>










       <div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%">{postrow.POSTER_JOINED}</div>
       <div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%">{postrow.POSTER_POSTS}<br />{postrow.POSTER_THANKS_GIVEN}<br />{postrow.POSTER_THANKS_RECEIVED}<br /><br /></div>

<div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%">{postrow.POSTER_TROPHY}</div>

       <div style="border: 1px solid #585F67; background-color: #424951; margin-bottom: 2px" width="100%">{postrow.POSTER_FROM}</div>

<div style="background-color: #424951; margin-bottom: 2px" width="100%">{postrow.REPUTATION}</div>
      </span>
     </td>
     <td width="40" class="u2" valign="top"><img border="0" width="40" height="24" src="templates/USFTECH/images//u3.jpg" alt="" /></td>
    </tr>
    <tr>
     <td width="16" height="32"><img border="0" width="16" height="32" src="templates/USFTECH/images/u4.jpg" alt="" /></td>
     <td width="100%" height="32" class="u6" align="left"><img border="0" width="96" height="32" src="templates/USFTECH/images/u5.jpg" alt="" /></td>
     <td width="40" height="32"><img border="0" width="40" height="32" src="templates/USFTECH/images/u7.jpg" alt="" /></td>
    </tr>
   </table>
  </td>
  <td width="100%" valign="top" bgcolor="#424951">
   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
     <td width="100%" class="postbits-b"><span class="postdetails"><b>{L_POST_SUBJECT}: &nbsp; {postrow.POST_SUBJECT}</b></span></td>
     <td nowrap="nowrap" height="32" class="postbits-b" valign="middle" align="right">{postrow.APPROVE_MOD_IMG}  {postrow.QUOTE_IMG} {postrow.THANKS_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.REPORT}{postrow.BUDDY_IMG} <a href="#" onClick="return overlay(this, 'subcontent{postrow.U_POST_ID}', 'rightbottom')">{postrow.IP_IMG}</a>



					<!--Do not remove outer most DIV tag with id="subcontent{postrow.U_POST_ID}"-->
					<DIV id="subcontent{postrow.U_POST_ID}" style="position:absolute; border: 2px solid #646D7E; background-color: #150517; width: 318px; padding: 4px; display:none">
						<span class="gensmall">
						<b>{postrow.POSTER_NAME}</b><br />
						{postrow.IP}
						{postrow.U_POSTER_IP_BAN}
						{postrow.U_POSTER_EMAIL_BAN}
						{postrow.U_POSTER_BAN}
						{postrow.U_TOTAL_BAN}
						{postrow.U_TOTAL_UNBAN}
						{postrow.L_CENSOR}{postrow.U_CENSOR1}{postrow.U_CENSOR2}{postrow.U_CENSOR3}{postrow.U_CENSOR4}{postrow.U_CENSOR5}{postrow.U_CENSOR6}
						{postrow.U_CENSOR7} {postrow.U_DEL_MODMESS}
						{postrow.U_UNCENSOR}
						{postrow.U_RESET_TIMEFRAME}
						{postrow.U_POSTOPTIONS_DELETE}
						{postrow.U_DELETE_ALL_POSTS_TOPIC}
						{postrow.U_DELETE_ALL_POSTS_FROM_REPLY}
						{postrow.U_DELETE_ALL_POSTS_BOARD}
						{postrow.U_DELETE_USER}
						{postrow.U_DEL_USER_AND_ALL_POSTS}
						{postrow.U_MOVE_POST_TO_TRASH}
						{postrow.U_MOVE_POSTS_TO_TRASH}
						{postrow.U_MOVE_POSTS_FROM_TRASH}
						{postrow.U_MOVE_TOPIC_TO_TRASH}
						{postrow.U_MOVE_TOPIC_FROM_TRASH}
						{postrow.U_REPORT_THIS_POST}
						<br />
						</span>
						<table width="310" cellpadding="0" cellspacing="0" style="border-top: 2px solid black"><tr><td align="left" valign="bottom"><span class="gensmall"><b>{L_PERMANENT}</b></span></td><td align="right" valign="bottom"><span class="gensmall"><a href="#" onClick="overlayclose('subcontent{postrow.U_POST_ID}'); return false"><b>{L_CLOSE}</b></a></span></td></tr></table>
					</DIV>
				</td>


     <td width="23" height="32" align="left"><img border="0" width="23" height="32" src="templates/USFTECH/images/postbits-c.jpg" alt="" /></td>
    </tr>
    <tr>
     <td colspan="3" width="100%" valign="top"><br /></td>
    </tr>
   </table>

       <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr>
            <td width="100%" align="right"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails"><b>{L_POSTED}: {postrow.POST_DATE}</b></span>&nbsp;&nbsp;&nbsp;&nbsp;</td>
            <td valign="top" nowrap="nowrap"></td>
         </tr>



<!-- BEGIN thanks -->
        <tr>
                <td colspan="2" class="{postrow.ROW_CLASS}" width="100%" valign="bottom"><table cellspacing="0" cellpadding="0" border="0" height="18">
                        <tr>
                                <td valign="middle"><span class="gen">{postrow.thanks.L_THANKS_TEXT}: {postrow.thanks.THANKS_USERS}</span></td>
                        </tr>
                </table></td>
        </tr>
        <!-- END thanks -->


         <tr>
            <td colspan="2"><br /></td>
         </tr>
         <tr>
            <td colspan="2">
				{postrow.MODMESS}
				<!-- BEGIN switch_reported -->
					<table width="100%" cellpadding="1"><tr><td height="12"></td><td height="12" width="10" style="border: 1px solid red" align="center"><span class="gensmall">{L_REPORTED}</span></td></tr></table>
				<!-- END switch_reported -->
				<span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
         </tr>
      </table></td>
   </tr>
   <tr>
      <td class="row4" width="150" align="left" valign="middle"><span class="nav">&nbsp;&nbsp;<a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
      <td class="row4" width="100%" height="28" valign="bottom" nowrap="nowrap">
       <table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
         <tr>
             &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="topictitle" align="right">

<a href="http://digg.com/submit?phase=2&url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img border="0" src="http://tomorrowsgaming.com/forums/images/digg.ico" title="Digg It" ></a>


<a href="http://del.icio.us/post?url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img border="0" src="http://tomorrowsgaming.com/forums/images/delicious.gif" title="Delicious !" ></a> 



<a href="javascript:location.href='http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"></a><a href="javascript:location.href='http://slashdot.org/bookmark.pl?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><img border="0" src="http://tomorrowsgaming.com/forums/images/slashdot.ico" title="Slash Dot" ></a>

<a href="'http://rds.yahoo.com/_ylt=A0Je5U1UlExIjEcAEguzEMsF;_ylu=X3oDMTBiYzQ4Mm05BHNlYwNteXdlYnRi/SIG=120go85ej/EXP=1213064660/**http%3a//myweb.yahoo.com/myresults/bookmarklet"></a><a href="http://rds.yahoo.com/_ylt=A0Je5U1UlExIjEcAEguzEMsF;_ylu=X3oDMTBiYzQ4Mm05BHNlYwNteXdlYnRi/SIG=120go85ej/EXP=1213064660/**http%3a//myweb.yahoo.com/myresults/bookmarklet"><img border="0" src="http://tomorrowsgaming.com/forums/images/yahoomyweb.gif" title="Yahoo My Web" ></a><BR>


             &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="http://www.spurl.net/spurl.php?url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img border="0"  src="http://tomorrowsgaming.com/forums/images/spurl.gif" title="Spurl" ></a>

<a href="http://www.linkagogo.com/go/AddNoPopup?url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img border="0"  src="http://tomorrowsgaming.com/forums/images/linkagogo.gif" title="Link a GoGO" ></a>


<a href="http://reddit.com/submit?url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img  border="0"  src="http://tomorrowsgaming.com/forums/images/reddit.gif" title="Redd it" ></a>


<a href="http://www.shadows.com/features/tcr.htm?url=http://www.YOUR_URL/{U_VIEW_TOPIC}&title={TOPIC_TITLE_FULL}"><img border="0"  src="http://tomorrowsgaming.com/forums/images/shadows.gif" title="Shadows" ></a>

<td valign="middle" nowrap="nowrap">{postrow.STATUS_IMG}{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}  





<script language="JavaScript" type="text/javascript"><!--

   if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
      document.write(' {postrow.ICQ_IMG}');
   else
      document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
            
            //--></script><noscript>{postrow.ICQ_IMG}</noscript></td>








    </tr>
      </table></td>
   </tr>
</table>



<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
 <tr>
  <td width="209" height="17"><img width="209" height="17" border="0" src="templates/USFTECH/images/t4.jpg" alt="" /></td>
  <td width="100%" height="17" class="bottom"></td>
  <td width="252" height="17"><img width="252" height="17" border="0" src="templates/USFTECH/images/t6.jpg" alt="" /></td>
 </tr>
</table>
<br />
<!-- END postrow -->


<table width="100%" cellspacing="0" cellpadding="0" border="0" align="right">
 <tr></tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a target="_blank" href="{U_PRINTER_TOPIC}"><img src="{PRINTER_IMG}" border="0" alt="{L_PRINTER_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="top" width="100%"><span class="nav">&nbsp;{PAGE_NUMBER}</span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="gensmall"><b>{PAGINATION}</b></span></td>
  




</tr>
</table>
<br />

<table align="center" width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>


    <th height='25' class='thCornerL' nowrap='nowrap' colspan="5">Quick Reply and Actions</th>
  </tr>
  <tr>
    <td height="1" colspan="5" bgcolor="414A51" class="row3">&nbsp;</td>
  </tr>

  <tr>
    <td width="1" bgcolor="414A51" class="row3_c">&nbsp;</td>
    <td width="60%" valign="top" bgcolor="414A51" class="gensmall_l_row1"><p><span class="row1_l">{QUICK_REPLY_FORM}</span></p>
    </td>


    <td width="1" bgcolor="414A51" class="row3_c">&nbsp;</td>
    <td width="35%" valign="top" bgcolor="414A51" class="gensmall_l_row1"><p><span class="row1_l"><span class="nav">{PAGE_NUMBER}</span><br>
        <span class="gensmall">{S_WATCH_TOPIC}</span></span></p>
      <hr>
      <p><span class="row1_l">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></span><br />
      </p>
    </td>
    <td width="1" bgcolor="414A51" class="row3_c">&nbsp;</td>
  </tr>
  <tr>
    <td height="1" colspan="5" bgcolor="414A51" class="row3">&nbsp;</td>
  </tr>
</table>


<span class="gensmall">{S_SUBSCRIBED_TOPIC}</span><br />
 
<P>{S_TOPIC_ADMIN}</P>

Re: [RC1] Thank Post by User v0.3.2

Posted: Sat Jun 14, 2008 3:10 pm
by alexi02
The tpl that you have posted seems correct. Make sure you have made the appropriate edits to the viewtopic.php. PM your viewtopic.php and I'll take a look at it.