Quote:
Originally Posted by DSemen
Unfortunately it will not be possible to update. Many mods require a serious alteration. I already tried several times to update myself and it always ended in failure. I ask you, I am ready to pay, help me.
|
Locate the following code in the file "mystarpost.php":
PHP Code:
$posts = $vbulletin->db->query_read("
SELECT starposts.dateline AS stardateline, post.*, thread.title AS threadtitle, thread.postusername as postusername, thread.postuserid AS postuserid, thread.dateline AS threaddateline, thread.replycount AS replycount, thread.views AS views, thread.postercount AS threadpostercount, thread.lastpost AS threadlastpost, forum.forumid AS forumid, forum.title AS forumtitle, forum.description AS forumdescription, forum.parentlist AS forumparents
FROM " . TABLE_PREFIX . "starposts AS starposts
LEFT JOIN " . TABLE_PREFIX . "post AS post
ON post.postid = starposts.postid
LEFT JOIN " . TABLE_PREFIX . "thread AS thread
ON thread.threadid = post.threadid
LEFT JOIN " . TABLE_PREFIX . "forum AS forum
ON forum.forumid = thread.forumid
WHERE starposts.userid = " . $vbulletin->userinfo['userid'] . "
ORDER BY starposts.dateline ASC
");
Change if to read:
PHP Code:
$posts = $vbulletin->db->query_read("
SELECT starposts.dateline AS stardateline, post.*, thread.title AS threadtitle, thread.postusername as postusername, thread.postuserid AS postuserid, thread.dateline AS threaddateline, thread.replycount AS replycount, thread.views AS views, thread.lastpost AS threadlastpost, forum.forumid AS forumid, forum.title AS forumtitle, forum.description AS forumdescription, forum.parentlist AS forumparents
FROM " . TABLE_PREFIX . "starposts AS starposts
LEFT JOIN " . TABLE_PREFIX . "post AS post
ON post.postid = starposts.postid
LEFT JOIN " . TABLE_PREFIX . "thread AS thread
ON thread.threadid = post.threadid
LEFT JOIN " . TABLE_PREFIX . "forum AS forum
ON forum.forumid = thread.forumid
WHERE starposts.userid = " . $vbulletin->userinfo['userid'] . "
ORDER BY starposts.dateline ASC
");
Now, in the template "markfl_starpost_postbit", locate the line:
HTML Code:
<tr><td>Poster Count</td><td>{vb:raw post.threadpostercount}</td><tr>
And remove it.
Let me know if this works.