Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post CODE And MOD TEMPLATE In Bbcode - How To Make It Real? 
 
Hello again!

I got a little Problem. I want to make the "code" "/code" in my posting editor because i got only the normal "code"-function.
Hope you understand what i mean?
Example like this:
Code: [Download] [Hide] [Select]
test


And i want this function:
OPEN
FIND
Code: [Download] [Hide] [Select]
test

REPLACE WITH
Code: [Download] [Hide] [Select]
testings


So how i can do this?
I found no explanation for this. -.-"
 



 
Last edited by Ghostsearcher on Tue 29 Dec, 2009 07:53; edited 1 time in total 
GhostsearcherSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: CODE And MOD TEMPLATE In Bbcode - How To Make It Real? 
 
Oops, i guess i have to say i'm sorry. This seems to be a normal bbcode from phpbb3.
It is because, i never used subsilver2 nor prosilver and i could not find this with the implemented BBcodeBox3.

Well, i'm just a very big fan of Black Pearl.
 



 
GhostsearcherSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] CODE And MOD TEMPLATE In Bbcode - How To Make It Real? 
 
So you solved your issue?

I think you can create a custom BBCode in ACP to get what you need.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: CODE And MOD TEMPLATE In Bbcode - How To Make It Real? 
 
Nope, not solved.

If i knew how i would implement the bbcode. But in this case.... I let it be ^^
 



 
GhostsearcherSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] CODE And MOD TEMPLATE In Bbcode - How To Make It Real? 
 
If you go to ACP => POSTING => BBCODES you can customize BBCODES.

Add a new one and try this:

BBCode Usage:
Code: [Download] [Hide] [Select]
[modfile={SIMPLETEXT1}]{TEXT1}[/modfile]{TEXT2}


HTML Replacement:
Code: [Download] [Hide] [Select]
OPEN <strong>{SIMPLETEXT1}</strong><br />
<br />
FIND:<br />
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">{TEXT1}</div><br />
<br />
REPLACE WITH:<br />
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">{TEXT2}</div><br />
<br />




Then flag Display on posting page.

_________

You can then use something like this:

Code: [Download] [Hide] [Select]
[modfile=forum.php]Test[/modfile]Testing


You need to perform some tweaking of course... this is just a basic demo.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events