CGBlog Questions (Payment/FESubmit)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

CGBlog Questions (Payment/FESubmit)

Post by orangefrog »

I'm building a site and I want to use CGBlog for a classifieds section. The first question I have is can CGBlog be setup to handle payments for posting classified ads? If so, how. Second question i have is I also want to use CGBlog for news and articles as it seems to be the best fully functioning module out there. I was wondering though, can I set it up so when a user submits a post through the FESubmit, can I limit which categories (more than one) they are able to post to? I know I can limit it to one specific category, nut I need to have the option of several categories.

If anyone has answers, please let me know. Thanks in advance.
Last edited by orangefrog on Sat Dec 18, 2010 3:46 am, edited 1 time in total.
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

Re: CGBlog Questions (Payment/FESubmit Categories)

Post by orangefrog »

Anyone?
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by orangefrog »

Please?!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CGBlog Questions (Payment/FESubmit)

Post by Dr.CSS »

Most modules will let you call things like categories in comma separated lines, category='one,two,three,etc.' check the help...
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by orangefrog »

I did read the help. I've setup cgblog on a temp site with a few categories. I've then put in this line of code {CGBlog action='fesubmit' category='2,3,4'}. It displays all the categories with the default option selected. However, when I only have one category in the above code, it will still display all the categories, but the category I put in the code is selected. Which is fine if I want to create a complicated system that sends them to a separate page for each different category submission. Being a classifieds website, I could end up with over 50 different submission pages.

I've also tried the news module and same thing. Figured since they are the same core code.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CGBlog Questions (Payment/FESubmit)

Post by Dr.CSS »

Do you actually have categories called 2, 3, 4, I think you have to call them by name and it may be case sensitive...
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by orangefrog »

Yes I do have categories 1,2,3. But just for testing purposes. I have tried with text categories, and same result. Had a thought, is there a way so specify in the fesubmit template in CGBlog which categories I want them to be allowed to submit to?

For example, lets say I have two categories rental and cars. In the template in CGBlog, can I have a line that displays only the rental category to be checked, and not have it display cars?
orangefrog
Forum Members
Forum Members
Posts: 117
Joined: Mon Nov 03, 2008 8:43 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by orangefrog »

No one has an idea on this? Oh well, i tried.
Schaboo
Forum Members
Forum Members
Posts: 13
Joined: Thu Sep 10, 2009 8:21 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by Schaboo »

Hi Orange Frog. I'm struggling with a similar problem and have not found a solution. Like you, I want to restrict users of fesubmit a single category, but when I specify parameter category ="My Category", it still gives them a list all news categorys. Can anyone suggest anything?

I have another problem. I use a smarty variable (passed from another page as a param called "category") to specify the category in fesubmit i.e {assign var='tmp' value=$smarty.get.category}{news action='fesubmit' category="$tmp"}.
BUT, when a user submits the fesubmit form , the page refreshes (rather than redirecting to my specified page_id), and the news story is not added.
If I hardcode the category name eg. {news action='fesubmit' category="My Category"}, the fesubmit form works perfectly and news stories can be added fine by front end users.
The smarty variable is definately passed to the page - I can print it using {$smarty.get.category} and feuser even selects the default category on the pulldown menu based on this variable.
Ive also tied passing the variable using POST. Again, I can print the variable {$smarty.post.category}, and FEuser recognises it for the default pull down menu, but the submit fails. Can anyone suggest a possible cause for this?
mho4028
New Member
New Member
Posts: 2
Joined: Tue May 10, 2011 3:04 pm

Re: CGBlog Questions (Payment/FESubmit)

Post by mho4028 »

Hey Orangefrog

I'm having trouble getting the paid registrations to work in my CMSMS installations, any help you can give would be appreciated.

i've followed the usual steps to get it working, maybe we could hook up on skype and chat through it.?

Cheers
Post Reply

Return to “Modules/Add-Ons”