Translate
Sub Menu
Links Menu
Online Users

In total there are 81 users online :: 3 registered, 0 hidden and 78 guests

Most users ever online was 561 on Fri Mar 20, 2020 1:13 am

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

Last Online
In order to view the online list you have to be registered and logged in.



We are a free and open
community, all are welcome.

Click here to Register

[solved] IM Portal & BBcode Box Reloaded

Support for the IM Portal Project

Moderator: Integra Moderator

[solved] IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Sat Jan 19, 2008 1:59 pm

Your phpBB Version: 2.0.21
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Beginner
Board URL: http://www.siljo-planet.net/

PHP Version: 5.2.5
MySQL Version: 5.0.51


What was done before the problem appeared?
/


What was done to try to solve the problem?
/



De.scription and Message

In my forum i use [url=http]BBcode Box Reloaded[/url].

I`m trying to use it in portal,but the BBcodes dont work.Can somebody help me?
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Sun Jan 20, 2008 5:27 am

This does require a lot of recoding to importal ...but idf you follow the bbcode box install instructions and apply it to importal you can resolve this...

I hope this helps a bit..

:D
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Mon Jan 21, 2008 4:21 pm

Ok got it working.Now i have the same posting menu in forum and in admin/block editor.But not all bbcodes work.Only the standard one`s work (bold,italic,underline,..),but codes like flash,strike,google video,you tube,.... and others don`t work.(They are all working normali in forum & shoutbox ).

Where can i add this "extra" bbcodes so that they will work in admin/block editor?
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Tue Jan 22, 2008 12:57 am

I have you added the java.script code at the top of the tpl page...? I cannot remember what it is exactly...

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Tue Jan 22, 2008 1:51 am

This is my blocks_edit_body.tpl

Code: Select all
{BBC_JS_BOX}  <script><!--// bbCode control by// subBlue design// [url=http]http://www.subBlue.com[/url]  // Startup variablesvar imageTag = false;var theSelection = false;  // Check for Browser & Platform for PC & IE specific bits// More details from: [url=http://www.mozilla.org/docs/web-developer/sniffer/browser_type.htmlvar]http://www.mozilla.org/docs/web-develop ... pe.htmlvar[/url] clientPC = navigator.userAgent.toLowerCase(); // Get client infovar clientVer = parseInt(navigator.appVersion); // Get browser version  var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)                 && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)                 && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));var is_moz = 0;  var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));var is_mac = (clientPC.indexOf("mac")!=-1);  // Helpline messagesb_help = "{L_BBCODE_B_HELP}";i_help = "{L_BBCODE_I_HELP}";u_help = "{L_BBCODE_U_HELP}";q_help = "{L_BBCODE_Q_HELP}";c_help = "{L_BBCODE_C_HELP}";l_help = "{L_BBCODE_L_HELP}";o_help = "{L_BBCODE_O_HELP}";p_help = "{L_BBCODE_P_HELP}";w_help = "{L_BBCODE_W_HELP}";a_help = "{L_BBCODE_A_HELP}";s_help = "{L_BBCODE_S_HELP}";f_help = "{L_BBCODE_F_HELP}";  // Define the bbCode tagsbbcode = new Array();bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list type=]','[/list]','[flash=,]','[/flash:1ilml43w]','[url]','[/url]');imageTag = false;  // Shows the help messages in the helpline windowfunction helpline(help) {     document.post.helpbox.value = eval(help + "_help");}    // Replacement for arrayname.length propertyfunction getarraysize(thearray) {     for (i = 0; i <thearray>= 4) && is_ie && is_win) {         theSelection = document.selection.createRange().text;         if (!theSelection) {             txtarea.value += bbopen + bbclose;             txtarea.focus();             return;         }         document.selection.createRange().text = bbopen + theSelection + bbclose;         txtarea.focus();         return;     }     else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))     {         mozWrap(txtarea, bbopen, bbclose);         return;     }     else     {         txtarea.value += bbopen + bbclose;         txtarea.focus();     }     storeCaret(txtarea);}    function bbstyle(bbnumber) {     var txtarea = document.post.message;       txtarea.focus();     donotinsert = false;     theSelection = false;     bblast = 0;       if (bbnumber == -1) { // Close all open tags & default button names         while (bbcode[0]) {             butnumber = arraypop(bbcode) - 1;             txtarea.value += bbtags[butnumber + 1];             buttext = eval('document.post.addbbcode' + butnumber + '.value');             eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');         }         imageTag = false; // All tags are closed including image tags <img>         txtarea.focus();         return;     }       if ((clientVer >= 4) && is_ie && is_win)     {         theSelection = document.selection.createRange().text; // Get text selection         if (theSelection) {             // Add tags around selection             document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];             txtarea.focus();             theSelection = '';             return;         }     }     else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))     {         mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);         return;     }         // Find last occurance of an open tag the same as the one just clicked     for (i = 0; i <bbcode></script><div>{L_BLOCKS_TITLE}</div><br><div>{L_BLOCKS_TEXT}</div><br><form><table><tr> <th>{L_EDIT_BLOCK}</th></tr>  <tr> <td>{L_B_TITLE}:</td><td> <input></td></tr>  <tr> <td>{L_B_POSITION}:</td><td> <select>{POSITION}</select></td></tr>  <tr> <td>{L_B_ACTIVE}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>         <table>           <tr>             <td>{L_B_CONTENT}:<br><br><br></td>           </tr>           <tr>             <td> <br>               <table>                 <tr>                   <td><b>{L_EMOTICONS}</b></td>                 </tr>                 <BEGIN>                 <tr>                   <BEGIN>                   <td><a><img></a></td>                   <END>                 </tr>                 <END>                 <BEGIN>                 <tr>                   <td><span><a>{L_MORE_SMILIES}</a></span></td>                 </tr>                 <END>               </table>             </td>           </tr>         </table></td>       <td><table>         {BBC_DISPLAY_BOX}         <tr>             <td><textarea>{CONTENT}</textarea></td>         </tr>       </table></td>     </tr>  <tr> <td>{L_B_TYPE}:</td><td> <input> {L_B_BBCODE}  <input> {L_B_HTML}</td></tr>  <tr> <td>{L_B_CACHE}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>{L_B_CACHETIME}:</td><td> <input></td></tr>  <tr> <td>{L_B_BLOCK_FILE}:</td><td> <select>{BLOCKFILE}</select></td></tr>  <tr> <td>{L_B_VIEW_BY}:</td><td> <select>{VIEWBY}</select></td></tr>  <tr> <td>{L_B_BORDER}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>{L_B_TITLEBAR}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>{L_B_LOCAL}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>{L_B_BACKGROUND}:</td><td> <input> {L_YES}  <input> {L_NO}</td></tr>  <tr> <td>{L_B_GROUP}:</td><td> {GROUP}</tr>  <tr> <td>{S_HIDDEN_FIELDS} <input></td></tr></table></form><br>


I dont`t know.This should work,or should i remove something?
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Tue Jan 22, 2008 4:58 am

remove this part and let me know

Code: Select all
<script><!--// bbCode control by// subBlue design// [url=http]http://www.subBlue.com[/url]  // Startup variablesvar imageTag = false;var theSelection = false;  // Check for Browser & Platform for PC & IE specific bits// More details from: [url=http://www.mozilla.org/docs/web-developer/sniffer/browser_type.htmlvar]http://www.mozilla.org/docs/web-develop ... pe.htmlvar[/url] clientPC = navigator.userAgent.toLowerCase(); // Get client infovar clientVer = parseInt(navigator.appVersion); // Get browser version  var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)                 && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)                 && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));var is_moz = 0;  var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));var is_mac = (clientPC.indexOf("mac")!=-1);  // Helpline messagesb_help = "{L_BBCODE_B_HELP}";i_help = "{L_BBCODE_I_HELP}";u_help = "{L_BBCODE_U_HELP}";q_help = "{L_BBCODE_Q_HELP}";c_help = "{L_BBCODE_C_HELP}";l_help = "{L_BBCODE_L_HELP}";o_help = "{L_BBCODE_O_HELP}";p_help = "{L_BBCODE_P_HELP}";w_help = "{L_BBCODE_W_HELP}";a_help = "{L_BBCODE_A_HELP}";s_help = "{L_BBCODE_S_HELP}";f_help = "{L_BBCODE_F_HELP}";  // Define the bbCode tagsbbcode = new Array();bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list type=]','[/list]','[flash=,]','[/flash:3eeiyf7d]','[url]','[/url]');imageTag = false;  // Shows the help messages in the helpline windowfunction helpline(help) {    document.post.helpbox.value = eval(help + "_help");}    // Replacement for arrayname.length propertyfunction getarraysize(thearray) {    for (i = 0; i <thearray>= 4) && is_ie && is_win) {       theSelection = document.selection.createRange().text;       if (!theSelection) {          txtarea.value += bbopen + bbclose;          txtarea.focus();          return;       }       document.selection.createRange().text = bbopen + theSelection + bbclose;       txtarea.focus();       return;    }    else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))    {       mozWrap(txtarea, bbopen, bbclose);       return;    }    else    {       txtarea.value += bbopen + bbclose;       txtarea.focus();    }    storeCaret(txtarea);}    function bbstyle(bbnumber) {    var txtarea = document.post.message;      txtarea.focus();    donotinsert = false;    theSelection = false;    bblast = 0;      if (bbnumber == -1) { // Close all open tags & default button names       while (bbcode[0]) {          butnumber = arraypop(bbcode) - 1;          txtarea.value += bbtags[butnumber + 1];          buttext = eval('document.post.addbbcode' + butnumber + '.value');          eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');       }       imageTag = false; // All tags are closed including image tags <img>       txtarea.focus();       return;    }      if ((clientVer >= 4) && is_ie && is_win)    {       theSelection = document.selection.createRange().text; // Get text selection       if (theSelection) {          // Add tags around selection          document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];          txtarea.focus();          theSelection = '';          return;       }    }    else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))    {       mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);       return;    }        // Find last occurance of an open tag the same as the one just clicked    for (i = 0; i <bbcode></script>
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Tue Jan 22, 2008 3:10 pm

Yes that did the trick the buttons are working now,but the codes are not working.

I want to use the flash code and i get this:

Code: Select all
[flash width=180 height=246]file.swf[/flash:e6b4606ec1]


And other extra codes are also not working.
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: CaNNon » Wed Jan 23, 2008 12:10 am

There was a BB code fix around here for a similar issue but I can't seem to find it.
If anyone has it bookmarked could you post a link for siljo to have a look?

Thanks.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Wed Jan 23, 2008 4:52 pm

Is [url=http]THIS[/url] the one?
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: CaNNon » Wed Jan 23, 2008 11:08 pm

Thats good info but I was looking for one that had a issue with [b] (not sure if thats the right tag) I think they had a fix for it. I know it's not your exact problem but it mat have given you some ideas.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Joined: Thu Apr 19, 2007 12:15 pm

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Thu Jan 24, 2008 3:58 am

Add

Code: Select all
//-- mod ]

after

[code]include($phpbb_root_path . 'includes/functions_post.'.$phpEx);include($phpbb_root_path . 'includes/bbcode.'.$phpEx);


in admin/admin_blocks.php

see if that helps.
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Fri Jan 25, 2008 3:27 am

No it`s still the same.
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Fri Jan 25, 2008 4:58 am

Hi

Ok I added this file to my admin folder to get this to work... probably not the right way of doing it but it worked for me...

please find attached
Attachments
templates.rar
upload to root/admin
(59.29 KiB) Downloaded 222 times
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Re: IM Portal & BBcode Box Reloaded

PostAuthor: siljo » Fri Jan 25, 2008 3:06 pm

No it is still showing me uid when i post it to block.I think that the problem is in block?
Last edited by siljo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

siljo
Members
Members
 
Posts: 36
Joined: Sun May 13, 2007 1:46 pm
Location: Slovenia

Re: IM Portal & BBcode Box Reloaded

PostAuthor: found it » Sat Jan 26, 2008 1:37 am

I have this working on one of my sites.... I will find all the files and post them here...
Last edited by found it on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Joined: Mon Mar 27, 2006 4:29 am

Next

Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron