Page 3 of 12

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Wed Oct 31, 2007 6:21 pm
by Mandarola
I install the mod and it's perfect but I want the description topic integrated to the forum colours. for example my topic unread is orange colour and read topic si green and the subject also has these colours and the description is ALWAYS in black where can I change to have these colours in my description!?

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Wed Oct 31, 2007 6:59 pm
by murnauvsbuñuel
could convert the db tables if i have any description mod to phpBB2 to the db tables to phpBB3 with thsi mod? how?

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Thu Nov 01, 2007 9:17 pm
by dzodzuyengood
I install the mod and it's perfect but I want the description topic integrated to the forum colours. for example my topic unread is orange colour and read topic si green and the subject also has these colours and the description is ALWAYS in black where can I change to have these colours in my description!?
So, that is also a bit difficult to say !
because of the subject intergrad with Link together , and the color of subject could be changed with topic read or unread !
Description is always as default color of board , because it is only in text
But I could made My MOD compatiable with topic read or unread on next version . I am not sure whether I believe it creates.


could convert the db tables if i have any description mod to phpBB2 to the db tables to phpBB3 with thsi mod? how?
which topic description of phpbb do you use ???

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Thu Nov 01, 2007 9:58 pm
by murnauvsbuñuel

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Thu Nov 01, 2007 11:36 pm
by dzodzuyengood
sorry ! file is not found .
can you give me it ,if you have ;)

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Sat Nov 03, 2007 2:37 pm
by Mandarola
dzodzuyengood wrote:
I install the mod and it's perfect but I want the description topic integrated to the forum colours. for example my topic unread is orange colour and read topic si green and the subject also has these colours and the description is ALWAYS in black where can I change to have these colours in my description!?
So, that is also a bit difficult to say !
because of the subject intergrad with Link together , and the color of subject could be changed with topic read or unread !
Description is always as default color of board , because it is only in text
But I could made My MOD compatiable with topic read or unread on next version . I am not sure whether I believe it creates.


could convert the db tables if i have any description mod to phpBB2 to the db tables to phpBB3 with thsi mod? how?
which topic description of phpbb do you use ???

ah ok...I hope for the next update!

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Nov 05, 2007 12:18 am
by dzodzuyengood
But first, I will develope my MOD to 0.3.3, and what version 0.3.3 is this, you can get here : http://www.phpbb.com/community/viewtopi ... 8#p3223608
to New information about what you want, I plan to the next of next version ! :)

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Nov 05, 2007 9:06 am
by murnauvsbuñuel
dzodzuyengood wrote:sorry ! file is not found .
can you give me it ,if you have ;)
this is the direct link to donwload "Topic Description MOD 1.0.5" (mod to phpBB2): http://www.phpbb.com/mods/db/download/1585/

thanks.

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Nov 05, 2007 12:38 pm
by yaw_pakhtoon
need this mod.. when will this be offically out.. :)

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Nov 05, 2007 9:30 pm
by dzodzuyengood
murnauvsbuñue[code][code][/code][/code]l wrote: this is the direct link to donwload "Topic Description MOD 1.0.5" (mod to phpBB2): http://www.phpbb.com/mods/db/download/1585/
thanks.

So there is the solution to convert topic description phpbb2 to multiple descriptions phpbb3
Before you make a Converting to phpbb3 , you must some steps follow ( not forget to backup)

step one:

Please add this sql sentence to mysql :

Code: Select all

ALTER TABLE `phpbb_topics` CHANGE `topic_desc` `topic_description` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'default'
step two :
edit the Modify :

Open :posting.php

find:

Code: Select all

$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode,
inline find:

Code: Select all

t.topic_desc,
inline replace with:

Code: Select all

t.topic_description,
find:

Code: Select all

$topic_desc = ( !empty($HTTP_POST_VARS['topic_desc']) ) ? trim($HTTP_POST_VARS['topic_desc']) : '';
replace with:

Code: Select all

$topic_description = ( !empty($HTTP_POST_VARS['topic_description']) ) ? trim($HTTP_POST_VARS['topic_description']) : '';
find:

Code: Select all

prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on,
inline find:

Code: Select all

, $topic_desc
inline replace with :

Code: Select all

, $topic_description
find:

Code: Select all

submit_post($mode, $post_data, $return_message, $return_meta, $forum_id,
inline find:

Code: Select all

, str_replace("\'", "''", $topic_desc)
inline replace with :

Code: Select all

, str_replace("\'", "''", $topic_description)
find:

Code: Select all

   $topic_desc = ( !empty($HTTP_POST_VARS['topic_desc']) ) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS['topic_desc']))) : '';
replace with :

Code: Select all

   $topic_description = ( !empty($HTTP_POST_VARS['topic_description']) ) ? htmlspecialchars(trim(stripslashes($HTTP_POST_VARS['topic_description']))) : '';
find:

Code: Select all

$topic_desc = $post_info['topic_desc'];
replace with:

Code: Select all

$topic_description = $post_info['topic_description'];
find:

Code: Select all

'TOPIC_DESCRIPTION' => $topic_desc,
replace with:

Code: Select all

'TOPIC_DESCRIPTION' => $topic_description,
open: includes/functions_post.php

find:

Code: Select all

function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on,
inline find:

Code: Select all

, &$topic_desc
inline replace with:

Code: Select all

, &$topic_description
find:

Code: Select all

// Check Topic Desciption
if ( !empty($topic_desc) )
   {
      $topic_desc = htmlspecialchars(trim($topic_desc));
   }
replace with :

Code: Select all

// Check Topic Desciption
if ( !empty($topic_description) )
   {
      $topic_description = htmlspecialchars(trim($topic_description));
   }
find:

Code: Select all

function submit_post($mode, &$post_data, &$message, &$meta, &$forum_id,
inline find:

Code: Select all

, &$topic_desc
inline replace with :

Code: Select all

, &$topic_description
find:

Code: Select all

$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title,
inline find :

Code: Select all

topic_desc,
inline replace with : [code]topic_description,[/code]

find :

Code: Select all

VALUES ('$post_subject',
inline find :

Code: Select all

'$topic_desc',
inline replace with :

Code: Select all

'$topic_description',
find :

Code: Select all

"UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject',
inline find :

Code: Select all

topic_desc = '$topic_desc',
inline replace with :

Code: Select all

topic_description = '$topic_description',

open : viewforum.php

find :

Code: Select all

                if ( !empty($topic_rowset[$i]['topic_desc']))
                {
                    $topic_desc = $topic_rowset[$i]['topic_desc'];
                    $template->assign_block_vars('topicrow.switch_topic_desc', array(
                               'TOPIC_DESCRIPTION' => smilies_pass($topic_desc))
                    );
                }

replace with :

Code: Select all

                if ( !empty($topic_rowset[$i]['topic_description']))
                {
                    $topic_description = $topic_rowset[$i]['topic_description'];
                    $template->assign_block_vars('topicrow.switch_topic_description', array(
                               'TOPIC_DESCRIPTION' => $topic_description)
                    );
                }
find and delete :

Code: Select all

include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
open : language/lang_english/lang_main.php
find and delete :

Code: Select all

$lang['Description'] = 'Topic Description';
open: templates/subSilver/viewforum_body.tpl

find :

Code: Select all

              <!-- BEGIN switch_topic_desc -->
              {L_DESCRIPTION} : {topicrow.switch_topic_desc.TOPIC_DESCRIPTION}<br />
              <!-- END switch_topic_desc -->
replace with :

Code: Select all

              <!-- BEGIN switch_topic_description -->
              {topicrow.switch_topic_description.TOPIC_DESCRIPTION}<br />
              <!-- END switch_topic_description -->

------------------------

this is okie ! your phpbb3 board will be worked directly with multiple description, when you convert from phpbb2 to phpbb3 ( if your phpbb2 board has installed Topic Description from Morpheus2matrix)
-------------------------

the sql line of phpbb2 MOD:topicdescription by Morpheus2matrix is a portion of SQL default table prefix (phpbb_topics) .then you haven´t to fear to lose topic description , if you convert default prefix table phpbb_topics with .

Ich have also one question : which convert tool do you use ??? , whenit is possible , can you give me the link , maybe i will test it

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Nov 05, 2007 9:40 pm
by dzodzuyengood
yaw_pakhtoon wrote:need this mod.. when will this be offically out.. :)
My MOD is offically since version 0.2.5 , it is already long ago unfortunately ;)

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Tue Nov 13, 2007 2:02 am
by dzodzuyengood
Although my laptop is still under repair, but with the help of my friend (I borrow his laptop) ,I am already prepared new version of my MOD, to present you

Multiple Description version 0.3.3 :

-add smilies display on description
-Remove first Post Autor and start Post date under post subject ,Instead it with Mouse hover tooltip
-add description in viewtopic_print.html

the Link download of v0.3.3 will be been some days laters available

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Tue Dec 18, 2007 11:02 am
by Balero
Can I use this mod in phpBB3 Gold?

Thanks!

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Sat Dec 22, 2007 8:14 pm
by Sr X
MOD converting from phpbb2 MOD: topic description by Morpheus2matrix to phpbb3 Multiple
wou very interesting, i wait that new version and that it will work right with phpBB 3.0.0 gold. Any news?

where i can watch any phpBB3 forum with this mod?

a lot of thanks! :D ;)

Re: [BETA]Multiple Descriptions 0.3.2 to 0.3.3

Posted: Mon Dec 24, 2007 2:32 pm
by Sr X
is possible set this mod from ACP to that this mod work only in any forums and not in all forums? thanks.