Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Forum: Plugins
    In reply to: Looking for dokuwiki plugin

    Use That.

    I’ve actually come into this situation a few times when a client hires me to customize or re-wite a plugin.

    What it boils down to is many times they (the client), will try to get ahold of the author of the plugin, but they never receive a reply back or the author is not interested in the job. Then the’re left to find someone who can customize it to their needs.

    lol! Such a shamless plug…

    @craigedmonds & @adnan628

    If you’re planning on making money, or running a business for a profit using the domin names with ‘WordPress’ in them, you will most likly not be approved.

    What you should do is find a domian name that is very close to what you want, like wpSOMETHING.com or in craigedmonds case try wp-angels.com and use that as your primary domain name.

    Then take the existing domain that you have that states ‘WordPress’ in them, and point them (DNS) to the root of your primary domain. You would then be able to use the domains that contain ‘WordPress’ in them (because they will direct to your site), and not Legaly be breaking any copyright issues because your primary domain would display ‘wpSOMETHING.com’ in the address bar.

    Just an Idea….

    Hey Rafael Matos,

    I myself have never come accross any ‘framework’ to say, but I have seen some plugins (don’t think they work), and the general write-ups about plugin development.

    Every plugin that I’ve made (my profile), I basicly have to code by hand (now I have snippets I’ve saved while developing).

    Just have a look at some plugins in Extend that are doing some actions close to what you want (that’s the beauty of open source), and try to replicate them in your own manner.

    The code you need to add is very simple, and uses several perimeters to define what you would like to display. It all depends on where you would like the date/time to show up. Above the picture, below/above the post title, with the content, etc…

    The basic use to grab the post date would be:

    <?php the_time() ?>

    To point you in the right direction, have a look Here. It’s about the post meta data, and display uses.

    Forum: Hacks
    In reply to: Add user via PHP

    OK, I see a couple things that are making an issue, but first I’m going to ask a quick question.

    You say you are using WP3 Multisite. When a user is signing up through your php login and you are trying to add their info to the user tables – will the user be signing up for their own sub-blog/user (multisite)?, or just as a ‘user’ off your main site (standard user/member)?

    Both ways require different operations to be preformed, so if you let me know the final outcome of your registration process I can get you in the right direction to actually process it to create a user, or new multi-site (sub-blog with user).

    Regards,

    I’m not too sure if this works with WP3 (haven’t tested it), but this will let you display a random set number of posts:

    query_posts(array('orderby' => 'rand', 'showposts' => 1));

    You can use that to display random posts like this:

    <?php
    query_posts(array('orderby' => 'rand', 'showposts' => 1));
    if (have_posts()) :
    while (have_posts()) : the_post(); ?>
    
    <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    
    <?php the_content(); ?>
    
    <?php endwhile;
    endif; ?>

    Where it states ‘showposts’, change the number to reflect the amount of posts you wish to show.

    Nice and simple!

    @ DJD_79

    So what you are saying is you’re using a custom loop, and within the custom loop your receiving duplicate posts?

    Forum: Hacks
    In reply to: Add user via PHP

    So to my understanding, you’re using a php based login/registration that is NOT a part of WP3, but you’re trying to hook to the Create User function of WP that will add the input information to the user tables?

    If that’s the case, did you try adding :

    require('../wp-blog-header.php');

    To the head of the php login/registration page to tie it together with wordpress? Then create a re-direct on success or error.

    That’s about all I could suggest without seeing the whole code you’ve got setup to do your functions….

    Plugin Author krisjay

    (@krisjay)

    You got it.

    Plugin Author krisjay

    (@krisjay)

    @ lumagen

    You can adjust the CSS Height Property for the Login/Register Form in the ‘mybrand.php’ file.

    You need to look for the line:

    form { background: url(<?php echo $backlogin; ?>); width:330px; height:198px; border:0px solid #2b2b2b;

    And change where it states ‘height:198px’

    Regards.

    @erdemcam

    You can Intergrate WordPress with CodeIgniter, but it really Depends on what your ultimate application is going to be. But since WordPress and CodeIgniter’s file struture is different, you can drop in a codeigniter setup.

    The easy way would be like this:

    a.) Get Your WordPress Install and Database Working.
    b.) Drop in your CodeIgniter Setup, and get the Database Working.
    c.) Open the ‘index.php’ file of the WordPress Core.
    d.) Replace it with the CodeIgniter ‘index.php’ file, but add the following to the bottom of the file right before the codeigniter require:

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');

    That will give you a CodeIgniter FrontEnd, with a WordPress BackEnd (administration). You can then go about customizing the CodeIgniter Templates to Interact with The WordPress Setup (posts, pages, etc).

    Hope that helped!

    @patung & @seahawknationblog – Like Andrea_r said, WordPress Multisite ‘User Registration’ sends anyone who is trying to register for a new user account on a Current Multisite Subdomain, or Sub Folder Site, to the Main Blog for them to ‘Apply’ for their User Status.

    Alternatively if you’re an owner of a Domain with WP 3.x MS running, you can grant the ‘Admin’ of the Multisite the ability to register users on their own site via the ‘Super Admin’ menu in your administration screen, under the ‘Options’ tab… If you wish to do so…

    Regards,

    Kris J.

    @seahawknationblog – I made My Brand Login, so I’ll see if I can Help you out on the problem you’re having.

    Like dgilmour said, You never said what exactly you’re clicking on. Is it when someone is trying to register it says ‘user has elected to delete thier account’?? If you’re more spicific about what it’s doing, I’m sure I can point you in the right direction…

    The problem is most likly the fact that you deleted the first blog (your main one) and are using the second instead. I know it works fine under my install of WordPress 3.0 on all my sub-domains that I created. It might be how you’re setting the new sites up… are you using sub-domains (sub.yourdomain.com), or folders (www.yourdomain.com/newsite/) for your Multi-site?

    Let me know…..

    Regards,
    Kris J

Viewing 15 replies - 1 through 15 (of 18 total)