Seite 3 von 4

Verfasst: 09.06.2005 20:31
von easygo
sascha0810 hat geschrieben:In Moment interressiert mich die Knigge garnicht denn ich möchte einfach nur das mein Forum wieder läuft!!!
Ahja? wenn du das möchtest, warum codest du dann erst
so nen Schrott zusammen? @sascha0810

Code: Alles auswählen

#
#-----[ FIND ]------------------------------------------------
#
//
// Post a new topic/reply/poll or edit existing post/poll
//
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
{
	global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
	global $userdata, $user_ip;
          

	   if ($mode != 'poll_delete')
   {
      $GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
      include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

      $sql = "DELETE FROM " . POSTS_TABLE . " 

	$current_time = time();      

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
//
// Post a new topic/reply/poll or edit existing post/poll
//
function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id, &$topic_type, &$bbcode_on, &$html_on, &$smilies_on, &$attach_sig, &$bbcode_uid, &$post_username, &$post_subject, &$post_message, &$poll_title, &$poll_options, &$poll_length)
{
	global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
	global $userdata, $user_ip;

	include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

	$current_time = time();
      
#
#-----[ FIND ]------------------------------------------------
#
//
// Delete a post/poll
//
function delete_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id)
{
	global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
	global $userdata, $user_ip;

	if ($mode != 'poll_delete')
	{
		include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
//
// Delete a post/poll
//
function delete_post($mode, &$post_data, &$message, &$meta, &$forum_id, &$topic_id, &$post_id, &$poll_id)
{
	global $board_config, $lang, $db, $phpbb_root_path, $phpEx;
	global $userdata, $user_ip;

	if ($mode != 'poll_delete')
	{
// Start add - CASHMOD
		$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
// End add - CASHMOD
		include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
# 
#-----[ SAVE/CLOSE FILE ]------------------------------------------ 
#

Verfasst: 09.06.2005 20:59
von sascha0810
OK habe ich gemacht doch jetzt bekomme ich die Fehlermeldung!!!

Fatal error: Call to a member function on a non-object in /usr/export/www/vhosts/funnetwork/hosting/sascha081088/includes/functions_post.php on line 356

Verfasst: 09.06.2005 21:04
von sascha0810
Habe die txt Datei wieder aktualliesiert ihr findet sie hier

http://sascha081088.sa.funpic.de/includ ... s_post.txt

Verfasst: 09.06.2005 21:08
von easygo
sascha0810 hat geschrieben:Habe die txt Datei wieder aktualliesiert ihr findet sie hier

http://sascha081088.sa.funpic.de/includ ... s_post.txt
Nö, mit 404.htm kann ich nix anfangen...
404: Die angeforderte Datei ist leider nicht verfügbar!

Verfasst: 09.06.2005 21:41
von sascha0810
musst du mal separat eingeben
wenn ich draufklicke kann ich es sehen

Verfasst: 09.06.2005 21:52
von easygo
[ externes Bild ]

Jo, schönes Bild! Wird das noch was?

Ich verlier sonst die Lust... easy

Verfasst: 09.06.2005 22:43
von sascha0810
also ich kann es sehen und ich habe alles so gemacht wie es da beschrieben steht auf der Anleitung seite 1

Verfasst: 10.06.2005 13:10
von sascha0810
Was soll ich tun???
HILFE

Verfasst: 10.06.2005 13:22
von easygo
Schön, wenn du was sehen kannst, blos bringen tut das herzlich wenig... :roll:
außer du hilfst dir selbst! Besorg dir woanders Freespace,
von wo man auch mal Dateien verlinken darf...

Bsp: Lycos Tripod -> 50 MB

Verfasst: 10.06.2005 13:34
von sascha0810