The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

icons in new post

3 posters

Page 1 of 2 1, 2  Next

Go down

Solved icons in new post

Post by qmars(pkq) July 16th 2014, 1:10 pm

hello
i have to problem
1. how can i remove these spaces between icons
icons in new post 1302537214respase
2. when i click on my host an image it doesnt work but after that when i click on my host an music it work at host an image mini browser
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 2:13 pm

Hi there qmars(pkq)
Have you changed anything in your templates ? this looks to me that you have changed something or you have added some thing new in your CSS that is messing this up.

If you give me a test account i will be happy to have a look for you.
all test accounts must be PM'd  for safety

Ape


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 2:23 pm

bro u can see them here
http://lemon-13.full-forum.com/t463-topic
in quick reply
or u want adminestrator password?
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 2:35 pm

qmars(pkq) wrote:bro u can see them here
http://lemon-13.full-forum.com/t463-topic
in quick reply
or u want adminestrator password?
the problem is i need to log in to see the quick reply box for me to see if there is any problem with codes i Do not need any Admin right's at this time thou just an account that gives me posting right's
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 2:37 pm

ok bro
username: APE
password : APE-13
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 2:49 pm

ok it dose look like you have added some buttons to your tool's that are not made right. it is blocking codes try and remove all the new codes one at a time until you find the one that is messing it up. i will keep looking for you as well on my end with my computer


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 2:55 pm

it was work befor i add music uploader icon
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 3:00 pm

where is that added ? is that JavaScript code? if so the code is broken Remove that code and then add the code here for one of us to look over the problem it maybe just that the code is not closed off right.


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 3:04 pm

Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/mu.jpg', // button image
        upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
        height : '400px', // iframe height
        width : '600px' // iframe width
    };
   
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
   
    $('.sceditor-button-pb').click(function() {
        var X = $('.sceditor-button-pb').offset().left;
        var Y = $('.sceditor-button-pb').offset().top + 25;
       
        if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container').hide();
    });
   
    $('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
placement : in the all page
when i select it on the topics it doesnt show
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 3:05 pm

Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
   
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
   
    $('.sceditor-button-pb').click(function() {
        var X = $('.sceditor-button-pb').offset().left;
        var Y = $('.sceditor-button-pb').offset().top + 25;
       
        if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container').hide();
    });
   
    $('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
and this is my img uploader
its placement is all pages too
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 3:06 pm

ok give me a sec to test this on my test site BRB


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 3:06 pm

and these are my css codes
Code:
.sceditor-button-servimg {
      display:none !important;
}
.sceditor-button-time div {
    display: none !important;
}
.sceditor-button-youtube div {
    display:  none !important;
}
.sceditor-button-fahide div {
    display: none !important;
}
.sceditor-button-faspoiler div {
    display: none !important;
  background-position: 0px;
}
.sceditor-button-date div {
    display: none !important;
}
.sceditor-button-dailymotion div {
    display: none !important;
}
.sceditor-button-more div {
    display: none !important;
}
.sceditor-button-horizontalrule div {
    display: none !important;
}
.sceditor-button-table div {
  background-position: 0px;
    display: none !important;
 
}
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 3:14 pm

ok i found your problem it's in your CSS files
Code:
.sceditor-button-servimg {
      display:none !important;
}
.sceditor-button-time div {
    display: none !important;
}
.sceditor-button-youtube div {
    display:  none !important;
}
.sceditor-button-fahide div {
    display: none !important;
}
.sceditor-button-faspoiler div {
    display: none !important;
  background-position: 0px;
}
.sceditor-button-date div {
    display: none !important;
}
.sceditor-button-dailymotion div {
    display: none !important;
}
.sceditor-button-more div {
    display: none !important;
}
.sceditor-button-horizontalrule div {
    display: none !important;
}
.sceditor-button-table div {
  background-position: 0px;
    display: none !important;
 
}
Remove that code and your find there all back again also you will find that your img up loader  is not working at all when pressed.


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 3:20 pm

so what should i do?
remove what?
add what?
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 3:22 pm

once you remove the CSS it will show all the buttons that are missing if you want t remove them buttons you will need to read this thread
http://www.avacweb.com/t1444-re-awe-30-the-sceditor-plugin

Ape


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 16th 2014, 3:26 pm

tnx bro ape
but
when i remove all css code of that
all icons shown
but that icon i want doesnt work yet
i can see it on my forum bro
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 16th 2014, 3:41 pm

ok where is the site the music is to be hosted from ?
give me that code

if you click the music one right now it goes to the pic up loader right and you need it swapped round
EDIT :
I have asked on a site on how to do all this on JavaScript for you on removing the buttons. as the code you have onlyhides the pic on the buttons not removes then.
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 17th 2014, 9:26 am

i dont know how to use these codes
this is my music uploader: http://lemon-13.com/m%20up/index.html
and this is my image uploader: http://lemon-13.com/upload-Center
i want to add two icons for these
and remove some icons as like as fasspoiler and hidden and date
how should i use these code?
what should i add to css and java script bro
tnx
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 17th 2014, 3:34 pm

read this thread it will help you on all the ways to remove your buttons
there is also a video to help more
http://www.avacweb.com/t1444-re-awe-34-the-sceditor-plugin
after trying all night and most of today I'm sorry but I can not get the two buttons to work no matter what I do maybe you could use the link gave in this posts to make them work as they tell you how to do it on there but not the way you have done it. Not sure it will work with your forum thou.

sorry i can not be on any more help

maybe the one that made the code can help you some more like pm the members and ask them to help you here on this thread.

Ape
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 20th 2014, 11:58 am

any one els cant help?
pls  Wink 
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 24th 2014, 12:28 am

Hi there mate i have asked one of our staff members to come and see if they can help you here on your problem there name is Ange Tuteur I hope that can help you on this as i know there good with codes. and the code you are using looks like something they used or even made.


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by Ange Tuteur July 24th 2014, 5:35 am

Hello,

The problem is you're using the same code twice without changing the selectors. Replace your image upload code by :
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
  
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
  
    $('.sceditor-button-pb2').click(function() {
        var X = $('.sceditor-button-pb2').offset().left;
        var Y = $('.sceditor-button-pb2').offset().top + 25;
      
        if (!document.getElementById('pb_frame') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container2').hide();
    });
  
    $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 24th 2014, 9:37 am

tnx u so much bro
but it doesnt work
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 24th 2014, 9:39 am

this is my img uploader java script codes
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
 
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
 
    $('.sceditor-button-pb2').click(function() {
        var X = $('.sceditor-button-pb2').offset().left;
        var Y = $('.sceditor-button-pb2').offset().top + 25;
     
        if (!document.getElementById('pb_frame') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container2').hide();
    });
 
    $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
and this is for music uploader
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/mu.jpg', // button image
        upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
        height : '400px', // iframe height
        width : '600px' // iframe width
    };
   
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
   
    $('.sceditor-button-pb').click(function() {
        var X = $('.sceditor-button-pb').offset().left;
        var Y = $('.sceditor-button-pb').offset().top + 25;
       
        if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container').hide();
    });
   
    $('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ange Tuteur July 24th 2014, 11:41 am

I forgot to switch the iframe ID, change the image upload to :
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
 
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
 
    $('.sceditor-button-pb2').click(function() {
        var X = $('.sceditor-button-pb2').offset().left;
        var Y = $('.sceditor-button-pb2').offset().top + 25;
   
        if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container2').hide();
    });
 
    $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 24th 2014, 10:11 pm

bro music uploader doesnt work
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ange Tuteur July 24th 2014, 11:50 pm

Seems to be working fine for me.
icons in new post Captur57
icons in new post Captur58


Did you do what I said here ? :
Ange Tuteur wrote:I forgot to switch the iframe ID, change the image upload to :
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
 
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
 
    $('.sceditor-button-pb2').click(function() {
        var X = $('.sceditor-button-pb2').offset().left;
        var Y = $('.sceditor-button-pb2').offset().top + 25;
    
        if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container2').hide();
    });
 
    $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: icons in new post

Post by Ape July 25th 2014, 4:46 pm

Hmm is also working fine for me to


icons in new post Left1212icons in new post Center11icons in new post Right112
icons in new post Ape_b110
icons in new post Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19436
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: icons in new post

Post by qmars(pkq) July 26th 2014, 10:28 am

i changed the image uploader codes to this code that u say
but now music uploader doesnt work
img uploader codes :
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/up.png', // button image
        upload : 'http://lemon-13.com/upload-Center', // iframe upload url
        height : '250px', // iframe height
        width : '500px' // iframe width
    };
 
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb2"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container2" class="sceditor-dropdown" style="display:none;"></div>');
 
    $('.sceditor-button-pb2').click(function() {
        var X = $('.sceditor-button-pb2').offset().left;
        var Y = $('.sceditor-button-pb2').offset().top + 25;
   
        if (!document.getElementById('pb_frame2') && $('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame2" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container2').css('display') == 'none') $('#pb_container2').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container2').hide();
    });
 
    $('.sceditor-button:not(.sceditor-button-pb2), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container2').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb2').removeClass('disabled') });
});
music uploader codes :
Code:
$(window).load(function() {
    var settings = {
        image : 'http://lemon-13.com/mu.jpg', // button image
        upload : 'http://lemon-13.com/m%20up/index.html', // iframe upload url
        height : '400px', // iframe height
        width : '600px' // iframe width
    };
   
    $('.sceditor-button-servimg').after('<a class="sceditor-button sceditor-button-pb"><div style="background-image:url(' + settings.image + ')"></div></a>');
    $('body').append('<div id="pb_container" class="sceditor-dropdown" style="display:none;"></div>');
   
    $('.sceditor-button-pb').click(function() {
        var X = $('.sceditor-button-pb').offset().left;
        var Y = $('.sceditor-button-pb').offset().top + 25;
       
        if (!document.getElementById('pb_frame') && $('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px').append('<iframe id="pb_frame" style="border:none;height:' + settings.height + ';width:' + settings.width + ';" src="' + settings.upload + '"></iframe>');
        else if ($('#pb_container').css('display') == 'none') $('#pb_container').show().css('left',X + 'px').css('top',Y + 'px');
        else $('#pb_container').hide();
    });
   
    $('.sceditor-button:not(.sceditor-button-pb), .sceditor-container textarea, .sceditor-container iframe').click(function() { $('#pb_container').hide() });
    $('.sceditor-container iframe').contents().mousedown(function() { $('#pb_container').hide() });
    $('.sceditor-button-source').click(function() { $('.sceditor-button-pb').removeClass('disabled') });
});
both check in in the all pages
qmars(pkq)
qmars(pkq)
Forumember

Posts : 210
Reputation : 1
Language : english,persian
Location : iran

http://lemon-13.full-forum.com

Back to top Go down

Solved Re: icons in new post

Post by Ange Tuteur July 27th 2014, 12:25 am

Please provide a link to your forum.

Thanks.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum