User Control Panel ( User CP ) V3.0

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

Previous topic - Next topic

AlenNS


GKDantas

Just a question about using CP:

1 - I want to use the custom field to redirect to User Gallery (Using SMF Gallery Pro), so I need to use the following code in the URL:

http://carraralounge.com/index.php?action=gallery;su=user;u='$ID_MEMBER'

But I get the follow message: No user selected.

Someone can help me? Using SMF 1.1.8; CP 2.0

hxxp:carraralounge.com [nonactive]

DareDevil1990


Kindred

Sorry GKD...  you can not use variables in the URL.
Сл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."

Alan S

Quote from: GKDantas on March 22, 2009, 11:29:36 PM
Just a question about using CP:

1 - I want to use the custom field to redirect to User Gallery (Using SMF Gallery Pro), so I need to use the following code in the URL:

http://carraralounge.com/index.php?action=gallery;su=user;u='$ID_MEMBER'

But I get the follow message: No user selected.

Someone can help me? Using SMF 1.1.8; CP 2.0

http://carraralounge.com

You will have to manualy add another field. See here
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

Realinfo

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

Kindred

you will need to manually apply the mod to those files. (and probably to your custom theme files as well, since you are on 1.1.x)
Сл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 March 31, 2009, 05:40:55 PM
you will need to manually apply the mod to those files. (and probably to your custom theme files as well, since you are on 1.1.x)

So Please gide me.. what i have to add manually in those files................ and where I have to do........... and is it possible that u will do it for me.............

Bec

have tried to use package parser but its coming up saying its corrupted. would someone please mind posting the manual edits here (pretty please)

thanks :)

nukinfuts

any chance to get this working on 2.0rc1?

b0dyr0ck2006

What would be the process to get this working in 2.0RC1? I will happily do the edits myself.
Why don't you check out my site: www.swapsiesuk.co.uk

Why Shop when you can Swap?!

Kindred

you have to modify the action url strings in the usercp.php source file
Сл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."

b0dyr0ck2006

No problem, so just to clarify then. which of the many downloads should I use for 2.0RC1?

Thanks for your help.
Why don't you check out my site: www.swapsiesuk.co.uk

Why Shop when you can Swap?!

Kindred

use the 2.0 beta 4 download and modify each of the action urls in the usercp.php file
Сл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."

[unplugged]

Hello. I was sorting out some errors in my error log and noticed an undefined index: usercp_copyright. I checked all of my files and sure enough, the $txt is missing. Can someone please tell me what it is so I can add it back to the usercp.english.php?  :P
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



b0dyr0ck2006

So I would change this:
Quote'account' => array(
            'title' => $txt['usercp_account_info'],
            'href' => $scripturl . '?action=profile;u=' . $user_info['id'] . ';sa=account',
            'img' => $settings['images_url'].'/usercp/ksysguard.png',
            'txt' => $txt['usercp_account_info_summary'],
            'show' => !empty($modSettings['usercp_enable_account']),
         ),

To this:
Quote'account' => array(
            'title' => $txt['usercp_account_info'],
            'href' => $scripturl . '?action=profile;area=account;u=' . $user_info['id'],
            'img' => $settings['images_url'].'/usercp/ksysguard.png',
            'txt' => $txt['usercp_account_info_summary'],
            'show' => !empty($modSettings['usercp_enable_account']),
         ),
Is that right?
Why don't you check out my site: www.swapsiesuk.co.uk

Why Shop when you can Swap?!

Kindred

Сл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."

b0dyr0ck2006

Well I made all the edits that you recommended uploaded and installed the new RC1 version and.....

It didn't work!!

Very odd as everything is looking at the correct place.

Any ideas? I can add the files if needed.
Why don't you check out my site: www.swapsiesuk.co.uk

Why Shop when you can Swap?!

Bec

Quote from: Bec on March 31, 2009, 10:42:52 PM
have tried to use package parser but its coming up saying its corrupted. would someone please mind posting the manual edits here (pretty please)

thanks :)

would appreciate some help :)

Kindred

look in the XML file. all of the edits are listed in there
Сл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: