[ABD] Smixmods Feed News Center v0.4.0

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
Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Wed Apr 03, 2013 12:28 pm

FoulFoot wrote: FIND

Code: Select all

			}
			// change $i to the next (ehm previous :D ) item
			$i--;
			$j++;
		}
REPLACE WITH

Code: Select all

			// change $i to the next (ehm previous :D ) item
			$i--;
			$j++;
		}
	exitwithoutpost:
Should the the first } in the FIND be deleted? Or is this a mistake?

FoulFoot
Registered User
Posts: 261
Joined: Mon Jun 23, 2003 1:04 am
Location: Honolulu, HI
Contact:

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by FoulFoot » Wed Apr 03, 2013 1:34 pm

FoulFoot wrote:It's not particularly clean -- you've still got a topic subject with something you don't want -- but I'm not sure how else to match it.
Another idea on how to "remove" the subject line, too. Create another table column in Topics -- topic_shadow_title, lets say. Set the shadow_title equal to the topic_title. When you do your $subject checks, check it against shadow_title, not topic_title -- that way, when you change the subject line to "removed", shadow_title is unaffected and will prevent a re-post.

Foul
Last edited by FoulFoot on Wed Apr 03, 2013 1:45 pm, edited 2 times in total.

FoulFoot
Registered User
Posts: 261
Joined: Mon Jun 23, 2003 1:04 am
Location: Honolulu, HI
Contact:

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by FoulFoot » Wed Apr 03, 2013 1:35 pm

Holger wrote:Should the the first } in the FIND be deleted? Or is this a mistake?
Intentional. My edit in the first part removed the opening curly brace.

Foul

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Wed Apr 03, 2013 1:38 pm

Thank you! I searched but did not find the deleted opening brace! :D

FoulFoot
Registered User
Posts: 261
Joined: Mon Jun 23, 2003 1:04 am
Location: Honolulu, HI
Contact:

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by FoulFoot » Wed Apr 03, 2013 1:39 pm

Holger wrote:Thank you! I searched but did not find the deleted opening brace! :D
I just checked and I missed it. :) I edited my earlier post to include it -- you do need to remove that opening brace.

Foul

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Wed Apr 03, 2013 1:41 pm

Thanks!

camaro92
Registered User
Posts: 450
Joined: Sat Oct 05, 2002 10:55 pm
Contact:

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by camaro92 » Wed Apr 03, 2013 2:07 pm

Did this work?

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Mess » Wed Apr 03, 2013 2:42 pm

I'm not sure if it was this mod or another one. But I think I solved the problem with deleting topics. By setting permission so the posting bot got added to the moderation queue. I just left topics I did not want posted in the queue, until a number of newer topics had been posted.

This is just a workaround, not a solution ofc.

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Wed Apr 03, 2013 5:24 pm

I am looking at this mod with interest because I am using a far simpler mod (LastRSS) with no possibilities in the ACP.
I got a coder looking at LastRSS and he made the mod compare and look for already posted topics. So it should be possible to solve this.

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Mess » Wed Apr 03, 2013 5:52 pm

Holger wrote:I am looking at this mod with interest because I am using a far simpler mod (LastRSS) with no possibilities in the ACP.
I got a coder looking at LastRSS and he made the mod compare and look for already posted topics. So it should be possible to solve this.
Its the same author.

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Wed Apr 03, 2013 5:59 pm

Yes, you are right!
Smix: are you interested in looking at the code?

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Smix » Thu Apr 04, 2013 4:29 am

Hello,
I´m not sure where to answer first :| and I´ll try to not miss anything to answer ...
  • Updating from previous versions is now fixed and notes about droping the original table is removed
  • Shorting the topic titles - yes, I'd like to have a look on this part of the mod, because some users complains about the length (too long can be shortened with dots)
  • I didn't tested Foulfoot's edit yet :oops:, so I can't tell if its working
  • ... I'll also think about altering the topics table (but I don't like that idea as I want this part to be platform independent as much as possible and I don't want to change phpBB's core or tables as well
  • Yes, setting permissions for posting bot user is a logic workaround - only post which you want to show will be approved, but by the logic, everything is already posted
@Holger : Hello, I believe those parts are the same in the lastRSS APBot mod as in SFNC ... Or do you have a different idea or did you make some edits in that?

Holger
Registered User
Posts: 1756
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Holger » Thu Apr 04, 2013 6:39 am

Smix wrote:@Holger : Hello, I believe those parts are the same in the lastRSS APBot mod as in SFNC ... Or do you have a different idea or did you make some edits in that?
Another programmer did the edits. Maybe you would like to check them out.

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by Smix » Thu Apr 04, 2013 8:37 am

Yes, can you tell me where I can see the code?

ronjan
Registered User
Posts: 78
Joined: Wed Feb 06, 2013 7:36 am

Re: [DEV] Smixmods Feed News Center v0.4.0

Post by ronjan » Sun Apr 07, 2013 7:03 am

Thanks for this MOD, install went easy and perfect (latest download from github)

After testing all works great.

Locked

Return to “[3.0.x] Abandoned MODs”