Area51 @ 4seven.de

Mod Base and Testarea
It is currently 23 Feb 2025, 15:13

All times are UTC + 1 hour




Post new topic TOPIC_LOCKED  [ 2 posts ] 
Author Message
PostPosted: 24 May 2012, 21:23 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
Html in CPF Description

With this snippet you can use Html in CPF Descriptions.
Normally there is no Html or BBCode possible there.

Credit: BNa

Instruction

open

includes/functions_profile_fields.php

find

Code:
                'LANG_EXPLAIN'    => $row['lang_explain'],
                'FIELD'            => $tpl_snippet,

replace with

Code:
                // Html in CPF Description / BNa / 2012
                 'LANG_EXPLAIN'    => str_replace(array('&lt;','&quot;','&gt;'), array('<','"','>'), $row['lang_explain']),
                // Html in CPF Description / BNa / 2012
                 'FIELD'            => $tpl_snippet,

Screens:

ACP Input

http://www.loaditup.de/files/709298_ennzyve8k5.jpg

UCP Output

http://www.loaditup.de/files/709299_kpcdsuaxhm.jpg

You can use <br /> for linebreaks

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
PostPosted: 01 Oct 2012, 22:07 
Offline
Tiptop
Tiptop
User avatar

Joined: 11 Feb 2008, 11:49
Posts: 241
german instruction:
https://www.phpbb.de/community/viewtopi ... 9#p1274375

_________________
Mod-Bot / Service-Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic TOPIC_LOCKED  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.009s | 22 Queries | GZIP : Off ]