News:

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

Main Menu

Ultimate Profile

Started by JovanT, March 12, 2009, 12:14:40 PM

Previous topic - Next topic

JulesW

The parsing of the modsettings.php I've done manually yes. Also tried to put it in as $subActions['ultprofile'] => 'ModifyUltProfileSettings'; to no avail.

I installed it with an error in modsettings, so I backed up all forum files, installed the mod with the error and parsed the modsettings.php myself
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

#1041
You may want to try this, Jules....   pull that ModSettings.php to one side, leave it on your desktop and send up a fresh ModSettings.php from your SMF 1.1.10 zip.  Then reinstall Ultimate Profile again, hoping for a "successfully installed" message.  If you get any other "failed tests", pull those files from your server as well, and replace those with clean files from your zip.  You want to be able to install it with no errors. Test it for function and then, when it's working correctly, send up that ModSettings.php (and any other files that you had to pull from your server and replace with clean files) since they have all your other mods' edits, along with Ultimate Profiles' edits and see if it continues to function as it should.



EDIT:   Let me add this, since I'm not sure how much longer I'll be around...  if you uninstall and then reinstall, Ultimate Profile's edits probably won't be in the any files that you get a "failed test" on and have to pull from your server in order to replace with clean ones and proceed.  So, when you're done, before you send those files back up to preserve your other mods, you'll want to manually add Ultimate Profile's edits.
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

I suppose I first have to uninstall the ultimate profile mod, or else I won't be able to install it after replacing the files with the original ones?
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 04:16:31 PM
I suppose I first have to uninstall the ultimate profile mod, or else I won't be able to install it after replacing the files with the original ones?


I just edited my other post to you.    :)

Just go ahead and make a folder on your desktop and pull all the files that Ultimate Profile wants to parse (you can get those from the mod page) off your server and put them in the folder.  Then uninstall Ultimate Profile and send up clean versions of all those files.  Once Ultimate Profile is installed, you can send those files in the folder on your desktop back up. They should already have Ultimate Profile's edits from before. 

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

Ok will do.

Will let you know how things went along. Thanks thus far for all the help!
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 04:23:25 PM
Ok will do.

Will let you know how things went along. Thanks thus far for all the help!



I've got to dash for a quick appointment, Jules, but leave a note as to how it went and, if I'm not around, someone else much brighter will be.   :D


Good luck with it!

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

All went according to plan:  backed up the modsettings.php from the server and the modsettings.english.php from profiles/default/language/ and uninstalled without problems,
Replaced those files with clean ones without any edits and installed without errors

Next tested if it worked and I was able to activate ultimate profile mod for all members. So I restored the backed up files (with the edits from previous install) and now I cannot disable the mod any more. Also got the same errors written to the log.
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 04:43:05 PM
All went according to plan:  backed up the modsettings.php from the server and the modsettings.english.php from profiles/default/language/ and uninstalled without problems,
Replaced those files with clean ones without any edits and installed without errors

Next tested if it worked and I was able to activate ultimate profile mod for all members. So I restored the backed up files (with the edits from previous install) and now I cannot disable the mod any more. Also got the same errors written to the log.




I'm back.....   from finding out that my first grandchild will be a girl.   :D


Would you attach those two files that you edited? 

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

Congratulations!!

Just found out. The files on the server had the ultmodsettings still as $subaction instead of being in the array. After modifying that it worked perfectly!

No errors!! Don't think the profile visitors mod still functions, but why that is, I don't know (yet)
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 05:43:38 PM
Congratulations!!

Just found out. The files on the server had the ultmodsettings still as $subaction instead of being in the array. After modifying that it worked perfectly!

No errors!! Don't think the profile visitors mod still functions, but why that is, I don't know (yet)


Thanks, and congratulations to you, for sorting that out!   :)

There's something here in this very long thread about the Profile Visitors mod; someone else had an issue...   let me glean through it and see what I can find.


My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

Strange thing is, that it worked before. when I enabled the ultimate profile for my profile only, it was there. Now it is not, so maybe I'll just reinstall the profile visitors mod as well, since now it was installed before the ultimate profile mod.
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 05:50:21 PM
Strange thing is, that it worked before. when I enabled the ultimate profile for my profile only, it was there. Now it is not, so maybe I'll just reinstall the profile visitors mod as well, since now it was installed before the ultimate profile mod.



That's what I'm thinking, Jules.  JovanT says here that there is built-in support in Profile Visitors for Ultimate Profile, so maybe just a reinstall and mod/permission settings may sort it.

http://www.simplemachines.org/community/index.php?topic=298641.msg1975353#msg1975353
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

Also figured that one out:

Ultimateprofile.template.php is modified by the profile visitor mod. Since that was reinstalled, it no longer had the modifications. No need to reinstall the visitor mod though but just parse the edits manually in the /themes/default/ultimateprofile.template.php.

Thanks again for all your help!
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere



You don't need no stinkin' support thread!   :D
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

But sometimes I need to be nudged into the right direction.

And I have no coding skillz at all, if I look at code, I mostly can figure out what things do, but no way I can code anything myself, let alone find errors in the code....t

plus: I have two more mods that regularly write errors in the log, so I'm not out of the woods ye
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 06:05:11 PM
But sometimes I need to be nudged into the right direction.

And I have no coding skillz at all, if I look at code, I mostly can figure out what things do, but no way I can code anything myself, let alone find errors in the code....


I've never used Profile Visitors, so I had no idea that it modified Ultimate Profile.  That's good to find out.  Good catch!

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

During install it says it's not vital to the mod, but apparently it is if you have ultimate profile enabled...

congrats on your 1000th post btw ;)

edit:typo
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

gbsothere

Quote from: JulesW on October 02, 2009, 06:09:12 PM
During install it says it's not vital to the mod, but apparently it is if you have ultimate profile enabled...

congrats on your 1000th post btw ;)

edit:typo


Ah, thank you.....    this calls for a Scotch.... and it's after 5:00 where I am.   :)

Glad you got it sorted, Jules!

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

JulesW

#1058
I'll join you with the scotch. Past midnight over here, so that won't be frowned upon :D
And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17

CerebralJam

#1059
Hiya... me again.  I love this mod and it is working great on my forum.  I've moved a few things around but what I would like to do is create another media file box... ie one where people can add their favourite links to other places, or a  youtube clip.  I am currently using the present My Media for my songs and videos I create so I want to separate the two.  Also it's becoming lop-sided so it would be nice to even out my left hand side by adding this.

I tried to add a duplicate my media box and it worked only of course it will adds the same material as the first one you made into it.

I found this coding in the php file but I haven't a clue as I said what to do!

Quote/*
      // This section is optional. You can paste code and display fields from Custom Profile fields mod.
      
      echo '
         <br />
         
         <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="more_fields">
            <tr>
               <td class="windowbg">';
               
               
               // PASTE YOUR CODE HERE
               
               
      echo '
               </td>
            </tr>
         </table>';
      */
   

Can anyone help me please?  I had originally thought with my idea of duplicating the media box earlier that I just change the name of the box but I then don't know how or where to add the field people type into.  Very lost ...

exactly how do I add this to the file to make it 1) activated?  Do I take the */ out and what do I paste as the code where it says paste code here.  I'm really making what I think to be a simple task a complicated read aren't I?  Sorry!

I would like this box to be html compatible as we have some widgets that display with this but not bbcode.  We have Aeva installed but it will not display certain types of media widgets.

EDIT:  Ps.  I am sorry if this has been included prior to this post, there's 53 pages here and it's hard to find the time to read all of them.  I did read many from the beginning but I am eager to just get on!

Many thanks.
Janet

EDIT:  Ahhh, just read it says Custom Profile Fields Mod, ow, that is only available for 1.1.9  - I'm running 2.0 RC1-2.  Can you tell me just how I add a new media box on the left as specified LOL with somewhere to edit it in!  I'm going back to the drawing board in the meanwhile to have a little fiddle ... hopeless at manuals.

Advertisement: