HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[v5.0.1] Feedback Form

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#63049 (In Topic #13680)
Avatar

Community saint

I added a new feedback form which leads to the "Website "Contact Us" messages" instead of the "Website comment topics.

I've been trying to get the "Posts/submissions are pre-moderated. Your post/submission has been flagged for validation, and an e-mail has been dispatched to the site staff." from showing up after posting. It doesn't feel right for a feedback form. I've changed permissions but I even get that when posting under the admin account.

I can keep the "Your action was successful.", but how do I get rid of the other for the feedback form?

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#63050
Avatar

Community saint

Have you considered substituting SUBMIT_THANKYOU for SUBMIT_UNVALIDATED in the relevant php script (of which I haven't got a clue)?

Ermmmmm … that's in global.ini

 :|

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63051
Avatar

Community saint

How does one "substitute"? Just change the language text?

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#63053
Avatar

Community saint

If you can find which php script is calling SUBMIT_UNVALIDATED and replace it with SUBMIT_THANKYOU, it should do what you're after. However, you need to be vigilant that the string value isn't being used for other modules, elsewhere!

Better still, build your own SUBMIT_THANKYOU string in global.ini, using an underscore to ident it, e.g "_SUBMIT_THANKYOU", and that way you can put in whatever text you want the response to be, against the value of the string.

F'rinstance, I've changed my register/login message and now have two extra strings:
JOIN=join
_JOIN=JOIN
LOGIN=login
_LOGIN=LOGIN

That's just an example …

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63054
Avatar

Community saint

That's my problem. Finding where it's being called from…

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#63055
Avatar

Community saint

Well…

I ended up using the main_contact_us instead. No validating messages needed!

Surprised I didn't see this before.  :$

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#63058
Avatar

Community saint

:lol:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#63059
Avatar

Community saint

Sure… laugh at lil poor me.  :(


Ha, ha, ha!  :lol:

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: