share on mod

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Ubunti
Mitglied
Beiträge: 257
Registriert: 27.10.2009 22:40

share on mod

Beitrag von Ubunti »

also diesen Mod hier mit facebook.... habe ich reingebaut!
http://www.phpbb.com/community/viewtopi ... t=share+on

und kriege folgende Fehlermeldung beim Lesen eines Themas
Parse error: syntax error, unexpected $end in /var/www/virtual/meinedomain.de/htdocs/includes/template.php(230) : eval()'d code on line 304
Interessant ist aber, dass ich keine Datei "template.php" zum Editieren hatte und auch keine vom root, die zu hochladen da gewesen wäre

siehe hier
http://www.pic-upload.de/view-6275915/B ... 9.png.html

Deswegen kann ich mir jetzt den plötzlichen Fehler nicht erklären

Auf Zeile 304 steht folgendes

Code: Alles auswählen

				include($phpbb_root_path . 'includes/functions_template.' . $phpEx);

Edit:----------
jetzt habe ich noch eine weitere Fehlermeldung bekommen

Code: Alles auswählen

Parse error: syntax error, unexpected $end in /var/www/virtual/meinedomain.de/htdocs/cache/tpl_SimpleRed_viewtopic_body.html.php  on line 304
Cache usw... ist natürlich alles geleert worden
Mein Forum - Krieg, Macht, und Verführung
http://robert-greene.bplaced.net/
Benutzeravatar
Metzle
Ehemaliges Teammitglied
Beiträge: 10435
Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:

Re: share on mod

Beitrag von Metzle »

Hallo,

ich vermute einen falschen Einbau in der Datei styles/SimpleRed/template/viewtopic_body.html.
Kontrolliere den Einbau da nochmal.
Metzle
phpBB.de-Support-Team
Allround-phpBB.de
Ubunti
Mitglied
Beiträge: 257
Registriert: 27.10.2009 22:40

Re: share on mod

Beitrag von Ubunti »

Metzle hat geschrieben:Hallo,

ich vermute einen falschen Einbau in der Datei styles/SimpleRed/template/viewtopic_body.html.
Kontrolliere den Einbau da nochmal.

Da hast du wirklich Recht!

Weil dort steht "Find"

Code: Alles auswählen

<ul class="profile-icons">
					<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
und replace with

Code: Alles auswählen

				<ul class="profile-icons">
				
					<!-- Mod_Share_On by JesusADS -->
						<!-- IF postrow.S_SHARE_ON_FIRST_POST and postrow.S_SO_STATUS and not postrow.S_SO_USERLOGGEDIN-->
							<!-- IF postrow.S_SO_FACEBOOK --><li class="facebook-icon"><a href="{postrow.U_FACEBOOK}" target="_blank" title="{L_SHARE_ON_FACEBOOK}"><span>{L_SHARE_ON_FACEBOOK}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TWITTER --><li class="twitter-icon"><a href="{postrow.U_TWITTER}" target="_blank" title="{L_SHARE_ON_TWITTER}"><span>{L_SHARE_ON_TWITTER}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_ORKUT --><li class="orkut-icon"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&v=1&nt=orkut.com&du='+e(l.href)+'&tt='+e(d.title),s='&rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" title="{L_SHARE_ON_ORKUT}"><span>{L_SHARE_ON_ORKUT}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DIGG --><li class="digg-icon"><a href="{postrow.U_DIGG}" target="_blank" title="{L_SHARE_ON_DIGG}"><span>{L_SHARE_ON_DIGG}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_MYSPACE --><li class="myspace-icon"><a href="{postrow.U_MYSPACE}" target="_blank" title="{L_SHARE_ON_MYSPACE}"><span>{L_SHARE_ON_MYSPACE}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DELICIOUS --><li class="delicious-icon"><a href="{postrow.U_DELICIOUS}" target="_blank" title="{L_SHARE_ON_DELICIOUS}"><span>{L_SHARE_ON_DELICIOUS}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TECHNORATI --><li class="technorati-icon"><a href="{postrow.U_TECHNORATI}" target="_blank" title="{L_SHARE_ON_TECHNORATI}"><span>{L_SHARE_ON_TECHNORATI}</span></a></li><!-- ENDIF -->
						<!-- ENDIF -->
Die Sache ist jetzt aber, dass dieses Find bei mir so ausschaut!

Code: Alles auswählen

				<ul class="profile-icons">
<!-- IF THANKS_ENABLE -->
					<!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST --><li class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span>{L_THANKS1}</span></a></li><!-- ENDIF --><!-- ENDIF -->
				
			
					
<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
ich kann doch dieses thanks enable nicht löschen, weil dann verliere ich die danke funktion

Also habe ich es so drinnen stehen gehabt

Code: Alles auswählen

				<ul class="profile-icons">
<!-- IF THANKS_ENABLE -->
					<!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST --><li class="thanks-icon"><a href="{postrow.U_THANKS}" title="{L_THANKS1}"><span>{L_THANKS1}</span></a></li><!-- ENDIF --><!-- ENDIF -->
									<!-- Mod_Share_On by JesusADS -->
						<!-- IF postrow.S_SHARE_ON_FIRST_POST and postrow.S_SO_STATUS and not postrow.S_SO_USERLOGGEDIN-->
							<!-- IF postrow.S_SO_FACEBOOK --><li class="facebook-icon"><a href="{postrow.U_FACEBOOK}" target="_blank" title="{L_SHARE_ON_FACEBOOK}"><span>{L_SHARE_ON_FACEBOOK}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TWITTER --><li class="twitter-icon"><a href="{postrow.U_TWITTER}" target="_blank" title="{L_SHARE_ON_TWITTER}"><span>{L_SHARE_ON_TWITTER}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_ORKUT --><li class="orkut-icon"><a href="javascript:(function(){var d=document,l=d.location,e=encodeURIComponent,u='http://promote.orkut.com/preview?src=bkmrklt&v=1&nt=orkut.com&du='+e(l.href)+'&tt='+e(d.title),s='&rdrinl=1';if(!window.open(u,'','height=575,width=700,directories=0,location=1,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0'))l.href=u+s;})();" title="{L_SHARE_ON_ORKUT}"><span>{L_SHARE_ON_ORKUT}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DIGG --><li class="digg-icon"><a href="{postrow.U_DIGG}" target="_blank" title="{L_SHARE_ON_DIGG}"><span>{L_SHARE_ON_DIGG}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_MYSPACE --><li class="myspace-icon"><a href="{postrow.U_MYSPACE}" target="_blank" title="{L_SHARE_ON_MYSPACE}"><span>{L_SHARE_ON_MYSPACE}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_DELICIOUS --><li class="delicious-icon"><a href="{postrow.U_DELICIOUS}" target="_blank" title="{L_SHARE_ON_DELICIOUS}"><span>{L_SHARE_ON_DELICIOUS}</span></a></li><!-- ENDIF -->
							<!-- IF postrow.S_SO_TECHNORATI --><li class="technorati-icon"><a href="{postrow.U_TECHNORATI}" target="_blank" title="{L_SHARE_ON_TECHNORATI}"><span>{L_SHARE_ON_TECHNORATI}</span></a></li><!-- ENDIF -->
						<!-- ENDIF -->
					<!-- Mod_Share_On -->

			
					
<!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
Mein Forum - Krieg, Macht, und Verführung
http://robert-greene.bplaced.net/
Ubunti
Mitglied
Beiträge: 257
Registriert: 27.10.2009 22:40

Re: share on mod

Beitrag von Ubunti »

Ne Blödsinn, der Fehler war wo anders, ich habe es jetzt hinbekommen :cookie:

Aber etwas Anderes!
Habe jetzt mal auf Facebook geklickt und das hat auch funktioniert, nur mit einem Fehler!

und zwar folgenden http://www.meinedomain.de/viewtopic.php?t=16

Ich habe aber ein SEO FORUm ala Tobi, da erscheint dann keine SEO URL im Facebook Interface, hmmmm...........
Mein Forum - Krieg, Macht, und Verführung
http://robert-greene.bplaced.net/
Ubunti
Mitglied
Beiträge: 257
Registriert: 27.10.2009 22:40

Re: share on mod

Beitrag von Ubunti »

Mir ist noch folgendes aufgefallen!

Wenn ich es so einstelle, dass nur registrierte Mitglieder die Funktion sehen dürfen, dann schaut das so aus, was mir persönlich sehr gefällt
http://i679.photobucket.com/albums/vv15 ... silver.png

kaum stelle ich es so ein, dass auch Gäste einen Zugriff auf diese Funktion haben, schaut das so aus, unabhängig ob die registrierten Mitglieder diese Funktion benutzen dürfen oder nicht!
http://i679.photobucket.com/albums/vv15 ... nUsers.png

Wenn ich mich aber auslogge, dann schaut das nicht mehr so aus wie hier http://i679.photobucket.com/albums/vv15 ... nUsers.png sondern die Buttons fehlen plötzlich :-?
Mein Forum - Krieg, Macht, und Verführung
http://robert-greene.bplaced.net/
Ubunti
Mitglied
Beiträge: 257
Registriert: 27.10.2009 22:40

Re: share on mod

Beitrag von Ubunti »

Ich will nicht aufdringlich sein, aber den Mod muss ich fertig kriegen :-?
Mein Forum - Krieg, Macht, und Verführung
http://robert-greene.bplaced.net/
Antworten

Zurück zu „[3.0.x] Mod Support“