Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-16-2006, 11:01 AM
Casual Pligger
 
Join Date: Oct 2006
Posts: 33
Thanks: 6
Thanked 5 Times in 4 Posts
Red face minimum characters on submit page

hey all,

having a little problem. whenever i submit a story under pligg submit, i type in a title, a description and a short description, as well as optionally tagging the story.

the issue im having is you cannot submit a story unless the title and description is above a certain character limit.

what i would like to know is can you decrease the title character limit so my title could be a 2 character title, ie 'ME'

also...

can i extend the limit of characters on the short description from its default value (126 i think) to say 256 characters.

also...

can i limit the number of characters on full description as i really dont want someone writing an essay everytime they submit a story. i think double the short description value will be fine.

thankyou for any help in advance. im sure its just a matter of opening up a php file and changing a number but i dont know where to look.

Thanks
Reply With Quote
  #2 (permalink)  
Old 10-16-2006, 01:26 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,579
Thanks: 255
Thanked 651 Times in 515 Posts
1. In libs/options.php is where you can edit the minimum length for titles and other things.

2. If you are familiar with phpMyAdmin you can go into the links table and where you see link_summary, edit that to be text and not varchar. this will allow you to increase the limit to something higher than 255. We have fixed this for future builds here http://svn.sourceforge.net/viewvc/pl...v&revision=179

3. I'm not sure off the top of my head the best way to limit the full description. There might be a way to limit the number of characters a textarea can use by editing the form in submit_step_2.tpl
__________________
I accept donations for my time helping users like you on the forum and IRC.

Last edited by kbeeveer46; 10-16-2006 at 01:30 PM.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 07-20-2008, 07:15 PM
New Pligger
Pligg Version: 9.9
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Pligg not displaying full story

Sir, which program are you referring to, I do not have an options.php under my libs folder.

My Pligg program will display the story summary but will not open the actual full story published when you select read more.

Any help ideas?

Thanks
Reply With Quote
  #4 (permalink)  
Old 07-20-2008, 07:30 PM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
Quote:
Originally Posted by myisland View Post
Sir, which program are you referring to, I do not have an options.php under my libs folder.

My Pligg program will display the story summary but will not open the actual full story published when you select read more.

Any help ideas?

Thanks
Hi myisland

in story.php.

Change line 128 from
$main_smarty->assign('the_story', $link->print_summary('summary', true));
to
$main_smarty->assign('the_story', $link->print_summary('full', true));
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

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 Off
[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
Page layout problem on step 2 of Submit New Story vbmark Installation and Upgrade Help 7 12-14-2006 03:57 PM
Help with Submit page Instructions digitome General Help 2 08-07-2006 10:50 AM
Customized 404 Error Page CrabApple Retired Threads 0 07-10-2006 06:42 PM
tags take me to error page? lithman General Help 2 05-14-2006 08:05 AM
On Submit Page: Make Catagories in 2-3 Columns instead of one? hevnsnt Pligg Mods 1 02-23-2006 01:08 AM


Search Engine Friendly URLs by vBSEO 3.2.0