Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post PHPBBXS - MoveMessageMod 
 
I've just got this mod and want to install it. But i can't find this in my modcp.php

Code: [Download] [Hide] [Select]
#
#-----[ FIND ]------------------------------------------
#
        }

        $sql = "UPDATE " . TOPICS_TABLE . "
            SET topic_status = " . TOPIC_LOCKED . "

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'lock', '', '', $userdata['user_id']);

#
#-----[ FIND ]------------------------------------------
#
        }

        $sql = "UPDATE " . TOPICS_TABLE . "
            SET topic_status = " . TOPIC_UNLOCKED . "

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'unlock', '', '', $userdata['user_id']);



The complete instructions are:

Code: [Download] [Hide] [Select]
#
#-----[ OPEN ]------------------------------------------
#
modcp.php

#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);

#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'move_message_mod.'.$phpEx);

#
#-----[ FIND ]------------------------------------------
#
$post_id_sql .= ( ( $post_id_sql != '' ) ? ', ' : '' ) . intval($row['post_id']);

#
#-----[ AFTER, ADD ]------------------------------------------
#
delete_topic($topic_id_sql);

#
#-----[ FIND ]------------------------------------------
#
            message_die(GENERAL_ERROR, 'Could not insert shadow topic', '', __LINE__, __FILE__, $sql);
        }
    }

#
#-----[ AFTER, ADD ]------------------------------------------
#
move_message_mod($row[$i]['topic_id'], '', 'move', $old_forum_id, $new_forum_id, $userdata['user_id']);

#
#-----[ FIND ]------------------------------------------
#
        }

        $sql = "UPDATE " . TOPICS_TABLE . "
            SET topic_status = " . TOPIC_LOCKED . "

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'lock', '', '', $userdata['user_id']);

#
#-----[ FIND ]------------------------------------------
#
        }

        $sql = "UPDATE " . TOPICS_TABLE . "
            SET topic_status = " . TOPIC_UNLOCKED . "

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'unlock', '', '', $userdata['user_id']);

#
#-----[ FIND ]------------------------------------------
#
        $new_topic_id = $db->sql_nextid();

#
#-----[ AFTER, ADD ]------------------------------------------
#
        move_message_mod($new_topic_id, $topic_id, 'split', $forum_id, '', $userdata['user_id']);


Where should i put this?
 




____________
 
Edited by Dennisen, Fri 23 Feb, 2007 16:46: Updated
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Updated...
 




____________
 
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
I think this mod is already present in XS... are you sure it isn't?
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Mighty Gorgon wrote: [View Post]
I think this mod is already present in XS... are you sure it isn't?


no mighty it isn“t

move message mod is an little bit different

move_message_mod.zip
Description:  
Download
Filename: move_message_mod.zip
Filesize: 13.84 KB
Downloaded: 154 Time(s)

 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Ah... it leaves some extra info when moving a message...

Sorry, but for now I don't have the time to help you in integrating it.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Mighty Gorgon wrote: [View Post]
Ah... it leaves some extra info when moving a message...

Sorry, but for now I don't have the time to help you in integrating it.


ok no problem...
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
I think that can be interesting to integrate a mod with the way to move a single message and not the whole topic. Now, to do this, the only way is split topic in more posts and then merge them in other topics.... it's a very long procedure. Anyway I'm agree with MG... it can be do after stable release will be out
 




____________
My Icy forum: www.lineameteo.it
Staff Member @ IcyPhoenix.com & IcyPhoenix.it
 
andrea75Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
So noone can help me to integrate this mod?
 




____________
 
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Dennisen wrote: [View Post]
So noone can help me to integrate this mod?


sorry, not at the moment...

maybe later if IP is released and if our staff team has more time...

cheers
 




____________

Play Games at GamesCampus!
 
KugeLSichASend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
it's a short instalation.. but i won't addapt a mod for xs at this moment...

maybe for icy  

anyway, you could try to install and i'll help you to solve your problems
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Zuker wrote: [View Post]
it's a short instalation.. but i won't addapt a mod for xs at this moment...

maybe for icy  

anyway, you could try to install and i'll help you to solve your problems


I've already tried, like u can see in my first post. But in modcp.php nothing is like in the instructions.
 




____________
 
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Code: [Download] [Hide] [Select]
#
#-----[ FIND ]------------------------------------------
#

$sql = "UPDATE ". TOPICS_TABLE ." SET topic_status = ". (( $mode == 'lock' ) ? TOPIC_LOCKED : TOPIC_UNLOCKED) ."

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'lock', '', '', $userdata['user_id']);
        move_message_mod($topics[$i], '', 'unlock', '', '', $userdata['user_id']);


try this...
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Zuker wrote: [View Post]
Code: [Download] [Hide] [Select]
#
#-----[ FIND ]------------------------------------------
#

$sql = "UPDATE ". TOPICS_TABLE ." SET topic_status = ". (( $mode == 'lock' ) ? TOPIC_LOCKED : TOPIC_UNLOCKED) ."

#
#-----[ BEFORE, ADD ]------------------------------------------
#
        move_message_mod($topics[$i], '', 'lock', '', '', $userdata['user_id']);
        move_message_mod($topics[$i], '', 'unlock', '', '', $userdata['user_id']);


try this...


If i use this solution, the mod does'nt work complete! If i lock or open a topic, ever the message "Topic Opened" is shown. And if i move a topic, no message is shown....
 




____________
 
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
but you have to made all changes... not only what i sayd

try to search code by parts and you will find what u need
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: PHPBBXS - MoveMessageMod 
 
Erm,   , i know that, cause i built more than 300 mods into my 3 boards.
And I've changed everything that should be changed. In Attachment my changed Modcp.php
May you can find the mistake.

modcp.rar
Description:
Download
Filename: modcp.rar
Filesize: 10.14 KB
Downloaded: 185 Time(s)

 




____________
 
DennisenSend private messageSend e-mail to user  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron