[2.0.6] Topic Description MOD

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
32
47%
Very Good
17
25%
Good
5
7%
Fair
4
6%
Poor
10
15%
 
Total votes: 68

User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

gfmorris wrote:
morpheus2matrix wrote:it should work with EasyMod but i haven't tested it. Have you try to installed it by hand :wink:


I got it to work with EasyMOD when I installed it.

GFM


That's a good news :wink:
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
Customized
Registered User
Posts: 17
Joined: Tue Sep 23, 2003 4:21 am

Post by Customized »

only news is i uninstalled your mod and my board is back to normal. I do not want to get rid of the other mod, and its a much larger install then this one. So i removed this. It's ashame too, i really wanted this one
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

I will try to provid pre-modified files if i get some times
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
sharpdust
Registered User
Posts: 195
Joined: Mon May 26, 2003 1:05 pm

Post by sharpdust »

morpheus2matrix wrote:
sharpdust wrote:very small
please make this eazy mod compliant. editing (colors doesn't work for all templates). i.e., the <br /> tag here

Code: Select all

              <!-- BEGIN switch_topic_desc -->
              {L_DESCRIPTION} : {topicrow.switch_topic_desc.TOPIC_DESCRIPTION}<br />
              <!-- END switch_topic_desc -->
should be at the beginning of the code snippet.


why do you want to put the tag <br /> at the beginning :roll:


because when it's at the beginning it drops the "Topic Description...." down a line. Otherwise, it stays on the same line and creates a blank line between topics.
jduyen
Registered User
Posts: 13
Joined: Sun Nov 16, 2003 6:04 am

Post by jduyen »

when i installed this mod, i got an error message when i post . the error is in line 263 which is these code

Code: Select all

$topic_vote = (!empty($poll_title) && count($poll_options) >= 2) ? 1 : 0;

		$sql  = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote, topic_desc) VALUES ('$post_subject', '$topic_desc', ". $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_desc = '$topic_desc', topic_type = $topic_type " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
		if (!$db->sql_query($sql))
		{
			message_die(GENERAL_ERROR, 'Error in posting', '', __LINE__, __FILE__, $sql);
		}



after i got that error, i replaced functions_post.php with the original then when i try to edit or delete my post, it gave me this message

Code: Select all

 
There is no such post. Please return and try again. 
So please help me as soon as possible because there are a lot of users in my site.

Here is my site http://www.thanhduyen.com

Thanks for reading !
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

have you try to re-done the modifications in this file ?
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
superrune
Registered User
Posts: 2
Joined: Tue Nov 18, 2003 9:18 pm
Contact:

Post by superrune »

Hi,

I just installed this MOD on a completely clean forum. I can enter descriptions OK, and they show up in the database - but they do not show up on the forum itself. I cannot see anything wrong in the code, and I've tried to install the MOD three times (!). Could anyone see if there's something wrong with the code I've input?

from viewforum_body.tpl:

Code: Select all

<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="17" height="17" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br>Desc:{topicrow.switch_topic_desc.TOPIC_DESCRIPTION}<br />
		{topicrow.GOTO_PAGE}</span></td>
from viewforum.php:

Code: Select all

	'L_AUTHOR' => $lang['Author'],
	'L_DESCRIPTION' => $lang['Description'],

(...)

			'U_VIEW_TOPIC' => $view_topic_url,)
		);
		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))
                    );
                }
	}

(...)

	'L_JOINED' => $lang['Joined'],
	'L_AUTHOR' => $lang['Author'],
	'L_DESCRIPTION' => $lang['Description'],

	'S_AUTH_LIST' => $s_auth_can, 
Thanks,
Rune
Rune Spaans
3d supervisor
www.superrune.com
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

check, in phpmyadmin, in the table phpbb_topics, if the topic description have been correctly entered in the database
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
superrune
Registered User
Posts: 2
Joined: Tue Nov 18, 2003 9:18 pm
Contact:

Post by superrune »

Yes, I have already checked that (see my original post). I had to uninstall this one, but I might be trying again later. I am curious about the "smilies_pass" function - where does that come from?

Cheers,
Rune
Rune Spaans
3d supervisor
www.superrune.com
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

superrune wrote: YI am curious about the "smilies_pass" function - where does that come from?


this function comes from the file bbcodes.php (at the end) : it's use to display smilies
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
transitbus
Registered User
Posts: 410
Joined: Sat Sep 06, 2003 5:05 am

Post by transitbus »

SQL query analyzer:
Line 1: Incorrect syntax near 'AFTER'.

Code: Select all

ALTER TABLE phpbb_topics ADD topic_desc varchar(255) DEFAULT '' AFTER topic_title;
Thanks for proving my point...

Running -> Windows 2003 Standard sp1 :: MS-Sql Server 2000 sp4 :: IIS 6 :: php 4.4.0 isapi mode :: phpbb 2.0.16 <-
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

SQL query analyzer:


what is that ?

Request works fine in phpmyadmin :roll:
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
transitbus
Registered User
Posts: 410
Joined: Sat Sep 06, 2003 5:05 am

Post by transitbus »

morpheus2matrix wrote:
SQL query analyzer:


what is that ?

Request works fine in phpmyadmin :roll:


MSSQL the tool to analyze the query. I just added the info by hand and everything works great :D


Not to be mean or anything but you do know about hte DBAL stance here? or is it no longer enforced? (if so ignore my "got to stick up for us MSSQL users" act)

http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=137309
Thanks for proving my point...

Running -> Windows 2003 Standard sp1 :: MS-Sql Server 2000 sp4 :: IIS 6 :: php 4.4.0 isapi mode :: phpbb 2.0.16 <-
mushy
Registered User
Posts: 305
Joined: Sat Feb 15, 2003 1:07 am
Location: NJ, USA
Contact:

Post by mushy »

I am getting the following error and when I am editing the post then it's working fine. Can somebody help me fixing the error please....

Image
User avatar
morpheus2matrix
Former Team Member
Posts: 9171
Joined: Wed Apr 10, 2002 7:31 pm
Location: France
Contact:

Post by morpheus2matrix »

check your modifications in functions_post.php and posting.php
Former phpBB MOD-Team Member -

Forgive my bad English :(

No support by PM/Email - Thanks - You can thanks me here :) - Pay me for installing MOD's :lol:
Post Reply

Return to “[2.0.x] MOD Database Cleanup”