Thank Button für envision Theme

Du suchst einen bestimmten Mod, weißt aber nicht genau wo bzw. ob er überhaupt existiert? Wenn dir dieser Artikel nicht weiterhilft, kannst du hier den von dir gewünschten/gesuchten Mod beschreiben ...
Falls ein Mod-Autor eine der Anfragen hier aufnimmt, um einen neuen Mod zu entwickeln, geht's in [3.0.x] Mods in Entwicklung weiter.
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.
Benutzeravatar
Kirk
Supporter
Supporter
Beiträge: 8136
Registriert: 24.05.2010 08:31
Kontaktdaten:

Re: Thank Button für envision Theme

Beitrag von Kirk »

Hast du die install_thanks_mod.php auch ausgeführt?
Geh nochmal in Ruhe die install.xml und subsilver2.xml durch.
empire85
Mitglied
Beiträge: 63
Registriert: 18.08.2013 13:46

Re: Thank Button für envision Theme

Beitrag von empire85 »

in Der Install wenn ich da auf Subsilver gehe steht da nichts von install_thanks_mod.php ausführen

ich werde es nochmal testen
Benutzeravatar
Kirk
Supporter
Supporter
Beiträge: 8136
Registriert: 24.05.2010 08:31
Kontaktdaten:

Re: Thank Button für envision Theme

Beitrag von Kirk »

Bei diesem Mod müssen ja auch php Dateien geändert bzw. ergänzt werden, das steht in der install.xml drin.
Lesestoff: Wie installiert man eine MOD?
MODs - FAQ
empire85
Mitglied
Beiträge: 63
Registriert: 18.08.2013 13:46

Re: Thank Button für envision Theme

Beitrag von empire85 »

jetzt hab ich das hier und geht auch nicht weg nachdem ich orginaldateien wider raufgemacht hab

[ externes Bild ]
empire85
Mitglied
Beiträge: 63
Registriert: 18.08.2013 13:46

Re: Thank Button für envision Theme

Beitrag von empire85 »

habs wieder hinbekommen,

naja ich darf die mod nicht in automod deinstallieren sonst läuft das board nicht mehr,

langsam wird mir das zuviel muss ich mich wohl mit abfinden das ich es nicht hinbekomme.

trotzdem Danke für eure Hilfe.
Benutzeravatar
Kirk
Supporter
Supporter
Beiträge: 8136
Registriert: 24.05.2010 08:31
Kontaktdaten:

Re: Thank Button für envision Theme

Beitrag von Kirk »

empire85 hat geschrieben:muss ich mich wohl mit abfinden das ich es nicht hinbekomme
Es gibt noch die Jobbörse :wink:
empire85
Mitglied
Beiträge: 63
Registriert: 18.08.2013 13:46

Re: Thank Button für envision Theme

Beitrag von empire85 »

ok ich habs jetzt irgendwie hinbekommen weiss selber nicht genau wie nur ein problem hab ich noch

das hier
[ externes Bild ]
Benutzeravatar
Kirk
Supporter
Supporter
Beiträge: 8136
Registriert: 24.05.2010 08:31
Kontaktdaten:

Re: Thank Button für envision Theme

Beitrag von Kirk »

Kirk hat geschrieben:Hast du die install_thanks_mod.php auch ausgeführt?
Geh nochmal in Ruhe die install.xml und subsilver2.xml durch.
:roll:
Benutzeravatar
franki
Ehemaliges Teammitglied
Beiträge: 2823
Registriert: 21.10.2007 14:02
Wohnort: Sonsbeck
Kontaktdaten:

Re: Thank Button für envision Theme

Beitrag von franki »

Hallo empire85

Hier mal die Styleänderungen für deinen Style
öffne styles/envision/template/index_body.html
suche

Code: Alles auswählen

<td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td></tr><!-- ENDIF -->
füge danach ein

Code: Alles auswählen

	<!-- IF S_THANKS_LIST -->
	<tr>
		<td class="cat2" colspan="2"><h4>{L_TOP_THANKS_LIST}</h4></td>
	</tr>
	<tr>
		<td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_TOP_THANKS_LIST}" /></td>
		<td class="row1" width="100%"><p class="genmed"><b>{THANKS_LIST}</b></p></td>
	</tr>
	<!-- ENDIF -->
suche

Code: Alles auswählen

<!-- IF not S_IS_BOT and S_DISPLAY_MEMBERLIST --> | <a href="{U_MEMBERLIST}"><strong>{L_MEMBERLIST}</strong></a><!-- ENDIF -->
füge in der gleichen Zeile danach ein

Code: Alles auswählen

<!-- IF S_DISPLAY_TOPLIST --> | <a href="{U_REPUT_TOPLIST}"><strong>{L_REPUT_TOPLIST}</strong></a><!-- ENDIF --><!-- IF S_DISPLAY_THANKSLIST --> | <a href="{U_THANKSLIST}"><strong>{L_GRATITUDES}</strong></a><!-- ENDIF -->
öffne styles/envision/template/forumlist_body.html
suche

Code: Alles auswählen

            <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
               <p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
            <!-- ENDIF -->
ersetze durch

Code: Alles auswählen

			<!-- BEGIN reput -->
				<!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and forumrow.reput.FORUM_REPUT and not S_IS_BOT -->
					<span style="display: block;">
						<!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
							<span style="display: block; float: left; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: URL({forumrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>&nbsp;
						<!-- ENDIF -->
						{L_REPUT}:{forumrow.reput.FORUM_REPUT}
					</span>
				<!-- ENDIF -->
			<!-- END reput -->
			<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
				<p class="forumdesc" style="clear: left"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
			<!-- ENDIF -->
öffne styles/envision/template/memberlist_view.html
suche

Code: Alles auswählen

					<td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
				</tr>
			<!-- ENDIF -->
füge danach ein

Code: Alles auswählen

			<!-- IF THANKS_PROFILELIST_VIEW -->
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><!-- IF  S_MOD_THANKS and POSTER_GIVE_COUNT --><a href="{U_CLEAR_LIST_THANKS_GIVE}">{DELETE_IMG}</a>&nbsp;<!-- ENDIF -->{L_GIVEN}: </td>
					<td><span class="gen"><b>{POSTER_GIVE_COUNT}</b> {L_THANKS}</span><br /><!-- IF POSTER_GIVE_COUNT --><a href="javascript: toggleElement( getElement('show_thanks'));">{L_THANKS_LIST}</a>
						<div id="show_thanks" style="display: none;">
							{THANKS}
						</div>
						<!-- ENDIF -->
					</td>
				</tr>
				<tr>
					<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><!-- IF  S_MOD_THANKS and POSTER_RECEIVE_COUNT --><a href="{U_CLEAR_LIST_THANKS_RECEIVE}">{DELETE_IMG}</a>&nbsp;<!-- ENDIF -->{L_RECEIVED}: </td>
					<td><span class="gen"><b>{POSTER_RECEIVE_COUNT}</b> {L_THANKS}</span><br /><!-- IF POSTER_RECEIVE_COUNT --><a href="javascript: toggleElement( getElement('show_thanked'));">{L_THANKS_LIST}</a>
						<div id="show_thanked" style="display: none;">
							{THANKED}
						</div>
						<!-- ENDIF -->
					</td>
				</tr>
			<!-- ENDIF -->
öffne styles/envision/template/overall_header.html
suche

Code: Alles auswählen

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
füge davor ein

Code: Alles auswählen

<script type="text/JavaScript">
// <![CDATA[
function getElement(iElementId)
{
   if (document.all) 
   {
      return document.all[iElementId];
   }
   if (document.getElementById)
   {
      return document.getElementById(iElementId);
   }
}

function toggleElement(oElement)
{
   if (oElement.style.display == "none")
   {
      oElement.style.display = "";
   }
   else
   {
      oElement.style.display = "none";
   }
}
// ]]>
</script>
öffne styles/envision/template/viewforum_body.html
suche

Code: Alles auswählen

				<!-- IF topicrow.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
				<!-- ENDIF -->
ersetze durch

Code: Alles auswählen

				<!-- BEGIN reput -->
					<!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT -->
					<span style="display: block;">
						<!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
						<span style="float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>&nbsp;
						<!-- ENDIF -->
						{L_REPUT}:{topicrow.reput.TOPIC_REPUT}
					</span>
					<!-- ENDIF -->
				<!-- END reput -->
				<!-- IF topicrow.PAGINATION -->
					<p class="gensmall" style="clear:left"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
				<!-- ENDIF -->
suche

Code: Alles auswählen

					<!-- IF topicrow.PAGINATION -->
						<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
					<!-- ENDIF -->
ersetze durch

Code: Alles auswählen

					<!-- BEGIN reput -->
					<!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT -->
					<span style="display: block;">
						<!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
						<span style="display: block; float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block;  height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: URL({topicrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>&nbsp;
						<!-- ENDIF -->
					{L_REPUT}:{topicrow.reput.TOPIC_REPUT}
					</span>	
					<!-- ENDIF -->
					<!-- END reput -->
					<!-- IF topicrow.PAGINATION -->
						<p class="gensmall" style="clear:left"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
					<!-- ENDIF -->
öffne styles/envision/template/viewtopic_body.html
suche

Code: Alles auswählen

				<!-- IF postrow.POSTER_FROM --><div class="postdetails"><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}</div><!-- ENDIF -->
füge danach ein

Code: Alles auswählen

				<!-- IF not postrow.S_POST_ANONYMOUS and postrow.THANKS_COUNTERS_VIEW --><div class="postdetails"><b>{L_GIVEN}:</b><!-- IF postrow.POSTER_GIVE_COUNT < 1 --> {postrow.POSTER_GIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_GIVE_COUNT > 1 --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_GIVE_COUNT_LINK}">{postrow.POSTER_GIVE_COUNT}</a> {L_THANK}<!-- ENDIF --></div><div class="postdetails"><b>{L_RECEIVED}:</b><!-- IF postrow.POSTER_RECEIVE_COUNT < 1 --> {postrow.POSTER_RECEIVE_COUNT} {L_THANK}<!-- ELSEIF postrow.POSTER_RECEIVE_COUNT > 1 --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANKS}<!-- ELSE --> <a href="{postrow.POSTER_RECEIVE_COUNT_LINK}">{postrow.POSTER_RECEIVE_COUNT}</a> {L_THANK}</div><!-- ENDIF --><!-- ENDIF -->
suche

Code: Alles auswählen

										<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><img style="vertical-align: middle;" src="{T_THEME_PATH}/images/icon_post_delete.png" width="16" height="16" alt="{L_DELETE_POST}" /></a> <!-- ENDIF -->
füge danach ein

Code: Alles auswählen

										<!-- IF  not postrow.S_FIRST_POST_ONLY or postrow.S_ONLY_TOPICSTART -->
											<!-- IF not postrow.S_GLOBAL_POST_THANKS and not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}">{postrow.THANK_IMG}</a>	<!-- ENDIF -->
										<!-- ENDIF -->	
										<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW and not postrow.S_POST_ANONYMOUS -->
											<table width="100%" cellspacing="0">
												<tr valign="middle">
													<td class="gensmall" align="{S_CONTENT_FLOW_BEGIN}">
													<hr />
													<!-- IF postrow.S_MOD_THANKS --><a href="{postrow.U_CLEAR_LIST_THANKS_POST}">{postrow.DELETE_IMG}</a>&nbsp;<!-- ENDIF -->{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2} {postrow.THANKS}</td>
												</tr>
											</table>
										<!-- ENDIF -->
										<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
											<table class="content" align="left">
												<tr class="postbody" align="left">
													<td>
													<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
													<div style="float: left; width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></div></div>&nbsp;
													<!-- ENDIF -->
													<strong>{L_REPUT}:</strong>&nbsp;{postrow.POST_REPUT}
													</td>
												</tr>
											</table>
										<!-- ENDIF -->
öffne styles/subsilver2/template/ucp_prefs_personal.html
suche

Code: Alles auswählen

<!-- IF S_CAN_HIDE_ONLINE -->
füge davor ein

Code: Alles auswählen

<!-- IF S_THANKS_NOTICE_ON -->
<tr>
	<td class="row1" width="50%"><b class="genmed">{L_ALLOW_THANKS_PM}:</b><br /><span class="gensmall">{L_ALLOW_THANKS_PM_EXPLAIN}</span></td>
	<td class="row2"><input type="radio" class="radio" name="allowthankspm" id="allowthankspm1" value="1"<!-- IF S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="allowthankspm" id="allowthankspm0" value="0"<!-- IF not S_ALLOW_THANKS_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
</tr>
<tr>
	<td class="row1" width="50%"><b class="genmed">{L_ALLOW_THANKS_EMAIL}:</b><br /><span class="gensmall">{L_ALLOW_THANKS_EMAIL_EXPLAIN}</span></td>
	<td class="row2"><input type="radio" class="radio" name="allowthanksemail" id="allowthanksemail1" value="1"<!-- IF S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span>&nbsp;&nbsp;<input type="radio" class="radio" name="allowthanksemail" id="allowthanksemail0" value="0"<!-- IF not S_ALLOW_THANKS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td>
</tr>
<!-- ENDIF -->
Die Änderungen aus der install.xml sollten ja kein Problem da stellen.
#Kirk hat die ja dazu einiges geschrieben.
LG Franki
empire85
Mitglied
Beiträge: 63
Registriert: 18.08.2013 13:46

Re: Thank Button für envision Theme

Beitrag von empire85 »

Super Danke hat jetzt alles geklappt :)

nur noch eine sache, wie kriege ich es hin das Gäste sehen können wer sich bedankt hat?

Bei den Berechtigungen istr es nicht.
Antworten

Zurück zu „[3.0.x] Mod Suche/Anfragen“