[ABD] Last News and Messages

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.
User avatar
orynider
Registered User
Posts: 250
Joined: Wed Nov 16, 2005 12:48 pm
Location: Arad, România
Name: Florin Bodin
Contact:

Re: [RC6] Last News and Messages

Post by orynider » Sat Sep 01, 2007 4:46 am

Well, has to do with favorites couse when you are using the same "sid" (session_id) everytime when you vizit your forum, you have same 'session_time' index in user->data like the first time when you added the page to Favorites. So, if the session will never expire you ahve a problem with your code. There is not such code in Olympus, and will work only if you relogin every time you vizit the forum. This was fixed in the last version using a Olympus function, so your "fix" is not compatible with latest version. The version you modified was using an old 2.0.x method geting the topic read status from cookie :D
If you whan't to help upgrade to the latest version and post back if you still have problemes, and you can allway add your fix :P

User avatar
SkyKnight
Registered User
Posts: 30
Joined: Wed Jun 06, 2007 7:22 pm
Location: Langen, Germany

Re: [RC6] Last News and Messages

Post by SkyKnight » Mon Sep 03, 2007 9:49 am

I was wrong and sometimes my fix also doesn't work :(
I took original code from you again, but now I allwasy see that there are new messages in last topics. May be you can help me? :) I think i've just did something wrong, but what, I can not understand :)

User avatar
SkyKnight
Registered User
Posts: 30
Joined: Wed Jun 06, 2007 7:22 pm
Location: Langen, Germany

Re: [RC6] Last News and Messages

Post by SkyKnight » Mon Sep 03, 2007 11:01 am

I think there is a problem on my side with $tracking_topics variable.

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [RC6] Last News and Messages

Post by playerfr » Mon Sep 03, 2007 11:29 am

For an instant I thought Phpbb3 RC6 was relased lolzz :lol:
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

User avatar
SkyKnight
Registered User
Posts: 30
Joined: Wed Jun 06, 2007 7:22 pm
Location: Langen, Germany

Re: [RC6] Last News and Messages

Post by SkyKnight » Mon Sep 03, 2007 1:15 pm

So, I've solved my problem :)

cotp
Registered User
Posts: 445
Joined: Wed Sep 14, 2005 7:34 pm
Contact:

Re: [RC6] Last News and Messages

Post by cotp » Wed Oct 17, 2007 7:41 pm

playerfr wrote:For an instant I thought Phpbb3 RC6 was relased lolzz :lol:

and now it's RC7 ;)

Cotp

cotp
Registered User
Posts: 445
Joined: Wed Sep 14, 2005 7:34 pm
Contact:

Re: [RC6] Last News and Messages

Post by cotp » Sat Oct 20, 2007 10:50 pm

Sorry to ask, but can someone confirm it works on RC7 ?

Cotp

cotp
Registered User
Posts: 445
Joined: Wed Sep 14, 2005 7:34 pm
Contact:

Re: [RC6] Last News and Messages

Post by cotp » Tue Oct 23, 2007 7:56 pm

I just put my forum on debug mod and I get an error message reproduced several times:

Code: Select all

phpBB Debug] PHP Notice: in file recent_messages.php on line 194: Undefined index: f_list
[phpBB Debug] PHP Notice: in file recent_messages.php on line 194: Undefined index: forum_id
 PHP Notice: in file recent_messages.php on line 194: Undefined index: f_list
[phpBB Debug] PHP Notice: in file recent_messages.php on line 194: Undefined index: forum_id
 etc...
On index.php in this mod I have:

Code: Select all

// Output page
page_header($user->lang['INDEX']);
include($phpbb_root_path . 'recent_messages.'.$phpEx);
Someone know why ?

On line 194 there is written:

Code: Select all

			if ( !$auth_mod['f_list'] && ( strstr($recent_news_forum_id,$auth_mod['forum_id']) === FALSE )) 
			{ 
				$unauthed = true; 
			} 
			if ( !$recent_auth_read && !$auth_mod['f_read'] && ( strstr($recent_news_forum_id,$auth_mod['forum_id']) === FALSE ) ) 
			{ 
				$unauthed = true; 
			} 

User avatar
orynider
Registered User
Posts: 250
Joined: Wed Nov 16, 2005 12:48 pm
Location: Arad, România
Name: Florin Bodin
Contact:

Re: [RC6] Last News and Messages

Post by orynider » Tue Oct 23, 2007 11:55 pm

The code is checking if that variable index is defined or not, so it's normal not allways to be defined, so when is not defined and debug mod is activated you get a php notice. This will be fixed when Olympus will be gold or sooner if I will have time.

Untill now you had

Code: Select all

error_reporting(E_ALL ^ E_NOTICE);
in common.php to report all errors but supress php notices and they didn't showed.

devils2day
Registered User
Posts: 1
Joined: Thu Nov 08, 2007 5:50 pm

Re: [RC6] Last News and Messages

Post by devils2day » Thu Nov 08, 2007 5:53 pm

Hello,

Tnx for this mod.
I have one question.
I have updated my board and now the sticky topics stay on top and its not ordering the real last active topics.
Can you help me with this one?

Thanks

target_locked
Registered User
Posts: 12
Joined: Wed Oct 31, 2007 8:23 am

Re: [RC6] Last News and Messages

Post by target_locked » Mon Nov 12, 2007 7:46 am

Hello,
I download this MODL "Last News and Messages 1.0.RC6.zip"

However it only applied to style prosilver !
How to apply to style subsilver2? I could not find the code!! in the file \styles\subsilver2\template\index_body.html
Thanks.

target_locked
Registered User
Posts: 12
Joined: Wed Oct 31, 2007 8:23 am

Re: [RC6] Last News and Messages

Post by target_locked » Tue Nov 13, 2007 8:58 am

cotp wrote:Sorry to ask, but can someone confirm it works on RC7 ?

Cotp
Yes, It works on RC7. But for the style "prosilver" only.
Can any body help me to install it to style "subsilver2" ?
Thanks.

target_locked
Registered User
Posts: 12
Joined: Wed Oct 31, 2007 8:23 am

Re: [RC6] Last News and Messages

Post by target_locked » Thu Nov 15, 2007 8:25 am

orynider wrote:MOD Title: Last News and Messages (At-a-Glance)
MOD Description: This adds a block with latest news and last posts on phpBB3 forum index.
MOD Version: 1.0.0 RC6
The MOD name is "latest news and last posts on phpBB3 forum index"
But actually it is "latest news and last topic on phpBB3 forum index".
It just show the last topic not the last page of the topic. How to show the last post/page of the topic?
Thanks.

User avatar
orynider
Registered User
Posts: 250
Joined: Wed Nov 16, 2005 12:48 pm
Location: Arad, România
Name: Florin Bodin
Contact:

Re: [RC6] Last News and Messages

Post by orynider » Wed Dec 12, 2007 10:48 pm

target_locked wrote: It just show the last topic not the last page of the topic. How to show the last post/page of the topic?
Thanks.
You have in this block on the line with the Topic Name a small icon with link to the last post from the last topic.

koalaii
Registered User
Posts: 176
Joined: Sun Jan 02, 2005 4:25 pm
Location: France

Re: [RC6] Last News and Messages

Post by koalaii » Thu Dec 20, 2007 6:10 pm

Great mod. It actually replaces my viewforum as some forums are a combination of different forum (E.g : forum "chocolate cakes" is a mix of topics from forum "chocolates" and "sugar")

However it seems there is a bug : for topics with multi pages, the number of pages does not appear near the topic name.

thx

koa

Locked

Return to “[3.0.x] Abandoned MODs”