News:

Wondering if this will always be free?  See why free is better.

Main Menu

User Control Panel ( User CP ) V3.0

Started by Alan S, April 28, 2007, 12:59:54 PM

Previous topic - Next topic

Kindred

you can add the following line into modifications.english.php

$txt['usercp']='User CP';
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Chit-Chat ChatterBox Boss

Quote from: Kindred on April 30, 2009, 01:38:27 AM
you can add the following line into modifications.english.php

$txt['usercp']='User CP';

thanks everything is good now =D (for now =p)
Chit-Chat ChatterBox

Our site is open to everyone. It is a resource for anyone and everyone to talk about anything and everything you could possibly think of. It's a great place to come and talk, ask questions, or just simply hang out. We offer many great features. All we ask is that you follow by the site rules. Hope to see you around!
www.chitchatchatterbox.com
Remember in the "Referral" box to put "Caleb" while registering.

Realinfo

Quote from: Realinfo on March 31, 2009, 10:14:13 AM
2.   Execute Modification   .\Themes\default/index.template.php   Test failed
3.   Execute Modification   .\Sources/ModSettings.php   Test failed


Help to slove that............ I have 1.1.8


Help.....................

Kindred

that means that some other mod that you have installed is preventing the automatic installation. You will have to manually edit those files
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Realinfo

yes.......... So tell me.......... what I have to add in these two files........... and where I have to add that...................thanks

Kindred

There is a link to Manual installation instructions on each mod download page.  Pick your SMF version and it will tell you what to look for and what edits to make.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

scimmiotto

hi, is it this mod compatible with smf 2.0 rc1?
Loop code example:
The following statement is FALSE
The previous statement is TRUE.

ysNoi

#807
Nice mood..! Thanks...

How do I add a code so as to enable this mood on one of my themes..?

Here :

// Edit Profile... [profile]
                     if ($context['allow_edit_profile'])
                     echo'
                         <li>
                         <a' , $current_action=='profile' ? ' class="current"' : '' , ' href="', $scripturl, '?action=profile">

                             <span class="menu-left"></span>
                             <span class="menu-mid">' , $txt[79] , '</span>
                             <span class="menu-right"></span>
                         </a>
                                 <div class="sub">
                                 <ul>                                                                           
                                         <li><a href="index.php?action=profile;sa=forumProfile">' , $txt['forpro'] , '</a></li>
                                         <li><a href="index.php?action=profile;sa=theme">' , $txt['layout'] , '</a></li>
                                         <li><a href="index.php?action=profile;sa=account">' , $txt['account'] , '</a></li>                                         
                                         <li><a href="index.php?action=profile;sa=notification">' , $txt['notification'] , '</a></li>
                                  </ul>
                                 <div class="btm-bg"></div>
                                  </div>
                          </li>';

"Don't fix it if it ain't broken, don't break it if you can't fix it."

Kindred

scimmiotto, not without some manual edits to the usercp.php file

ysNoi,   what is that ???   The mod replaces the profile link in the topnav menu.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

scimmiotto

k, i'll wait for final release,  i think that if u will update this mod for rc1, it will work on final release too ('cause it's a rc :) ).
Loop code example:
The following statement is FALSE
The previous statement is TRUE.

ysNoi

Hi Kindred, thanks for the reply...

Quote from: Alan S on April 29, 2007, 11:35:54 AM
To Make It Work With A Custom Theme

Index.Template.Php

Find
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>

Replace With
<a href="', $scripturl, '?action=usercp">' , $txt['usercp'] , '</a>

I'm confused with this part where to add this code...! My <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a> is scattered like I posted on my first post of this thread

How do I replace the code to make it work on my custom themes?
"Don't fix it if it ain't broken, don't break it if you can't fix it."

ysNoi

Quote from: Alan S on January 17, 2008, 12:45:54 PM
Want A Theme Listed Here? Let me know!

Can I ask to work it on the following themes..?

-- Outline
-- OutlineOmega_TP
-- Orange Luv
-- Enterprise TP
"Don't fix it if it ain't broken, don't break it if you can't fix it."

Kindred

ysNoi...

you replace that code in index.template.php, as instructed...

Since it looks like your theme has sub menus, you'll have to be creative, but this is the basic replacement line
<a' , $current_action=='profile' ? ' class="current"' : '' , ' href="', $scripturl, '?action=profile">

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Realinfo

Quote from: Kindred on May 01, 2009, 08:34:05 AM
that means that some other mod that you have installed is preventing the automatic installation. You will have to manually edit those files

Sorry, but this modification does not appear to be compatible with the selected version..............  I have 1.1.8 ver.................... why not it deal with this ver........... most of people have now this ver........... help......................

Kindred

this mod should work jyst fine with 1.1.8.

As I already said, if you are getting failures on certain files, that typically means that something else (another mod?) has modified the code that this mod is looking for, so you will have to MANUALLY apply the changes to those files.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Realinfo

thanks..... It's working ok now............ One thing more................ I MENU Instead of "USER CP".............. I need "CP"............. what and where I have to make changes..................

Kindred

usercp.english.php (and possibly modifications.english.php)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Realinfo

Quote from: Kindred on May 14, 2009, 07:48:03 AM
usercp.english.php (and possibly modifications.english.php)

yes it was in...... modifications.english.php............ But I got one more problem......... in Admin section , I can't able to open FEATURES and OPTIONs.............. when i open it, i got a blank screen.............. see my MODSETTINGs.php ............. I guess there I got something wrong, as i added things mannually.........

Joe N

Will this work with smf 2.0 RC1?

Which package should I use?

Joe
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Kindred

Quote from: Kindred on April 28, 2009, 08:18:20 PM
this mod will not currently work with 2.0RC1 without modification to the usercp.php file

Please READ the previous pages?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: