News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Profile Field Mod

Started by winrules, March 30, 2006, 02:21:25 PM

Previous topic - Next topic

Jessikard

if you use another language , there´s a mod called "Load Standard Language"

so every mod, that´s not in your language will display in engl. and you can see, where you have to translate

higherauthority

#2341
I get the error on install  Just downloaded it today

I'm running smf 1.1.7  just ran the upgrade from 1.1.6   

I get this error

Quote from: Error on install
Type Action Description
1. Execute Modification ./Sources/ModSettings.php Test failed
2. Execute Modification ./Themes/default/Profile.template.php Test successful
3. Execute Modification ./Themes/default/Display.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/default/Register.template.php Test successful
6. Execute Modification ./Sources/Register.php Test successful
7. Extract File ./Sources/CustomProfile.php 
8. Extract File ./Themes/default/languages/CustomProfile.english.php


I have the following mods installed

Modification Packages
Mod Name Version 
1. SMF Staff Page 1.6   [ Uninstall ] [ List Files ] [ Delete ] 
2. Remove SMF Logo 1.2   [ Uninstall ] [ List Files ] [ Delete ] 
3. LogModAccountEdits 1.9   [ Uninstall ] [ List Files ] [ Delete ] 
4. Custom Copyright 1.1   [ Uninstall ] [ List Files ] [ Delete ] 
5. Auto Email Inactive Users 1.7   [ Uninstall ] [ List Files ] [ Delete ] 
6. Aeva ~ Auto-Embed Video & Audio 5.1.28   [ Uninstall ] [ List Files ] [ Delete ] 
7. Admin Notepad 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
8. FlashChat Integration 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
9. SMF 1.0.15 / 1.1.7 Update 1.0  [ List Files ] [ Delete ] 
10. Custom Profile Field Mod 3.19  [ Apply Mod ] [ List Files ] [ Delete ] 
11. Remove MySQL, PHP & W3C images to minimize footer size 1.2   [ Uninstall ] [ L
12. Reason For Editing Mod 1.14   [ Uninstall ] [ List Files ] [ Delete ] 
13. Ad Managment 2.3   [ Uninstall ] [ List Files ] [ Delete ] 
14. The Rules 1.2   [ Uninstall ] [ List Files ] [ Delete ] 

I tried to manually add your changes in the modsettings.php as shown in the  manual install directions , but then I can not even get it to show up in the "features & Setting" list



Rumbaar

Well you either didn't put in the correct or all code required. Are using a language other than english and the $txt[] strings are missing.  Error log entries?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

higherauthority

#2343
What I did is installed the mod even if it said failed on modsettings.php then I downloaded and modified the modsettings.php

OK I think I found my problem I get this error

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/lanzafam/public_html/sdfsdfsfadf/tjoomla/tforum/Sources/ModSettings.php on line 126

here is my code


// Will need the utility functions from here.
require_once($sourcedir . '/ManageServer.php');

$context['page_title'] = $txt['modSettings_title'];
$context['sub_template'] = 'show_settings';

$subActions = array(

'aeiou' => 'ModifyAeiouSettings', 'aeva' => 'ModifyAevaSettings',

'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',
);

$subActions['rules'] = 'ModifyRulesSettings';

'profile' => 'ModifyProfileSettings',
);

// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
$context['sub_action'] = $_REQUEST['sa'];



Line 126 is 

'profile' => 'ModifyProfileSettings',  What did I do wrong?  should that go after 'karma' => 'ModifyKarmaSettings', ?

Kindred

well, what you have there is definitely NOT valid code.   You can't have the declaration be outside of any array, as it appears to be there.

I suggest you take a look at an original copy of modsettings.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."

Highbuzz

#2345
Hello! Great mod, I have a suggestion to it.

On the selection box fields, please make it so you can enter an number of fields you want, not this "Add another Option" thing, very long process if you have any options! Also makes it difficult if you over shot it by one and were wishing to delete that one extra field...

Edit: Another suggestion...

I made a selection box custom field and put little images in it to be selected. It displays fine on profiles, but not when you select them. I made this image selectable from the choices:


Instead of displaying it when picking it out of the others (they are all suppose to be images, but display in a similar manner), it displays like this as a choice:
[img]http://www.cybernations.net/images/resources/aluminum.gif[/img]

Make it so you can select things as images! :)

Cheers!

Kindred

Quote from: Rumbaar on December 30, 2008, 07:40:53 PM
... there will be no further development of this mod for 1.1.x stream.
...  Either way there will be no further development of the 1.1.x stream.
Сл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."

Highbuzz

D: Didn't read that, my bad. :P

MeowMommy

I installed this on 1.1.7 and it works flawlessly - great mod!

I tried the WoW Names but got all kinds of errors on installation, so I deleted that. This one installed like a dream - thanks!

I'd like to use it for roleplaying threads, where you specify which of your characters should be displayed in each post. All I've been able to do so far is create the fields; I haven't found anything that will let someone post as different RP characters - in other words, pick the character to use at the time they post. Is there any way to do that with this mod?

Kindred

that is not what this mod does...    and I do not think this mod can be made to do that at all
Сл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."

cmarie

Getting the following error after installing the Custom Profile Field Mod when I click on Features and Options:
     'Fatal error: Cannot redeclare modifyprofilesettings() (previously declared in /home/spiritte/public_html/studyhallnotes/Sources/ModSettings.php:314) in /home/spiritte/public_html/studyhallnotes/Sources/ModSettings.php on line 319'

HELP!!! 

Kindred

you seem to have installed th emod twice (or more)

You will have to manually remove the duplicate code (and probably do the same from other files as well, since we don't know how much was duplicated)
Сл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."

SilentMoon

#2352
I installed this mod on a new 1.1.7 board but have a couple of questions
When it is told to show under post count it shows above post count and the text i put in 'Field Description' shows bolded with : after it.

Since I don't want it above post count I changed it to 'show next to images'

When I tell it to 'show next to images' it looses the 'Field Description' and only shows what is entered in the profile field by the member.

When I add the text from 'Field Description' : as 'Text to display before field'
it shows the text: followed by the contents but then on profiles it show the 'Field Description' and the 'Text to display before field' both so you see in the profile view

DogsName: 
                     Dogs Name: xxxxx, yyyyyyyyyy
Age/Born:   
                    Age/Born: 0-00-07, 0-00-08


It also does not create a break or new line for each field which I have gotten around by adding <br /> at the beginning of the 'Text to display before field'
This break however offsets it by a line in profile view as above.

If I do not add the break tags as text before image every field wraps after the previous field, the first field starts at the last image with part of the text and it all wraps like one long line after it.

Is there a work around to have it not show the offset in profiles while still using the br tag so it's not all one long line? It looks ok with the added breaks for the 'Show in posts' but has the offset of a line in profile.

I guess it looses field description when shown after images so if you use more images it does not add field names but it would be a neat idea to have that as an option to choose in the admin panel.

I admit I have not read all 118 pages of this thread but have searched the thread using quoted terms and not found answers.

Bigguy

Is this thread supposed to be locked.

Rumbaar

I don't think so Bigguy, and I can't even see in the logs where it was locked by someone.  I can only think it's an automated thing linked to the mod site?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Bigguy

I guess we'll just leave it for now then. ???

Rumbaar

I've unlocked it, I still think it's an active mod and thread for support still.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

oinker

Greetings,

Is it possible to make the names bold? For example, I have them set up like this:

XBL:
PSN:
Wii:
Steam:

I want the names to be in bold and their text to be in normal (that's not an issue since it's like that default).

Rumbaar

Please search the thread, I'm sure how to format the title text has been posted before.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

justanothertechy

Good morning all,

I apologize if this is a stupid question, but has this mod been discontinued? When I click the most recent download link it claims that it has not yet been approved - does anyone have an available copy? It looks like a great mod and it really seems to do what I need (whether or not my noob self can get it to work is another question altogether). Thanks in advance for any help that you can offer.

Advertisement: