LastRSS agregator block for LastRSS agregator RC3

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.

Topic author
frold
Portal Enthusiast
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 08:52

LastRSS agregator block for LastRSS agregator RC3

Post by frold » 2. April 2008 19:37

Hey

Just to inform you that lastRSS agregator (http://phpbb3.smika.net/) works fine with the board3 portal

Install the mod as told to in install.xml

then

OPEN
portal.php

FIND

Code: Select all

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('mods/lang_portal');
AFTER ADD

Code: Select all

//lastrss mod begin
include ($phpbb_root_path . 'includes/functions_lastrss.'.$phpEx);
//lastrss mod end
OPEN
styles/prosilver/template/portal/portal_body.html

FIND

Code: Select all

		<!-- IF S_DISPLAY_WELCOME -->
			<!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
			<!-- ELSE -->
			<!-- INCLUDE portal/block/welcome.html -->
			<!-- ENDIF -->
		<!-- ENDIF -->
AFTER ADD

Code: Select all

<!-- IF LASTRSS_ENABLED -->
<!-- INCLUDE lastrss.html -->
<!-- ENDIF -->
demo: http://www.studmed.dk
Last edited by frold on 26. May 2008 22:20, edited 1 time in total.
http://www.studmed.dk - Portal for doctors and medical students in Denmark

User avatar

Kevin
Site Admin
Site Admin
Posts: 2888
Joined: 7. January 2006 21:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg

Re: lastRSS agregator works with board3 portal

Post by Kevin » 2. April 2008 20:12

Thank you Frold for sharing this! :D
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!


Topic author
frold
Portal Enthusiast
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 08:52

Re: lastRSS agregator works with board3 portal

Post by frold » 2. April 2008 20:33

No problem :D

Just to say its the block "RSS NYHEDER"
http://www.studmed.dk - Portal for doctors and medical students in Denmark

User avatar

PeterS
Former Team Member
Former Team Member
Posts: 246
Joined: 15. January 2008 09:41
phpBB.de User: PeterS
phpBB.com User: PeterS

Re: lastRSS agregator works with board3 portal

Post by PeterS » 2. April 2008 20:39

Hallo Kevin, Hallo Frold,

Christian hat hierfür schon vor Wochen die Anpassung gemacht, aber er hat darauf hingewiesen, dass aufgrund des in LastRSS verwendeten Marquee - Befehls das Ganze nicht mehr strict valid ist.

Gruß Peter

User avatar

Christian_N
Former Team Member
Former Team Member
Posts: 2266
Joined: 19. January 2008 02:17
phpBB.de User: Christian_N
phpBB.com User: Christian_N
Location: Frankfurt

Re: lastRSS agregator works with board3 portal

Post by Christian_N » 2. April 2008 21:10

Stimmt meiner ist knapp 2monate alt und basierte auf den 2.0.BETA2 aber wie ich sah hat der Autor mittlerweile auch 2.0.0RC raus gebracht (Download) und wie es ausschaut auf den ersten Blick wird hier kein marquee mehr genutzt sondern "JS" wodurch (nicht getestet, aber sollte) des ganze valid ist dann. :)

Falls es so ist, werde ich natürlich des Thema wieder eröffnen bei mir und den Block ggf. darauf anpassen und offiziell den auch dann anbieten (was ich ja vorher nicht getan hatte)

NACHTRAG: Dies von Frold kann auch natürlich so bleiben, den seine Anpassung ist mehr oder weniger ein kleines Snippet.
Also so hat jeder die Wahl die schlanke Möglichkeit recht schnell und einfach installiert von Frold oder die Big Möglichkeit mit Einstellungen im ACP zweck Block de-/aktivieren etc. von mir zu benutzen. :D

Gruß Chris
Meine Projekte: Chantals - Fanpage .::. phpBB Projekt
No support via PM, email or messenger!


Topic author
frold
Portal Enthusiast
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 08:52

Re: lastRSS agregator works with board3 portal

Post by frold » 2. April 2008 21:22

Sry, I dont speak german
http://www.studmed.dk - Portal for doctors and medical students in Denmark


Topic author
frold
Portal Enthusiast
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 08:52

Re: LastRSS agregator block for LastRSS agregator RC3

Post by frold » 26. May 2008 22:21

any important information in the post above?
http://www.studmed.dk - Portal for doctors and medical students in Denmark

User avatar

thomas.d
Former Team Member
Former Team Member
Posts: 625
Joined: 20. January 2008 00:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d

Re: lastRSS agregator works with board3 portal

Post by thomas.d » 27. May 2008 00:44

Hi frold,

fyi:
PeterS wrote:Hi Kevin, hi Frold,

weeks ago Christian has already done an adjustment, but he claimed, that it wouldn't be valid to XHTML 1.0 STRICT since LastRSS is using a marquee command.

Greetings Peter
Christian_N wrote:That's right, my MOD is about two months old and was based on 2.0.BETA2. In the meanwhile the author has launched 2.0.0RC (Download) and it looks like the marquee command is not used anymore. Javascript is used instead and therefore it should be valid then, although it's not tested yet.

If so I will re-open this thread in my place and alter the block accordingly and offer it to the public (what I did not before).

APENNDIX: Of course frolds block can be used as it is since it's more or less a snippet.

So everyone may choose wether he prefers the slim, quick and easy to install solution by frold or my big mod with settings in the ACP (activating/deactivating block etc.)

Greetings Chris
@PeterS, @Chris:

Ich hoffe, ich habe einigermaßen wiedergegeben, was Ihr meintet ... ;)

I hope, my translation covers, what you've meant to say ... ;)
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |


Topic author
frold
Portal Enthusiast
Portal Enthusiast
Posts: 108
Joined: 24. March 2008 08:52

Re: LastRSS agregator block for LastRSS agregator RC3

Post by frold » 27. May 2008 08:48

Thank you for taking you time to translate!!

Yep the mod is just a "snippet" no hardcoding by me. And as said: you are not able to activate og deactivate it using ACP!

As all my other solutions they are dirty but they work for me and that is why I share theme :D I dont need the advance ACP functions - but anyone are free to enhance "my" blocks scripts :D

Have a nice day!
http://www.studmed.dk - Portal for doctors and medical students in Denmark

User avatar

thomas.d
Former Team Member
Former Team Member
Posts: 625
Joined: 20. January 2008 00:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d

Re: LastRSS agregator block for LastRSS agregator RC3

Post by thomas.d » 27. May 2008 22:39

Hi frold,

that's fine!

Thanks for sharing your blocks, mods and snippets, your contributions re welcome!
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |


Patrick68
Active Member
Active Member
Posts: 17
Joined: 4. January 2009 10:16

Re: LastRSS agregator block for LastRSS agregator RC3

Post by Patrick68 » 3. February 2009 16:16

hallo

hat alles geklappt mit dem einbau nur wie müssen die feeds-links aussehen?? http://www....../...xml oder wie? Denn entweder kommt bei mir ein sql-fehler oder als meldung im Portal "RSS feed is temporarily not available"

Der Fehler zb bei der Seite von N24
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Data too long for column 'content' at row 1 [1406]

SQL

UPDATE phpbb_lastrss_rsscontent SET content = "a:8:{s:8:\"encoding\";s:5:\"UTF-8\";s:5:\"title\";s:27:\"N24 - Wir kommen zur Sache.\";s:4:\"link\";s:17:\"http://www.n24.de\";s:11:\"description\";s:37:\"N24 - Aktueller Nachrichtenüberblick\";s:8:\"language\";s:5:\"de-de\";s:9:\"copyright\";s:59:\"(c) 2006 SevenOne Intermedia Gmbh. Alle Rechte vorbehalten.\";s:5:\"items\";a:5:{i:0;a:2:{s:5:\"title\";s:58:\"Vatikan in der Krise - Piusbrüder wollen \"Rom bekehren\"\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... ;s:67:\"Im Fokus: Afghanistan - Steinmeier vor Antrittsbesuch bei Clinton\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... mweltrecht gescheitert - Handfester Krach in der Koaltion\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... er-Rettung - Betriebsräte senden Glos Bittbrief\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... chneechaos in London - Wiederaufnahme des Flugverkehrs geplant\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... ount\";i:5;}" WHERE name = "blog" LIMIT 1 ;

BACKTRACE


FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/class_lastrss.php
LINE: 105
CALL: dbal_mysql->sql_query()

FILE: includes/functions_lastrss.php
LINE: 36
CALL: lastrss->getrss()

FILE: includes/functions_lastrss.php
LINE: 116
CALL: getrssdata()

FILE: index.php
LINE: 31
CALL: include('includes/functions_lastrss.php')


suche nen einfachen normalen newsfeed also aktuelle nachrichten des tages....

wer weiß was???

danke


Patrick68
Active Member
Active Member
Posts: 17
Joined: 4. January 2009 10:16

Re: LastRSS agregator block for LastRSS agregator RC3

Post by Patrick68 » 15. February 2009 18:37

Kleiner zwischenstand: die meisten Rss-Feeds funktionieren nicht....irgendwie schade


Patrick68
Active Member
Active Member
Posts: 17
Joined: 4. January 2009 10:16

Re: LastRSS agregator block for LastRSS agregator RC3

Post by Patrick68 » 25. February 2009 08:54

Hab ihn deinstalliert..... sieht erstens nicht gut aus und funzt auch nicht si wie ich es dachte..... Ruhe in Frieden! :lol:

User avatar

DragonMaster
Active Member
Active Member
Posts: 29
Joined: 14. February 2009 01:22
phpBB.com User: DragonMaster1
Location: U.S.A.

Re: LastRSS agregator block for LastRSS agregator RC3

Post by DragonMaster » 27. March 2009 08:05

I had this problem also, and played around with it and got it mostly fix by setting How long cache data ? (in hours): to 1

I reported this to the author but no replies for over a month

Patrick68 wrote:hallo

hat alles geklappt mit dem einbau nur wie müssen die feeds-links aussehen?? http://www....../...xml oder wie? Denn entweder kommt bei mir ein sql-fehler oder als meldung im Portal "RSS feed is temporarily not available"

Der Fehler zb bei der Seite von N24
Allgemeiner Fehler
SQL ERROR [ mysql4 ]

Data too long for column 'content' at row 1 [1406]

SQL

UPDATE phpbb_lastrss_rsscontent SET content = "a:8:{s:8:\"encoding\";s:5:\"UTF-8\";s:5:\"title\";s:27:\"N24 - Wir kommen zur Sache.\";s:4:\"link\";s:17:\"http://www.n24.de\";s:11:\"description\";s:37:\"N24 - Aktueller Nachrichtenüberblick\";s:8:\"language\";s:5:\"de-de\";s:9:\"copyright\";s:59:\"(c) 2006 SevenOne Intermedia Gmbh. Alle Rechte vorbehalten.\";s:5:\"items\";a:5:{i:0;a:2:{s:5:\"title\";s:58:\"Vatikan in der Krise - Piusbrüder wollen \"Rom bekehren\"\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... ;s:67:\"Im Fokus: Afghanistan - Steinmeier vor Antrittsbesuch bei Clinton\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... mweltrecht gescheitert - Handfester Krach in der Koaltion\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... er-Rettung - Betriebsräte senden Glos Bittbrief\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... chneechaos in London - Wiederaufnahme des Flugverkehrs geplant\";s:4:\"link\";s:78:\"http://feeds.feedburner.com/~r/n24/home ... ount\";i:5;}" WHERE name = "blog" LIMIT 1 ;

BACKTRACE


FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/class_lastrss.php
LINE: 105
CALL: dbal_mysql->sql_query()

FILE: includes/functions_lastrss.php
LINE: 36
CALL: lastrss->getrss()

FILE: includes/functions_lastrss.php
LINE: 116
CALL: getrssdata()

FILE: index.php
LINE: 31
CALL: include('includes/functions_lastrss.php')


suche nen einfachen normalen newsfeed also aktuelle nachrichten des tages....

wer weiß was???

danke

User avatar

PeterS
Former Team Member
Former Team Member
Posts: 246
Joined: 15. January 2008 09:41
phpBB.de User: PeterS
phpBB.com User: PeterS

Re: LastRSS agregator block for LastRSS agregator RC3

Post by PeterS » 27. March 2009 08:14

Hallo

verwende diesen Link, klappt bei mir ohne Probleme

http://feeds2.feedburner.com/n24/homepage?format=xml

Peter

Return to “board3 Portal v1.0.x - Modifications in Dev”