Page 4 of 8

Re: [RC] Portalview v1.0.0RC3

Posted: 15. June 2010 23:39
by kolja
Nabend

Nachdem das Portal bei meinen Mitadministratoren auf große Zustimmung getroffen ist,
wollte ich sie mit der Portalview MOD überraschen.
Klappt aber leider nicht, da Automod mir das hier sagt:
Cannot locate File: ./../store/mods/portalview_100rc3//portalview_100rc3/contrib/de.xml

leider gibt es weder den Ordner noch die Datei.
Auch macht mich der Pfad mit zwei gleichen Verzeichnissen und dem doppelten / etwas stutzig...

Sieht für mich irgendwie nach einem Fehler beim packen des Archives aus.

Vielleicht könnte da ja nochmal wer drüberschauen.

Danke von Kolja

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 00:01
by Marc
Das ist ein Fehler in der Installationsanleitung (install.xml). Öffne die install.xml einfach mit einem Editor und lösche das hier:

Code: Select all

			<link type="language" lang="en-gb" href="contrib/de.xml">Manual for German Language-set</link>
			<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
Danach sollte es funktionieren.

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 00:33
by kolja
Ne schnelle Antwort zu später Stunde, das Lob ich mir!

Die Installation läuft auch sauber durch, nur bekomme ich jetzt in den dateien inden.php, viewforum.php und viewtopic.php folgende Fehlermeldung:

Code: Select all

Fatal error: Call to a member function get() on a non-object in /var/www/virtual/reggae-party.de/htdocs/vierzwei/mchat.php  on line 35
Am Mchat bzw an der Zeile 35 wird es nicht liegen,
aber der soll da ja auch gar nicht rein! (Nur im Portal)
Werde mal schauen wo der sich versteckt.

Danke aber für die schnelle Hilfe!

Kolja

edit

ich bin nicht der erste:
viewtopic.php?f=31&t=3722#p23885
und ja, nach dem entfernen der beiden zeilen läuft der chat immer noch

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 10:14
by Marc
Nach dem entfernen welcher beiden Zeilen?

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 11:40
by kolja
Moin

Das sind Zeile 34 - 49:

Code: Select all

// Grab the config entries in teh ACP...and cache em :P
//if (($config_mchat = $cache->get('_mchat_config')) === false)
{
	$sql = 'SELECT * FROM ' . MCHAT_CONFIG_TABLE;
	$result = $db->sql_query($sql);
	$config_mchat = array();
	while ($row = $db->sql_fetchrow($result))	
	{
		$config_mchat[$row['config_name']] = $row['config_value'];
	}
	$db->sql_freeresult($result);

	// cache this data forever (one year?), can only change in ACP
	// this improves performance
//	$cache->put('_mchat_config', $config_mchat);
}
Zeile 35 und 48 sind auskommentiert.
Aber wie gesagt, es funktioniert noch alles!

Kolja


edit wollte noch fragen, ob der portalview für einzelne seiten auch abgeschaltet werden kann ?
(posting.php)

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 12:25
by Marc
Versuche mal folgendes:
Mache das rückgängig was du gemacht hast und füge vor Zeile 34 das hier ein:

Code: Select all

global cache;

Re: [RC] Portalview v1.0.0RC3

Posted: 16. June 2010 14:19
by kolja
will leider nicht:
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /var/www/virtual/reggae-party.de/htdocs/vierzwei/mchat.php on line 33

kolja

Re: [RC] Portalview v1.0.0RC3

Posted: 14. July 2010 13:02
by Myt
hmm also mal danke für den tollen mod .. allerdings könnt da bischen hilfe gebrauchen und zwar will das ned so wie es soll mit twilightbb

prosilver funkt 1a
subsilver2 funkt auch ohne probs

aber beim twilightbb machts so seine makken .. ich nutze das portal ohne gross probs mit twilightbb ansich mit den templates von subsilver2
aber mit pv macht das sachen die ich einfach ned hinkriege weg zumachen ...

zb es zentriert das komplette board ..
zudem verschwinden alle header anzeigen ... also alle buttons zu den menus etc ...
zusätzlich zu dem ärger krieg ich da so ne hässliche graue leiste noch dazu ^^

ich weiss einfach nimma weiter ...

so hats mal ausgeschaut -> http://www.phpbb.com/styles/demo/3.0/in ... tyle_id=60
und so schauts mit pv aus -> http://alf.mytrandir.net/portal.php?style=2

also wenn da mal wer ne lösung zu hat wäre ich sehr dankbar
portal: 105 de
phpbb: 3.0.7

Re: [RC] Portalview v1.0.0RC3

Posted: 14. July 2010 14:59
by Marc
Also ich bezweifle, dass Portalview ganze Teile des Styles löscht, dir fehlt aber der ganze Code des Rahmens. Wenn du nicht viele MODs installiert hast, solltest du dir vielleicht nochmal das TwilightBB herunterladen und dann auch nur so verändern wie vorgeschrieben.

Übrigens wundert es mich doch sehr, wieso bei dir Copyright-Vermerke des Authors des Styles fehlen. Ich hoffe für dich, dass du diese nicht entfernt hast. :?

Re: [RC] Portalview v1.0.0RC3

Posted: 15. July 2010 09:35
by Myt
i entfern doch gar nix :D
sind vorhanden ... wird nur ned angezeigt .. weshalb auch immer ...
hmm i hab ja nur de pv sachen integriert und eben den code im header und footer von den subsilver2 files geändert wie beschrieben ..
wenn ich de auslasse zeigt das normal an .. nur de pv funktion is dan nicht
mods sind keine sonstigen installiert nur eben portal und pv

Re: [RC] Portalview v1.0.0RC3

Posted: 15. July 2010 11:59
by Marc
Ich habe direkt in deine Dateien geschaut, und dort fehlt der ganze Code. ;)

Re: [RC] Portalview v1.0.0RC3

Posted: 15. July 2010 12:12
by Myt
hmm dann muste das schon bei der rar file schon fehlen i hab dran nix geändert

Re: [RC] Portalview v1.0.0RC3

Posted: 17. August 2010 15:22
by Kontroler
How to do that it MOD worked with Board3 Portal 1.0.4
phpBB-Version: 3.0.7
phpBB-Styles: prosilver :?:

Re: [RC] Portalview v1.0.0RC3

Posted: 17. August 2010 21:17
by Marc
You don't, it will only work with Board3 Portal 1.0.5.

Re: [RC] Portalview v1.0.0RC3

Posted: 20. August 2010 22:50
by juliocbcotta
hello there,
I am trying to setup this mod , but I am getting this error (this is all the error web page!)

Code: Select all

[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 97: include(/phpbb/portal/block/login_box.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 97: include(): Failed opening '/phpbb/portal/block/login_box.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 112: include(phpbb/portal/block/mini_cal.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 112: include(): Failed opening 'phpbb/portal/block/mini_cal.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 136: include(phpbb/portal/block/links.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 136: include(): Failed opening 'phpbb/portal/block/links.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 140: include(phpbb/portal/block/additional_blocks.php): failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/phpbb/portal/includes/portalview.php on line 140: include(): Failed opening 'phpbb/portal/block/additional_blocks.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
In this board the portal.php is out of the forum folder, but all works right until now.
I guess the error appear just when starts this block of code

Code: Select all

if($portal_config['portal_right_column'])
I don't know why after this line the root path is not found! the files are there.
take a look

Code: Select all

root@server:/var/www/phpbb/portal/block# ls
additional_blocks.php  change_style.php  index.html          leaders.php    main_menu.php  random_member.php  top_posters.php   wordgraph.php
announcements.php      custom.php        latest_bots.php     links.php      mini_cal.php   recent.php         user_menu.php
attachments.php        donate.php        latest_members.php  link_us.php    news.php       search.php         welcome.php
birthday_list.php      friends.php       leaders_ext.php     login_box.php  poll.php       statistics.php     whois_online.php
root@server:/var/www/phpbb/portal/block# 
I already try to change the permissions(chmod 0775 /var/www -R) of the files and check the paths to the files. I just don't know what can be any more, please help-me. :D