TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 340
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 224
  • Total: 224

no captcha in Hobbit theme

Started by TauTau, June 14, 2009, 08:08:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TauTau

Hi,

I'm running the Hobbit theme, and there is no captcha visible upon registration... here's the site: http://www.die-erben-mittelerdes.de/smf
Besides the graphics and a few (hardcoded) menubuttons I didn't change anything so far

ZarPrime

#1
Hi TauTau,

Welcome to TinyPortal.

When you have a support problem we ask that you Please Read and Follow the Posting Guidelines.  At the bottom of that topic, there is a template for you to cut out and paste into your original post in your support topic so that we can get as much information as possible in order to help you quickly without having to ask a bunch of questions.  I will ask you to do that now, and be sure to include any errors that are in your Forum Error Log.

Normally the first thing you should do when something like this is happening is to check to make sure it's not happening in the SMF Default Core Theme.  I have been able to verify on your site that it is indeed happening on the Core Theme as well so it is not an issue with the Hobbit theme.  Because of this, this would normally be an SMF issue.

However, this same thing happened to me on my test site after I did some edits to fix a known error in TP 1.0 beta 4.  Therefore, here is what I'm going to ask you to do ...

Please download the TPmodules.php file from the following location to you computer ...
.../public_html/smf/Sources/TPmodules.php

After you have downloaded it, please attach that file to your next post in this topic so that I can look at it.

In the meantime, because this issue has nothing to do with the Hobbit theme, I will move this topic to our Support Board.

Thanks,
ZarPrime

EDIT:  I can't remember if this Forum will let you attach a php file or not, though I think it does.  If it won't, then please put the TPmodules.php file into a zip file and attach it instead.

TauTau

#2
Thanks a lot... First, here's the requested data:

Link to my site: http://www.die-erben-mittelerdes.de/smf
SMF version: 1.1.9
TP version: v1.0 beta 4 (though I noticed there is a new build?)
Theme name and version: Hobbit
Browser Name and Version: firefox 3.0.11
Mods installed: none
Related Error messages: none

and I attach the modules php file. Maybe this is also related to not being able to get the shoutbox to work?

Edit: Ok, I found an Error regarding the Shoutbox, but none regarding the captcha:

8: Undefined offset: 1080
Datei: /var/www/web4/web/smf/Themes/default/languages/TPShout.german-utf8.php (main_above sub template - eval?)
Zeile: 489

(sorry, I didn't immediately find the Error log, SMF is quite new to me ;))

fussilet

sorry, I didn't understand anything

ZarPrime

OK, give me a few minutes to look at that file and I'll be back.  We'll deal with the Shoutbox problem in another topic, so go ahead and feel free to post another topic about that if you want, again attaching your information there and detailing the exact problem.

ZarPrime

ZarPrime

Fussilet,

It's not an issue with the Hobbit theme because it's happening in the SMF Core theme as well.

ZP


ZarPrime

#7
TauTau,

OK, there are no errors in that file so before I send you to SMF to get this sorted out let me ask you another question.

In your OP, You said you made edits to add a few menubuttons.  Do you remember what file or files you edited to do this?  If so, what were they?  Also, how did you make the edits?  Did you do it online in an FTP program or did you D/L the files to your Computer and do the edits locally?  If you did the edited on your computer, what program did you use to do the edits?

If you can remember what files you edited, please attach those here and tell me if they were from the SMF Core Theme folder or from the Hobbit theme folder.

Is that error you edited into you OP the only one you have in the Error Log?

ZarPrime

TauTau

I edited index.template.php with the respecting menu-point. I guess that should be the theme file, because I could verify the same code in my local version here. I just translated one button and removed another one like this:

// Show the [Dosyalar] button.
   echo '<li', $current_action == 'downloads' ? ' class="chosen"' : '', '><a href="', $scripturl, '?action=downloads"><b>' , Dosyalar , '</b></a></li>';


I got a few more errors, but all regarding the Shoutbox module:

Quote8: Use of undefined constant Downloads - assumed 'Downloads'
Datei: /var/www/web4/web/smf/Themes/default/languages/TPShout.german-utf8.php (main_above sub template - eval?)
Zeile: 447

ZarPrime

OK, if that was the only file you edited and it was not from the SMF Default theme then, that should not keep your Capcha from working in the Default theme, and it isn't working.  Because of this, I need for you to go to the SMF site at http://www.simplemachines.org/community/index.php?board=9.0 and post a topic in the Support Board and see if they can help you with this issue.

The other thing you might try first though is to make a backup of that file and copy the original index.template.php from the theme back into the correct folder and then check to see if Capcha works.  If it does, then you probably made a mistake when you added the download button.  Let us know what happens.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.