The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Doublt/Triple tutorial not working

View previous topic View next topic Go down

In progress Doublt/Triple tutorial not working

Post by Kirbs on November 17th 2012, 9:34 pm

as this links shows http://forum.dion-designs.com/viewtopic.php?f=18&t=8368 i got this link at my last thread then made it in my forum it didn't work is there anything wrong in the codes from the tutorial ?

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 18th 2012, 8:47 am

I did it in a test forum and it worked fine. Did you try checking on your javascript codes though?

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 18th 2012, 12:24 pm

yeah i did the java codes are ok and every thing but it won't show me

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 18th 2012, 1:20 pm

Try putting them in a widget and set it to moderators and staff

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 18th 2012, 2:58 pm

that will appear in the forum right? i don't want it to appear in the forum

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by RadioHead on November 18th 2012, 11:13 pm

Your issue & tutorial is with Dion, you need to go to DD and they will assist you there, as the code isn't from here at the support forum, and possible copyright issues.

RadioHead
Forumember

Posts : 337
Reputation : 23
Language : English (der?)

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 19th 2012, 12:01 pm

Yeah, it will automatically hide it and show in forum.

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 19th 2012, 6:26 pm

Kai can you post the codes you used at the test forum of yours? and i am not able to reach DD untiil they accept sign up

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 19th 2012, 9:20 pm

Well, I actually used a different code and the table code I used was a reference to Amy's code, so I really can't give it away since I respect the woman :/

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by kirk on November 20th 2012, 2:05 am

Actually you should ask Dion.
He is no longer a member so i am not even sure if we are going to allow links to his forum/thus promoting his forum here any longer. some things happened in the past with people trying to promote their forums by leading to tech stuff for forums, but we have decided if it is a link leading to other forums and is something open to the public for all to see that would help, then it would be permitted,

It can stay for now and let admin sanket decide,
But once again you may be better off asking Dion about it since it is one of his custom coding.


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Sanket on November 20th 2012, 10:06 am

Most of his scripts, he doesn't want people to use it or modify it in anyway. So I think, if something is not working with his script. None of the staff members would try to mess around with it just to respect Dion's principles.

I am sure Rideem has some tutorial to such a thing, i will ask him to post the link here.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 20th 2012, 2:34 pm

Kai you said you did it on a test forum id didn't knew it is another person code >,> , Rideem i will try the link u gave me

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 20th 2012, 8:31 pm

Oh right, forgot to mention I added a bit of my code so that it'll look the same as Dion's, but I had to revise a couple of parts here and there.

Though, I'll give you a hint about a bit of my code and Dion's code, I used a BB code or whatever that's called for the images itself and possible to modify everything to my liking, just not sure about Dion's though since for all I know, I could just write words on it, but apart from that, mine's able to possess a picture and rank or profile as I will and if my staff members use it lol.

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 21st 2012, 12:21 pm

I need the one as same as the tutorial shows it is better and i added the code for to make it work in my forum version

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 21st 2012, 12:28 pm

bars are nicer and the seize of them is better for my forum i got this code from DD and i used it , the buttons showed but no tables can some one add tables to it?
Code:
$(document).ready(function(){
    $('#text_edit').after('<div style="display:inline!important" id="text_editor_select_controls"><div class="select" id="notes"><button onclick="bbfontstyle(\'[table class=noteclassic][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/note10.png">Classic note</button><button onclick="bbfontstyle(\'[table class=notetip][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/tip10.png">Tip note</button><button onclick="bbfontstyle(\'[table class=notewarning][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/warn10.png">Warning note</button><button onclick="bbfontstyle(\'[table class=noteimportant][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/imp10.png">Important note</button><button onclick="bbfontstyle(\'[table class=notehelp][tr][td]\',\'[/td][/tr][/table]\');selectWysiwyg(this,\'notes\');return false"><img src="/users/2611/10/63/87/album/help10.png">Help note</button></div></div><button class="button2" onclick="selectWysiwyg(this,\'notes\')" onmouseover="helpline(\'BBcode notes\')" type="button"><img src="/users/2611/10/63/87/album/inote10.gif" /></button> <img src="http://illiweb.com/fa/wysiwyg/separator.png" style="vertical-align: middle;"> ');
    });

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 21st 2012, 12:35 pm

Allow HTML and change the bb codes to html instead, it'll make your life easier in posting too.

But yeah, as these guys said, just contact Dion or something.

Edit: Rideem helped me with this one awhile back and a couple more people since it didn't work a few times, but here.

ACP < Javascript < In all Pages < Paste < Save

Code:
(function(){var d={add:function(b,e,c){$(function(){if(document.getElementById("text_edit")){void 0==c&&(c="");var a=document.createElement("span");a.innerHTML='<button class="button2" style="height: 22px; margin-right: 5px;" onClick="bbfontstyle(\''+e+"', '"+c+"'); return false;\">"+b+"</button>";document.getElementById("new_buttons_area").appendChild(a)}})},list:function(b,e,c){$(function(){if(document.getElementById("text_edit")){var a=document.createElement("span");a.innerHTML='<input type="button" style="height: 22px; margin-right: 5px;" value="'+ b+'" onclick="selectWysiwyg(this, \''+c+'\');" class="button2">';document.getElementById("text_edit").appendChild(a);a=document.createElement("div");a.id=c;a.className="select";a.style.visibility="hidden";for(var d in e)a.innerHTML+="<button onmouseout=\"this.className='';\" onmouseover=\"this.className='selectHover';\" onclick=\"bbfontstyle('"+buttons.escape(e[d])+"', '');selectWysiwyg(this, '"+c+"');return false;\">"+d+"</button><br>";document.getElementById("text_editor_select_controls").appendChild(a)}})}, init:function(){$(function(){if(document.getElementById("text_edit")){var b=document.createElement("div");b.id="new_buttons_area";b.style.paddingTop="5px";document.getElementById("text_edit").parentNode.insertBefore(b,document.getElementById("text_edit").nextSibling)}})},escape:function(b){return b.replace(/'/g,"\\'").replace(/"/g,'\\"')}};window.buttons=d;d.init()})();

ACP < Modules < Forum Widget Management < Create a new widget < Moderators and Administrators Only < Paste < Save

Code:
<script type="text/javascript">
buttons.list('Staff Tools', {
    "NAME OF TOOL #1": "WHAT IT CONTAINS #1",
    "NAME OF TOOL #2": "WHAT IT CONTAINS #2",
    "NAME OF TOOL #3": "WHAT IT CONTAINS #3",
    "NAME OF TOOL #4": "WHAT IT CONTAINS #4"
}, "bbcode_list_1");</script>

Replace the NAME OF TOOL and WHAT IT CONTAINS to the picture given and then adding the table code.

Another edit: Check out the images he put in... I forgot to mention I used a diff image instead of the normal...

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 21st 2012, 1:44 pm

i used the codes and i edited the widget code this is it
Code:
<script type="text/javascript">
buttons.list('Staff Tools', {
    "info #1": "<img src="http://i.imm.io/Mqhg.png" border="0" alt="" /> #1",
    "correct / solved #2": "<img src="http://i.imm.io/Mqhy.png" border="0" alt="" /> #2",
    "not accepted / please change #3": "<img src="http://i.imm.io/Mqi7.png" border="0" alt="" /> #3",
    "change it / warning #4": "<img src="http://i.imm.io/MqiC.png" border="0" alt="" /> #4"
}, "bbcode_list_1");</script>
but there is no button showing me to press it and put this tables .

P.S :: how can i change HTML to bb thingy?

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 21st 2012, 7:45 pm

Problem with code is that it's not a table type. You just squashed in IMG codes and make the title codes shorter.

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kirbs on November 21st 2012, 8:17 pm

no this short code i used on the widget , as it said name of tool and what it contains .

Kirbs
Forumember

Posts : 628
Reputation : 18
Language : English

Back to top Go down

In progress Re: Doublt/Triple tutorial not working

Post by Kaizer Lee on November 21st 2012, 8:56 pm

you actually have to put the table code there...

Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

View previous topic View next topic Back to top


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