portal functions.php frage

Aktuelle Version: 1.0.6
Veröffentlicht: 01.09.10
Forum rules
Vor dem erstellen neuer Supportanfragen bitte zuerst in die board3 Portal FAQ schauen und die Suche benutzen!
Viele Fragen sind bereits schon gestellt und beantwortet worden.
Bitte auch unsere Forumsregeln lesen und beachten!
Locked

Topic author
cromatics
Portal Enthusiast
Posts: 105
Joined: 31. October 2008 16:29
Contact:

portal functions.php frage

Post by cromatics »

Deine Portal Version:
Typ Deines phpBB Forums: Standard phpBB3
MODs installiert: Nein
Dein Wissensstand: Einsteiger

Was hast Du gemacht, bevor das Problem aufgetreten ist?


Was hast Du bereits versucht um das Problem zu lösen?


Fehlerbeschreibung und Nachricht
huhu,
eine frage, ihr hattet bei version 1.0.3. in der /portal/includes/functions.php

Code: Select all

include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);  
und

Code: Select all

 if (($text_length != 0) && (strlen($len_check) > $text_length))  
 {  
 $message = censor_text(get_sub_taged_string(str_replace("\n", '<br> ', $row['post_text']), $row['bbcode_uid'], $maxlen));  
     $posts[$i]['striped'] = true;  
 }  
 else  
 {  
    $message = censor_text( str_replace("\n", '<br> ', $row['post_text']) );  
 }  

stehen, die habt ihr aber mit 1.04 abgeändert bzw weggenommen, da ich aber an die stellen einen cade einfügen muss (http://www.wowhead-tooltips.com/install/board3/) damit ich den mod im portal zum laufen bekomm, frage ich mal lieb nach wo ich jetzt den code reinsetzten muss.

thx schon mal im vorraus[/i]
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: portal functions.php frage

Post by Marc »

Ich kann dir zwar nicht versprechen dass das Script auch mit 1.0.4 funktioniert, das hier sollten aber erstmal die Code-Änderungen sein:
Öffne portal/includes/functions.php
Finde / Find:

Code: Select all

// Get portal config 
Davor einfügen / Add before:

Code: Select all

include_once($phpbb_root_path . 'wowhead/parse.' . $phpEx); 
Finde / Find:

Code: Select all

// Second parse bbcode here 
Davor einfügen / Add before:

Code: Select all

$message = whp_parse($message); 

Topic author
cromatics
Portal Enthusiast
Posts: 105
Joined: 31. October 2008 16:29
Contact:

Re: portal functions.php frage

Post by cromatics »

ok thx werde es mal testen
Locked

Return to “board3 Portal 1.0.x - Deutscher Support”