Warezlinkers: submitted msg in topic [phpbb3]

Status
Not open for further replies.

jomasaco

Active Member
192
2008
21
0
15nkpax.png

YOU will need first to have installed the in-forum submitter by warezlinkers.com
Code:
http://warezcoders.com/code/warezlinkers_ifs.zip
SQL
Code:
ALTER TABLE phpbb_posts ADD `submited` varchar(255) NOT NULL;
Open: styles/~{Your Style}~/template/viewtopic_body.html
Find:
{postrow.MESSAGE}</div>
After add:
Code:
<div class="notice">{postrow.SUBMITED}</div>
Open: viewtopic.php
Find:
'BUMPED_MESSAGE' => $l_bumped_by,
After add:
Code:
'SUBMITED'            => $row['submited'],
Find:
$sql = 'SELECT post_id, topic_id, forum_id
Replace by:
Code:
$sql = 'SELECT post_id, topic_id, forum_id, submited
Find:
'post_edit_user' => $row['post_edit_user'],
After add:
Code:
'submited'                => $row['submited'],
OPEN include/mcp/mcp_main.php
Find:
$result = array(
array($sitename,$siteurl,$sitemail),
array(array("jmz","ftw"))
Before add:
Code:
        $subdat=date('F jS, Y, g:i a', time());
            $sql = "UPDATE " . POSTS_TABLE . " 
            SET submited = '<b>[Submited by warezlinkers at ". $subdat ."]</b>' 
            WHERE " . $db->sql_in_set('topic_id', $topics);
            $db->sql_query($sql);
Is all.
 
8 comments
Should be up now.

I *may* have fixed the downtime. Suspended a horribly coded site (running on a script not coded by me of course :P)
 
Really nice, I've been looking for something like this so I can remember what posts I have submitted, I always replied manually now it's gonna b easy. thanks!
 
Installed and workinf perfect but this just edits the posts, I though it was gonna auto reply the post. anyways it's working fine. thanks.
 
Status
Not open for further replies.
Back
Top