Jump to content

Extension talk:Semantic Signup/Archive

Add topic
From mediawiki.org

bots?

[edit]

nice extension. But how do you create bots?

Also, it seems that one can't use this extension in conjunction with confirmEdit an a captcha. The captcha section seems not to be part of the <signupfields/>

Setup error?

[edit]

I am getting a warning message after I install the extension, create the bot and a user form.

Warning: call_user_func_array() [function.call-user-func-array]: 
Unable to call SES_SignupFields::render() in .../wiki/includes/parser/Parser.php on line 3243

Any ideas for me? Thanks much.

-- this problem, along with others, happens when the <signupfields/> tag is not at the top of the form.

SOLUTION: The callback for setting the parser hook needs to be modified. Replace line 194 with the following: $wgParser->setHook( 'signupfields', array( 'SES_SignupFields', 'render' ) ); --Mtyeh411 16:15, 10 September 2010 (UTC)Reply

Bug: FCKEditor not working

[edit]

In SemanticSignup 0.2.0 in file SES_Special.php line 301 $wgScriptPath is unknown. This prevents the loading of the FCKEditor.

Fix: Add $wgScriptPath to the list of global variables at the top of the printForm-Function.

Note: Also, make sure you include Semantic Signup after Semantic Forms in your LocalSettings.php, as the one uses variables defined in the other. Inserted a note in the installation instructions. --F.trott 14:14, 3 November 2009 (UTC)Reply

Captcha

[edit]

If there was a workaround for Captcha I'd be thrilled and already using this extension. I run a role playing game based in Wiki software and this would be a brilliant streamlining tool. Is there a workaround patch sort of thing available, seeing as the folks at SMW encourage captcha it seems like a workaround should be available. Does anyone have a solution they're willing to share? Kitsufox 14:34, 13 November 2009 (UTC)Reply

Warning using Semantic Forms version 1.8.8

[edit]
SF 1.9.x fixes this problem.

The SemanticSignup 0.2.0 worked fine till Yaron Koren came out with a new Semantic Forms (SF) version (1.8.8). Suddenly some added fields I created for the Signup process were given values from fields above and the extension generates the following warning when I went to the 'create account' page:

Warning: Missing argument 4 for SFFormPrinter::formHTML() in <directory to extension>/SemanticForms/includes/SF_FormPrinter.inc on line 127

I'm not a php programmer but compared line 127 of SF_FormPrinter.inc (SF 1.8.7 versus SF 1.8.8). Turns out that Yaron and others changed a SF function that is called by:

Old line 127:

  function formHTML($form_def, $form_id, $form_submitted, $source_is_page, $existing_page_content = null, $page_title = null, $page_name_formula = null, $is_query = false, $embedded = false) {

New line 127:

  function formHTML($form_def, $form_submitted, $source_is_page, $existing_page_content = null, $page_title = null, $page_name_formula = null, $is_query = false, $embedded = false) {

The variable "$form_id" is missing in the new SF_FormPrinter.inc and apparently SemanticSignup 0.2.0 calls that function and passes on the function with the "$form_id" still in it.

Does anybody had the same experience and figured a work around this? It would be great if I can still use the SemanticSignup extension in the future! so please share your work around it. Thanks, --Albert Ke 17:46, 5 February 2010 (UTC)Reply

I think this is fixed now.--Nischayn22 (talk) 09:26, 28 May 2013 (UTC)Reply

Special:SemanticSignup does not load

[edit]

after i include this line in the LocalSettings.php

require_once('extensions/SemanticSignup/includes/SES_Main.php');

something goes wrong and new a new account cannot be created. also the page Special:SemanticSignup is just blank...

i ve created a template but m unable to use it.please provide me a detail procedure on using this extension. ne help ll be appreciated

Please always include version information, that too will be appreciated :) --Nischayn22 (talk) 09:26, 28 May 2013 (UTC)Reply

Credits URL is incorrect

[edit]

Credit URL points to Semantic Watchlist in 0.3. C+P error. --Olivier Beaton 15:46, 21 November 2011 (UTC)Reply

I will fix this today, thanks for reporting--Nischayn22 (talk) 09:26, 28 May 2013 (UTC)Reply

Real name not mandatory

[edit]

HI,

I set

$egSemanticSignupSettings['requireName'] = true;

but the user can still be created altough the field "real name" was not filled out. Also if you make other custom fields mandatory through the form they can also be left blank. What can I do to make those fields truly mandatory? Thanks for your help, Markus 109.193.12.254 06:38, 7 December 2011 (UTC)Reply

ComboBox seems to be not working

[edit]

I'm trying to define a field as a combobox as described in Semantic Forms for a signup form. Works on all the other forms I made but somehow it doesn't work with the SemanticSignup form. I can define a field to be labeled as combobox; and it will show up as a combobox in "Show preview". But as soon as I want to test the SemanticSignup by register a new user, the combobox will turn out to be a drop box. Any idea on how to solve this? I'm using: Mediawiki 1.20alpha, SMW 1.7.0.2, SF 2.4alpha, Semantic Forms Input 0.5, Semantic Signup 0.3

--Albert Ke 18:10, 10 February 2012 (UTC)Reply

Upload images & Semantic Signup

[edit]

One of the fields I would like to include for people who register to our wiki is an option to upload a picture of themselves. Only people who have an account on the wiki can edit a page. So I defined a field to upload a image, and that all goes well but as soon as people try to upload a picture during the site registration they get a message "You must be logged in to upload files". In other words, people who register do not have the permission yet to upload files. Would there be a work around this so the defined Bot can upload a file in advance, similar like the page creation.

Appreciate any help on this!

Similar as above, I'm using: Mediawiki 1.20alpha, SMW 1.7.0.2, SF 2.4alpha, Semantic Forms Input 0.5, Semantic Signup 0.3

--Albert Ke 18:10, 10 February 2012 (UTC)Reply

Have you provided upload rights to the bot? --Nischayn22 (talk) 09:26, 28 May 2013 (UTC)Reply

Signup form malformed

[edit]

I'm having trouble using the {{#signupfields:}} tag. I've played around with putting at the top of the form, bottom of the form, outside the form... and nothing seems to work. The closest I get to correct is when I put it at the below the form (after {{{end template}}}), but then I get the form labels, but the {{{field}}} is gibberish:

?UNIQbb19c214f3d46d5-nowiki-00000000-QINU? Affiliation: ?UNIQbb19c214f3d46d5-nowiki-00000001-QINU? Contact Info: ?UNIQbb19c214f3d46d5-nowiki-00000002-QINU?

?UNIQbb19c214f3d46d5-nowiki-00000003-QINU?

If I put it inside the form, I get this: ?UNIQ1be7533c67369b7c-nowiki-00000000-QINU?, and then the signup form.

Where do I put the {{#signupfields:}} so that it works?

Iisai1821 (talk) 18:35, 30 July 2012 (UTC)Reply

Kaboomki (talk) 12:33, 6 September 2012 (UTC) I encountered the same problem (Semantic Forms 2.5.).Reply

?UNIQ52c0dd4a3252e128-nowiki-00000000-QINU?
Vorname: 	?UNIQ52c0dd4a3252e128-nowiki-00000001-QINU?
Nachname: 	?UNIQ52c0dd4a3252e128-nowiki-00000002-QINU?
Derzeitige Einrichtung: 	?UNIQ52c0dd4a3252e128-nowiki-00000003-QINU?
Frühere Projekte: 	?UNIQ52c0dd4a3252e128-nowiki-00000004-QINU?

?UNIQ52c0dd4a3252e128-nowiki-00000005-QINU? 
I too faced the same problem initially and then trying out random things it finally worked for me

I have placed {{#signupfields:}} just after the 'includeonly' tag. Hope that helps --Nischayn22 (talk) 09:26, 28 May 2013 (UTC)Reply

New style create account form

[edit]

Hi, SemanticSignup uses the old-style form for creating an account. Is there a way to use the new-style form? --84.105.211.99 11:55, 8 April 2014 (UTC)Reply

Doesn't work when $wgEmailConfirmToEdit = false

[edit]

The signup form shows up and it says edit permission denied because I haven't yet confirmed my email address, classic chicken n egg. :) --Jnatividad (talk) 00:23, 17 July 2014 (UTC)Reply

My bad. Just needed to confirm the email of the bot account and it worked. --Jnatividad (talk) 00:51, 17 July 2014 (UTC)Reply

autocompletion on Signup semantic form

[edit]

Hi, I have a form that works with autocompletion when signed in.

However, when I use the same form for SemanticSignup, autocompletion doesn't work. Does autocompletion require you to be signed in to work? Is there a workaround?

Thanks! --Jnatividad (talk) 00:25, 17 July 2014 (UTC)Reply

Perhaps you would like to try the recent code from GitHub. I this is still an issue you could file a report about it. --[[kgh]] (talk) 15:39, 5 February 2015 (UTC)Reply

Captcha not showing but still preventing registration

[edit]

Hi, I'm using MW 1.23.2 with SemanticSignup 0.5. The Captcha section doesn't show, but there is still a check on the captcha. --AdSvS (talk) 15:20, 20 August 2014 (UTC)Reply

Perhaps you would like to try the recent code from GitHub. I this is still an issue you could file a report about it. --[[kgh]] (talk) 15:39, 5 February 2015 (UTC)Reply