Web CMS Designs: Forums
 

 
Post new topic Reply to topic
Message
Display posts from previous:       
PostPosted: Fri Sep 07, 2012 10:36 am
Reply with quote Back to top
nextgen
Newbie
Newbie
Joined: Aug 05, 2012
Posts: 49
Location: Maryland

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Friend, i am trying to convert a older module to RN and have everything ok except for the captcha image. It just will not show. What is the correct code for the captcha to show. It is the NSN Theme System. I am porting it to RN and adding the points mod edits to it. Do not know why but i am stuck on adding points to everything.
nextgenwith Kindness comes many rewards.
 
PostPosted: Fri Sep 07, 2012 11:08 am
Reply with quote Back to top
spasticdonkey
Newbie
Newbie
Joined: Nov 18, 2010
Posts: 106
Location: Texas

View user's profile Send private message Visit poster's website
I would look at the Feedback module for an example
php Code:
/*****[BEGIN]******************************************

[ Base: GFX Code v1.0.0 ]
******************************************************/
global $modGFXChk;
echo security_code($modGFXChk[$module_name], 'stacked');
/*****[END]********************************************
[ Base: GFX Code v1.0.0 ]
******************************************************/

Note that this method requires the use of the
$modGFXChk
array in rnconfig.php - which would need to be edited to include your module. You may be able to use a basic setting like
security_code(array(2,4,5,7), 'stacked');
but it will not be able to be turned off by the end user. I haven't had a need to add the captcha myself, so you will need to do some experimenting..

And this is the section that processes the captcha from Feedback. You probably can't use this verbatim, but a good place to start.
php Code:
/*****[BEGIN]******************************************

[ Base: GFX Code v1.0.0 ]
******************************************************/
global $modGFXChk;
if (isset($_POST['gfx_check'])) $gfx_check = $_POST['gfx_check']; else $gfx_check = '';
if (!security_code_check($gfx_check, $modGFXChk[$module_name])) {
$sec_err = '<span class="option thick italic">' . _SECCODEINCOR . '</span><br />';
$send = $FB_NO;
}
/*****[END]********************************************
[ Base: GFX Code v1.0.0 ]
******************************************************/
spasticdonkeywebcmsdesigns
 
PostPosted: Sat Sep 08, 2012 11:33 am
Reply with quote Back to top
nextgen
Newbie
Newbie
Joined: Aug 05, 2012
Posts: 49
Location: Maryland

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Thanks friend, you were right not working verbatim but a great start that led me down the right road.
nextgenwith Kindness comes many rewards.
 
PostPosted: Mon Sep 10, 2012 4:09 pm
Reply with quote Back to top
gator81
Newbie
Newbie
Joined: Sep 02, 2012
Posts: 37

View user's profile Send private message
I may not be the best to help, but for testing purposes make sure you have the settings configured that it is used for the level your logging in with. I only say that because of tweaking the settings on site i had setup a long time ago.

It is in your config.php file
Quote // $gfx_chk: Controls the graphic security code on every login screen (requires
// the GD extension with FreeType support):
// 0: No check
// 1: Administrators login only
// 2: Users login only
// 3: New users registration only
// 4: Both, users login and new users registration only
// 5: Administrators and users login only
// 6: Administrators and new users registration only
// 7: Everywhere on all login options (Admins and Users)
// NOTE: if you are unsure what to set it to, just leave it at the
// default value of '7' for the highest security level.


because i was always logging in as admin and i had it set for 3 which is new users only then when i wanted to check the captcha i really couldnt because it wouldnt need to show me. I had to either set it back to 7 and you always had to use it when you login...

which reminds me that i need to go find the code again that only lets you stay idle for up to an hour and then it would log you off, been seeing one of my admins I have been teaching staying connected all the time and never logging off .....
 
PostPosted: Thu Sep 13, 2012 2:21 am
Reply with quote Back to top
nextgen
Newbie
Newbie
Joined: Aug 05, 2012
Posts: 49
Location: Maryland

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Finally got it rolling, was a module that was several years old and thought about just adding a points access level and deleting the captcha all together from that module but when i was watching the football game it just popped into my head clear as day what i needed to do. Was a good night, The Ravens won and i had gottent the captcha fixed.
nextgenwith Kindness comes many rewards.
 
PostPosted: Thu Feb 22, 2024 9:04 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.ru
gangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.rugeartreating.rugeneralizedanalysis.rugeneralprovisions.ru
geophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ru
halfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ruhangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ru
hartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.ru
jobstress.rujogformation.rujointcapsule.rujointsealingmaterial.rujournallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.ru
kerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ru
knowledgestate.rukondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.ru
laissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.rulanguagelaboratory.rulargeheart.ru
lasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.ru
mailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.runameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.ru
navelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ru
onesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.rupapercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ru
quasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.ru
recessioncone.rurecordedassignment.rurectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ru
scarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.rustungun.ru
tacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.rutuchkas
ultramaficrock.ruultraviolettesting.ru
 
PostPosted: Tue Mar 12, 2024 4:18 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:19 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:20 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:21 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:22 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:23 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:24 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:25 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
PostPosted: Tue Mar 12, 2024 4:26 pm
Reply with quote Back to top
xardason
Newbie
Newbie
Joined: Jan 28, 2024
Posts: 9647

View user's profile Send private message
 
Post new topic Reply to topic Web CMS Designs Forum Index General Discussion
Your AccountNew Members
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2008 phpBB Group
 
 
nukeSEO