Seite 3 von 5

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 15.06.2009 11:09
von Gast234254
4seven hat geschrieben:Erstens: Bitte nimm den kompletten code aus deinem post.

HINWEIS: Dieser Mod ist für eine Standard-Postbox

Nicht für die BBCodeBox3


Für meine Version der BBCodebox3 kommt eine eigene Rechteverwaltung heraus

HAB MICH FALSCH AUSGEDRÜCKT MEINTE DIE STANDARTBOX; SORRY

hab folgendes
3.04.
und den
classifieds_0.4.0 als einzigen mod
gruß
stephan

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 15.06.2009 11:31
von 4seven
der sql-fehler tritt weder bei mysql noch bei mysqldumper auf.
für den fehler in der posting_buttons.html check nochmal deine install.
zur not nimm eine frische posting_buttons.html und editiere diese nochmal.

zusätzlich immer und in jedem falle nach der install alle board- und browser-caches komplett leeren

und nimm diesen langen code aus deinem vorletzten post raus

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 15.06.2009 12:34
von Gast234254
hab den fehler gefunden,von 3.04 auf 3.05 hat sich die styles/prosilver/template/posting_buttons.html von 3.04 zu 3.05 verändert

laut install suchen:

Code: Alles auswählen

	<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
			<option value="150">{L_FONT_LARGE}</option>
			<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
				<option value="200">{L_FONT_HUGE}</option>
			<!-- ENDIF -->
		<!-- ENDIF -->
	</select>
bei 3.04 ist nur:

Code: Alles auswählen

	<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<option value="150">{L_FONT_LARGE}</option>
		<option value="200">{L_FONT_HUGE}</option>
	</select>
und bei 3.05:

Code: Alles auswählen

	<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
		<option value="50">{L_FONT_TINY}</option>
		<option value="85">{L_FONT_SMALL}</option>
		<option value="100" selected="selected">{L_FONT_NORMAL}</option>
		<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
			<option value="150">{L_FONT_LARGE}</option>
			<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
				<option value="200">{L_FONT_HUGE}</option>
			<!-- ENDIF -->
		<!-- ENDIF -->
	</select>
gruß
stephan

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 15.06.2009 12:56
von 4seven
Super, also nochmal als Hinweis:

Der Mod ist ab phpbb-version: 3.0.5 zu nutzen

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 16.06.2009 15:44
von 4seven
Fix [#1] für v. 0.9.0

öffne

search.php

finde

Code: Alles auswählen

                // 4seven 
                $forum_id = ($row['forum_id'] = request_var('f', 0)); 
                include($phpbb_root_path . 'includes/functions_hide_content.' . $phpEx);
                $row['post_text'] = preg_replace($search_pattern_hc, $pattern_replacement_hc, $target_source_hc);
                // 4seven    
ersetze mit

Code: Alles auswählen

                // 4seven 
                $forum_id = ($row['forum_id'] = request_var('f', 0)); 
                include($phpbb_root_path . 'includes/functions_hide_content.' . $phpEx);
                if (isset($search_pattern_hc)){
                $row['post_text'] = preg_replace($search_pattern_hc, $pattern_replacement_hc, $target_source_hc);}
                else{ 
                $row['post_text'] = censor_text($row['post_text']);}
                // 4seven    

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 20.06.2009 01:40
von 4seven
Fix [#2] für v. 0.9.0

ladet die aktuelle version von hier herunter

öffnet *.zip

extrahiert

Code: Alles auswählen

root/incudes/functions_hide_content_buttons.php
überschreibt die existierende datei

Code: Alles auswählen

includes/functions_hide_content_buttons.php
-alle caches leeren etc.

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 20.06.2009 19:27
von 4seven
Fix [#3] für v.0.9.0 ( see >> )

open
includes/ucp/ucp_profile.php

find

Code: Alles auswählen

if ($submit || $preview)
                {
                    include($phpbb_root_path . 'includes/message_parser.' . $phpEx);    
replace-with

Code: Alles auswählen

if ($submit || $preview)
                {
                    // 4seven
                    include_once($phpbb_root_path . 'includes/message_parser_sig.' . $phpEx);
                    // 4seven         

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 20.06.2009 20:07
von 4seven
Info

Der Main-Download ist down.

Hier die alternativen Links

deutsch:
http://4seven.kilu.de/phpbb3/viewtopic.php?f=6&t=26

englisch:
http://4seven.kilu.de/phpbb3/viewtopic.php?f=6&t=25

das aktuelle paket enthält alle #3 fixes

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 20.06.2009 21:45
von 4seven
BBCodes in Signaturen werden jetzt nicht nur beim Versuch des Benutzens restriktiert, sondern sind auch in den Signaturen selbst unsichtbar. Wenn zum Zeitpunkt des Mod-Einbau schon viele "unerwünschte" BBCodes in Signaturen sind, braucht man diese zudem nicht händisch raus-editieren.

Info
http://www.phpbb.com/community/viewtopi ... 5#p9984555

Update folgt asap..

Re: [BETA] 4S-BB-Control - v.0.9.0

Verfasst: 21.06.2009 01:36
von 4seven
Additional [#1]

http://www.phpbb.com/community/viewtopi ... 5#p9986775

Wer das Update einbauen möchte > Edits siehe Link.

Paket ist aktualisiert.