Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Mollio-Beat"

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 06-06-2006, 02:40 PM
New Pligger
 
Join Date: May 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
bleh sorry, was having a bad day, and i was trying to get everything setup before alexa crawled my site again
Reply With Quote
  #22 (permalink)  
Old 06-06-2006, 11:19 PM
Div Div is offline
Casual Pligger
 
Join Date: May 2006
Posts: 60
Thanks: 0
Thanked 7 Times in 4 Posts
Question on Categories.

I was wondering if there was an easy way to set your own order to the way the categories display in the menu. I thought about trying to set the cat number in the database but then I realized that they are in alfabetical order, so that wouldn't help. So is there an easy way to set my own order?

Thanks.
Reply With Quote
  #23 (permalink)  
Old 06-07-2006, 01:30 PM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Sorting on category id instead of name

Quote:
Originally Posted by Div
I was wondering if there was an easy way to set your own order to the way the categories display in the menu. I thought about trying to set the cat number in the database but then I realized that they are in alfabetical order, so that wouldn't help. So is there an easy way to set my own order?
I haven't tried it, but take a look at the code in /libs/thml1.php:
Code:
 $categories = mysql_query("select category_id, category_name,  count(*) as count from links, categories where category_lang='$dblang' and category_id=link_category group by link_category ORDER BY category_name ASC");
This line says on the end: ORDER BY category_name ASC");
If you change that to ORDER BY category_id ASC"); it will sort with the id number. Haven't tried it, but I guess it should work.

BTW, I don't think it is a good idea to put this as a standard or an option in the MB template, because most don't like/know how to tinker with the database. But if you do, go ahead and try this one.
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com

Last edited by beatniak; 06-07-2006 at 01:33 PM..
Reply With Quote
  #24 (permalink)  
Old 06-07-2006, 08:08 PM
Div Div is offline
Casual Pligger
 
Join Date: May 2006
Posts: 60
Thanks: 0
Thanked 7 Times in 4 Posts
Thanks, that worked . I had to do a little fixing of the colors and cat_id numbers to get it the way I wanted, but it did the trick. After playing with it a bit, I see what you mean that it shouldn't be an option in the template. At least like that. If there was a way to just open some admin panel and select the order and color for the categories, that would be the only way to put it in a template or source. I'm sure thats way down the road on the priority list since it probably wouldn't be an easy patch.

Thanks again for your help. You are always quick to respond.
Reply With Quote
  #25 (permalink)  
Old 06-08-2006, 04:03 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Quote:
Originally Posted by Div
...If there was a way to just open some admin panel and select the order and color for the categories, that would be the only way to put it in a template or source. I'm sure thats way down the road on the priority list since it probably wouldn't be an easy patch.
We're working on an admin panel - we'd like to have that as one of the major new features of MB2.0. When the cat color management will be in the admin panel.... i dunno. I guess that will be MB2.1
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com
Reply With Quote
  #26 (permalink)  
Old 06-08-2006, 02:18 PM
New Pligger
 
Join Date: May 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
i cant remember the name of the original code (starts with an m.... the spanish one) they have sub categories, and i notice there is a sub category button in the category section. will that be added sometime soon?
Reply With Quote
  #27 (permalink)  
Old 06-09-2006, 03:21 PM
Constant Pligger
 
Join Date: Apr 2006
Posts: 122
Thanks: 1
Thanked 1 Time in 1 Post
I guess this is a template issue... if not, admins are welcome to move it.

I'm really happy with the 7.2 / 1.3 Mollio combination now. See what I've done with it at http://homomojo.com/proto

Anyway, on submit step 3 the users are getting confused and trying to vote for the topice before hitting "submit". How can I get rid votebox on that page? All I want is the description text for verification purposes. Any help would be appreciated.... I am rolling out the site this weekend.
Reply With Quote
  #28 (permalink)  
Old 06-10-2006, 05:51 AM
jackdaw's Avatar
Casual Pligger
 
Join Date: Apr 2006
Posts: 64
Thanks: 19
Thanked 4 Times in 3 Posts
Quote:
Originally Posted by agiacosa
I may be missing something but I believe the config.php in the Mollio-near 1.3 release is older than the 7.2 config and is missing some configuration options. Is that correct?
Older or not, there is at least something missing. I don't know, maybe it is deliberately done by the Mollio-beat crew. But let me list them up here, and then probably they'll tell us why.

(I'm comparing the config.php in Pligg beta 7.2 here, with the config.php in Mollio-Beat 1.3 here, all downloaded this morning.)

Under "// Submitting a new story / link"
Code:
define('Submit_Show_URL_Input', true); // This should only be set to false if the a 'Submit_Require_A_URL'
The entire section about the "// The story page"
Code:
// The story page
	// This is for the "you last viewed this page X minutes ago"
	define('enable_show_last_visit', true); // True = On / False = Off
		//define('default_show_last_visit', true); // The default value. Can be changed (eventually) via the profile page.
// ---
Under "//Gravatar http://www.gravatar.com/implement.php#section_1_1"
Code:
define('Default_Gravatar_Large', '/img/Gravatar_25.jpg');
define('Default_Gravatar_Small', '/img/Gravatar_15.jpg');
Under "//Comment Voting"
Code:
	//Comment Order
		$CommentOrder = 2;
		// 1 = Top rated comments first
		// 2 = Oldest comments first	
	// ---
And the entire section about "//Recommend a Story"
Code:
//Recommend a Story
	define('Enable_Recommend', true); // true / false
	
		define('Recommend_Type', 1); 
			// 1 = AJAX method
			// 2 = Open new page for recommending // NOT READY YET

		define('Email_Subject', "Pligg.com story: "); // the story title will be added to the subject.
		define('Default_Message', "I thought you might like to see this.");
		define('Included_Text_Part1', "Pligg.com user ");
		define('Included_Text_Part2', " would like to share this story with you: ");
		define('Send_From_Email', "pligg@pligg.com");

Last edited by jackdaw; 06-10-2006 at 09:18 AM..
Reply With Quote
  #29 (permalink)  
Old 06-10-2006, 07:41 AM
Casual Pligger
 
Join Date: May 2006
Posts: 75
Thanks: 0
Thanked 4 Times in 2 Posts
Hi,

I compared the config.php of 7.2 and that provided by MB 1.3 and there are some differences. For example, Recommend a Story is not in the MB one and neither is comment order. MB also doesn't have a default gravatar set or enable show_last_visit on the story page.

Was this done on purpose because the MB template doesn't make use of these items? This isn't a complaint, I'm just curious.
Reply With Quote
  #30 (permalink)  
Old 06-10-2006, 08:21 AM
jackdaw's Avatar
Casual Pligger
 
Join Date: Apr 2006
Posts: 64
Thanks: 19
Thanked 4 Times in 3 Posts
Quote:
Originally Posted by agiacosa
Was this done on purpose because the MB template doesn't make use of these items? This isn't a complaint, I'm just curious.
At least three of those items (recommend a story, show_last_visit, and default gravatar) work fine, if you first follow the Mollio-Beat install guide, and then cut & paste the missing lines from the Pligg beta 7.2 config.php file.

And no... I'm not complaining either. This is a great template !
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
MacBlue Free Pligg Template by Yankidank Yankidank Pligg Templates 13 11-10-2008 05:37 PM
How to upgrade modified mollio beat from beta8 to bet9 lauris "Mollio-Beat" 4 01-28-2007 02:07 AM
Cannot vote with Pligg B7.2 and Mollio Beat template. luckyclover Installation and Upgrade Help 8 09-06-2006 11:50 PM
Release: Mollio-Beat Template 1.1 beatniak "Mollio-Beat" 42 08-23-2006 06:40 AM
Release: Mollio-Beat Template 1.0 beatniak "Mollio-Beat" 60 05-10-2006 10:17 PM


Search Engine Friendly URLs by vBSEO 3.2.0