Flixya update
Hello
I have made som minor updates to Flixya Web 2.0, SER is trying to solve recaptcha but actually it is not. so I have modified the script to handle the correct captcha on both register and submit.
--------
[setup]
enabled=1
default checked=0
fixed url=http://www.flixya.com/sign-up
url must have=*://www.flixya.com*
engine type=Web 2.0
description=Creates a blog entry on www.flixya.com\n\nMain work done by Ozz.
dofollow=1
anchor text=1
creates own page=1
uses pages=0
extract keywords=0
skip ext links on=0
skip content on=0
skip url content on=0
posted domain check=1
[Your E-Mail]
type=email
static=1
[URL]
type=url
[Anchor_Text]
type=text
alternate data=%spinfile-generic_anchor_text.dat%
[About_Yourself]
type=memo
allow html=0
allow return=1
must be filled=1
hint=Please fill this with some information about yourself. Use the spin syntax heavily here.
auto modify=0
default=%file-about_yourself.dat%
[Article_Title]
type=text
allow html=0
must be filled=1
hint=capitalize each word.
max length=45
[Article]
type=memo
allow html=1
must be filled=1
min length=400
hint=The full article comes here.
auto modify=0
html line break=1
auto add anchor url=2
auto add anchor url content=%file-auto_anchor-article.dat%
custom mode=1
[Article_Summary]
type=memo
allow html=1
must be filled=1
hint=Enter a short Article Summary.
auto modify=0
max length=200
[Category]
type=category
must be filled=1
hint=See some sample sites what categories exist. It is a bit complex to define the right one though.
[Login]
type=login
must be filled=1
hint=The login for websites that need an account. Use numbers and letters only.
min length=9
max length=20
static=1
upcase=0
[Password]
type=password
must be filled=1
hint=A password used for websites that need an account. Use numbers and letters only.
min length=8
static=1
[Website_title]
type=text
allow html=0
must be filled=1
hint=Thats usually a anchor text, so please make sure it holds an important keyword.
[article_mask]
type=extract
default=%article_title%
replace=1;-|2;-|3;-|4;-|5;-|6;-|7;-|8;-|9;-|0;-|_;-|.;-|?;-|!;-|Þ;-|$;-|%;-|&;-|/;-|(;-|);-|=;-|`;-|';-|#;-|';-|@;-|+;-|~;-|,;-|\;-| ;-
[sid]
type=extract
//url=*/secureimage/securimage_show.php?sid=*
front=php?sid=
back="
[verify_url]
type=extract
find url=http://www.flixya.com/blog/[0-9]*[0-9]/|*%article_mask%*
find link=%article_title%
replace=" ;-"
[REGISTER_STEP1]
modify url=http://www.flixya.com/sign-up
add fixed data=recaptcha_response_field=%capquest% /secureimage/securimage_show.php?sid=%sid%;recaptcha_challenge_field=
add fixed data condition=siimage
submit success=You have successfully created your account. Please check your email to complete the registration.|The email address you provided already has been used.
submit failed=The Captcha field is required.|The entered Captcha is not correct.|class="box_error">|The Captcha field is required.|The Username field is required.|The Password field is required.|The Password Confirmation field is required.|The E-Mail field is required.
submit success skip verify=The email address you provided already has been used.
form name=*JOIN TODAY
form url=http://www.flixya.com/sign-up
form id=regform
verify submission=1
verify interval=10
verify timeout=30
first verify=0
verify by=email
;verify url=http://www.flixya.com/
verify on unknown status=1
set unknown variable=%leave%
;nick=%login%
;email=%your e-mail%
;pw=%password%
;pwc=%password%
;category_interest=%category%
;age_group=%random_option%
;sub_category=%leave%
fname=%spinfile-names.dat%
nick=%login%
email=%your e-mail%
pw=%password%
pwc=%password%
gender=%random%
category_interest=%random%
age_group=%random%
website=%url%
recaptcha_response_field=%captcha% /secureimage/securimage_show.php?sid=%sid%
[LOGIN_STEP1]
modify url=http://www.flixya.com/login
submit success=href="/user/%login%"|>Hello %login%<|>Logout<
submit failed=The username / password combination is not correct.|class="box_error">
verify on unknown status=1
form name=*Login
form url=http://www.flixya.com/login
set unknown variable=%leave%
nick=%login%
pw=%password%
[STEP1]
link type=Profile-URL
modify url=http://www.flixya.com/welcome
submit success=Publish a video, photo or post a blog. Follow the steps on the right to optimize your content.
;submit failed=
verify submission=1
verify interval=1
verify timeout=1
verify url=http://www.flixya.com/user/%login%
first verify=0
verify by=url
verify on unknown status=1
verify search detail url=0
form name=*Continue
form url=http://www.flixya.com/welcome
set unknown variable=%leave%
variable must be used=url
headline=%website_title%
about=%about_yourself%
website=%url%
[EXTRA_STEP1]
link type=Article
modify url=http://www.flixya.com/post-new-blog
submit success=%article_title%|To prevent accidental and fraudulent clicks Google AdSense ads are not visible while logged in.|delete post|To submit a request to add more content please click here!
submit failed=The entered Captcha is not correct.
captcha failed=The entered Captcha is not correct.
form name=*POST BLOG
form url=http://www.flixya.com/post-new-blog
form id=new_blog_post_form
add fixed data=recaptcha_response_field=%capquest% /secureimage/securimage_show.php?sid=%sid%;recaptcha_challenge_field=%blank%
add fixed data condition=siimage
verify submission=1
verify interval=1
verify timeout=1
verify url=%verify_url%
first verify=0
verify by=url
verify on unknown status=1
verify search detail url=0
set unknown variable=%leave%
variable must be used=url
blog_title=%article_title%
blog_blurb=%article_summary%
blog_content=%article%
blog_tags=%tag%, %tag%, %tag%
accept_terms=on|1
recaptcha_response_field=%captcha% /secureimage/securimage_show.php?sid=%sid%
--------
@sven please look at it when you have the time. (perhaps the add post data is not needed?)
/M
Comments