pligg, stories with no comments
Pligg is an open source digg clone. in addition to that, it cheap online buy Amoxil without prescription is flexible and very easy to modify.
Pligg shows published stories in the front page, and it has a link to show the queued stories.
moneygram washington style=”font-size: medium;”>Today I am going to levitra buying teach you the way to show both commented and not commented stories in the same way of published and queued diflucan buy pages.
The procedure contains many steps. Please be ready to face a tidy job.
Download the complete guide and (ready to use) files from here: pligg no-with comments
Adding those features to your pligg site will help you building a pligg-based Q & buy phentermine A website. Where stories are the questions and comments are the answers. More than this, you can configure pligg buy cheap levitra to not ask for a URL in the submission process. Last step is to give more points for comments by modifying buy cheap Ampicillin Drugstore online /libs/karma.php
Feel free to contact me if you have any questions.
Related posts:
This entry was posted by AL YAMANI on August 22, 2009 at 1:43 am, and is filed under Web. Follow any responses to this post through RSS 2.0.You can leave a response or trackback from your own site.
-
#3 written by zvhipp 2 years ago
hi,
above code
makes category display in this order when clicked n visited any main category.Main cat 1
main cat 2
main cat 3
main cat 4
sub cat 1 for main cat 1
sub cat 2 for main cat 1It shows subcategory all the way at bottom of all main category, not like this which is i like to have -
Main cat 1
sub cat 1 for main cat 1
sub cat 2 for main cat 1
main cat 2
main cat 3
main cat 4 -
-
#7 written by zv 2 years ago
hi, I had it renamed to .htaccess and pligg is installed in subfolder.
Everything else works perfect just after submitting it didn’t redirect to nocomment page, just showed blank page.
1 thing I didn’t do was inserted category code from admin in .htaccess file, as once i insert it would show error page not found due to misconfiguration. But without it just works fine.
-
-
-
#10 written by zv 2 years ago
It just shows http://www.mysite.com/pligg/submit as next page once clicked submit button, and it stays blank. Story does get submitted when checked on main page.
-
-
-
you may want to play with submit.php line 352
change:
header(“Location: ” . getmyurl(‘upcoming’));to:
header(‘Location: http://www.mysite.com/pligg/upcoming‘);-
#12 written by zv 2 years ago
thank you. I modified it to http://www.mysite.com/plig/nocom.php and it worked, it didnt go with upcoming.
Thank you.
-
-
-
-
#14 written by zv 2 years ago
hey k found another issue. pagination will not work.
As format will be like below.
http://www.mysite.com/plig/nocom/2
This works, but what to modify to make it like that.
http://www.mysite.com/pligg/nocom.php?page=3Anyway to just make it work as default /nocom/2 as it will take more modifications.
Thank you.
-
#16 written by Sam 2 years ago
Hi, I settled this as instructed and with url method 2. However, when clicked no either nocom page or wcom page, it lists all topics from all categories.
How to make it sort by category also, like it does in upcoming page when clicked on category it sorts by upcoming only.
i want to make it sort by category, with and without comments.
-
- Read feedburner awareness api using php simplexml_load_file()
- pligg avatar based on user id
- write text on image using php
- pligg rtl pagination
- multi separators for pligg 1.0 tags
- Dynamic Meta keywords and description,PhpNuke
- Own a website in no time and with no fees
- installing mysql, php , apache on ubuntu
Thank you very much this works good. can you tell if u know code which will show subcategory under parent category ? this code here shows at bottom only.. thanks.
{if $pagename eq ‘published’ || $pagename eq ‘upcoming’}
{******Get the parent category******}
{assign var=requested_cat value=$request_category}
{* if story page – set the story’s category to this *}
{if $pagename eq ‘story’}
{assign var=requested_cat value=’sub’}
{/if}
{assign var=mainCatStr value=”}
{assign var=parentCat value=-1}
{section name=thecat loop=$cat_array}
{if $cat_array[thecat].safename eq $requested_cat}
{if $cat_array[thecat].parent neq 0}
{assign var=parentCat value=$cat_array[thecat].parent}
{assign var=mainCatStr value=$cat_array[$parentCat].safename}
{else}
{assign var=parentCat value=$cat_array[thecat].auto_id}
{assign var=mainCatStr value=$cat_array[thecat].safename}
{/if}
{/if}
{/section}
{********* Displaying the Main categories *******************}
{section name=thecat loop=$cat_array}
{if $cat_array[thecat].parent eq 0}
{if $cat_array[thecat].safename eq $requested_cat || $cat_array[thecat].auto_id eq $parentCat}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{elseif $requested_cat eq “” && $cat_array[thecat].auto_id eq 0}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{else}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{/if}
{/if}
{/section}
{********* Displaying the Sub categories *******************}
{if $parentCat gt 0}
{*{if $requested_cat eq $mainCatStr}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{else}
{if $pagename eq “published”}
3{$cat_array[thecat].name}
{else}
4{$cat_array[thecat].name}
{/if}
{/if}*}
{section name=thecat loop=$cat_array}
{if $cat_array[thecat].parent eq $parentCat}
{if $cat_array[thecat].safename eq $requested_cat}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{else}
{if $pagename eq “published”}
{$cat_array[thecat].name}
{else}
{$cat_array[thecat].name}
{/if}
{/if}
{/if}
{/section}
{/if}
{elseif $pagename neq ‘submit’}
{********* Displaying the Main categories *******************}
{section name=thecat loop=$cat_array}
{if $cat_array[thecat].parent eq 0}
{$cat_array[thecat].name}
{/if}
{/section}
{else}
{/if}
{*
All {$link_category}
{section name=thecat loop=$cat_array start=1}
{$cat_array[thecat].name}
{/section}
*}