PortalParts.com Site

 Forum Index > Community > Site Feedback New Topic Post Reply
 Forum Help
 |  Printable Version
redneck
 April 10 2005 11:44 AM (Read 7516 times)  
Forum Full Poster
Full Poster


Status: offline

Registered: 09/12/04
Posts: 10

We have made 5 Categories on our forum site and each Cat has 20 forums in it. Is there a way I can set links in a block to pull just the pages by Categories and not by forums? I tried http://www.mysite.com/index.php?id=1 but it did not do what I wanted. Any feedback.

The only reason is the forums page is very long.


Redneck


 
Profile Email PM
Quote
Blaine
 April 10 2005 11:47 AM  
Forum Admin
Admin

Status: offline

Registered: 03/01/02
Posts: 3576

You would need to create your own phpblock function that used a SQL statemtent to select all the latest posts by category. Sorting the ones desired and creating links for them. Most of the code would be as I have for the block today only the SQL query will need to be changed.


Please consider contributing to support my efforts ..
 
Profile Email Website PM
Quote
redneck
 April 10 2005 11:51 AM  
Forum Full Poster
Full Poster

Status: offline

Registered: 09/12/04
Posts: 10

WOW I think that is too deep for me Blaine. Any examples of that anywhere?


Redneck

Block Today???


 
Profile Email PM
Quote
Blaine
 April 10 2005 11:57 AM  
Forum Admin
Admin

Status: offline

Registered: 03/01/02
Posts: 3576

Yeh - in the plugins functuons.inc file. Assuming your talking about a block that shows the latest postings for a particular category. You can also use my custom services if you need a custom block. Send me a PM or email to discuss that option.


Please consider contributing to support my efforts ..
 
Profile Email Website PM
Quote
redneck
 April 10 2005 12:00 PM  
Forum Full Poster
Full Poster

Status: offline

Registered: 09/12/04
Posts: 10

What I hoped for was just a link to be able to pull each Category from the forum and show the forums within it on a page inside GL. Like the forum/index.php shows the total fourms under each Category.


our site

http://www.erazz.com/forum/index.php


 
Profile Email PM
Quote
Content generated in: 0.21 seconds
New Topic Post Reply



 All times are CDT. The time is now 08:51 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content