Need help on the verification step in the script
sashilover
China
Hi @sven, could you please help me out of this situation, I am optimizing the buddypress engine, I notice the "create group" process is aborted after the finial steps, and it shows some strange message like "the process is timeout" or similar, this doesn't matter, because the group is successfully created, and article is posted properly, the problem is the verification, since the submission is not successfully ended, the finial URL is NOT the page of article, so I can't use the following code to verify the URL:
-----
I need to find a way to let SER to browse the "groups" page first, then try to find the article title to locate the finial URL for verify URL field, could you please advise how to write the code, thanks in advance.
-----
submit success=>%article_title%</a>|/activity/delete/|href="%url%
submit failed=<title>Page not found|Sorry, we can't find the content you're looking for at this URL|Sorry, we could not find the page you are looking for.|We're sorry, but we can't find the page that you're looking for|Sorry, you are not allowed to create groups.|We're sorry, but we can't find the page that you're looking for. Perhaps searching will help|Sorry, you are not allowed to create groups.|<div class="error">|<div id="message" class="error">|Error establishing a database connection|Only Admins can create groups
submit failed retry=Error establishing a database connection
verify submission=1
verify by=url
verify interval=1
verify timeout=1
verify on unknown status=1
verify url=%formurl%
------
I need to find a way to let SER to browse the "groups" page first, then try to find the article title to locate the finial URL for verify URL field, could you please advise how to write the code, thanks in advance.
Comments
----
[new_ver_url]
type=extract
; %groups% means the URL of groups page
input=%groups%
find link=%article_title%
.....
verify url=%formurl%|%new_ver_url%
....
-----
But SER doesn't seem to handle this, it takes two steps to find the verification URL, first open the groups page, then find the real verification URL through the article title.
How to handle this?
Thanks for your patience.
type=extract
url=/groups%nr%/
find link=%article_title%
find url=%targethost%*%article_title%*|%targethost%*/groups/[a-z]*/|%targethost%*/groups-*/[a-z]*/
default=./
[group_url]
type=extract
find link=%article_title%
find url=%targethost%*/groups/[a-z]*/|%targethost%*/groups-*/[a-z]*/
default=%group_url_try2%
https://forum.gsa-online.de/discussion/23492/community-project-jforum-engine#latest
So the not helping me decision is not fair to me, Sven.