[ABD] Topic Preview 0.7.1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
takufner
Registered User
Posts: 209
Joined: Mon Oct 23, 2006 10:39 am
Location: Rio de Janeiro - Brasil
Name: Prof. Caju
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by takufner » Sun Jun 22, 2008 4:43 pm

Hi,

Another idea for this great mod would be to show, in the preview, the username of the repliers for that post when the post has replies.

Thanks again.

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by pgarvin76 » Mon Jun 23, 2008 4:00 am

IPB_Refugee wrote: would it be possible to get BBCode and smilies parsed in topic preview like the MOD for phpBB-2 does? This link might be helpful to add the mentioned function:

http://www.ktuk.net/phpBB3/viewtopic.php?f=32&t=2680
I looked at parsing BBcode and smilies and it got to be too much trouble. Seems most people are OK with just the text.

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by pgarvin76 » Mon Jun 23, 2008 4:01 am

wOxxOm wrote:Great MOD!
  • yeah, two posts (first + last) showing on a preview would be great! either in one floating DIV or separately for the 1st and last columns in the topic table.
  • btw, the new 0.7 mousemove event contains an IE-specific substantial flaw :-) which made the poor ms-thingy load my 2x-cpu at 100% - js mousemove event is bound to document object which is a tremendous redundancy.

    topic_preview.html should have this fixed:
    showpreview: function() {
    if (document.addEventListener) this.topiclink.addEventListener('mousemove', this.followmouse.bindObj(this), false);
    else if (document.attachEvent) this.topiclink.attachEvent('onmousemove', this.followmouse.bindObj(this));
  • installation xml instruction contain an easy typo, which may however cause some naive soul a trouble (jokin'))) - it should read as 'ADD AFTER' instead of 'Add before'
    'U_MCP_QUEUE' => $u_mcp_queue,
    );
Thank you. I'll release a patch with this stuff shortly.

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by pgarvin76 » Mon Jun 23, 2008 4:03 am

sam_xp wrote:is this mod compatible with 3.0.0 ?
Yes. Your edits in viewforum.php will be a little different however. If you do not know enough about PHP to figure it out I suggest you just upgrade to 3.0.1.

darkimus
Registered User
Posts: 61
Joined: Tue Dec 26, 2006 5:25 am

Re: [BETA] Topic Preview 0.7.0

Post by darkimus » Wed Jun 25, 2008 8:36 am

i installed this mod on my board and everything seemed to go okay, however when i mouseover a topic title the text appears, but it isn't in a little box. it's all spread out in a big block. not sure what i could have done wrong. any ideas?

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by pgarvin76 » Wed Jun 25, 2008 2:55 pm

darkimus wrote:i installed this mod on my board and everything seemed to go okay, however when i mouseover a topic title the text appears, but it isn't in a little box. it's all spread out in a big block. not sure what i could have done wrong. any ideas?
Refresh the theme on your board and then force a refresh in your browser. For some reason IE may take several refreshes to work. Clearing your browser cache would also work.

darkimus
Registered User
Posts: 61
Joined: Tue Dec 26, 2006 5:25 am

Re: [BETA] Topic Preview 0.7.0

Post by darkimus » Wed Jun 25, 2008 3:28 pm

no dice. tried it in firefox, IE, and safari. all the same result.

Undead46
Registered User
Posts: 95
Joined: Wed Jun 18, 2008 4:49 pm

Re: [BETA] Topic Preview 0.7.0

Post by Undead46 » Thu Jun 26, 2008 12:29 am

Okay I finally managed to fix a syntax error on my search.php

Just like someone posted on the page before this, you have add before and it should be add after.

And the box around words is transparent. I've refreshed my style and everything. Just not showing up :(.

darkimus
Registered User
Posts: 61
Joined: Tue Dec 26, 2006 5:25 am

Re: [BETA] Topic Preview 0.7.0

Post by darkimus » Thu Jun 26, 2008 1:42 am

well i found my problem. it was the syntax error others were referring to. works fine now.

danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by danielnguyen » Thu Jun 26, 2008 5:48 am

Can you intergrate this mod with NV Recent Topis 1.0.0d? So when I hover mose on a topic title on index. This mod will display! :)
My forum, for just teen only with many happy things
Cộng Đồng Teen Online - Cộng Đồng Teen Việt - Teen Việt Nam
Hội Ngộ - Giao Lưu - Học Hỏi - Giải Trí - Kết Bạn
http://www.congdongteenonline.net

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0a

Post by pgarvin76 » Fri Jun 27, 2008 11:37 pm

I have patched the MOD to fix the issues raised in this post. Version is now 0.7.0a.

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0

Post by pgarvin76 » Fri Jun 27, 2008 11:37 pm

danielnguyen wrote:Can you intergrate this mod with NV Recent Topis 1.0.0d? So when I hover mose on a topic title on index. This mod will display! :)
I'll add it to the roadmap.

zerberus72
Registered User
Posts: 2
Joined: Tue Jul 01, 2008 11:44 am
Location: gera/germany
Contact:

Re: [BETA] Topic Preview 0.7.0a

Post by zerberus72 » Tue Jul 01, 2008 11:55 am

sorry for my bad english :oops:

the MOD works fine thx, but in the search.php is a error

Parse error: syntax error, unexpected T_IF, expecting ')' in D:\xampp\htdocs\myboard\search.php on line 835

Find

Tip: This may be a partial find and not the whole line.

Code: Select all

 'U_MCP_QUEUE'			=> $u_mcp_queue,
	);


Add before

Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code: Select all

				// mod: Topic Preview
				if ($topic_preview->enabled) {
					$template->assign_block_vars('topicpreview', array(
						'TOPIC_ID' => $result_topic_id,
						'PREVIEW_TEXT' => $topic_preview_posts[$result_topic_id],
						'ALT_TEXT' => $user->lang[$folder_alt])
					);
				}
				// end: Topic Preview
any ideas?

pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.7.0a

Post by pgarvin76 » Thu Jul 03, 2008 2:15 am

zerberus72: The add before should be an add after. Sorry. This was fixed the last release.

zerberus72
Registered User
Posts: 2
Joined: Tue Jul 01, 2008 11:44 am
Location: gera/germany
Contact:

Re: [BETA] Topic Preview 0.7.0a

Post by zerberus72 » Thu Jul 03, 2008 8:33 am

aha....my problem is fixed. big THX :P

Locked

Return to “[3.0.x] Abandoned MODs”