MicrostockGroup Sponsors


Author Topic: Help me understand Wordpress  (Read 8905 times)

0 Members and 1 Guest are viewing this topic.

« on: August 15, 2013, 08:22 »
0
I need help understanding Wordpress.

I received a notification about a "trackback" today. First, I don't know what a trackback or pingback is and how somebody can trigger it.

Second, that notification pointed me to a page where the trackback was left: http://picturebreeze.com/stock/photos/image/girl-getting-carried-away-by-helium-balloons/royalty-free-content-girl-getting-carried-away-by-helium-balloons/#main#comments
Where is this page coming from? Where does that text "Royalty Free Content" come from, again?

The original image page is http://picturebreeze.com/stock/photos/image/girl-getting-carried-away-by-helium-balloons/
I have disabled comments and discussions on image pages and therefore I'm wondering how somebody can still leave that "trackback"?

Any help is appreciated.


Ron

« Reply #1 on: August 15, 2013, 10:00 »
0
Someone linked to your site on their site and then you get a notification. Thats a trackback.

« Reply #2 on: August 15, 2013, 11:28 »
0
The Royalty Free Image addition to the title, is built into the SY template to find it, go to your dashboard select Symbiostock>Author Options, scroll down the page to Append Text to Title :Royalty Free Image   you can change whats in the box.

« Reply #3 on: August 15, 2013, 12:41 »
0
The Royalty Free Image addition to the title, is built into the SY template to find it, go to your dashboard select Symbiostock>Author Options, scroll down the page to Append Text to Title :Royalty Free Image   you can change whats in the box.

No, that's not the one.

« Reply #4 on: August 15, 2013, 13:51 »
0
I've no idea where that trackback is being generated, someone seems to be accessing the generic post format for the image rather than the normal custom format.

That 'Royalty Free Content:' text is generated in symbiostock_image_processor.php at line 917.

« Reply #5 on: August 15, 2013, 15:25 »
0
I've no idea where that trackback is being generated, someone seems to be accessing the generic post format for the image rather than the normal custom format.

That 'Royalty Free Content:' text is generated in symbiostock_image_processor.php at line 917.

Thanks for the information. I'm thinking the "generic post" page is probably part of the sitemaps and therefore can be found by all kinds of bots, crawlers and spiders.
The first question would be do we "need" the generic post page - and if we don't, how can we disable it?
Second, if we "need" it, how to disable the comments on this page?

Altering the symbiostock_image_processor.php will probably also alter the links and therefore the sitemaps which means it will create lots of crawling errors at Google Webmaster Tools.

« Reply #6 on: August 21, 2013, 07:55 »
0
I'm sorry but I have to bump this issue up again.

Why is this additional page being generated that looks like this http://www.picturemojo.co.nz/image/auckland-from-mount-eden/royalty-free-content-auckland-from-mount-eden/ as an example (I hope TL doesn't mind linking to this page)?

The pattern is http://yourdomain.com/image/your-image-title/royalty-free-content-your-image-title/ . Looks like every SYS site generates these (useless?) pages.

And second, how can I disable comments on these pages? Because that's where all the spam is coming from.

ShazamImages

  • ShazamImages.com
« Reply #7 on: August 21, 2013, 08:54 »
0
Why is this additional page being generated that looks like this...?


When you upload and process an image, two additional images are created: a thumbnail and a preview / watermarked version.

The preview / watermarked version is given a title of "Royalty Free Content: "... (in the database).

In order to change this, you would need to make a code change (for future images) and then update the database (for previously uploaded images).

I made the changes, since I wanted to remove the verbiage "Royalty Free" from my website, and changed it to "Stock Image".

You can take a look at one of my sample images here:

http://shazamimages.com/image/perfect-blue-water-drop/stock-image-perfect-blue-water-drop/


The pattern is http://yourdomain.com/image/your-image-title/royalty-free-content-your-image-title/ .


Actually, the pattern will only look like that if you don't change the permalink of your image from when it was originally uploaded.  If you upload the image and then change the permalink, then it will have a slightly different URL.

« Reply #8 on: August 21, 2013, 08:57 »
0


And second, how can I disable comments on these pages? Because that's where all the spam is coming from.

Try
Settings
Discussion
 Default article settings
   then untick
      Allow people to post comments on new articles

« Reply #9 on: August 21, 2013, 09:01 »
0


And second, how can I disable comments on these pages? Because that's where all the spam is coming from.

Try
Settings
Discussion
 Default article settings
   then untick
      Allow people to post comments on new articles

Thanks Christine, I changed that but it will obviously only apply to NEW articles. Which means I'd have to manually change 1300 already existing pages I don't need.

« Reply #10 on: August 21, 2013, 09:07 »
0
Why is this additional page being generated that looks like this...?


When you upload and process an image, two additional images are created: a thumbnail and a preview / watermarked version.

The preview / watermarked version is given a title of "Royalty Free Content: "... (in the database).

In order to change this, you would need to make a code change (for future images) and then update the database (for previously uploaded images).

I made the changes, since I wanted to remove the verbiage "Royalty Free" from my website, and changed it to "Stock Image".

You can take a look at one of my sample images here:

http://shazamimages.com/image/perfect-blue-water-drop/stock-image-perfect-blue-water-drop/


The pattern is http://yourdomain.com/image/your-image-title/royalty-free-content-your-image-title/ .


Actually, the pattern will only look like that if you don't change the permalink of your image from when it was originally uploaded.  If you upload the image and then change the permalink, then it will have a slightly different URL.


My question wasn't why two image versions are being created.
My question is why two different pages (with the same image but different text content) are being created. Especially since one of these seems not to do anything good.

To use your example:

Useful page: http://shazamimages.com/image/perfect-blue-water-drop/
Useless page: http://shazamimages.com/image/perfect-blue-water-drop/stock-image-perfect-blue-water-drop/


ShazamImages

  • ShazamImages.com
« Reply #11 on: August 21, 2013, 09:10 »
0
My question wasn't why two image versions are being created.
My question is why two different pages (with the same image but different text content) are being created. Especially since one of these seems not to do anything good.

To use your example:

Useful page: http://shazamimages.com/image/perfect-blue-water-drop/
Useless page: http://shazamimages.com/image/perfect-blue-water-drop/stock-image-perfect-blue-water-drop/


I'm not exactly sure if both pages are REQUIRED, but the second page can be viewed as an "attachment" and the first page can be viewed as a "post".
« Last Edit: August 21, 2013, 09:12 by ShazamImages »

« Reply #12 on: August 21, 2013, 09:12 »
0
My question wasn't why two image versions are being created.
My question is why two different pages (with the same image but different text content) are being created. Especially since one of these seems not to do anything good.

To use your example:

Useful page: http://shazamimages.com/image/perfect-blue-water-drop/
Useless page: http://shazamimages.com/image/perfect-blue-water-drop/stock-image-perfect-blue-water-drop/


The second page can be viewed as an "attachment" and the first page can be viewed as a "post".


I guess the second version could also be seen as content spam by search engines.

ShazamImages

  • ShazamImages.com
« Reply #13 on: August 21, 2013, 09:22 »
0
Whether the additional page is required and if it causes issues with SEO would be questions for Leo (or someone that understands the architecture and internal workings of the theme).

« Reply #14 on: August 21, 2013, 09:47 »
0
To get the comments turned off on your images pages.  Go into your dashboard and click on the Symbiostock Bee area.  At the top of the page click on Author Options.  There will be a dropdown box about halfway down the page that says Image Comments.  You can disable comments from there.

I don't think you have to tick the Update all Existing Images box but I'm not entirely sure, though I don't remember doing that.

« Reply #15 on: August 21, 2013, 09:53 »
0
To get the comments turned off on your images pages.  Go into your dashboard and click on the Symbiostock Bee area.  At the top of the page click on Author Options.  There will be a dropdown box about halfway down the page that says Image Comments.  You can disable comments from there.

I don't think you have to tick the Update all Existing Images box but I'm not entirely sure, though I don't remember doing that.


No Anita, I have this setting disabled. That's not what I'm talking about. I was talking about the additional ("Useless") image page that will still allow comments. Just like your's at http://images.mddu.com/image/fourth-of-july-bottle-rocket-background/royalty-free-content-fourth-of-july-bottle-rocket-background/ , which will attract spammers sooner or later.

« Reply #16 on: August 21, 2013, 10:00 »
0
Ah okay.  I misunderstood.  Looking around in the media area can't locate a way to turn those off.

Lemme do an internet search.  I found something that I'm going to try out and then get back to you.

« Reply #17 on: August 21, 2013, 10:06 »
0
I found some information and it does take the comments off of those extra pages.

http://it4anyone.wordpress.com/2013/07/18/wordpress-turn-off-comments-globally-for-pages-and-media-attachments-only/

If you're using the child theme there will be a functions.php file already in there.  I made a new php file and overwrote the one in the child theme folder.  I'll just show you the code.

Code: [Select]
<?php

//switch off comments globally for media attachments and pages
function filter_media_comment_status$open$post_id ) {
    
$post get_post$post_id );
    if( (
$post->post_type == 'attachment')|| ($post->post_type == 'page') ) {
        return 
false;
    }
    return 
$open;
}
add_filter'comments_open''filter_media_comment_status'10 );




?>



Hopefully that didn't mess with anything else on the site I'm going to look around and see.  But this does work.

« Reply #18 on: August 21, 2013, 10:13 »
0
I've found the "Disable Comments" plugin. It'll do the job when you set it to "Disable Comments On Media Post Types". And it can be enabled/disabled without messing with code.

« Reply #19 on: August 21, 2013, 10:16 »
0
Ah but I'm not overwriting the core code my dear.  The child theme loads first before the main theme which is what I learned yesterday working on another Wordpress theme on my main site.

Still I would like to hear how the plugin works for you as well.

« Reply #20 on: August 21, 2013, 10:53 »
0
I've found the "Disable Comments" plugin. It'll do the job when you set it to "Disable Comments On Media Post Types". And it can be enabled/disabled without messing with code.

Thanks for that info, Redneck. I'm going to do that too.

I found 2 plugins that seem to do that job: "Disable Comments" and "PMC Disable Comments". Which one did you use? Or was it another plugin entirely?

Thanks!

« Reply #21 on: August 21, 2013, 10:59 »
0
I've found the "Disable Comments" plugin. It'll do the job when you set it to "Disable Comments On Media Post Types". And it can be enabled/disabled without messing with code.

Thanks for that info, Redneck. I'm going to do that too.

I found 2 plugins that seem to do that job: "Disable Comments" and "PMC Disable Comments". Which one did you use? Or was it another plugin entirely?

Thanks!

It's called "Disable Comments" by  Samir Shah.

« Reply #22 on: August 21, 2013, 11:03 »
0
I've found the "Disable Comments" plugin. It'll do the job when you set it to "Disable Comments On Media Post Types". And it can be enabled/disabled without messing with code.


Thanks for that info, Redneck. I'm going to do that too.

I found 2 plugins that seem to do that job: "Disable Comments" and "PMC Disable Comments". Which one did you use? Or was it another plugin entirely?

Thanks!

It's called "Disable Comments" by  Samir Shah.

Got it. Thanks!!

« Reply #23 on: August 21, 2013, 13:06 »
0
I don't know if this has been mentioned anywhere else so my apologies if this is inappropriate or I'm repeating someone, but food for thought:

For people who are very serious about this and want to heavily customize their websites using child themes, plugins and widgets, I highly recommend building a development environment locally (or a mirror) on their computers for testing or debugging.

I know this isn't directly related to the question or topic but I've been doing this (I've decided to go for it with my own Symbiostock project) and there's no way I'd go live, without first testing, testing, testing). It may seem like double the work, but it's helpful to work out some basic kinks before pushing to production.

I use WAMP myself. Some people use XAMPP as a local host/server. It's a personal choice (These are both Apache environments). 

My $0.02 cents worth.

Related to the topic:
Third party plugins are great, but after having worked with WordPress for about six years I've learned a few things. One being, sometimes the projects are abandoned for whatever reason. So you're left without a plugin or updates (WordPress updates A LOT). Two being, you don't have total control over what you want to do. Sometimes you want to dig into code (specifically the post/media php pages or the functions files using child themeing). It's not as scary as you think.

Practicing in a "localhost" or development sandbox allows you to play around without hurting anything... other than your brain.

Hope this helps.

« Reply #24 on: August 21, 2013, 18:46 »
0
I've found the "Disable Comments" plugin. It'll do the job when you set it to "Disable Comments On Media Post Types". And it can be enabled/disabled without messing with code.

Did you also disable it for Symbiostock Images?

I was getting a ton of spam comments on these types of pages and didn't know where they were coming from. Now I know, but I wonder why those pages are even generated? Like you said, "additional ("Useless") image page".

« Reply #25 on: August 21, 2013, 18:54 »
0
It's not the SY theme that's generating the pages.  The media section of WP does because I checked my other site and the page for the image existed in there.  So it's not an SY thing it's a WP thing.


 

Related Topics

  Subject / Started by Replies Last post
15 Replies
8032 Views
Last post December 15, 2008, 12:50
by Lcjtripod
46 Replies
12566 Views
Last post April 27, 2009, 14:19
by vonkara
11 Replies
4694 Views
Last post April 14, 2010, 13:27
by gostwyck
6 Replies
2820 Views
Last post June 25, 2014, 20:27
by ShadySue
3 Replies
3377 Views
Last post July 28, 2016, 19:49
by Jo Ann Snover

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors

3100 Posing Cards Bundle