Forum Replies Created

Viewing 15 replies - 271 through 285 (of 346 total)
  • Are these plugins public and if so, can you pass the link to me and I can have a quick look.

    But basically within the code if you see something like wget, curl or any IP addresses or another domain in the code then in theory, it is possible for it to be logged. Not saying all plugins do that, but technically they could if they use the follow above.

    Also, if they encode any parts of the code then chances they are. There is very little few reasons to encode parts of code.

    Not too sure, but I think it is the following.

    1) If I make a site for a paying customer using WordPress am I “required” to give the client the source code?

    Well, you must allow the person to get access to the source code so just giving the website to your customer is enough as they will have full access to the WordPress files anyway (as long as you don’t encode them).

    2) Would the client own the code? Or will the site’s code belong to the public?

    WordPress is under open source so it would be public. Any code you do in relation to plugins and themes is a different story and you would be best to research those.

    3) Am I allowed to modify WordPress and put my own logo in the admin sections?

    You are allowed to modify WordPress in anyway you want. Just makes sure that if you use the name WordPress anyway you are doing correctly.

    I might be incorrect with these, so hopefully someone else will answer and confirm.

    Well, in theory yes. What you would do is within your plugin is write some code that calls back to your server along with the website domain which you then record into a database.

    Just make sure to tell your users before they install that you plan to do that or you will have quite some unhappy users.

    Sorry, my code is wrong was quite sleepy when I replied.

    <?php
    srand ((double) microtime( )*1000000);
    $random_number = rand(0,4); // 4 is the max number of ads you want
    
    if ( $random_number == "0" ) { echo "Ad 1"; }
    if ( $random_number == "1" ) { echo "Ad 2"; }
    if ( $random_number == "2" ) { echo "Ad 3"; }
    if ( $random_number == "3" ) { echo "Ad 4"; }
    if ( $random_number == "4" ) { echo "Ad 5"; }
    
    ?>

    That works, I just tested it. Make sure to edit the part where ti says “Ad X” with the HTML you want.

    My reply is just a guideline, so don’t expect exact copy and paste code but anyhow. You can do this via editing your theme files (there may be a plugin out there, but I haven’t seen one).

    ‘m sure that this question has been asked multiple times, so I apologize for repetition. I recently joined an affiliate marketing program (other than Adsense) and I want to put the ads on the Home Page centered under each post

    This can be done by editing index.php and single.php in your theme folder and looking for the loop. You will see something like this:

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    By putting your ad under that part directly, you will be able to place code that will be inserted after the header of each post. Example:

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div align="center">WordPress is so cool</div>

    Maybe, if possible, under the actual posts and on the side of the pages (left, right).

    Now, I ain’t sure what you mean by this but anyhows I will answer on how I think you meant. I am under the understand that you want to be able to place an ad at the end of the post on both sides of the post but if you look for

    <?php the_content('Read the rest of this entry &raquo;'); ?>

    After that you could once again place a floating DIV such as

    <div align=”left”>WordPress is so cool</div>
    <div align=”right”>WordPress is so cool yet again</div>

    That is just rough code that should get to start in those cases.

    Furthermore, it would be cool if I were able to set it up so that it fluctuates between a few different ads so that the same one doesn’t show up each time. Is there a way to do this?

    This too is possible and below I have put an example that you can use. Now this ain’t the best way to do it, but it happens to be a working way you can work from.

    <?php
    srand ((double) microtime( )*1000000);
    $random_number = rand(0,10); // 10 is the max number of ads you want
    if $random_number == "1"{ echo "Ad One"; }
    if $random_number == "2"{ echo "Two"; }
    .....
    ?>

    Hopefully my reply is helpful in terms of physically coding it but chances are there is a plugin out there that will do it. Also, might want to look at – http://codex.wordpress.org/User:Tomhanna/Adding_Ads_to_Wordpress

    Both should be fine and shouldn’t cause you any slow downs as both are served externally (going by that WP Stats is the WordPress.com Stats Plugin).

    You would be wise to contact the author of that theme as it is possible the newer version of WordPress has changed one or two things. Chances are, the author has already updated the theme.

    It would be single.php or comment.php that would likely need to be changed but once again, contact the author and that person should be able to help you.

    Chances are, WordPress hasn’t yet been updated with the new domain and in the database it is still using the old one. Make sure to backup the database first.

    In your themes folder, go to (or make if needed) and edit functions.php and put the follow in that file Make sure to place this right after the <?php.

    update_option('siteurl','http://yourdomain');
    update_option('home','http://yourdomain');

    Once this is done, load up your website and hopefully it has worked. If not, you may need to edit the database but try that first and tell us if it worked.

    Change back to the default theme (if you are not using it) and tell us if it is working then.

    It is “possible” it may be theme related so always wise to check that first.

    Thread Starter Snat

    (@snat)

    The Comment plugin does not create a user in the database, no. It’s designed that way to allow “anonymous” commenting.

    Great, that is what I was hoping it does.

    The Register plugin will indeed let you create new users from FB credentials. The Login plugin will let them login with those credentials.

    Separate plugins for separate things.

    Ya, I noticed that but just wanted to make sure.

    In fact, if you’re using the Register plugin, then you kinda don’t need the Comments plugin, do you? People can register and leave comments as logged in users then.

    I agree there but I don’t want people to be able to create users using it so I would rather have it disabled but only want people to be able to comment using their FB details.

    Thanks once again for this plugin 🙂

    Thread Starter Snat

    (@snat)

    Sorry for updating once again.

    I have answered my own question. No it doesn’t if you just use the comments part of it (you will see what I mean when you install it). Thanks Otto for the plugin (and quite quick support too on his website).

    Thread Starter Snat

    (@snat)

    Infact, ignore this reply, spoken too soon.

    Forum: Plugins
    In reply to: Facebook Integration?

    It uses something called Facebook Connect. There are plugins, just search the extend repos :).

    Using FTP, go to /wp-content/themes/YOUR-THEME-NAME/ and edit the file in which you want the flash banner to dsplay. Then use this code (change accordingly)

    <object width="XXX" height="XXX">
    <param name="movie" value="filename.swf">
    <embed src="filename.swf" width="XXX" height="XXX">
    </embed>

    That should do what you want.

    Hopefully this will answer your question. There is a plugin called “Safe Signup Form” which basically allows you to create a page which you can format exactly how you want.

    Only down side is I do not know if it works for the latest version of WordPress. However, it is worth a shot.

    Plugin: http://wordpress.org/extend/plugins/safe-signup-form/

Viewing 15 replies - 271 through 285 (of 346 total)