[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
Petesat
Registered User
Posts: 63
Joined: Thu Apr 10, 2008 8:42 am

Re: [BETA] Topic Preview 0.6.1

Post by Petesat »

The mod was from this thread...

[RC] NV recent topics 1.0.0d

Code: Select all

http://www.phpbb.com/community/viewtopic.php?f=70&t=573680
I hope this helps to find the prob.

Pete
Petesat
Registered User
Posts: 63
Joined: Thu Apr 10, 2008 8:42 am

Re: [BETA] Topic Preview 0.6.1

Post by Petesat »

By forum PHP do you want the index PHP, this is now found below...


Pete
Last edited by Petesat on Thu May 29, 2008 9:24 am, edited 1 time in total.
Petesat
Registered User
Posts: 63
Joined: Thu Apr 10, 2008 8:42 am

Re: [BETA] Topic Preview 0.6.1

Post by Petesat »

I will check back again on this thread tomorrow as I am really bushed..

pgarvin76 I know to find a solution to this is not easy so I thank you full heartedly for your time and effot..

Regards to you mate, and take your time, as it is not like my forum has gone ka0put...

Chat later, :mrgreen:

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

Re: [BETA] Topic Preview 0.6.1

Post by pgarvin76 »

Petesat wrote:By forum PHP do you want the index PHP
No. The file "viewforum.php".
Petesat
Registered User
Posts: 63
Joined: Thu Apr 10, 2008 8:42 am

Re: [BETA] Topic Preview 0.6.1

Post by Petesat »

It has been fixed now.

Thanks anyway.

Pete
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by darkonia »

wow what a nice mod, thx for it :D
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
LeNeR
Registered User
Posts: 182
Joined: Sat Feb 23, 2008 10:22 pm

Re: [BETA] Topic Preview 0.6.1

Post by LeNeR »

Hi. Thank you for answers guys. I will see what I can do in the topic_preview. file. I will be patient and wait for you to get the flicker problem sorted out. Keep up the good work.
kott
Registered User
Posts: 25
Joined: Fri May 28, 2004 12:12 pm
Location: Cleveleys, UK

Re: [BETA] Topic Preview 0.6.1

Post by kott »

I just noticed that if there's a single apostrophe within a quote, list, code, etc. in the post then the preview doesn't work, it's just blank. I also get a javascript error.
pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by pgarvin76 »

kott wrote:I just noticed that if there's a single apostrophe within a quote, list, code, etc. in the post then the preview doesn't work, it's just blank. I also get a javascript error.
That is curious. What version of the MOD are you using?

The following code in functions_topic_preview.php comments out any single slashes:

Code: Select all

$value = str_replace(array('"','\''), array('"', '\\\''), $value);  
I just tested it on my board and it did not give me any errors.
kott
Registered User
Posts: 25
Joined: Fri May 28, 2004 12:12 pm
Location: Cleveleys, UK

Re: [BETA] Topic Preview 0.6.1

Post by kott »

I'm using version 0.6.1, the latest version.

After doing a bit of further testing you're right, it does work fine with the built in BBcodes, it's when one of our custom codes has been used with a ' inside it that I get the problems.

BBcodes such as the 'spoiler' and 'strikethrough' that I've added as custom codes when used with a single apostrophe inside them produce the problem.
User avatar
Bright Inspiration
Registered User
Posts: 46
Joined: Thu Mar 27, 2008 6:44 am
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by Bright Inspiration »

Hi there,

I want to try this mod out but got this message:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\apache2.2\htdocs\phpBB3\viewforum.php on line 612

The mod displays alright except that it displays that error message on the top of the page. Do you have any idea?
pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by pgarvin76 »

Bright Inspiration wrote:Hi there,

I want to try this mod out but got this message:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in C:\apache2.2\htdocs\phpBB3\viewforum.php on line 612

The mod displays alright except that it displays that error message on the top of the page. Do you have any idea?
Open viewforum.php and search.php and find the following line:

Code: Select all

$topic_preview_posts = $topic_preview->get_preview_text(&$preview_post_ids);
Remove the & character.

I'll fix this in the next revision, which will be out in a week or two.
pgarvin76
Registered User
Posts: 136
Joined: Sun Mar 20, 2005 5:33 am
Location: Philadelphia, USA
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by pgarvin76 »

kott wrote:I'm using version 0.6.1, the latest version.

After doing a bit of further testing you're right, it does work fine with the built in BBcodes, it's when one of our custom codes has been used with a ' inside it that I get the problems.

BBcodes such as the 'spoiler' and 'strikethrough' that I've added as custom codes when used with a single apostrophe inside them produce the problem.
I'm not sure why this error would occur in custom bbcodes and not stock ones but somehow the custom bbcodes are not handled the same way as normal ones. It will take some time to dig into this one.
danielnguyen
Registered User
Posts: 287
Joined: Thu Jan 24, 2008 11:44 am
Location: Vietnam
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by danielnguyen »

I have installed, great mod!
But it don't show when I hover on lastpost link of NV_advanced_last_topic_titles_1_2_4
and also recentpost links of NV_recent_topic_1.0.0d!
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
User avatar
globetrotting
Registered User
Posts: 217
Joined: Thu Jan 15, 2004 8:14 pm
Location: globetrotting
Contact:

Re: [BETA] Topic Preview 0.6.1

Post by globetrotting »

Thank you very much for a very useful mod!

There is another place where previews would be extremely helpful in phpBB3:
Hovering above the link to a subforum could show it's description.

Are there any chances that this might get integrated in Topic Preview one day?
Das Sein ändert das Bewußtsein
Locked

Return to “[3.0.x] Abandoned MODs”