Forums / Tutorial

February 10, 2011 under Features / Plugins, Tutorials

Added forums to the site. I’d like to thank cartpauj for his Mingle Forum plugin. Here are the steps I took to customize it into the site

1. Installed plugin here (follow install instructions, don’t forget to create page and insert “[ mingleforum ]” (no quotes or spaces))

2. To edit the default template of mingle forum You’ll have to go open wp-content/plugins/mingle-forum/wpf.class.php
a) Footer Mingle Forum by cartpauj Version 1.0.28.2 can be edited on line 1293 $this->0 is being built to populate the html
b) Note that if you’re wanting to build a custom skin for this forum it’s recommended to upload files to mingle-skins

3. When users register, they create login to the entire site. I customized the dashboard to limit the users access to the site. To do this I had to edit wp-admin/includes/dashboard.php, this is just an immediate hack which affects the Super Admin if not done correctly. I coded an exception to determine if the user is a subscriber (which forum registers you as) or admin

comments: 0 »

WordPress to the Rescue / Tutorial

February 1, 2011 under Tutorials

*Assuming readers have a basic knowledge of understanding directory hierarchy and have the ability to code open source files this should be useful.

1.    Download here installation is pretty well explained

2.    Select Theme here these are free themes that can be customized to your liking.  You’ll need to download desired themes to the wp-content/themes/ directory of wherever you download worpress. To activate,  login to your admin go to appearance and activate the theme you uploaded

3.  If you hadn’t created a sub-title during your installation, you’ll notice a subtitle ‘Just another WordPress site’, it took me a while to find where this was coming from. To change this, you’ll have to login to your account (site-domain.com/wp-admin) and go to settings and edit your ‘tagline’.

4.  To customize your sidebar, where it has your ‘Recent Posts Recent Comments Archives Categories’ you’ll have to open sidebar.php which is found in wp-content/themes/(name-of-theme-usually/  I didn’t want to show Meta, Archives,Comments or recent posts, so I had commented out lines that instantiated these calls.  Make sure you’re removing complete html tags so you don’t break the template design.

5.  The footer can be edited and customized in the same directory you found sidebar.php and is called footer.php

6.  When logged in, I wanted to strip wordpress from header and footer. These files are found in wp-admin directory and the files are called admin-header.php admin-footer.php

7.  When users register, I wanted to replace WordPress Logo with mine. This can be done by editing wp-login.php which is in the root directory you chose.

8.  When users register, they get emailed a password, and the email says its from wordpress, I want this email to say it’s from new web projects so I edited pluggable.php which is found in wp-includes/ and changed lines 375 and 391

comments: 0 »