Go Back   Pligg CMS Forum > Other > Suggestions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-15-2007, 11:32 AM
Constant Pligger
 
Join Date: Apr 2006
Location: USA
Posts: 576
Thanks: 31
Thanked 24 Times in 20 Posts
Top 10 stories

Introduced in the latest version of digg, there are the top 10 stories (i think for the past 24 hours) listed nicely on the side of the page. Is there any interest in adding something like this? Perhaps I should have posted under mods?
__________________
God bless,
-en3r0

Torrop.com - Torrent and P2P News
MemeVote.com - Find and vote on Memes
Reply With Quote
  #2 (permalink)  
Old 02-15-2007, 11:35 AM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
This feature was introduced with the yget template. The files that are used are:

sidebar_stories_u.php
/templates/yget/sidebar.tpl
/templates/yget/sidebar_modules/sidebar_stories_u.tpl

You should be able to edit sidebar_stories_u.php to use your template and check out how yget uses the other files and copy that for your template. If you don't have the latest build you'll have to get the files from the SVN at sourceforge.
__________________
I accept donations for my time helping users like you on the forum and IRC.

Last edited by kbeeveer46; 02-15-2007 at 02:36 PM..
Reply With Quote
  #3 (permalink)  
Old 02-15-2007, 02:09 PM
Constant Pligger
 
Join Date: Apr 2006
Location: USA
Posts: 576
Thanks: 31
Thanked 24 Times in 20 Posts
Sorry for the post then, thanks!
__________________
God bless,
-en3r0

Torrop.com - Torrent and P2P News
MemeVote.com - Find and vote on Memes
Reply With Quote
  #4 (permalink)  
Old 02-24-2007, 11:04 PM
New Pligger
 
Join Date: Feb 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Sorry, i am very new to pligg.

I can't get this to work. I changed the if-statement to check for digitalnature (the template i am using), I copied the sidebar_stories.tpl files from yget into digitalnature, and its not showing up. Is there something else I have to edit?
Reply With Quote
  #5 (permalink)  
Old 02-24-2007, 11:06 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Make sure to copy the line of code in sidebar.tpl from yget into your digital nature one.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #6 (permalink)  
Old 02-24-2007, 11:10 PM
New Pligger
 
Join Date: Feb 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
I copied the files exactly over. I replaced all digitalnature sidebar_stories files with the ones from yget...
Reply With Quote
  #7 (permalink)  
Old 02-24-2007, 11:20 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
You didn't mention sidebar.tpl, though. Did you copy the line of code from the yget sidebar.tpl to the digital nature sidebar.tpl?
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #8 (permalink)  
Old 02-24-2007, 11:23 PM
New Pligger
 
Join Date: Feb 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
haha sorry....been reading too much, didnt read ur post carefully.
Reply With Quote
  #9 (permalink)  
Old 03-08-2007, 10:07 PM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
How do we make it look like the rest with the expandable title? I can't find any where to edit the look.

Geoserv
Reply With Quote
  #10 (permalink)  
Old 03-09-2007, 07:09 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
I have been working on this for a couple of hours, and when I try to edit the look of the box, it displays 2 boxes, or the collapse effect doesn't work.

I am using digitalnature template.

Does anyone have this working on a digitalnature template that can post their code or some assistance?

Geoserv
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
New Mod -- Display related stories revenazb Modification Tutorials 46 07-07-2007 01:19 AM
Pligg beta 9.5 [updated] kbeeveer46 Current Version 0 04-29-2007 09:58 PM
"Top" in top Stories Sokora General Help 1 01-30-2007 10:30 PM
Missing Stories hubs Bug Report 2 08-16-2006 01:08 PM
No pagination for stories in profile kbeeveer46 Bug Report 0 08-07-2006 01:22 AM


Search Engine Friendly URLs by vBSEO 3.2.0