News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Instagram

Started by Mr. Pedram, March 17, 2013, 06:35:19 AM

Previous topic - Next topic

CheeseHead05

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.

TheListener

Is your forum using the core theme?

CheeseHead05

no, im using a custom theme.

TheListener

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.

CheeseHead05

Ive tried to ignore but it caused a parse error which caused me to have restore my entire forum. I wasnt a happy flower...

Mr. Pedram

Please tell exactly, which theme are you using?
and which code you trying to add to which file?

I not following you yet...
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Colin

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.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

CheeseHead05

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.

Mr. Pedram

ok, please attach your display.template.php here.
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

TheListener

@Cheesy

Can you please either use the code (#) tags or more preferably as Mr Pedram requested attach the file as an attachment.

CheeseHead05

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!

CheeseHead05


Mr. Pedram

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.
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

CheeseHead05

I apologize if I may seem a bit slow, but how do I attach the file from the ftp?

solewind

Thanks a lot! This mod is working greatly! Thank you for sharing.

Mr. Pedram

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, :)
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

CheeseHead05

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...  :)

Mr. Pedram

Well, google is your friend!
Please read this. then just copy that file and paste it on your pc then attach it here.
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

CheeseHead05

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..

Arantor

If you've downloaded the file, you can use the attach function (under the main posting box) to attach the file here...
Holder of controversial views, all of which my own.

Advertisement: