Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Register button / change directory
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2013 - 2:28 pm

did you look at the codex article I referenced for this one? http://codex.simple-press.com/.....loginform/

It gives you all the valid arguments that you can pass...

so you want to add what you want for:

‘passwordLink’ => site_url(‘wp-login.php?action=lostpassword’, ‘login’), # link to use for the lost password link

replace the

site_url(‘wp-login.php?action=lostpassword’, ‘login’),

with what you want... > Simple:Press Support > Saturday, January 19, 2013 1:15 PM > >postbox-contact-2.jpg

Avatar
tjalling
Member
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2013 - 3:51 pm

Aah almost. 

When i read the codex and what you said this is houw i make it

== IN-LINE LOGIN FORM - OBJECT DEFINITION ====================
$loginForm = array(
'tagClass' => 'spForm',
'controlFieldset' => 'spControl',
'controlInput' => 'spControl',
'controlSubmit' => 'spSubmit',
'controlIcon' => 'spIcon',
'controlLink' => 'spLink',
'iconName' => 'sp_LogInOut.png',
'labelUserName' => __sp('Login name'),
'labelPassword' => __sp('Password'),
'labelRemember' => __sp('Remember me'),
'labelRegister' => __sp('Register'),
'labelLostPass' => __sp('Lost password?'),
'labelSubmit' => __sp('Log In'),
'showRegister' => 1,
'showLostPass' => 1
);
‘passwordLink’ => http://www.cannabismarijuana-s.....-recovery/ # link to use for the lost password link

Also when i remove :  # link to use for the lost password link. From the code still my forum gives an error.

What is going rong ?

Thanks

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2013 - 5:28 pm

you have to put it in the form array...

$loginForm = array( 'tagClass' => 'spForm', 'controlFieldset' => 'spControl', 'controlInput' => 'spControl', 'controlSubmit' => 'spSubmit', 'controlIcon' => 'spIcon', 'controlLink' => 'spLink', 'iconName' => 'sp_LogInOut.png', 'labelUserName' => __sp('Login name'), 'labelPassword' => __sp('Password'), 'labelRemember' => __sp('Remember me'), 'labelRegister' => __sp('Register'), 'labelLostPass' => __sp('Lost password?'), 'labelSubmit' => __sp('Log In'), 'showRegister' => 1, 'showLostPass' => 1, 'passwordLink' => 'http://www.cannabismarijuana-seeds.com/password-recovery', );

Avatar
tjalling
Member
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2013 - 5:50 pm

aah finaly. 

Can you admit that the codex did not cover all that i asked. Ore is it me ?

Thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 19, 2013 - 6:48 pm

lol. It does cover it, but would admit the second part, adding the array element is a bit more tricky... ;)

there is a bit of an assumption that if you are tweaking an sp theme, you are at least familiar with how a wp theme works...

but hey, we are here to help...

Avatar
tjalling
Member
Free Members
sp_UserOfflineSmall Offline
Jan 20, 2013 - 5:18 am

Yes oke. 

Nou that you manchen it. What is an array ? 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 20, 2013 - 6:08 am

An array is a collection of values. All values have the same variable name but are referenced by either a key sub-name or a number. I.e., if the array is called $myArray then I can hold dfifferent values at $myArray[1] and $myArrayp[2] etc.

andy-signature.png
YELLOW
SWORDFISH
Avatar
georgina lewis
Member
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 3:41 pm

Mr Papa said
why do you want to edit or change that file???

I pointed you to the codex about those functions... those functions are called from your sp theme... the codex tells you how to alter the function calls in your sp theme to achieve the desired operation...  you do NOT need to modify those files... just call them differently...  you will find the calls in spHead.php template file in your sp theme..

I don't understand this post.  I too want to change the register button inside my theme.  You guys had me use the standard theme and not one of the unique themes of simple press due to execution errors.  So now I sit here and wonder how to change this simple button.  I can not find a sphead.php when i search on all files inside of simple press using filezilla so I think the only thing I can do is to hard code changes inside the simple-press/forum/content/sp-common-view-functions.php.

 

http://mygolfpros.com/forum

 

what am i missing here?  I also want to change colors and use a bar for indented tabs to represent the user location on the site (like you have above) however i don't have a clue how to do that either.

 

please advise and let me know if i have to hard code the links in the simple-press/forum/content/sp-common-view-functions.php. or what you are talking about in the sphead.php and how to access.

thanks

G

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 8:07 pm

its not inside of simple press... its inside your custom theme...  so wp-content/sp-resources/your-theme-name/templates/spHead.php

I would strongly recommend against changing core code...

but,  you have not said what you actually want to do???

and be sure to check out:  http://codex.simple-press.com/.....terbutton/

for ways you can control how the register button displays and operates...

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 2, 2013 - 8:15 pm

The spHead.php file is in every Simple:Press theme custom or supplied ones. It is in the theme's /templates folder along with the other php files. You can edit that one also using the theme editor built into Simple:Press > Themes >Edit theme. Then you won't have to go searching for it.

Changing colors requires that you edit the theme's overlay or CSS file and change the CSS to the colors you want.

The "indented tabs to represent the user location" you are talking about sounds like you mean the breadcrumbs arrows. That requires quite a bit of CSS changes and also possibly creating an image for the arrow itself. Multiple topics here on how to do it… for example:  https://simple-press.com/suppor…..ne/page-3/ But not for the faint of heart. Will take some trial and error. ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625