{"id":106,"date":"2008-01-30T19:52:19","date_gmt":"2008-01-31T00:52:19","guid":{"rendered":"http:\/\/www.kasdorf.name\/wordpress\/2008\/creating-the-kazology-blogroll-part-3\/"},"modified":"2022-11-29T16:08:18","modified_gmt":"2022-11-29T21:08:18","slug":"creating-the-kazology-blogroll-part-3","status":"publish","type":"post","link":"https:\/\/www.kasdorf.name\/wordpress\/2008\/01\/30\/creating-the-kazology-blogroll-part-3\/","title":{"rendered":"Creating the Kazology Blogroll &#8211; Part 3"},"content":{"rendered":"<p>After getting the suggested changes to the PHP code courtesy of Andrew at Geeky Weekly. . . I spent a few more hours playing around editing the Powerblogroll PHP code &#8211; down in the area below the big &#8220;DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING&#8221; remark&#8230;.. (insert screen capture of the really nasty errors here &#8211; I didn&#8217;t even know my blog spoke Japanese!)<\/p>\n<blockquote><p>&#8220;DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING&#8221;<\/p><\/blockquote>\n<p>Code Hacker Tip #3,298 &#8211; when editing code that you have no idea what will happen&#8230; always, and I repeat, always, keep a copy of the original code in a different directory to move back real quick when you hose everything up! (I saw an article on how to create a local copy of Word Press for experimenting on&#8230; which would be really cool, but again&#8230; I need the Ultimate Dummy directions for something like that, so all my changes go out live to see what happens being prepared to make a quick reversal if it is really bad. &#8211; get back on focus here George)<br \/>\nI wonder different times as I play with plugins, and reading the FAQ on the authors web site, or the &#8220;readme.txt&#8221; file with the plugin in, do they have any idea how confusing this is for many people?<\/p>\n<blockquote><p>Hey after all I took Fortran back in college!<\/p><\/blockquote>\n<p>While I joke about being completely illiterate, I do have some degree of familiarity with code and at least vaguely understand the principles, (Hey after all I took Fortran back in college!) but still this is difficult. So when an author documents, or replies to an already confused person trying to implement their plugin by just writing &#8220;just add &lt; !-YouAreDense$&amp;%20##.PHP&gt; and it will work&#8221;, what I think they do not understand is<\/p>\n<p>a) If I am having to write you for help I am obviously already confused<br \/>\nb) that I have no idea WHERE to add this<br \/>\nc) The code is maybe garbled since it was converted to HTML and back again inserting bogus characters into the &#8220;very simple statement to be added&#8221;.<\/p>\n<p>I think this is no great revelation here, anyone that has never written a plugin or widget probably understands what I am talking about. So authors, please, comment your code carefully, then in your instructions show related code so we know where to put that little line&#8230; Even in one plugin you are to &#8220;change the option from false to true&#8221; to do something else&#8230; how about adding &#8220;This is easily done by removing the &#8220;remarks code&#8221; &#8220;\/\/&#8221; from the line you want to activate and adding it to the line you wish to de-activate.&#8221; Maybe, you argue, if the user does not even have that degree of knowledge they should not be doing this&#8230; I disagree. I am willing to try, but need more hand holding to get me started. Maybe some day I will learn this and would not need to refer to a step-by-step direction, but until then help us out!<\/p>\n<p>Getting to the conclusion &#8211; eventually: Taking the offered lines of code, figuring out where to replace them (another aside&#8230; drat I am never going to get to the end&#8230; the author really did do a good job of explaining, even adding the line number to be replaced. That helps, IF I am using a &#8220;real PHP code editor&#8221; that lists line numbers, but if I am using Note Pad to edit&#8230; I got no line numbers! See how this is all confusing to newbies? Anyway&#8230; I compared the suggested code to the original, figured out where it went, converted the mangled characters to the proper syntax and saved the modified version. I uploaded it, and boom, trashed web page. Oops, put back the original, check changes, save again and upload again. Success!! A great looking web page, ordered the way I want it, not how it want to. Went into the Admin Panel again, changed some links around and checked the results&#8230;ooops, nothing again. What the #$@%^! is going on. In the Admin Panel for MyLinkOrder when I selected a category to order I was getting extra entries showing. I carefully checked the listing of entries, opened each one up, verified each one had the correct category assigned and tried again&#8230; No luck. I kept playing around for a while, I finally found that I had to open each blogroll entry up, select the proper category again, even if it looked correct, save it, then tried again. Success! Only the proper links assigned to a category appeared in the &#8220;order links here&#8221; field. I set the order the way I wanted them to appear, updated, and went out to view the BlogRoll Page for the 257th time. TA-DA!! I am one happy camper now! It is a work of art, a sight to behold (or is that site to behold), cooking with gas, better &#8216;en sliced bread. I pwned it (honestly I have never figured that one out.) W00T W00T.<\/p>\n<blockquote><p>TA-DA!! I am one happy camper now! It is a work of art, a sight to behold!<\/p><\/blockquote>\n<p>Check it out!<\/p>\n<p>Now&#8230; since this is so long, I think I am going to try out the &#8220;continued on page&#8221; plug in&#8230;. cross your fingers!<\/p>\n<p>Until the final link opens,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part 3 of how I created the Powerblogroll on Kazology.<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[22,18,16,21,20],"series":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-wordpress-playground","tag-blogroll","tag-coding","tag-plugins","tag-projects","tag-word-press"],"_links":{"self":[{"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/tags?post=106"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.kasdorf.name\/wordpress\/wp-json\/wp\/v2\/series?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}