TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: indigotwilight on November 22, 2006, 12:25:49 PM

Title: Black Light Theme bug? - Registration not working
Post by: indigotwilight on November 22, 2006, 12:25:49 PM
Last night, I began setting up a new website using SMF and TP and - on finding the Black Light Theme - decided to use that as my default. (I was going to design something similar, but finding this saved me the job. :-) ) However, I noticed the registration button's not working.

Any ideas?

Also, what's the equivalent index.template file for the TP part of this theme? I've installed the SMF gallery and need the button to appear. :-)


Twilight
Title: Re: Black Light Theme bug? - Registration not working
Post by: akulion on November 22, 2006, 02:00:55 PM
can u give a link to your site so we can check it out?

As for the links u got it - they appear in the index.template.php file of the theme - every theme has one. TP simply adds a few codes to the file thats all. To see a guide on adding buttons check this tutorial (http://www.tinyportal.net/smf/index.php?topic=9919)

Also if you can please attach your index.template.php file for that theme to your post so one of the theme staff or the support staff can have a look to see if and why your registration buttons don't work.

Thanks
Aku
Title: Re: Black Light Theme bug? - Registration not working
Post by: indigotwilight on November 22, 2006, 02:17:42 PM
OK, the site is at http://www.ishatar.com (http://www.ishatar.com)

Click on register and you'll see the problem. It seems to work for the other themes (the three supplied by SMF on initial download) so this is a bit of a mystery.

Thanks,

Twilight
Title: Re: Black Light Theme bug? - Registration not working
Post by: IchBin on November 22, 2006, 02:49:01 PM
Your register button doesn't work because the link is not complete. If you hover over the link you will see that is shows ?action= at the end. It needs to say ?action=register
Title: Re: Black Light Theme bug? - Registration not working
Post by: Crip on November 22, 2006, 03:05:07 PM
?action=action wont Register anyone. :P
Title: Re: Black Light Theme bug? - Registration not working
Post by: indigotwilight on November 22, 2006, 03:34:35 PM
Thanks... I just noticed that.  ;D

I'll change the appropriate line of code in the index.template file. Perhaps the theme creator could do the same to theirs? Anyone who installs this will have the same problem, otherwise.

Twilight


Title: Re: Black Light Theme bug? - Registration problems continue...
Post by: indigotwilight on November 22, 2006, 04:48:41 PM
OK, I've altered the appropriate line of code. However, now on the registration page I get the following problems (I tried to do a test registration to see if it was working):

1. The register button below the tick box does not work, this problem applies to all themes, not just 'Black Light' - I even changed the default back to SMF's original design and the same thing occured. As a result, I'd say this was a particularly large issue. What file(s) do I need to change, and what do I enter? presumably this is something more than an 'action=whatevergoeshere' thing.

2. The visual varification bit shows the same five letters all the time, even after requesting a different image.

Maybe it would be better for me to uninstall, re-download the latest version, and try again. I gather no one else had this registration problem?


Twilight
Title: Re: Black Light Theme bug? - Registration not working
Post by: stormlrd on November 22, 2006, 07:17:35 PM
the black light theme doe not contain the registeration template that is in the default folder and as such is a smf issue. I'll look into the menu to see what happen there sorry.
Title: Re: Black Light Theme bug? - Registration not working
Post by: indigotwilight on November 22, 2006, 08:51:06 PM
OK... However, the registration button doesn't seem to work on any other theme either. (like the SMF defaults) has the Black Light Theme modified the php files associated with registering in the source directory?

Twilight
Title: Re: Black Light Theme bug? - Registration not working
Post by: indigotwilight on November 22, 2006, 09:17:14 PM
I GOT IT WORKING!!!  :laugh:  ;D

After changing the line of code in index.template.php to action=action to action=register, I then made back ups of the files, Register.php and Manageregistration.php, FTP'd over SMF's original files and then installed the advanced CAPTCHA module. It now works a treat. :-)

Hope this is of some use to others in a similar situation.

Twilight