Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Mr. Pedram on March 17, 2013, 06:35:19 AM

Title: Instagram
Post by: Mr. Pedram on March 17, 2013, 06:35:19 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3673)

Instagram v2.0
Add Instagram field and icon to your profile!

(http://getpopularfast.com/images/instagram_02.png)

Compatibility
SMF 2.0

Changelog
(update v2.0: 16 May 2014)
* Comma bug fixed in load.php

(update v2.0: 16 May 2013)
* Bug fixed in profile-modify.php
* Support Ultimate Profile mod

Mod by: Mr. Pedram (http://www.simplemachines.org/community/index.php?action=profile;u=323252)

(http://i.creativecommons.org/l/by-nc-nd/3.0/88x31.png)
This mod is licensed under a CC BY-NC-ND 3.0 (http://creativecommons.org/licenses/by-nc-nd/3.0/)
Title: Re: Instagram
Post by: johnpaul2k2 on March 17, 2013, 09:58:23 AM
been waiting to add Instagram to my profile

i will test and give my feedback

thanks
Title: Re: Instagram
Post by: Colin on March 17, 2013, 11:51:35 AM
Much needed mod. Great work and thanks.
Title: Re: Instagram
Post by: Mr. Pedram on March 17, 2013, 12:44:22 PM
Thanks ,
good to hear it's useful :)
Title: Re: Instagram
Post by: Dzonny on March 23, 2013, 09:20:57 AM
Sweet :) Thanks! :)
Title: Re: Instagram
Post by: Mr. Pedram on March 26, 2013, 08:29:53 AM
Quote from: Dzonny on March 23, 2013, 09:20:57 AM
Sweet :) Thanks! :)

Ur Welcome ;)
Title: Re: Instagram
Post by: TheListener on May 13, 2013, 08:13:16 PM
Have you considered including an edit for the Ultimate Profile mod?
Title: Re: Instagram
Post by: Mr. Pedram on May 14, 2013, 02:33:38 AM
Quote from: Old Fossil on May 13, 2013, 08:13:16 PM
Have you considered including an edit for the Ultimate Profile mod?

Actually no, i've never work with Ultimate Profile mod, but think work with that perfectly. don't know.
If someone need to install Instagram on Ultimate Profile, please let me know. I'll take a look.

Do you need this @Old Fossil already or it was just a suggestion?
Title: Re: Instagram
Post by: TheListener on May 15, 2013, 11:43:53 AM
Quote from: Mr. Pedram on May 14, 2013, 02:33:38 AM
Quote from: Old Fossil on May 13, 2013, 08:13:16 PM
Have you considered including an edit for the Ultimate Profile mod?

Actually no, i've never work with Ultimate Profile mod, but think work with that perfectly. don't know.
If someone need to install Instagram on Ultimate Profile, please let me know. I'll take a look.

Do you need this @Old Fossil already or it was just a suggestion?

Both

;)
Title: Re: Instagram
Post by: Mr. Pedram on May 16, 2013, 11:22:31 AM
Quote from: Old Fossil on May 15, 2013, 11:43:53 AM
Both

;)

Here you go:

Code (Find this on ultimateProfile.template.php) Select
// ... Or if the one looking at the profile is an admin they can see it anyway.
elseif ($context['member']['show_email'] == 'yes_permission_override')
echo '
<em><a href="', $scripturl, '?action=emailuser;sa=email;uid=', $context['member']['id'], '">', $context['member']['email'], '</a></em>';
else
echo '
<em>', $txt['hidden'], '</em>';


Code (Add after) Select
// Instagram!

if (!isset($context['disabled_fields']['instagram']) && !empty($context['member']['instagram']['link']))
echo '
<dt><img src="', $settings['images_url'] ,'/instagram.png" alt="', $txt['instagram'], '" /></dt>
<dd>';

echo '
<a href="', $context['member']['instagram']['href'] ,'">', $context['member']['instagram']['name'] ,'</a>';


or re-install the mod. i updated the mod with support ultimate profile.
Title: Re: Instagram
Post by: TheListener on May 16, 2013, 01:45:59 PM
I added it the lazy way.

::)

Anyways if ya look at the attached imaged the link should be above the email and not below.

I tried to move it but had no luck.

Title: Re: Instagram
Post by: Mr. Pedram on May 16, 2013, 03:13:30 PM
Well, you are using a Social Media Icons mod , so forget the prev way and use this:

Find:

if (!isset($context['disabled_fields']['msn']) && !empty($context['member']['msn']['link']))
echo '
<dt><img src="', $settings['images_url'] ,'/msntalk.gif" alt="', $txt['msn'], '" /></dt>
<dd>', $context['member']['msn']['link_text'], '</dd>';


Add after:

// Instagram!

if (!isset($context['disabled_fields']['instagram']) && !empty($context['member']['instagram']['link']))
echo '
<dt><img src="', $settings['images_url'] ,'/instagram.png" alt="', $txt['instagram'], '" /></dt>
<dd>';

echo '
<a href="', $context['member']['instagram']['href'] ,'">', $context['member']['instagram']['name'] ,'</a>';
Title: Re: Instagram
Post by: TheListener on May 16, 2013, 05:05:44 PM
Thanks Mr P that looks better.

May be an idea for the next version if ya keep the other mods in mind.

;)
Title: Re: Instagram
Post by: Mr. Pedram on May 16, 2013, 05:11:06 PM
Quote from: Old Fossil on May 16, 2013, 05:05:44 PM
Thanks Mr P that looks better.

May be an idea for the next version if ya keep the other mods in mind.

;)

you're welcome.
Of course :)
Title: Re: Instagram
Post by: CheeseHead05 on May 22, 2013, 02:03:32 PM
Will this mod only show in the admin profile or will it show for all members in the forum profile, kind of like the ADD AND CREATE SOCIAL MEDIA ICONS TO PROFILE mod?
Title: Re: Instagram
Post by: TheListener on May 22, 2013, 02:05:07 PM
Cheesy the mod shows in the profile section and a users posts for all members not just admin.
Title: Re: Instagram
Post by: CheeseHead05 on May 22, 2013, 02:09:10 PM
Thanks Old Fossil!

I promise your the best with the helpful answers!
Title: Re: Instagram
Post by: TheListener on May 22, 2013, 02:11:40 PM
Quote from: CheeseHead05 on May 22, 2013, 02:09:10 PM
Thanks Old Fossil!

I promise your the best with the helpful answers!

Careful I blush easy lol.

This is just one of 68 mods on my forum so I knew the answer already lol.
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 12:38:36 AM
Mr. Pedram,

I attempted to install this mod but when I go to add in the code, i get a "cant find........" on my Notepad++, can you please help because I really want this mod installed for my forum.

Thanks in advance

Old Fossil,

You blush easily ehh? lol
Title: Re: Instagram
Post by: TheListener on May 26, 2013, 12:40:33 AM
Which part are ya having trouble with Cheesy?

If I can't help someone else can.

:)
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 01:45:10 AM
In the "Installation actions" under Core Theme, Execute Modification fails. So I attempt to find the code it says to find so that I can "add after" with the 2nd code but when I go to find the 1st code, my Notepad++ says that it cant find it.
Title: Re: Instagram
Post by: TheListener on May 26, 2013, 01:47:23 AM
Is your forum using the core theme?
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 02:12:45 AM
no, im using a custom theme.
Title: Re: Instagram
Post by: TheListener on May 26, 2013, 02:15:30 AM
Quote from: CheeseHead05 on May 26, 2013, 02:12:45 AM
no, im using a custom theme.

If the test failed shows in the core theme and you are not using it then you can ignore it.
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 02:24:00 AM
Ive tried to ignore but it caused a parse error which caused me to have restore my entire forum. I wasnt a happy flower...
Title: Re: Instagram
Post by: Mr. Pedram on May 26, 2013, 03:54:57 AM
Please tell exactly, which theme are you using?
and which code you trying to add to which file?

I not following you yet...
Title: Re: Instagram
Post by: Colin on May 26, 2013, 04:03:15 AM
Quote from: CheeseHead05 on May 26, 2013, 02:24:00 AM
Ive tried to ignore but it caused a parse error which caused me to have restore my entire forum. I wasnt a happy flower...
If you want to provide a link to your forum where it is throwing the parse error it will expedite the process.
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 11:12:47 AM
Quote from: Mr. Pedram on May 26, 2013, 03:54:57 AM
Please tell exactly, which theme are you using?
and which code you trying to add to which file?

I not following you yet...

I am using a custom theme from colorizit and here is the problem:

   Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test failed
      Extract File    ./Themes/core/images/instagram.png    
   
These are the codes when I hit "Add After"

Find:
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '

After at:
', !empty($message['member']['instagram']['link']) ? '<li>' . $message['member']['instagram']['link'] . '</li>' : '', '

But my Notepad++ says that it cant find the first code.
Title: Re: Instagram
Post by: Mr. Pedram on May 26, 2013, 12:25:22 PM
ok, please attach your display.template.php here.
Title: Re: Instagram
Post by: TheListener on May 26, 2013, 01:59:36 PM
@Cheesy

Can you please either use the code (#) tags or more preferably as Mr Pedram requested attach the file as an attachment.
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 02:15:39 PM
Sorry you guys..

@ Mr. Pedram, please dont scream at me, im still figuring my way thru smf

At Old Fossil,

For the life of me, I followed the instructions to create a new topic but still cant! I clicked on the mod I want and hit "support and Comment" but when it takes me to an old thread that says "create a new topic". but where is the freakin button to do so?

Thanks in advance!
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 02:22:12 PM
Quote from: Mr. Pedram on May 26, 2013, 12:25:22 PM
ok, please attach your display.template.php here.

Title: Re: Instagram
Post by: Mr. Pedram on May 26, 2013, 03:35:10 PM
Quote from: CheeseHead05 on May 26, 2013, 02:22:12 PM
Quote from: Mr. Pedram on May 26, 2013, 12:25:22 PM
ok, please attach your display.template.php here.



No, no. please do not copy and paste source code in MS Word file, just attach your custom theme's display.template.php file here.
Title: Re: Instagram
Post by: CheeseHead05 on May 26, 2013, 11:50:11 PM
I apologize if I may seem a bit slow, but how do I attach the file from the ftp?
Title: Re: Instagram
Post by: solewind on May 27, 2013, 12:58:58 AM
Thanks a lot! This mod is working greatly! Thank you for sharing.
Title: Re: Instagram
Post by: Mr. Pedram on May 27, 2013, 03:44:39 AM
Quote from: CheeseHead05 on May 26, 2013, 11:50:11 PM
I apologize if I may seem a bit slow, but how do I attach the file from the ftp?


No Problem, you should copy and paste that file via ftp in your pc, then attach it here.

Quote from: solewind on May 27, 2013, 12:58:58 AM
Thanks a lot! This mod is working greatly! Thank you for sharing.

Welcome, :)
Title: Re: Instagram
Post by: CheeseHead05 on May 27, 2013, 01:49:40 PM
Mr Pedram,

Im still not understanding, can you give me the steps as I am not an expert with the ftp..please be gentle with comments...  :)
Title: Re: Instagram
Post by: Mr. Pedram on May 27, 2013, 02:44:58 PM
Well, google is your friend!
Please read this (http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/gftp/gftp-05.html). then just copy that file and paste it on your pc then attach it here.
Title: Re: Instagram
Post by: CheeseHead05 on May 27, 2013, 05:48:03 PM
I read your link and attempted. I transferred the file over to my pc using FileZilla but now I cant paste the display.template.php in here..
Title: Re: Instagram
Post by: Arantor on May 27, 2013, 05:50:47 PM
If you've downloaded the file, you can use the attach function (under the main posting box) to attach the file here...
Title: Re: Instagram
Post by: CheeseHead05 on May 27, 2013, 06:27:11 PM
Arantor,

Ive tried that, but Im trynna figure out how to get the file to appear that box thingy that has the scrolls.
Title: Re: Instagram
Post by: Mr. Pedram on May 28, 2013, 06:32:51 AM
I wondering how you attached that MS word file in this post (http://www.simplemachines.org/community/index.php?topic=499899.msg3551223#msg3551223) !
do this again with this!
Title: Re: Instagram
Post by: CheeseHead05 on May 29, 2013, 12:51:41 AM
I hope this is correct..
Title: Re: Instagram
Post by: Mr. Pedram on May 29, 2013, 09:34:51 AM
Yeah, it's correct, but once i checked your file i found that line you couldn't find,

Quote from: CheeseHead05 on May 26, 2013, 11:12:47 AM
I am using a custom theme from colorizit and here is the problem:

   Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test failed
      Extract File    ./Themes/core/images/instagram.png    
   
These are the codes when I hit "Add After"

Find:
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '

After at:
', !empty($message['member']['instagram']['link']) ? '<li>' . $message['member']['instagram']['link'] . '</li>' : '', '

But my Notepad++ says that it cant find the first code.


funny, isn't it?

anyway, now upload this file in your ftp.
Title: Re: Instagram
Post by: CheeseHead05 on May 29, 2013, 07:43:34 PM
Quote from: Mr. Pedram on May 29, 2013, 09:34:51 AM
Yeah, it's correct, but once i checked your file i found that line you couldn't find,

Quote from: CheeseHead05 on May 26, 2013, 11:12:47 AM
I am using a custom theme from colorizit and here is the problem:

   Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test failed
      Extract File    ./Themes/core/images/instagram.png    
   
These are the codes when I hit "Add After"

Find:
', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '

After at:
', !empty($message['member']['instagram']['link']) ? '<li>' . $message['member']['instagram']['link'] . '</li>' : '', '

But my Notepad++ says that it cant find the first code.


funny, isn't it?

anyway, now upload this file in your ftp.


But did you use Notepad++ ??
Title: Re: Instagram
Post by: CheeseHead05 on May 29, 2013, 08:15:22 PM
Unfortunately I did find the code and added the 2nd code right after, once again it caused a parse error.
Title: Re: Instagram
Post by: Mr. Pedram on May 30, 2013, 03:50:41 AM
I never use Notepad++ for php, and you don't need add code to somewhere. just upload that file i've uploaded.
Title: Re: Instagram
Post by: CheeseHead05 on May 30, 2013, 09:51:44 AM
Quote from: Mr. Pedram on May 30, 2013, 03:50:41 AM
I never use Notepad++ for php, and you don't need add code to somewhere. just upload that file i've uploaded.

Can you please be more specific, upload where?..then this is the last u will hear from pertaining to instagram becauses I know I am beginning to be a headache..Its just that Instagram is a big thing in my area so I have to have this mod.
Title: Re: Instagram
Post by: Mr. Pedram on May 30, 2013, 12:28:52 PM
Upload it to where you copied your display.template.php!

./Themes/yourtheme/
Title: Re: Instagram
Post by: CheeseHead05 on August 02, 2013, 10:30:37 AM
Mr. Pedram

For some reason, this mod is back to causing a parse error, Ive changed the theme tho so maybe thats y...do you mind taking a look at my display.template?
Title: Re: Instagram
Post by: Mr. Pedram on August 05, 2013, 12:06:49 PM
Quote from: CheeseHead05 on August 02, 2013, 10:30:37 AM
Mr. Pedram

For some reason, this mod is back to causing a parse error, Ive changed the theme tho so maybe thats y...do you mind taking a look at my display.template?

What's error?
ok, no proble, attach your display.template.php here, I'll take a look.
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 01:34:49 PM
Hiya :-)

Sorry, but I can't see where an option for instagram has come up in profile settings. Also with buddies block, it works, but can't view buddies images in profile box. I know no code at all, real beginner, but would know to search in cpanel if needed. After that I'd have to ask how to edit/add safely. EDIT: the instagram option appeared and now I can't find it again, but the icon is showing. Should it show up in Standard Profile Fields, to add to active and registration? Thanks.

Many thanks, Cat
Title: Re: Instagram
Post by: TheListener on August 08, 2013, 01:43:31 PM
Quote from: Cat McFarlane on August 08, 2013, 01:34:49 PM
Hiya :-)

Sorry, but I can't see where an option for instagram has come up in profile settings. Also with buddies block, it works, but can't view buddies images in profile box. I know no code at all, real beginner, but would know to search in cpanel if needed. After that I'd have to ask how to edit/add safely.

Many thanks, Cat

This post makes no sense.

Any errors on install? Have you tried to see if the mod works on the default theme?
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 01:53:24 PM
Quote from: Grumpy Old Sod on August 08, 2013, 01:43:31 PM
Quote from: Cat McFarlane on August 08, 2013, 01:34:49 PM
Hiya :-)

Sorry, but I can't see where an option for instagram has come up in profile settings. Also with buddies block, it works, but can't view buddies images in profile box. I know no code at all, real beginner, but would know to search in cpanel if needed. After that I'd have to ask how to edit/add safely.

Many thanks, Cat

Sorry, lol, but I can't see that instagram shows in profile options (to make active and for registration), and the buddies icon appears on profile box display on posts (can add/remove) but can't see avatars of buddies in the profile box display on posts. I didn't know if I'd need to add some code somewhere to be able to see the buddies avatars. The instagram symbol is now showing in the profile box view. Very new to all this, and daren't mess with code/cpanel. Just 3rd day with SMF forum ... love it, and the support forum, but am a real newbie.
Thanks, Cat

This post makes no sense.

Any errors on install? Have you tried to see if the mod works on the default theme?
Title: Re: Instagram
Post by: TheListener on August 08, 2013, 01:55:22 PM
QuoteAny errors on install? Have you tried to see if the mod works on the default theme?
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 01:55:59 PM
Sorry, instagram option is showing in own profile, to enter name, but not in the section where I could add this to registration details. Realise have gone a bit off thread with asking about how view avatars of buddies on profile box, but that's the only issue really now, except that I'd like to add instagram onto registration options.

Apologies for confusion. Learning so much and so new to it all.
Thanks, Cat

PS no installation errors; installed perfectly.  :)
Title: Re: Instagram
Post by: Mr. Pedram on August 08, 2013, 05:12:41 PM
THIS >

Quote from: Grumpy Old Sod on August 08, 2013, 01:43:31 PM
Have you tried to see if the mod works on the default theme?




@Cat McFarlane. please answer the above question.
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 05:43:58 PM
Quote from: Mr. Pedram on August 08, 2013, 05:12:41 PM
THIS >

Quote from: Grumpy Old Sod on August 08, 2013, 01:43:31 PM
Have you tried to see if the mod works on the default theme?




@Cat McFarlane. please answer the above question.

Hi Mr Pedram :-) ... apologies about that; so busy with setting up the forum/launch. I've tried it with Curve and it isn't showing. Thanks, Cat
Title: Re: Instagram
Post by: TheListener on August 08, 2013, 05:47:55 PM
Another question you failed to answer.

QuoteAny errors on install?

In future please make sure you respond to all questions so we can help as much as possible.
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 05:50:38 PM
Quote from: Grumpy Old Sod on August 08, 2013, 05:47:55 PM
Another question you failed to answer.

QuoteAny errors on install?

In future please make sure you respond to all questions so we can help as much as possible.

Sorry about being so busy, but I did answer that question. Had a very bad time with support on other forums, and look forward to learning and contributing here a lot.
Title: Re: Instagram
Post by: TheListener on August 08, 2013, 05:53:51 PM
So you had no test failed messages before installing?
Title: Re: Instagram
Post by: Cat McFarlane on August 08, 2013, 06:02:21 PM
Quote from: Grumpy Old Sod on August 08, 2013, 05:53:51 PM
So you had no test failed messages before installing?

No, it was perfect, applied to every theme fine.  :)
Title: Re: Instagram
Post by: Mr. Pedram on August 09, 2013, 12:28:10 PM
Quote from: Cat McFarlane on August 08, 2013, 01:55:59 PM
but not in the section where I could add this to registration details.
but that's the only issue really now, except that I'd like to add instagram onto registration options.

W..Wait a second!
your issue is that you want add instagram to registration?!
Title: Re: Instagram
Post by: Cat McFarlane on August 09, 2013, 01:51:53 PM
Quote from: Mr. Pedram on August 09, 2013, 12:28:10 PM
Quote from: Cat McFarlane on August 08, 2013, 01:55:59 PM
but not in the section where I could add this to registration details.
but that's the only issue really now, except that I'd like to add instagram onto registration options.

W..Wait a second!
your issue is that you want add instagram to registration?!

That would be a really cool thing, yes! ... the forum is an art forum, linked with an art app/game, and the big group I have on fb, who are coming over to the new forum en masse very soon, absolutely love Instagram, plus the app has the option to upload to Instagram and that feature is used a lot. Was so pleased to find your mod; thanks for it, as I know they will all be very excited about using that. The only other issue I'm having is that the buddie avatars of my buddies don't appear in my profile box. Thanks, Cat
Title: Re: Instagram
Post by: CheeseHead05 on August 09, 2013, 10:14:50 PM
Quote from: Mr. Pedram on August 05, 2013, 12:06:49 PM
Quote from: CheeseHead05 on August 02, 2013, 10:30:37 AM
Mr. Pedram

For some reason, this mod is back to causing a parse error, Ive changed the theme tho so maybe thats y...do you mind taking a look at my display.template?

What's error?
ok, no proble, attach your display.template.php here, I'll take a look.

I got mixed up with the parse error, that was from another mod, but when I tried to add ur mod, on my install page where it says "add after", my notepad++ cant find the first code it wants me to search for.
Title: Re: Instagram
Post by: Mr. Pedram on August 10, 2013, 04:16:31 AM
Quote from: Cat McFarlane on August 09, 2013, 01:51:53 PM
Quote from: Mr. Pedram on August 09, 2013, 12:28:10 PM
Quote from: Cat McFarlane on August 08, 2013, 01:55:59 PM
but not in the section where I could add this to registration details.
but that's the only issue really now, except that I'd like to add instagram onto registration options.

W..Wait a second!
your issue is that you want add instagram to registration?!

That would be a really cool thing, yes! ... the forum is an art forum, linked with an art app/game, and the big group I have on fb, who are coming over to the new forum en masse very soon, absolutely love Instagram, plus the app has the option to upload to Instagram and that feature is used a lot. Was so pleased to find your mod; thanks for it, as I know they will all be very excited about using that. The only other issue I'm having is that the buddie avatars of my buddies don't appear in my profile box. Thanks, Cat

So.. this is not an issue! you want a feature and new option for this mod, you have to wait until next update.
about buddies block, please post your question on Buddies Block Support topic, not here.

Quote from: CheeseHead05 on August 09, 2013, 10:14:50 PM
Quote from: Mr. Pedram on August 05, 2013, 12:06:49 PM
Quote from: CheeseHead05 on August 02, 2013, 10:30:37 AM
Mr. Pedram

For some reason, this mod is back to causing a parse error, Ive changed the theme tho so maybe thats y...do you mind taking a look at my display.template?

What's error?
ok, no proble, attach your display.template.php here, I'll take a look.

I got mixed up with the parse error, that was from another mod, but when I tried to add ur mod, on my install page where it says "add after", my notepad++ cant find the first code it wants me to search for.

As i said:

Quoteok, no proble, attach your display.template.php here, I'll take a look.
Title: Re: Instagram
Post by: Cat McFarlane on August 10, 2013, 03:24:27 PM
Quote from: Mr. Pedram on August 10, 2013, 04:16:31 AM
Quote from: Cat McFarlane on August 09, 2013, 01:51:53 PM
Quote from: Mr. Pedram on August 09, 2013, 12:28:10 PM
Quote from: Cat McFarlane on August 08, 2013, 01:55:59 PM
but not in the section where I could add this to registration details.
but that's the only issue really now, except that I'd like to add instagram onto registration options.

W..Wait a second!
your issue is that you want add instagram to registration?!

That would be a really cool thing, yes! ... the forum is an art forum, linked with an art app/game, and the big group I have on fb, who are coming over to the new forum en masse very soon, absolutely love Instagram, plus the app has the option to upload to Instagram and that feature is used a lot. Was so pleased to find your mod; thanks for it, as I know they will all be very excited about using that. The only other issue I'm having is that the buddie avatars of my buddies don't appear in my profile box. Thanks, Cat

So.. this is not an issue! you want a feature and new option for this mod, you have to wait until next update.
about buddies block, please post your question on Buddies Block Support topic, not here.

Quote from: CheeseHead05 on August 09, 2013, 10:14:50 PM
Quote from: Mr. Pedram on August 05, 2013, 12:06:49 PM
Quote from: CheeseHead05 on August 02, 2013, 10:30:37 AM
Mr. Pedram

For some reason, this mod is back to causing a parse error, Ive changed the theme tho so maybe thats y...do you mind taking a look at my display.template?

What's error?
ok, no proble, attach your display.template.php here, I'll take a look.

I got mixed up with the parse error, that was from another mod, but when I tried to add ur mod, on my install page where it says "add after", my notepad++ cant find the first code it wants me to search for.

As i said:

Quoteok, no proble, attach your display.template.php here, I'll take a look.

Apologies, and will do :-)
Title: Re: Instagram
Post by: CheeseHead05 on August 10, 2013, 05:18:42 PM
Here u go.
Title: Re: Instagram
Post by: Mr. Pedram on August 18, 2013, 02:38:38 PM
Ok, replace this file instead yours.
Title: Re: Instagram
Post by: CheeseHead05 on August 18, 2013, 08:39:20 PM
Parse error: syntax error, unexpected ',', expecting ')' in /home/content/97/10932397/html/nikeadidas/Sources/Load.php on line 1289

I got this error.
Title: Re: Instagram
Post by: Mr. Pedram on August 29, 2013, 03:36:31 PM
Quote from: CheeseHead05 on August 18, 2013, 08:39:20 PM
Parse error: syntax error, unexpected ',', expecting ')' in /home/content/97/10932397/html/nikeadidas/Sources/Load.php on line 1289

I got this error.

Attach your file here and let me check.
Title: Re: Instagram
Post by: Goad on April 23, 2014, 01:44:37 PM
just installed this mod - website now renders nothing but blank pages. What info do you need from me to troubleshoot? thank you.
Title: Re: Instagram
Post by: Goad on April 23, 2014, 01:53:45 PM
Quote from: Goad on April 23, 2014, 01:44:37 PM
just installed this mod - website now renders nothing but blank pages. What info do you need from me to troubleshoot? thank you.

I rolled back one file at a time (renaming the files and restoring to the backup files with the ~ in them) and the site restored fucntionality when I restored the sources/load.php file.
Title: Re: Instagram
Post by: fapencio on May 07, 2014, 07:25:36 PM
i installed your mod, and my forum blocked, all white page, no way to uninstall, i have to go to parse to uninstal manually, but i think there are a error in load.php file, a more comma, it find, my english sucks i know
Title: Re: Instagram
Post by: Mr. Pedram on May 08, 2014, 04:37:15 AM
Quote from: fapencio on May 07, 2014, 07:25:36 PM
i installed your mod, and my forum blocked, all white page, no way to uninstall, i have to go to parse to uninstal manually, but i think there are a error in load.php file, a more comma, it find, my english sucks i know

it's not related to this mod, for making sure, i installed mod on a forum and it works and then uninstalled successfully.
look like you this mod conflict with other mod you have. did you installed mod successfully?
Title: Re: Instagram
Post by: fapencio on May 08, 2014, 01:01:00 PM
Quote from: Mr. Pedram on May 08, 2014, 04:37:15 AM
Quote from: fapencio on May 07, 2014, 07:25:36 PM
i installed your mod, and my forum blocked, all white page, no way to uninstall, i have to go to parse to uninstal manually, but i think there are a error in load.php file, a more comma, it find, my english sucks i know

it's not related to this mod, for making sure, i installed mod on a forum and it works and then uninstalled successfully.
look like you this mod conflict with other mod you have. did you installed mod successfully?

yep, successfully, but when i uninstalled the mod, i see a little bug with a comma, in load.php, thats all
Title: Re: Instagram
Post by: Ground Zero on May 15, 2014, 02:38:43 AM
The guy's correct... Just installed the mod today but fixed it in no time... ;)

foreach (array('icq', 'msn', 'aim', 'yim', 'instagram',, 'facebook', 'myspace', 'twitter', 'googleplus', 'linkedin', 'youtube', 'deviantart', 'pinterest') as $messenger)

If you'll notice from the above code, the comma after instagram was doubled which is causing the error... Just remove the extra comma and everything will be back to normal... :)
Title: Re: Instagram
Post by: Mr. Pedram on May 16, 2014, 07:56:49 AM
Thanks guys, mod updated.
Title: Re: Instagram
Post by: albertig on December 09, 2017, 07:23:26 AM
Love this mod. I use it on my Instagram shoutouts website. Thanks for the developer :)
Title: Re: Instagram
Post by: fanciboy4 on December 10, 2017, 03:44:27 AM
You solved part of my SMF problem.
Thanks.