Monday, August 4, 2008
Friday, April 4, 2008
Compatable webhosts for Pligg Installation
Make sure You choose best possible webhosting for pligg hosting
DreamHost - We regularly test Pligg on a DreamHost server. They also provide a One-Click Pligg install.
Midphase
Godaddy
ReadySetConnect - I'm not a big fan of the service itself (they once lost all of my site's data and all backups), but I know that previous (older) releases worked with Pligg.
MBShost
LunarPages
Servint.net
BlueHost
MXhub
CubicHosting
Servint
Site5
4uHosting
SiteGround
Servage
Mediatemple - which i have hosted my website Indiantags.com .
- Pligg scripts take huge CPU load on the Server .
- As Pligg uses More Ajax scripts when you choose shared hosting connection make sure you ask support prior about pligg hosting .
- Some of the Hosting providers doesnot support pligg installation on your hosting account
DreamHost - We regularly test Pligg on a DreamHost server. They also provide a One-Click Pligg install.
Midphase
Godaddy
ReadySetConnect - I'm not a big fan of the service itself (they once lost all of my site's data and all backups), but I know that previous (older) releases worked with Pligg.
MBShost
LunarPages
Servint.net
BlueHost
MXhub
CubicHosting
Servint
Site5
4uHosting
SiteGround
Servage
Mediatemple - which i have hosted my website Indiantags.com .
How To activate Related Links In Pligg
This tutorial explains how to activate related links in Pligg
- First of all You need to use URL method 2 to work this properly
- Secondly go to libs/html1.php file and edit function related_stories function. replace with below code.
- Note : This is working fine with my website Indiantags.com
- If you are still facing problems in resolving this issue follow this thread
- activating related Links
- You can give me comment so that i can help you
function related_stories($storyid, $related_tags, $category){
// this returns similar stories based on tags in common and in the same category
global $db;
$related_tags="'".str_replace(",","', '",addslashes($related_tags))."'"; // This gives us the proper string structure for IN SQL statement
// Select 10 stories that share tags with the current story and order them by number of tags they share
$sql = "SELECT ".table_links.".link_title, ".table_links.".link_title_url, COUNT( ".table_tags.".tag_link_id ) AS relevance, ".table_tags.".tag_link_id FROM ".table_tags.", ".table_links." WHERE ".table_tags.".tag_words IN ( ".$related_tags." ) AND ".table_tags.".tag_link_id = ".table_links.".link_id AND ".table_links.".link_status != 'discard' AND ".table_links.".link_id != ".$storyid;
$sql.= " GROUP BY ".table_tags.".tag_link_id, ".table_links.".link_title, ".table_links.".link_title_url ORDER BY relevance DESC LIMIT 10";
$related_story = $db->get_results($sql);
$related_story = object_2_array($related_story);
return $related_story;
}
Sunday, March 30, 2008
How to add New Modules To Pligg
This Tutorial will help in installing new modules to pligg.
First of all Download all The modules from www.pligg.com which are required.
Upload all the modules to Modules folder where you installed pligg.
Now go to admin panel and click on module management and you will see option install thats it .
These are the simple steps to install modules to existing pligg.
NOTE : check for compatability while uploading modules. Some modules might not work for some pligg versions
First of all Download all The modules from www.pligg.com which are required.
Upload all the modules to Modules folder where you installed pligg.
Now go to admin panel and click on module management and you will see option install thats it .
These are the simple steps to install modules to existing pligg.
NOTE : check for compatability while uploading modules. Some modules might not work for some pligg versions
Wednesday, February 27, 2008

Websites like BBC or The New York Times always display images and pictures inside a box that is aligned either to the right or left of the web page. (see screenshot on the right)
You’ll also notice a 1-2 sentence long text caption just below the photograph containing brief description of the image, copyright information, etc.
There are two advantages of adding image captions in web pages:
1. Stylish and Read Friendly - Your visitors can easily get the context of the image from the small caption without having to read the full story.
2. SEO Friendly - Since captions describe the image in text and are located in close proximity to the image, they could be very effective in getting your images rank well on image search engines.
How to Add Text Captions and Align Images on Web Pages ?
With simple CSS and HTML, you can quickly add text captions to images very similar to BBC or Wikipedia:
Before we get into the code, here’s a snapshot of the end product. The Google logo is aligned to the right of the browser, is enclosed inside a box with borders that also contains a text caption.
Here’s the HTML+CSS code for the above implementation:
Step 1: Add the following CSS code to an external CSS file or to your blog template under the HEAD section.
Step 2: Now insert the following HTML code anywhere in the web page. The process is exactly the same as inserting regular images but we have just enclosed that inside a DIV tag
![]()
Image Caption goes here.
In the above example, we add the file google.gif left aligned and the image has dimensions 276×120.
Replace left with right if you want to right align the image box. You’ll also need to modify the style:width of the DIV tag such it is equal to image width + 2.
You can also fiddle with the CSS to change the font name, size, border colors, background, margins, etc.
Subscribe to:
Posts (Atom)