If you are using Bob Marion's Your Account tweak but are not using Splatt or bbtonuke forums then you need to comment out the part that attempts to grab the 10 last forum posts from the userinfo function in modules/Your_Account/index.php
Code:
// Last 10 Forum Topics
$result = sql_query("select t.topic_id, t.topic_title, f.forum_name, t.forum_id from ".$prefix."_forumtopics t, ".$prefix."_forums f where t.forum_id=f.forum_id and t.topic_poster='$userinfo[uid]' order by t.topic_time DESC limit 0,10", $dbi);
if ((sql_num_rows($result, $dbi) > 0)) {
echo "<br>";
OpenTable();
echo "<b>"._LAST10BBTOPICS." $uname:</b><br>";
while(list($topic_id, $topic_title, $forum_id, $forum_name) = sql_fetch_row($result, $dbi)) {
echo "<li><a href=\"modules.php?name=Forums&file=viewforum&forum=$forum_name\">$forum_id</a> » <a href=\"modules.php?name=Forums&file=viewtopic&topic=$topic_id&forum=$forum_name\">$topic_title</a><br>";
}
CloseTable();
}
If you are using either one of those forums then you might be using the incorrect version of the tweak as there are two versions, one for Splatt and one for bbtonuke.
I wanted to see if commenting out the chunk of code you suggested above would work before replacing the tweak, and it did work
A couple of days ago I did a few tweaks to redirect new users to the "13 year old" agreement thing, before bringing them back to the "choose your own password" form, and I didn't feel like redoing that all over again.
So once again, thanks for sharing your great wisdom.
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