Icy Phoenix

     
 

BBCode in Download dload.php

BBCode in Download dload.php

Article
Reply with quote    Download Post  
Post 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



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Tue 03 Feb, 2009 22:22 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


BBCode in Download dload.php

Comments
Reply with quote    Download Post  
Post 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

   

bbcode in description.rar
Description: bbcode in long description for pafiledb 
Download
Filename: bbcode in description.rar
Filesize: 19.51 KB
Downloaded: 66 Time(s)




 
Edited by DWho, Wed 18 Mar, 2009 09:59: updated attachment with all correct files needed
DWho - View user's profile Send private message  
DWho [ Tue 17 Mar, 2009 11:58 ]
Reply with quote    Download Post  
Post Re: BBCode in Download dload.php 
 
WOW thanks DWho for you work.

I will try it and let you know.  

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: [Download] [Hide] [Select]
Fatal error: Call to a member function parse() on a non-object in /www/htdocs/includes/pafiledb/functions_pafiledb.php on line 1800


Thanks for any help.



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Tue 17 Mar, 2009 12:45 ]
Reply with quote    Download Post  
Post Re: BBCode In Download Dload.php 
 
oops

I forgot to save the updated file...

try the one attached

functions_pafiledb.php.rar
Description:  
Download
Filename: functions_pafiledb.php.rar
Filesize: 11.39 KB
Downloaded: 40 Time(s)




 
DWho - View user's profile Send private message  
DWho [ Tue 17 Mar, 2009 14:43 ]
Reply with quote    Download Post  
Post Re: BBCode in Download dload.php 
 
Thanks for your help DWho,

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: [Download] [Hide]
  1. Fatal error: Call to a member function parse() on a non-object in /www/htdocs/includes/pafiledb/functions_pafiledb.php on line 1800 


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

Thanks



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Wed 18 Mar, 2009 06:35 ]
Reply with quote    Download Post  
Post Re: BBCode In Download Dload.php 
 
oops I forgot you can edit the files by the ACP I will quickly change the necessary files..

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

   

admin_pa_file.php.rar
Description: admin_pa_file.php 
Download
Filename: admin_pa_file.php.rar
Filesize: 5.08 KB
Downloaded: 30 Time(s)




 
DWho - View user's profile Send private message  
DWho [ Wed 18 Mar, 2009 09:49 ]
Reply with quote    Download Post  
Post Re: BBCode In Download Dload.php 
 
Hi

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

   



 
DWho - View user's profile Send private message  
DWho [ Fri 20 Mar, 2009 10:59 ]
Reply with quote    Download Post  
Post Re: BBCode in Download dload.php 
 
Hi DWho,

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



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Mon 06 Apr, 2009 13:20 ]
Reply with quote    Download Post  
Post 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..

   



 
DWho - View user's profile Send private message  
DWho [ Mon 06 Apr, 2009 14:38 ]
Reply with quote    Download Post  
Post Re: BBCode in Download dload.php 
 
Thanks DWho,

no hurry  



 
TheSteffen - View user's profile Send private message  
TheSteffen [ Mon 06 Apr, 2009 19:31 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 

 

cron