PDA

View Full Version : My Customizations



thankgod
06-07-2010, 07:25 PM
Thought I'll be the first to contribute
Works for me on Socrates Theme Ver 1.2.1
**Disclaimer ... Use at your own risk :D

HOW TO REMOVE "SOCRATES" CLICKBANK LINK
File to edit: FOOTER.PHP

CHANGE
<?php $analytic = get_option("analyticOptions"); ?>
<a target="_blank" href="http://www.socratestheme.com/cb/go.php?id=<?php echo $analytic['click'] ?>"><div class="bottomBar"></div></a>

TO
<?php $analytic = get_option("analyticOptions"); ?>

thankgod
06-07-2010, 07:27 PM
Works for me on Socrates Theme Ver 1.2.1
**Disclaimer ... Use at your own risk :P

HOW TO REMOVE "COMMENTS ARE CLOSED" COMMENTS
File to edit: COMMENTS.PHP

CHANGE
<?php else : // this is displayed if there are no comments so far ?>
<p class="nocomments">Comments are closed.</p>
TO
<?php else : // this is displayed if there are no comments so far ?>

thankgod
06-07-2010, 07:28 PM
Works for me on Socrates Theme Ver 1.2.1
**Disclaimer ... Use at your own risk :P

HOW TO REMOVE POSTED BY WHO AND WHEN - PART ONE
File to edit: INDEX.PHP

DELETE
<div class="postAuthor">By <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>

HOW TO REMOVE POSTED BY WHO AND WHEN - PART TWO
File to edit: SINGLE.PHP
DELETE
<div class="postAuthor">by <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>

(added by admin)

If you want to just remove individual items inside this div you can do so. For example to just remove the date
just remove: on <?php the_time('l, F jS, Y') ?>

Dan Nickerson
06-07-2010, 07:47 PM
Thankgod, thanks for contributing.

Just to clarify in Version 2.0, you can control the author line from within the layout tab, and the footer link has more options as well in our page templates.

It's now commented so that it can be removed manually.

Also, please remember that you do earn commissions with the footer link embedded.

Robbie
06-27-2010, 05:23 PM
thanks for the info... when you say...

"Just to clarify in Version 2.0, you can control the author line from within the layout tab,"

Control meaning switch on or off... but you can't control showing just the author name without the date... yeah?

I presume I delete the red section...

<div class="postAuthor">By <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>

and leave this code just to show the authors name and no date?...

<div class="postAuthor">By <?php the_author_posts_link(); ?></div>

My next question is where to find this code... is it in "appearance" -> "editor" -> "layout" ?

Thanks Rob

The Exposure Strategist™
06-27-2010, 09:58 PM
Hi,
I'd like to use the Sexy Bookmarks Plugin and I've installed & activated but it's not showing up.

http://sexybookmarks.shareaholic.com/
I've looked at their Frequently asked questions and see this:

I've uploaded and activated the plugin but the icons aren't showing up!
This is by far the most common problem people tend to run into, and it's usually caused by their Wordpress theme. Check your theme's header.php file for <?php wp_head(); ?> within the <head> and </head> tags. If it is not there, then the plugin is unable to hook the stylesheet into your document, thus making it impossible to display the icons.
You might also check your theme's stylesheet for anything that ends with "!important;" as that has the potential to override any styles that are applied elsewhere.

Can I alter this entry in the header.php? Or do I find another Plugin?

Fiona :-)

Dan Nickerson
06-27-2010, 10:40 PM
Fiona,

I installed this plugin and it works perfectly with Socrates. Are you clicking into the post or viewing on main page?

No customization was needed.. I just activated and saved default options.

The Exposure Strategist™
06-28-2010, 01:54 AM
Hi Dan,
How embarrassing. My browser crashed after I posted this question. I restarted and went to the site and the plugin was showing.
Many thanks for your reply and apologies for bothering you uneccesarily.
Many thanks
Fiona :-)

ajpublishing
07-05-2010, 02:59 AM
Works for me on Socrates Theme Ver 1.2.1
**Disclaimer ... Use at your own risk :P

HOW TO REMOVE POSTED BY WHO AND WHEN - PART ONE
File to edit: INDEX.PHP

DELETE
<div class="postAuthor">By <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>

HOW TO REMOVE POSTED BY WHO AND WHEN - PART TWO
File to edit: SINGLE.PHP
DELETE
<div class="postAuthor">by <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></div>

(added by admin)

If you want to just remove individual items inside this div you can do so. For example to just remove the date
just remove: on <?php the_time('l, F jS, Y') ?>

------------------------------------------------------------------------------------
OK, maybe I'm missing something, but I did this, and it didn't work.
I am using the latest full release of Socrates (2.something). My browser is Firefox, and I'm using a Mac.
Now, here's the details of what I'm experiencing.
I remove the code form index.php
I click "update file" button, I am taken out of the control panel and to the main page of my blog.
I can go back to the editor and the code is still removed, but the data is still showing on my blog.

Many Thanks!

**Update**
I have closed my browser and gone back into my control panel. the removed code has returned.

Dan Nickerson
07-05-2010, 09:19 AM
Remember that in Version 2.03 you do not have to do this.. it's an option in your layout tab.

However, I would say that if you did manually edit this and it's still appearing you're probably running Wp super cache.

ajpublishing
07-05-2010, 09:23 AM
Thanks, Dan. I got it. I was slightly confused. I was running the older version of Socrates. I got it all figured out now.

confused
02-10-2011, 10:31 PM
and the footer link has more options as well in our page templates.

I can't find any reference to it, other than the option of putting my CB id in there.

How do I remove the link via the dashboard, without hacking into code?



Thanks


Alan

Dan Nickerson
02-10-2011, 10:41 PM
It's now commented so that it can be removed manually.

In the footer.php it's clearly now commented so a user can add html code.


<div class="footerContent">
<!-- You can insert text or html here to appear below bottom widget -->
</div>

I would not call the process "hacking the code". It's just a simple edit.

We do not have the option in the dashboard as it's rare for people to want to remove it, and unusual for themes to allow it.

If you'd like me to remove it for you I'd be happy to do it.

Here's the thread you should be referencing for instructions.

http://www.socratestheme.com/forum/showthread.php?t=1138

confused
02-10-2011, 11:20 PM
I spent years doing that kind of thing with Joomla and other such platforms, which drove me crazy.

That's why I'm trying to use WP and a paid theme.

You say you'll remove it for me, but:

1. I intend building around 50 sites
2. Those instructions look to me like they'd only remove the link, not the graphic

One enticement for the developer license was the "option" to remove the link.

A theme is software. It's software specially for adjusting the way the site looks.

To me, when software offers an option, it means you go to "Options", select the thing you want to change, tell it to change, and then click "OK".

It doesn't mean downloading an FTP program, figuring out the settings needed to set the thing up to access your directory files, figure out the file that needs changing, and then hacking/editing/fiddling with the PHP and HTML code itself.

Not to mention the problems I had trying to get the thing to upload a custom header on one site. It's NOT wp uploads, it's in the themes/socretes/uploads directory.

And even then I had to squish a paid-for header to suit the theme, which rather nullifies the point of a custom header (or a theme claiming control over the layout, which is the whole point of it really).


Are you going to be adding a simple 'click here to remove the footer link, including the graphic which might not suit your intended color scheme' button in the very near future?


Thanks,



Alan

Dan Nickerson
02-11-2011, 09:16 AM
Alan,

Once again, this is a rare request and if you remove this from 50 sites you'll also be giving up the potential 50% commissions you'd be earning from sales of our theme.

Most of our customers love the passive income.

Most software companies don't allow you to remove their logo without an extra fee, and even fewer give you an affiliate link. We do both.

As far as removing the image, you'll notice the div names are different.

That's so we can display a different background image on the "nologo" div which does not have the logo.

So I can assure you there is no image once you make the change.

You mention the "developer" option, but it's the "unlimited" license that allows you to remove the logo.

I don't know where your comment about FTP comes in. It's not necessary to install the theme or make edits to the theme.

Altering the footer is a simple edit in your Wordpress dashboard at: Appearance > Editor > Footer.php

Removing the footer link is a feature that we mention on order page. Nowhere we do we state it's an option or that there's a button for it.

As far as software and FTP. In my experience most web based scripts and software HAVE to be installed via FTP and there are often edits that have to be made to files. It's quite normal.

With Wordpress, at least you can do the install and editing via their platform and not FTP.

I do not know why you had problems with our header system or why it's relevant that it's in our directory. It just gets uploaded via our header manager. Our customers do not need to use FTP or know which directory it goes in.

I do not know how your header situation somehow nullifies our claim of giving our users control of the layout. They are separate systems.

As far as giving a push button removal of our logo, we were considering it but after this email exchange I'm considering removing the option altogether for new customers.

It was an extra caveat we through in, but so few people ever remove the logo it's not needed. You will be grandfathered in your license, if I do change it.

If you want to know the best way to install the "no logo" footer on 50 sites fast, all you need to do is replace the footer.php one-time in our socrates.zip file on your hard drive.

Then upload that zip file to your 50 domains instead of the default zip file.

I'd even send you that zip file if you wish and I'll modify it personally for you for every update.

confused
02-24-2011, 04:33 PM
Replying here has been on my to-do list for.. I dunno, feels like a month... but probably only a fortnight.

I've used a couple of other paid themes, both of which gave the option within the control panel. In fact I've just installed a directory plugin on one site, which gives you the option of removing everything from the footer, including the Wordpress stuff.

My primary concern is that it's an external one-way link away from my site/s, which I'm specifically building for hi-powered SEO. However I think I can make it no-follow via SEO Platinum. :cool:

If I can get the sites to rank I'm happy to take the CB earnings, my worry is not ranking in the first place.

Anyway, for now I'll leave it, if only as I'm very busy. But thank you again for the kind offer.

I do have another issue, hardly worth starting a new thread for:

For sites built around Adsense, there is a problem with the left-column layout.

Adsense blocks come in either 120 or 160 widths. This means the Socrates setting of 150 doesn't really fit either of them. At 120 there's a huge yawning gap between the ads and the content, with 160 the ads have their ends sliced off, which is not a happy predicament.

Could you please do me some little php file I can FTP for each such site, or explain in (very) simple terms how to adjust that column width?

Terms simple enough that a phphobic can understand and not screw things up :)


Thanks,


Alan

Dan Nickerson
02-24-2011, 06:50 PM
You can make it nofollow in the footer.php file.

Here's a link to the FAQ for sidebar widths.

http://www.socratestheme.com/forum/showthread.php?t=866

thaigerweb
07-02-2011, 12:59 AM
Remember that in Version 2.03 you do not have to do this.. it's an option in your layout tab.
.

How do we use this option? I have left the clickbank id field blank but it doesnt remove the logo.

Dan Nickerson
07-02-2011, 10:47 AM
Your quote from me was referencing the author date line, not the logo.