Icy Phoenix

     
 

BBCode Hide Message With An Image Buttom

BBCode Hide Message With An Image Buttom

Article
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
yay!    it works thanx.....        



 
aswin12 - View user's profile Send private message  
aswin12 [ Sun 09 Sep, 2007 19:43 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


BBCode Hide Message With An Image Buttom

Comments
Reply with quote    Download Post  
Post Re: BBCode Hide message with an image buttom 
 
great



 
Zuker - View user's profile Send private message  
Zuker [ Sun 09 Sep, 2007 20:05 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
Zuker wrote: [View Post]


With this changes, we have an image with the text of BBcode Hide explain.

But, the BBcode Hide doesn't have a bbcode button on posting.php (on reply).
With this changes, you can add this button.
Example Image of the button: Image of the button pressed
Follow this instructions:

Upload to /images/bbcb_mg/images/gif this images:
 = (rename this to hide.gif)
 = (rename this to hide1.gif)

In /languages/lang_xxx/bbcb_mg.js

FIND:
Code: [Download] [Hide] [Select]
s_smiley_creator =


AFTER, ADD

Code: [Download] [Hide] [Select]
s_hide_help = 'Hide a text, registered users must reply to view the hidden message: [hide]Quoted Hidden Message, which is still hidden.[/hide]';


FIND:

Code: [Download] [Hide] [Select]
var Td = 0;


AFTER ADD:

Code: [Download] [Hide] [Select]
var Hide = 0;


FIND:

Code: [Download] [Hide] [Select]
'[highlight=]'


AFTER ADD

Code: [Download] [Hide] [Select]
'[hide]Quoted Hidden Message, which is still hidden.[/hide]',


FIND:

Code: [Download] [Hide] [Select]
function BBCbold()


BEFORE ADD:

Code: [Download] [Hide] [Select]
function BBChide()
{
    var txtarea = document.post.message;
    
    if ((clientVer >= 4) && is_ie && is_win)
    {
        theSelection = document.selection.createRange().text;
        if (theSelection != '')
        {
            document.selection.createRange().text = "[hide]Quoted Hidden Message, which is still hidden.[/hide]";
            document.post.message.focus();
            return;
        }
    }
    else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
    {
        mozInsert(txtarea, "[hide]Quoted Hidden Message, which is still hidden.[/hide]");
        return;
    }
    ToAdd = "[hide]Quoted Hidden Message, which is still hidden.[/hide]";
    PostWrite(ToAdd);
}


In /templates/mg_themes/bbcb_mg.tpl

FIND:

Code: [Download] [Hide] [Select]
                            <a href="javascript:BBChl()" ><img border="0" src="{BBCB_MG_IMG_PATH}highlight{BBCB_MG_IMG_EXT}" name="highlight" onMouseOver="helpline('highlight')" alt="{L_BBCB_MG_HIGHLIGHT}" title="{L_BBCB_MG_HIGHLIGHT}" class="bbimages" /></a>


AFTER ADD:
Code: [Download] [Hide] [Select]
                            <a href="javascript:BBChide()" ><img border="0" src="{BBCB_MG_IMG_PATH}hide{BBCB_MG_IMG_EXT}" name="hide" type="image" onMouseOver="helpline('hide')" alt="Hide a message" title="Hide a message" class="bbimages" /></a>


(note: the text in alt="" and title="" must be with {language}

Now, with this changes, we have a new button to use the bbcode hide in the posting page


well i trie this but nothings work

when i post a message ill don't see the button for hide or /hide
and when i look from a other location at the post i see the image that ill look to a hidden message but unther the gif ill see the message that should be hidden

some body know's the solution ?

( sorry for my english i'm dutch )



 
MiNdPhAsEr - View user's profile Send private message  
MiNdPhAsEr [ Sat 22 Sep, 2007 10:38 ]
Reply with quote    Download Post  
Post Re: BBCode Hide message with an image buttom 
 
review your changes, this worked for lot's of guys



 
Zuker - View user's profile Send private message  
Zuker [ Tue 02 Oct, 2007 20:16 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
Zuker, thanks for this excelent mod... is very important in my forum...

I want to ask you for a modification: when a user quote the original post, he can see the hide message.. it´s possible to change that? I want to everyone Write something before see the message.. what do you think?



 
Mairena - View user's profile Send private message  
Mairena [ Wed 24 Oct, 2007 23:22 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
Topic updated to make it work with 1.2 please test it



 
Zuker - View user's profile Send private message  
Zuker [ Thu 06 Mar, 2008 13:16 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
zuker can u help me with Hide Message when i do it im my forum i go alot of problems can i Attach my bbcode and u add the imagen to the hide message plz couse    i never ge it good ?

 ocultar
 and this imagen when the user post a repley
ocultar_1205071898_756020



 
Master09 - View user's profile Send private message  
Master09 [ Sun 09 Mar, 2008 03:40 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
Zuker, una consulta funciona en la version Icy Phoenix  1.2.0.27a

Zuker, a consultation works in version Icy Phoenix  1.2.0.27a



 
edfara - View user's profile Send private message  
edfara [ Sat 19 Apr, 2008 18:42 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
Thanks for superfine "BBCode Hide Message With An Image Buttom"  Mod to Zuker.  Thanks Zuker 0056



 
ALTUN - View user's profile Send private message  
ALTUN [ Fri 13 Jun, 2008 22:43 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
I changed all files and upload images as was the explanation but I can not see the buttons on the panel BBCode.

he modificado todos los archivos y subi las imagenes como estaba en la explicacion pero no puedo ver los botones en el panel de bbcodes.



Alguna solucion? esto es en la version 1.2.0.27



 
Fade05 - View user's profile Send private message  
Fade05 [ Fri 18 Jul, 2008 00:35 ]
Reply with quote    Download Post  
Post Re: BBCode Hide Message With An Image Buttom 
 
hello

how to do it with phpbb3 style Avaloncyan?

i cant do that. please help me.

Thanks

sorry for bad english.



 
channelasian - View user's profile Send private message  
channelasian [ Thu 09 Jul, 2009 03:56 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 3 of 3
Goto page Previous  1, 2, 3