https://www.icyphoenix.com/viewtopic.php?f=28&t=5399
-----------------------------------
TheSteffen
Tue 03 Feb, 2009 22:22

BBCode in Download dload.php
-----------------------------------
Hi,

did somebody know how can I activate BBCode for dowloads dload.php

That would be nice. Because you can insert IMG MP3 [b] and so oon.

Thanks a lot


-----------------------------------
DWho
Tue 17 Mar, 2009 11:58

Re: BBCode In Download Dload.php
-----------------------------------
Hi

I have this working for you in the long description part... you can show any bbcode that Icy has...

though you will have to type it in manually as there are no buttons...

The only problem I have come across and maybe someone else can help with is... when editing a file the bbcode turns into html I could not find how to stop this from happening... though the html does not work it will come back with all the tags showing.... you have to put the bbcode back in the box

Sorry I just could not figure another way...

anyway 2 files attached just backup the originals and copy these 2 over...

this is for beta release only

Let me know if there are anyother problems

 :mrgreen:  :mrgreen:


-----------------------------------
TheSteffen
Tue 17 Mar, 2009 12:45

Re: BBCode in Download dload.php
-----------------------------------
WOW thanks [b]DWho[/b] for you work.

I will try it and let you know.  :mricy:

EDIT: If you already have some bbcode in description it only shows [ b ]text[ /b ] (the code)

And I got this if I edit one file via ACP
[code linenumbers=false]Fatal error: Call to a member function parse() on a non-object in /www/htdocs/includes/pafiledb/functions_pafiledb.php on line 1800[/code]

Thanks for any help.


-----------------------------------
DWho
Tue 17 Mar, 2009 14:43

Re: BBCode In Download Dload.php
-----------------------------------
oops

I forgot to save the updated file...

try the one attached


-----------------------------------
TheSteffen
Wed 18 Mar, 2009 06:35

Re: BBCode in Download dload.php
-----------------------------------
Thanks for your help [b]DWho[/b],

yesterday I tested it local and on a testsite.

It is working if you insert the BBCode via frontpage.

If you insert the BBCode via myphpadmin or the BBCode still exist, it only shows the BBCode

And I got this if I edit one file via ACP
[code]Fatal error: Call to a member function parse() on a non-object in /www/htdocs/includes/pafiledb/functions_pafiledb.php on line 1800[/code]

Maybe you someone else can figure it out, how to solve it.

Thanks


-----------------------------------
DWho
Wed 18 Mar, 2009 09:49

Re: BBCode In Download Dload.php
-----------------------------------
oops I forgot you can edit the files by the ACP I will quickly change the necessary files.. :oops: 

sorry I did not read you post correctly about editing in the acp...

fixed the problem... just upload the attached acp file...


for anyone else wanting this I have updated my first post with all the correct files

 :mrgreen:  :mrgreen:


-----------------------------------
DWho
Fri 20 Mar, 2009 10:59

Re: BBCode In Download Dload.php
-----------------------------------
Hi

Just checking is everything working as it should now...?

 :mrgreen:  :mrgreen:


-----------------------------------
TheSteffen
Mon 06 Apr, 2009 13:20

Re: BBCode in Download dload.php
-----------------------------------
Hi [b]DWho[/b],

sorry for the late answer.

It is working, but not correct. 
If you write bbcode, html is stored in db. That is the reason why you see html if you edit one download file.

Do you have a idea to solve this? I changed all to RC1.

Thanks


-----------------------------------
DWho
Mon 06 Apr, 2009 14:38

Re: BBCode In Download Dload.php
-----------------------------------
yeah it is a right pain...

I have looked at the files and I seen to be missing something somewhere but cannot find it...

I have made it save as bbcode in the database but then it will not show correctly in the files... I have a couple of ideas and will get back to it as soon as I have finished a couple of over things... 

will let you know as soon as I can..

 :mrgreen:  :mrgreen:


-----------------------------------
TheSteffen
Mon 06 Apr, 2009 19:31

Re: BBCode in Download dload.php
-----------------------------------
Thanks [b]DWho[/b],

no hurry  :mricy:


