News:

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

Main Menu

PDF Tag

Started by live627, October 31, 2008, 08:43:51 AM

Previous topic - Next topic

npiccoli

Would it be possible for you to update this to work with SMF 2.0 Gold please?

Kermit

Quote from: npiccoli 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?

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

Inti31

#42
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
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

npiccoli

Quote from: Inti31 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

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!

Inti31

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

npiccoli

Quote from: Inti31 on July 13, 2011, 01:28:26 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!

Kermit

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

PLAYBOY

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

Kermit

Quote from: PLAYBOY 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

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

PLAYBOY

 What am i gonna look for in which language file?

Kermit

Quote from: PLAYBOY on July 17, 2011, 01:48:42 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

PLAYBOY

Quote from: Kermit on July 17, 2011, 02:26:12 AM


Modifications.english.php

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

Kermit

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

Inti31

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.

$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

PLAYBOY

Quote from: Inti31 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.

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

Apllicmz

Good work
when update dont forget

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




thebouncer2004

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

thebouncer2004

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

r2d2-trader

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

Baloch

Is it working with latest versions of SMF?

Advertisement: