Template Errors: PAGE_CONTAINER

  1. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 429:
    428: $uix_fixedNavigationHeight_outer = '';
    429: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    430: $__compilerVar5 .= '
    
  2. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 429:
    428: $uix_fixedNavigationHeight_outer = '';
    429: $uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigationHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedNavigation_style.padding-bottom'));
    430: $__compilerVar5 .= '
    
  3. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 434:
    433: $uix_tabLinksHeight_outer = '';
    434: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width'));
    435: $__compilerVar5 .= '
    
  4. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 434:
    433: $uix_tabLinksHeight_outer = '';
    434: $uix_tabLinksHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeight') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinks_style.border-top-width'));
    435: $__compilerVar5 .= '
    
  5. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 438:
    437: $uix_tabLinksHeightSticky_outer = '';
    438: $uix_tabLinksHeightSticky_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_tabLinksHeightSticky') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.padding-bottom') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_tabLinksSticky_style.border-top-width'));
    439: $__compilerVar5 .= '
    
  6. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 443:
    442: $userBar_headerTabHeight_outer = '';
    443: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    444: $__compilerVar5 .= '
    
  7. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 443:
    442: $userBar_headerTabHeight_outer = '';
    443: $userBar_headerTabHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_userBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_userBar_style.padding-bottom'));
    444: $__compilerVar5 .= '
    
  8. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 447:
    446: $userBar_uix_fixedNavigationHeight_outer = '';
    447: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    448: $__compilerVar5 .= '
    
  9. A non-numeric value encountered in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 447:
    446: $userBar_uix_fixedNavigationHeight_outer = '';
    447: $userBar_uix_fixedNavigationHeight_outer .= (XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBarHeight') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-top-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.border-bottom-width') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-top') + XenForo_Template_Helper_Core::styleProperty('uix_fixedUserBar_style.padding-bottom'));
    448: $__compilerVar5 .= '
    
  10. htmlspecialchars() expects parameter 1 to be string, array given in /var/www/vg12/library/XenForo/Template/Abstract.php(279) : eval()'d code, line 21108:
    21107: {
    21108: $__compilerVar512 .= '<li><a href="' . htmlspecialchars($xenOptions['privacyPolicyUrl'], ENT_QUOTES, 'UTF-8') . '">' . 'Privacy Policy' . '</a></li>';
    21109: }
    

Cách ghi hợp âm có thể đổi được key

Discussion in 'GP/Tab Bài Hát' started by fatblackchicken, Jul 26, 2007.

Thread Status:
Not open for further replies.
  1. Ken

    Ken
    VG-Chord Project
    Expand Collapse

    Joined:
    Feb 22, 2005
    Messages:
    1,231
    Likes Received:
    0
    Trophy Points:
    38
    Đoạn script thì có đây rồi:<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>function sharp_flat(source, code){var src = ["Ab", "A", "A#", "Bb", "B", "C", "C#", "Db", "D", "D#", "Eb", "E", "F", "F#", "Gb", "G", "G#"];var sharp = ["A", "A#", "B", "B", "C", "C#", "D", "D", "D#", "E", "E", "F", "F#", "G", "G", "G#", "A"];var flat = ["G", "Ab", "A", "A", "Bb", "B", "C", "C", "Db", "D", "D", "Eb", "E", "F", "F", "Gb", "G"];for (var i = 0; i < 17; ++i)if (src == source)if (code == '#') return sharp; else return flat;return "";}function changeStyle(obj, code){oParent = obj.parentNode;if (oParent.tagName != 'DIV') oParent = oParent.parentNode;if (oParent.tagName != 'DIV') return;chords = oParent.getElementsByTagName("SPAN");for (i = 0; i < chords.length; ++i) {chordObj = chords;if (chordObj.getAttribute("name") != "chord") continue;chordStyle = chordObj.style;switch (code) {case 'I': if (chordStyle.fontStyle == "italic") chordStyle.fontStyle = "normal";else chordStyle.fontStyle = "italic";break;case 'B':if (chordStyle.fontWeight == "bold") chordStyle.fontWeight = "normal";else chordStyle.fontWeight = "bold";break;case '()':chordObj.innerHTML = chordObj.innerHTML.replace(reChords, "($1)");break;case '[]':chordObj.innerHTML = chordObj.innerHTML.replace(reChords, "[$1]");break;case 'bgcolor':chordStyle.color = obj.style.backgroundColor;break;case 'b':case '#':chordObj.innerHTML = chordObj.innerHTML.replace(reOneChord, function($0, $1, $2, $3) {return sharp_flat($2, code) + $3;});break;}}}function bodyLoad(){chord = "(([A-G][b#]?)((7sus4|7sus2|sus4|sus2|dim|aug|add9|m7M|maj7|m9|m7|m6|m|7M|9|7|6)?(\\s*[-/]?\\s*)))";openBracket = "[\\[\\(]";closeBracket = "[\\]\\)]";reOneChord = new RegExp(chord, "g");reChords = new RegExp(openBracket + "(" + chord + "+)" + closeBracket, "g");document.body.innerHTML = document.body.innerHTML.replace(reChords, "$&");}</div>Để tiện dùng chỉ cần nhờ ai đó rành về php định nghĩa thêm cho một cái BBcode để chèn đoạn JScript này vào thẻ <script> và gọi function bodyLoad() trong thẻ body <body onload="bodyLoad();">. Như vậy mỗi khi post hợp âm chỉ cần dùng BB đó là được.
     
  2. Ken

    Ken
    VG-Chord Project
    Expand Collapse

    Joined:
    Feb 22, 2005
    Messages:
    1,231
    Likes Received:
    0
    Trophy Points:
    38
    Đoạn script thì có đây rồi:<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>function sharp_flat(source, code){var src = ["Ab", "A", "A#", "Bb", "B", "C", "C#", "Db", "D", "D#", "Eb", "E", "F", "F#", "Gb", "G", "G#"];var sharp = ["A", "A#", "B", "B", "C", "C#", "D", "D", "D#", "E", "E", "F", "F#", "G", "G", "G#", "A"];var flat = ["G", "Ab", "A", "A", "Bb", "B", "C", "C", "Db", "D", "D", "Eb", "E", "F", "F", "Gb", "G"];for (var i = 0; i < 17; ++i)if (src == source)if (code == '#') return sharp; else return flat;return "";}function changeStyle(obj, code){oParent = obj.parentNode;if (oParent.tagName != 'DIV') oParent = oParent.parentNode;if (oParent.tagName != 'DIV') return;chords = oParent.getElementsByTagName("SPAN");for (i = 0; i < chords.length; ++i) {chordObj = chords;if (chordObj.getAttribute("name") != "chord") continue;chordStyle = chordObj.style;switch (code) {case 'I': if (chordStyle.fontStyle == "italic") chordStyle.fontStyle = "normal";else chordStyle.fontStyle = "italic";break;case 'B':if (chordStyle.fontWeight == "bold") chordStyle.fontWeight = "normal";else chordStyle.fontWeight = "bold";break;case '()':chordObj.innerHTML = chordObj.innerHTML.replace(reChords, "($1)");break;case '[]':chordObj.innerHTML = chordObj.innerHTML.replace(reChords, "[$1]");break;case 'bgcolor':chordStyle.color = obj.style.backgroundColor;break;case 'b':case '#':chordObj.innerHTML = chordObj.innerHTML.replace(reOneChord, function($0, $1, $2, $3) {return sharp_flat($2, code) + $3;});break;}}}function bodyLoad(){chord = "(([A-G][b#]?)((7sus4|7sus2|sus4|sus2|dim|aug|add9|m7M|maj7|m9|m7|m6|m|7M|9|7|6)?(\\s*[-/]?\\s*)))";openBracket = "[\\[\\(]";closeBracket = "[\\]\\)]";reOneChord = new RegExp(chord, "g");reChords = new RegExp(openBracket + "(" + chord + "+)" + closeBracket, "g");document.body.innerHTML = document.body.innerHTML.replace(reChords, "$&");}</div>Để tiện dùng chỉ cần nhờ ai đó rành về php định nghĩa thêm cho một cái BBcode để chèn đoạn JScript này vào thẻ <script> và gọi function bodyLoad() trong thẻ body <body onload="bodyLoad();">. Như vậy mỗi khi post hợp âm chỉ cần dùng BB đó là được.
     
  3. songyeu225_1910

    Mới tập romance
    Expand Collapse

    Joined:
    Mar 14, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Home Page:
    Bạn ơi có thể cho mình xin cái Setup của chương trình này không? Chỗ của mình cũng có mấy người hay chơi guitar và không phải ai cũng hát cùng một tông. Bạn có thể cho mình xin để cài vào máy đựoc không? mình không có điều kiện lên Net nhiều. Thank a lot
     
  4. loivekhan

    Mới tập romance
    Expand Collapse

    Joined:
    Aug 16, 2005
    Messages:
    189
    Likes Received:
    0
    Trophy Points:
    0
    hay lắm thanks you
     
  5. songyeu225_1910

    Mới tập romance
    Expand Collapse

    Joined:
    Mar 14, 2006
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Home Page:
    Quá tuyệt luôn. Cảm ơn bạn nhiều nhé. Đúng là thứ mà hội gà Guitar như mình đang cần
     
  6. DIИOSAUЯ™

    [Super Noob]
    Expand Collapse

    Joined:
    Nov 30, 1999
    Messages:
    6,507
    Likes Received:
    0
    Trophy Points:
    38
    Gender:
    Male
    Location:
    San Siro
    Home Page:
    fatblackchicken đâu rồi ? phát triển tiếp đi chứ, tớ ủng hộ và sẵn sàng chung sức :)
     
  7. luongmay

    Mới tập romance
    Expand Collapse

    Joined:
    Apr 15, 2006
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    theo mình thì không nhất thiết phải chền SCR vào làm gì cho mêt. Muốn đổi bài nao thi fchỉ iệc mở trình scr bằng frontpages vau đó coppy bài hát vào và save lại>>>>OK
     
  8. leonidas

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Jul 17, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    ban Fatblackchicken, minh k hiểu gì về scrip lắm nhưng những người yêu nhạc như tụi mình rất cần sự nhiệt tình và chia sẻ của bạn.Hoan nghênh và luôn ủng hộ bạn.Cám ơn bạn nhiều. Cố lên fatblackchicken !
     
  9. hacking

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Oct 26, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Trông ông bạn làm cũng được nhưng mất công làm như thế làm luôn 1 file.CHM cho nó lành người nói chung rất nhiều kiểu bạn dùng HTML trông cũng hay nhưng mình có ý kiến bạn nên dùng Frameset trong HTML để quản lý Tree dễ hơn đồng thời khi mở các file cũng hay hơn đảm bảo bạn sẽ làm nhanh hơn cai tree của bạn post lêndù sao ý tưởng của bạn cũng rất hayBạn xem mình edit của bạn như thế này các bạn thây thế nàoxem Click here =D>có thể down về xem.Down ve coi diCông nhận ông bạn làm mất công chắc cũng đến mấy đêm dù sao mình cũng thấy haycác bạn xem làm như mình trông có dễ nhìn hơn không mình chỉ lấy data của ông bạn kia sửa lại 1 chút trong vòng 15 phút thôi
     
  10. yew

    yew
    Lui về Lệ Chi Viên dưỡng già rồi!
    Expand Collapse

    Joined:
    Jan 19, 2006
    Messages:
    3,360
    Likes Received:
    2
    Trophy Points:
    38
    Gender:
    Male
    Location:
    Ha Noi
    Home Page:
    :D :D Hoan nghênh đồng chí,trông rất trực quan!Anh em có ai giỏi viết Mod của VBB ko nhỉ?Tích hợp được mấy công cụ hỗ trợ soạn vào thì tốt!Có gì PM cho tớ nhé!
     
  11. hacking

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Oct 26, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    nè mình mới làm cái ebook này các bạn thấy thế nào cho đánh giá đi nhéCùng chung và ủng hộ ý tưởng của anh em thôiDOWN DI O DAYhãy cho nhận xét chân thành nhé
     
  12. yew

    yew
    Lui về Lệ Chi Viên dưỡng già rồi!
    Expand Collapse

    Joined:
    Jan 19, 2006
    Messages:
    3,360
    Likes Received:
    2
    Trophy Points:
    38
    Gender:
    Male
    Location:
    Ha Noi
    Home Page:
    Cái này ưu điểm là tích hợp các bài hát vào 1 file dễ tra cứu(giống các phần mềm chordbook) nhưng làm kiểu này ko phát huy được vụ thay đổi Key này :D
     
  13. born2try

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Jun 17, 2008
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    Ờ thì cũng được. :D Nhưng mờ theo em thì cứ tậu một cái capo. Thế cho tiện. Nhẩy?
     
  14. cuong161090

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Apr 27, 2007
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Chà chà, rôm rả quá. Em xin có ý kiến thế này, chủ yếu là tổng hợp ý kiến thôi:-Thứ nhất : Về code thì em xin góp ý là nên tạo 1 hàm hoặc 1 thủ tục để dịch chuyển hợp âm theo quãng chứ không phải theo dấu # và b. Như thế sẽ phát triển được cho việc lùi, tiến vài quãng.-Thứ hai: Có lẽ anh chickken nên làm 1 file html để tạo các frame và các cây giống như windows explorer để quản lý thư mục. Mỗi thư mục sẽ bao gồm các bài hát xếp theo anphabe.
     
  15. boykute13

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Jun 29, 2008
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    hay quá.thank bạn nhiều nha
     
  16. vntoday007

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Feb 17, 2009
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    1
    có thể thay đổi được key bình thường tuy nhiên mình làm lại hết bằng html nên cũng ngại vì để như cũ mất tính thẩm mỹ quá Hacking mất AC :(
     
  17. hacking

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Oct 26, 2007
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    ok rùi các pac ơi \:(/
     
  18. ngp130895

    Đồ rê mi fa sol ...
    Expand Collapse

    Joined:
    Jun 29, 2011
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Link die ròi bác ơi :(
     
  19. dangan

    Moderator
    Expand Collapse

    Joined:
    Dec 27, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    8
    bác nào up lại cái script change key cho em tham khảo với
     
Thread Status:
Not open for further replies.

Share This Page