PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Minimum Comment Character Count (http://www.photopost.com/forum/photopost-pro-how-do-i/116560-minimum-comment-character-count.html)

Man1c M0g November 2nd, 2005 05:54 PM

Minimum Comment Character Count
 
I notice that Photopost only lets you place a comment if you have 5 characters or more in the content of the post. Is there any setting or way to increase this figure? I'm trying to find a way to stop people posting 'Cool.' and it counting as a comment. :D

Chuck S November 2nd, 2005 06:03 PM

Are you integrating with Vbulletin cause you can set this in VB Admin Area

Man1c M0g November 2nd, 2005 06:18 PM

Quote:

Originally Posted by Chuck S
Are you integrating with Vbulletin cause you can set this in VB Admin Area

Yes - I have it integrated with vbulletin v3.5.0. My setting for 'Minimum Characters Per Post' in the admincp is 25... but this does not seem to carry over to Photopost. Am I missing something else?

Chuck S November 2nd, 2005 07:42 PM

I will have to do some tests thanks

Chuck S November 2nd, 2005 08:02 PM

try this in comments.tmpl in your vb3enhanced folder

var minchars = $vboptions[postminchars];

change to this

var minchars = 10;

Man1c M0g November 3rd, 2005 02:01 AM

Quote:

Originally Posted by Chuck S
try this in comments.tmpl in your vb3enhanced folder

var minchars = $vboptions[postminchars];

change to this

var minchars = 10;

Its still not working i'm afraid. Its still stuck on 5 characters. :/

Chuck S November 3rd, 2005 04:29 AM

Okay well I will do some more digging here. I am by no means a VB expert but there is no post restriction that I am aware of other than the vb minimum character count

I have no limit on the number of words other than 1 in my photopost. I will do some more digging

Man1c M0g November 3rd, 2005 05:30 PM

Quote:

Originally Posted by Chuck S
Okay well I will do some more digging here. I am by no means a VB expert but there is no post restriction that I am aware of other than the vb minimum character count

I have no limit on the number of words other than 1 in my photopost. I will do some more digging

Thanks m8! The help is always appreciated! :)

Man1c M0g November 16th, 2005 04:31 PM

Quote:

Originally Posted by Man1c M0g
Thanks m8! The help is always appreciated! :)

Any progress on this issue?

Chuck S November 16th, 2005 06:42 PM

Nothing other than what I have posted above. The minimum chars is what controls this from what I see

Man1c M0g November 18th, 2005 02:53 PM

Quote:

Originally Posted by Chuck S
Nothing other than what I have posted above. The minimum chars is what controls this from what I see

I solved it! In quickcom.tmpl (and comments.tmpl) there is this code:

Code:

Content visible to verified customers only.
This prepare_submit bit is the thing that hard-codes it to 5 character minimum, and *NOT* the minchars variable. So, I simply changed the code to this, and it worked:

Code:

Content visible to verified customers only.

Chuck S November 18th, 2005 05:19 PM

weird thats bizarre to not follow the minimum character thing


All times are GMT -5. The time now is 12:51 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97