Announcement

Collapse
No announcement yet.

Deleting Error!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kihon Kata
    replied
    If that is the case, then I would say it is not that line then.



    Originally posted by Slave
    I just added this to my forums .. and it seems to work ..

    Leave a comment:


  • Slave
    replied
    I just added this to my forums .. and it seems to work ..
    Attached Files

    Leave a comment:


  • Steve Machol
    replied
    You'll need to post this in the bug thread.

    Leave a comment:


  • Kihon Kata
    replied
    Nope, didnt work....now I get this error:

    Code:
     
    [b]Fatal error: Call to undefined function: fetch_textarea_width() in [b]/www1/makeuptalk.com/html/forums/editpost.php 
     on line [b]58[/b]
    [/b]


    Here is the sytax that I used for your below fix. Is this coding correct:


    Code:
     
    {
    	 $removaltype = 1;
    	}
    	else
    	{
    	 $removaltype = 0;
    	}
    [b][color=red]require_once('./includes/functions_databuild.php');[/color][/b]
    	delete_thread($threadinfo['threadid'], $foruminfo['countposts'], $removaltype, array('userid' => $bbuserinfo['userid'], 'username' => $bbuserinfo['username'], 'reason' => $reason, 'keepattachments' => $keepattachments));
    	if ($foruminfo['lastthreadid'] != $threadinfo['threadid'])
    	{
    	 // just decrement the reply and thread counter for the forum
    	 $DB_site->query("
    	  UPDATE " . TABLE_PREFIX . "forum
    	  SET threadcount = threadcount - 1, replycount = replycount - $threadinfo[replycount] - 1
    	  WHERE forumid = $threadinfo[forumid]
    	 ");
    	}
    [/b]



    Originally posted by Steve Machol

    Leave a comment:


  • Steve Machol
    replied
    http://www.vbulletin.com/forum/bugs....iew&bugid=1249

    Leave a comment:


  • Kihon Kata
    started a topic Deleting Error!

    Deleting Error!

    Running Gamma here

    I am getting this error when attempting to delete a thread/post

    Code:
    [b]Fatal error: Call to undefined function: delete_thread() in [b]/www1/makeuptalk.com/html/forums/editpost.php[/b] on line [b]727[/b]
    [/b]

    Any Ideas?
    Last edited by Kihon Kata; Sat 13 Dec '03, 7:44am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X