Advertisement:

Author Topic: PDF Tag  (Read 43921 times)

Offline npiccoli

  • Semi-Newbie
  • *
  • Posts: 35
Re: PDF Tag
« Reply #40 on: July 12, 2011, 06:43:01 PM »
Would it be possible for you to update this to work with SMF 2.0 Gold please?

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: PDF Tag
« Reply #41 on: July 13, 2011, 02:11:14 AM »
Would it be possible for you to update this to work with SMF 2.0 Gold please?

http://www.simplemachines.org/community/index.php?topic=271504.msg2592280#msg2592280

Did you try the package from here ?
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: PDF Tag
« Reply #42 on: July 13, 2011, 02:59:34 AM »
i just checked the code and modified it for 2.0 Gold (I installed it sucessful in my testforum)

Is this what you need? if yes, see attached file... - Nevertheless - all honours to Duncan85 - as i said - i just modifed it for 2.0 Gold only

http://aida32-inventory.netboom.de/smf/index.php?topic=211.msg1721#msg1721

cheers Inti31
« Last Edit: July 13, 2011, 03:03:18 AM by Inti31 »
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline npiccoli

  • Semi-Newbie
  • *
  • Posts: 35
Re: PDF Tag
« Reply #43 on: July 13, 2011, 01:22:35 PM »
i just checked the code and modified it for 2.0 Gold (I installed it sucessful in my testforum)

Is this what you need? if yes, see attached file... - Nevertheless - all honours to Duncan85 - as i said - i just modifed it for 2.0 Gold only

http://aida32-inventory.netboom.de/smf/index.php?topic=211.msg1721#msg1721

cheers Inti31

Thank you! The modification installed, but now I need a PDF file to test the modification with. I'll find one somewhere, I wish this computer had Microsoft Office 2007 so I could easily create a PDF. Oh well, thanks!

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: PDF Tag
« Reply #44 on: July 13, 2011, 01:28:26 PM »
Does it work for you? Did you test it? Please let me  (us) know... cheers Inti31
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline npiccoli

  • Semi-Newbie
  • *
  • Posts: 35
Re: PDF Tag
« Reply #45 on: July 13, 2011, 02:56:27 PM »
Does it work for you? Did you test it? Please let me  (us) know... cheers Inti31

It is working as it should, thanks again!

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: PDF Tag
« Reply #46 on: July 13, 2011, 03:00:32 PM »
Thanks for it Inti31 ;)
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,074
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: PDF Tag
« Reply #47 on: July 16, 2011, 10:55:06 PM »
I got it installed in 2.0 but i get this error in my error log



8: Undefined index: pdf

Dosya: /home/site/public_html/forum/Sources/Subs-Editor.php
Line: 1589

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: PDF Tag
« Reply #48 on: July 17, 2011, 01:41:31 AM »
I got it installed in 2.0 but i get this error in my error log



8: Undefined index: pdf

Dosya: /home/site/public_html/forum/Sources/Subs-Editor.php
Line: 1589

I didn't get such error on fresh installation,better check your language files
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,074
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: PDF Tag
« Reply #49 on: July 17, 2011, 01:48:42 AM »
 What am i gonna look for in which language file?

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: PDF Tag
« Reply #50 on: July 17, 2011, 02:26:12 AM »
What am i gonna look for in which language file?

Modifications.english.php
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,074
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: PDF Tag
« Reply #51 on: July 17, 2011, 02:33:23 AM »


Modifications.english.php

and what am i checking in this file? because i dont see anything wrong in my language files...

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: PDF Tag
« Reply #52 on: July 17, 2011, 03:25:07 AM »
I can just say,check the coding of modification manually,if all is correct,then i don't know what could be the problem
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline Inti31

  • Jr. Member
  • **
  • Posts: 247
    • Chevrolet Epica & Malibu Community
Re: PDF Tag
« Reply #53 on: July 17, 2011, 05:46:21 AM »
Are you using an utf-8?

then you have to enter manually the string  in this file: "Modifications.english-utf8.php" - or whatever language is you prefered one. The package does have only german-utf8 and simple English included.

Code: [Select]
$txt['pdf'] = 'add PDF';
So if you have a French forum you need to enter the code string in "Modifications.french-utf8.php" / "Modifications.french.php". and you need add the translation for "add PDF"
my forum
my testforum

my mods - which I only made them work for 2.0 Gold:
Topics Filter v3.2 SMF 2.0 Gold
MemberNumber

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,074
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: PDF Tag
« Reply #54 on: July 17, 2011, 05:56:44 AM »
Are you using an utf-8?

then you have to enter manually the string  in this file: "Modifications.english-utf8.php" - or whatever language is you prefered one. The package does have only german-utf8 and simple English included.

Code: [Select]
$txt['pdf'] = 'add PDF';
So if you have a French forum you need to enter the code string in "Modifications.french-utf8.php" / "Modifications.french.php". and you need add the translation for "add PDF"

I just did. I ll let you know if the error occurs again.
Thx.

Offline Apllicmz

  • SMF Hero
  • ******
  • Posts: 2,641
  • Gender: Male
  • Suporte SmfPT
    • apllicmz on Facebook
    • apllicmz on GitHub
    • https://www.linkedin.com/in/aplic on LinkedIn
    • @aplichosting on Twitter
    • Webdesign
Re: PDF Tag
« Reply #55 on: December 03, 2011, 06:54:39 AM »
Good work
when update dont forget

Code: [Select]
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">

        <operation>
         <search position="end" />
            <add><![CDATA[
$txt['pdf'] = 'Adicionar PDF';]]></add>
        </operation>
       </file>
        <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">

        <operation>
         <search position="end" />
            <add><![CDATA[
$txt['pdf'] = 'Adicionar PDF';]]></add>
        </operation>
       </file>
       <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">

        <operation>
         <search position="end" />
            <add><![CDATA[
$txt['pdf'] = 'Adicionar PDF';]]></add>
        </operation>
       </file>
        <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">

        <operation>
         <search position="end" />
            <add><![CDATA[
$txt['pdf'] = 'Adicionar PDF';]]></add>
        </operation>
       </file>



Offline thebouncer2004

  • Newbie
  • *
  • Posts: 2
Re: PDF Tag
« Reply #56 on: January 04, 2012, 09:13:57 AM »
I just upgraded my site from SMF 1.07 to 2.02 and I lost PDF Tag as a result. Previously PDF tag was working flawlessly. Now after I installed it in 2.02 I get the dreaded "File does not begin with '%PDF'" error message and I do not know what to do.

I went through the instructions I have seen for the code that should be modified for PDF Tag and it all seems to be correct. Not sure what else I can do. Any help would be appreciated as this just caused major problems on my forum as we use embedded PDF's

Offline thebouncer2004

  • Newbie
  • *
  • Posts: 2
Re: PDF Tag
« Reply #57 on: January 05, 2012, 09:33:07 PM »
Ok this is really odd. I just discovered this.... It will give the error message when I post the PDF message and view the post, but if I hit REPLY the PDF shows up fine with no error. Anyone have any ideas why it would do this. It was working fine before upgrading to SMF 2.0 from 1.17

Offline r2d2-trader

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
  • Alles wird besser !
    • Forex Test Forum für Metatrader !
Re: PDF Tag
« Reply #58 on: February 01, 2012, 05:09:15 PM »
great mod - works fine with Firefox - but when using IE i have run into problems. May someone is having an idea?

Here is the link: hxxp://www.fxtester.de/3562/erlaeuterungen-zum-forex-artikel/

thx Rob

"Aller Anfang ist leicht, und die letzten Stufen werden am schwersten und seltensten erstiegen."
Johann Wolfgang von Goethe

Offline Baloch

  • Full Member
  • ***
  • Posts: 445
Re: PDF Tag
« Reply #59 on: July 22, 2012, 04:45:27 AM »
Is it working with latest versions of SMF?