Subdomain for groups

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2009, 11:59 PM
New Pligger
 
Join Date: Feb 2009
Posts: 9
liked pligg 1.0.0 a lot but groups system is not of that much funcationality. a group should be in a subdomain instead of the same site. like if a user creates group "cricket" on example.com the groups should work in cricket.example.com

things that can make the pligg software group feature a hit:

* group should be in a subdomain. using .htaccess file to mask groupname.sitename.com to sitename.com/groupaddress

* group stories should remain in the group and not go to home page.

* group stories should also remain in subdomain like
--- url should be like this + group.sitename.com/title-of-the-story-you-are-looking-for
--- instead of like this + sitename.com/story/title/title-of-the-story-you-are-looking-for

this will make pligg software much more powerful and attract bloggers to use the pligg powered sites for story sharing with their custom web address that is the subdomain.
Reply With Quote
  #2 (permalink)  
Old 02-10-2009, 02:37 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
1. From what I understand about generating subdomains on-the-fly, it's not a simple thing to do that could apply to ALL Pligg sites. When designing Pligg we have to please the greatest common denominator, causing us to simplify some features. Direction for how to theoretically use htaccess and modify your CNAME record to generate subdomains for groups could be figured out by reading this post: How to let PHP to create subdomain automatically for each user? - Stack Overflow

2. It's really up to the web administrator or template designer where the group stories should show. Originally we wrapped a tag around link_summary.tpl that would just hide the story from the published and upcoming pages, which would do what you are looking for. Below is the code to hide group stories from non-group pages. You will paste the first line to the top of link_summary.tpl and the second line at the bottom.
Code:
{if $link_group_id eq 0 || $pagename eq 'group_story' || $pagename eq 'user'}
Code:
{/if}
3. Can't do this easily for the same reason as posted at #1. We could possibly add custom links like domain.com/group-name/story-title, but I would rather reserve the url space for domain.com/category-name/story-title (which I don't think we use right now)

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #3 (permalink)  
Old 02-15-2009, 12:45 PM
New Pligger
 
Join Date: Feb 2008
Posts: 10
Quote:
Originally Posted by infoweb View Post
liked pligg 1.0.0 a lot but groups system is not of that much funcationality. a group should be in a subdomain instead of the same site. like if a user creates group "cricket" on example.com the groups should work in cricket.example.com

things that can make the pligg software group feature a hit:

* group should be in a subdomain. using .htaccess file to mask groupname.sitename.com to sitename.com/groupaddress

* group stories should remain in the group and not go to home page.

* group stories should also remain in subdomain like
--- url should be like this + group.sitename.com/title-of-the-story-you-are-looking-for
--- instead of like this + sitename.com/story/title/title-of-the-story-you-are-looking-for

this will make pligg software much more powerful and attract bloggers to use the pligg powered sites for story sharing with their custom web address that is the subdomain.
try .htaccess
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing pligg url from folder to a subdomain Nighthawk Questions and Comments 2 04-26-2007 09:11 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development