sijad Posted December 22, 2012 Share Posted December 22, 2012 File Name: CodeToolbar File Submitter: sijad File Submitted: 22 Dec 2012 File Category: Other style options Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x this hook add some options to codes like: View code (open code to a new popup) toggle numbers copy code (use zeroclipboard script) print code here to download this file Link to comment Share on other sites More sharing options...
Cyrem Posted December 24, 2012 Share Posted December 24, 2012 This is great, but, line numbers are not showing in topics. (With default skin) Link to comment Share on other sites More sharing options...
sijad Posted December 25, 2012 Author Share Posted December 25, 2012 This is great, but, line numbers are not showing in topics. (With default skin) you can get me a link, please send in pm :p Link to comment Share on other sites More sharing options...
Ravage Posted January 12, 2013 Share Posted January 12, 2013 not showing for me either. no numbers or icons (IPB 3.4.1) getting this error with this hook enabled: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Sat, 12 Jan 2013 18:37:53 +0000 Error: 1054 - Unknown column 'ranking' in 'order clause' IP Address: 173.245.56.208 - /forums/index.php?app=core&module=search&do=search&andor_type=&sid=2224b9c1bb11068225989f22c194f5d7&search_tags=hamavb&search_app_filters%5Bccs%5D%5BsearchInKey%5D=database_1&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortKey%5D=date_added&search_term=&search_app=ccs&search_app_filters%5Bccs%5D%5BsearchInKey%5D=database_1&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortKey%5D=relevancy&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortDir%5D= ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT r.*,xxx.* FROM ccs_custom_database_1 r LEFT JOIN ccs_database_categories cat ON ( r.category_id=cat.category_id ) LEFT JOIN permission_index p ON ( p.app='ccs' AND p.perm_type='categories' AND p.perm_type_id=cat.category_id ) LEFT JOIN core_tags_cache xxx ON ( xxx.tag_cache_key=MD5(CONCAT('ccs',';','records-1',';',r.primary_id_field)) ) WHERE r.category_id IN(11,22) AND (cat.category_has_perms=0 OR p.perm_view REGEXP ',2,|*') AND r.record_approved=1 AND r.primary_id_field=0 ORDER BY ranking desc LIMIT 0,25 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | xxx/applications_addon/ips/ccs/extensions/search/engines/sql.php | [search_engine_ccs]._searchDatabase | 136 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/sources/classes/search/controller.php | [search_engine_ccs].search | 544 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/applications/core/modules_public/search/search.php | [IPSSearch].search | 661 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/applications/core/modules_public/search/search.php | [public_core_search_search].searchResults | 171 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/sources/base/ipsController.php | [public_core_search_search].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' and [12-Jan-2013 18:42:02 UTC] PHP Parse error: syntax error, unexpected $end in /home/xxx/public_html/forums/xxx/sources/classes/output/publicOutput.php(3792) : eval()'d code on line 11 Link to comment Share on other sites More sharing options...
sijad Posted January 12, 2013 Author Share Posted January 12, 2013 not showing for me either. no numbers or icons (IPB 3.4.1) getting this error with this hook enabled: ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Sat, 12 Jan 2013 18:37:53 +0000 Error: 1054 - Unknown column 'ranking' in 'order clause' IP Address: 173.245.56.208 - /forums/index.php?app=core&module=search&do=search&andor_type=&sid=2224b9c1bb11068225989f22c194f5d7&search_tags=hamavb&search_app_filters%5Bccs%5D%5BsearchInKey%5D=database_1&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortKey%5D=date_added&search_term=&search_app=ccs&search_app_filters%5Bccs%5D%5BsearchInKey%5D=database_1&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortKey%5D=relevancy&search_app_filters%5Bccs%5D%5Bdatabase_1%5D%5BsortDir%5D= ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT r.*,xxx.* FROM ccs_custom_database_1 r LEFT JOIN ccs_database_categories cat ON ( r.category_id=cat.category_id ) LEFT JOIN permission_index p ON ( p.app='ccs' AND p.perm_type='categories' AND p.perm_type_id=cat.category_id ) LEFT JOIN core_tags_cache xxx ON ( xxx.tag_cache_key=MD5(CONCAT('ccs',';','records-1',';',r.primary_id_field)) ) WHERE r.category_id IN(11,22) AND (cat.category_has_perms=0 OR p.perm_view REGEXP ',2,|*') AND r.record_approved=1 AND r.primary_id_field=0 ORDER BY ranking desc LIMIT 0,25 .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | xxx/applications_addon/ips/ccs/extensions/search/engines/sql.php | [search_engine_ccs]._searchDatabase | 136 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/sources/classes/search/controller.php | [search_engine_ccs].search | 544 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/applications/core/modules_public/search/search.php | [IPSSearch].search | 661 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/applications/core/modules_public/search/search.php | [public_core_search_search].searchResults | 171 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | xxx/sources/base/ipsController.php | [public_core_search_search].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' and [12-Jan-2013 18:42:02 UTC] PHP Parse error: syntax error, unexpected $end in /home/xxx/public_html/forums/xxx/sources/classes/output/publicOutput.php(3792) : eval()'d code on line 11 these error not for me, i just call a .js file with php. for show icon please copy coodtoolbar folder in master image folder to your style image folder Link to comment Share on other sites More sharing options...
Ravage Posted January 12, 2013 Share Posted January 12, 2013 files were copied. and that error just happen with your hook enabled. and as you can see from screenie is just not icons showing. its icons and numbers. Link to comment Share on other sites More sharing options...
Ravage Posted January 13, 2013 Share Posted January 13, 2013 this is the error related to code toolbar [13-Jan-2013 00:17:55 UTC] PHP Parse error: syntax error, unexpected $end in /home/hh1/public_html/forums/surprise/sources/classes/output/publicOutput.php(3792) : eval()'d code on line 11 Link to comment Share on other sites More sharing options...
sijad Posted January 13, 2013 Author Share Posted January 13, 2013 files were copied. and that error just happen with your hook enabled. and as you can see from screenie is just not icons showing. its icons and numbers. if you copy icon in your style you should see icons, (please give me a link in pm) and numbers, you can't see numbers because you should click on toggle number icon for that this is the error related to code toolbar [13-Jan-2013 00:17:55 UTC] PHP Parse error: syntax error, unexpected $end in /home/hh1/public_html/forums/surprise/sources/classes/output/publicOutput.php(3792) : eval()'d code on line 11 thank you about that, i fix it. you can download new version. Link to comment Share on other sites More sharing options...
sijad Posted January 13, 2013 Author Share Posted January 13, 2013 if you want see numbers by default, see the attach image Link to comment Share on other sites More sharing options...
HomerSimpson Posted January 13, 2013 Share Posted January 13, 2013 the hook is empty , after installing it only shows v Link to comment Share on other sites More sharing options...
sijad Posted January 13, 2013 Author Share Posted January 13, 2013 the hook is empty , after installing it only shows v Fixed Link to comment Share on other sites More sharing options...
Ravage Posted January 14, 2013 Share Posted January 14, 2013 if you want see numbers by default, see the attach image How did you get to that window? Cant find it anywhere on settings. The error is gone btw. Regarding the icons it's weird. I even put the direct link on css and do not show them. Might be related to skin itself since it shows correctly on default theme but not on the one I am using (DarkMatter) Link to comment Share on other sites More sharing options...
spithas Posted January 14, 2013 Share Posted January 14, 2013 How did you get to that window?Cant find it anywhere on settings.The error is gone btw.Regarding the icons it's weird. I even put the direct link on css and do not show them. Might be related to skin itself since it shows correctly on default theme but not on the one I am using (DarkMatter)The same for me..Where is the button that i click to see the code? I don't see nothing.Can you atach a screen to see this button?? Link to comment Share on other sites More sharing options...
sijad Posted January 14, 2013 Author Share Posted January 14, 2013 How did you get to that window? Cant find it anywhere on settings. The error is gone btw. Regarding the icons it's weird. I even put the direct link on css and do not show them. Might be related to skin itself since it shows correctly on default theme but not on the one I am using (DarkMatter) The same for me.. Where is the button that i click to see the code? I don't see nothing. Can you atach a screen to see this button?? in ipb 3.4+ with click on code bbcode you can see this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.