Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author trex005

    (@trex005)

    I just uploaded this plugin today, and it is my first plugin. Perhaps the system hasn’t picked it up yet, or perhaps I did something wrong.

    You can find the full code in the SVN : https://plugins.svn.www.ads-software.com/theme-catalog/branches/0.01/

    Thread Starter nick6352683

    (@nick6352683)

    Wow trex005, that was the quickest response ever!!!

    I will test it tonight, and I really hope to give you 5 stars tomorrow.

    Thanks a million.

    Plugin Author trex005

    (@trex005)

    Your very welcome. You will be my first tester, so let me know of any issues before you ding me! ??

    Thread Starter nick6352683

    (@nick6352683)

    Hey trex005,

    I encountered the first issue, the plugin cannot be activated because of this issue:

    Parse error: syntax error, unexpected ‘}’ in C:\Users\Nick\Desktop\Other Themes 8.6\root\wp43\wp-content\plugins\theme-catalog\theme-catalog.php on line 75

    I will now try to fix it, and I’m not a real “coder”, so let’s see. As soon as I find a solution I will post it here, if you don’t beat me to the punch.

    Plugin Author trex005

    (@trex005)

    it is working on my server, however that is right after some php open and close tags. maybe your server does not like that. Try replacing this:

    ?>
    <div class="wrap">
    	<h2>Theme Catalog Settings</h2>
    	<form method="post" action="options.php">
    	<?php
    		// This prints out all hidden setting fields
    		settings_fields($this->static_prefix . "_options");
    		do_settings_sections($this->static_prefix . "_options");
    		submit_button();
    	?>
    	</form>
    </div>
    <?php

    With this :

    echo '<div class="wrap">
    	<h2>Theme Catalog Settings</h2>
    	<form method="post" action="options.php">';
    		// This prints out all hidden setting fields
    		settings_fields($this->static_prefix . "_options");
    		do_settings_sections($this->static_prefix . "_options");
    		submit_button();
    	echo '</form>
    </div>';

    Thread Starter nick6352683

    (@nick6352683)

    That almost did the trick!

    I had to change line 1, from ?> to <?php. Now it’s activated and I can start testing. Thanks again,

    Thread Starter nick6352683

    (@nick6352683)

    I mistyped above: I meant that I had to change on line 1, from <? to <?php.

    Plugin Author trex005

    (@trex005)

    argh, I should know better than that! I know many servers can’t handle <?. Boo!

    Thread Starter nick6352683

    (@nick6352683)

    I don’t think this plugin is compatible with WP 4.3. I have a fairly new installation, and I disabled all the plugins, and I still don’t see the “Theme Catalog” menu under Settings.

    Also, are you sure all the files are there? I have one php file, one js file in the lib folder, and a png screenshot file in the assets folder.

    Plugin Author trex005

    (@trex005)

    I am using 4.3, so it is compatible. The tree should look like this

    assets/screenshot-1.png
    lib/jquery.lazyload.min.js
    readme.txt
    theme-catalog.php
    Plugin Author trex005

    (@trex005)

    Can you check to make sure it is indeed active?

    Thread Starter nick6352683

    (@nick6352683)

    Yes, I have everything. OK, tomorrow, I will setup a new WP installation, and try on a fresh site, I’ll also try 2-3 different servers as well.

    Thanks for your help, I’ll notify you tomorrow one way or another.

    Nothing comes easy – does it?

    Plugin Author trex005

    (@trex005)

    Of course not. If you are done for the day I understand, however if you’d like I can try to offer you more direct support now. I really would like to know what is going on. Use google, yahoo, msn, facebook or anything we could communicate real time with? Heck I could even let you call me. ??

    Thread Starter nick6352683

    (@nick6352683)

    Are you in the US?

    Plugin Author trex005

    (@trex005)

    Thanks for calling and sharing.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Code missing…’ is closed to new replies.