[DEV] Pafiledb [DOWNLOAD MOD] 0.0.9d

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
petermakosch
Registered User
Posts: 393
Joined: Tue Mar 16, 2004 7:45 pm
Location: Pleasantville
Contact:

Post by petermakosch »

Another Problem I see, is that when a User Add's something, they just get the same "adding" page as me. I want it so all files are not apporved, until I approve them through the ACp.

Is this possible?
My Website | DeviantArt

i want to be uploaded
Mr. Lou
Registered User
Posts: 79
Joined: Fri Nov 28, 2003 6:19 pm
Location: New York, USA

Post by Mr. Lou »

Anyone can help?
Fearless
Registered User
Posts: 664
Joined: Mon Mar 31, 2003 6:16 am

Post by Fearless »

Mr. Lou wrote: Also, When I click on download (to download a file) I got this message

You can not download this file directly from another site!

Can anyone help?


Try setting Hotlink Prevention to No.
Mr. Lou
Registered User
Posts: 79
Joined: Fri Nov 28, 2003 6:19 pm
Location: New York, USA

Post by Mr. Lou »

Fearless wrote:
Mr. Lou wrote:Also, When I click on download (to download a file) I got this message

You can not download this file directly from another site!

Can anyone help?


Try setting Hotlink Prevention to No.

That didn't help!
No change
Fearless
Registered User
Posts: 664
Joined: Mon Mar 31, 2003 6:16 am

Post by Fearless »

It should. That's what causes the message I think.
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

*Please delete this, sorry*
Last edited by DivErTido on Sun May 23, 2004 3:16 pm, edited 1 time in total.
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

*Please delete this, sorry*
DivErTido
Registered User
Posts: 642
Joined: Fri Aug 08, 2003 10:11 pm
Contact:

Post by DivErTido »

Hi guys, I have some questions to do and I need your help if possible (r)

Maybe can someone help me with this...

1- It is possible to modify the form that files are listed?
For exemple...

This:

Image

To:

Image

Where in the new list, appears file name, uploader, date, nº of downloads, description...
It is possible?
I can modify pa_viewall_body.tpl but I think that I need modify a php file, but I´m a newbie :roll: :oops:

2- And it is possible to make a little change in the code for the number of comments appear in files list?

3- When I Add a new custom field, it is possible to allow html in this field so can I make links...?

Maybe you guys can help me with this :)

Thank you alot !!!

P.S. Sorry my bad english...
jasonsn
Registered User
Posts: 49
Joined: Mon Mar 29, 2004 7:51 pm

Post by jasonsn »

Hey Everyone! Can someone please post the icon_mini_download.gif button? I can't find it in the pafiledb integration 0.09 for phpBB 2.08. Thanks for your time.

Jason Neskar

P.S. Is the mod set up properly? http://wwe6.jj-web.com/test/
wese
Registered User
Posts: 1
Joined: Fri Jun 11, 2004 6:54 am

Post by wese »

Lil Bug with Add Mirrors..

Allways when i openned the "Edits Mirrors" i get thrown back to Index.

i figured out that the append_sid adds the sid with "&" which doesnt translate right in the popup..

fix would be..

Code: Select all

# [FIND]
'U_MIRRORS_PAGE' => append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id"),
# [REPLACE WITH]
'U_MIRRORS_PAGE' => str_replace("&","&",append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id")),
Its just a workaround but i hope someone likes it :D ..
jasonsn
Registered User
Posts: 49
Joined: Mon Mar 29, 2004 7:51 pm

Post by jasonsn »

wese wrote: Lil Bug with Add Mirrors..

Allways when i openned the "Edits Mirrors" i get thrown back to Index.

i figured out that the append_sid adds the sid with "&" which doesnt translate right in the popup..

fix would be..

Code: Select all

# [FIND]
'U_MIRRORS_PAGE' => append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id"),
# [REPLACE WITH]
'U_MIRRORS_PAGE' => str_replace("&","&",append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id")),
Its just a workaround but i hope someone likes it :D ..


OK kool people.
jasonsn
Registered User
Posts: 49
Joined: Mon Mar 29, 2004 7:51 pm

Post by jasonsn »

wese wrote: Lil Bug with Add Mirrors..

Allways when i openned the "Edits Mirrors" i get thrown back to Index.

i figured out that the append_sid adds the sid with "&" which doesnt translate right in the popup..

fix would be..

Code: Select all

# [FIND]
'U_MIRRORS_PAGE' => append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id"),
# [REPLACE WITH]
'U_MIRRORS_PAGE' => str_replace("&","&",append_sid("admin_pa_file.$phpEx?mode=mirrors&file_id=$file_id")),
Its just a workaround but i hope someone likes it :D ..


OK kool people.
sublimenal
Registered User
Posts: 63
Joined: Sat Feb 21, 2004 6:46 am
Contact:

Post by sublimenal »

hey guys i had pafiledb 0.0.8 and i recentley upgraded to 0.0.9 now my block for ezportal doesnt work! I read on a few sites that the particular block isnt compatible with the new version, is there a new block i can use?
User avatar
TERMINATRIX
Registered User
Posts: 154
Joined: Sat Jun 12, 2004 11:34 am
Contact:

Post by TERMINATRIX »

Inside this MOD a Special field could be added like example: CASH -

Inside this field you can write a value for example the value the file should cost for downloading !! - So good so fine, but now I need to now where this special added fields checked inside the code ?? -

I want to add some lines checking if this special field is there and how much the amount will be inside !! - Where can this be found and how could this be done ?? - :roll:
- TERRA OCEANICA -

- Multiple AI-BOT Mod / Attachment Points V1.70 Mod / Seasons Mod 0.2 -
telis
Registered User
Posts: 3
Joined: Thu Jun 17, 2004 6:38 pm

Grab info from subcategories

Post by telis »

Hello

I would like to grab the info from a specific category including its subcategories.

Like this

db
---Movies
---------Funny
---------3d
---Files
---------scripts
---------pictures

What I'm aiming for is to only show movies and its subcategories in a ezportal block. I managed to set the script to only gather from "funny" but I'd like to have all files within "movies" to show up.

My code so far;

Code: Select all

$sql = "SELECT * FROM " .$table_prefix. "pa_files WHERE file_catid =6 ORDER BY file_time DESC LIMIT 0," . 5 . " ";
Locked

Return to “[2.0.x] MODs in Development”